Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 741 Bytes

readme.md

File metadata and controls

32 lines (20 loc) · 741 Bytes

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