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.
Permalink
Failed to load latest commit information.
energenie.py
readme.md

readme.md

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.

Usage

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

./energenie.py <socket num> <on/off>

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

So, to turn on socket one:

sudo ./energenie.py 1 on

To turn off all sockets:

sudo ./energenie.py 0 off

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

Other Resources