No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Energenie Pi-mote Command Line Tool

A python script to allow you to control Energenie sockets using a Raspberry Pi with Energenie's Pi-mote attached.


To use the script from the command line, enter commands in the format:

./ <socket num> <on/off>

Note: you will need root privileges to access the GPIO ports

So, to turn on socket one:

sudo ./ 1 on

To turn off all sockets:

sudo ./ 0 off

(currently the script only supports up to two sockets, or two socket codes, to be precise)

Other Resources