Using Energenie Power Plugs

Forget Energenie's own sample.  See


from energenie import switch_on, switch_off
from time import sleep

# turn all plug sockets on and off

# turn a plug socket on and off by number

sudo apt-get install python-pip
sudo pip install energenie

sudo apt-get install mysql-client python-mysqldb -y




Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>