A smart plug with a relay, energy monitor, and 802.15.4.