Skip to main content

Energenie control utility

Project description

pyegctl

This is a python version of utility egctl published by Vitaly Sinilin.

Original project link: https://github.com/unterwulf/egctl

Many thanks to you!

Installation

 pip install pyegctl

Example usage

from pyegctl.device import EGV21

pdu = EGV21('192.168.1.111', 5000, password='p4ss')

pdu.set(['on', 'on', 'left', 'toggle'])

assert pdu.status()[0] == 'on'

Supported devices

Currently only V21 protocol is supported.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyegctl-1.0.1.tar.gz (2.5 kB view hashes)

Uploaded Source

Built Distribution

pyegctl-1.0.1-py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page