Energenie control utility
This is a python version of utility egctl published by Vitaly Sinilin.
Original project link: https://github.com/unterwulf/egctl
Many thanks to you!
pip install pyegctl
from pyegctl.device import EGV21 pdu = EGV21('192.168.1.111', 5000, password='p4ss') pdu.set(['on', 'on', 'left', 'toggle']) assert pdu.status() == 'on'
Currently only V21 protocol is supported.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.