I like Herpstats.

Wire each shelf with its own plug. Then you can unplug the shelf that's not in use.