Skip to main content

PyEGPS

Python library for controlling Energenie powerstrips.

This library is meant to be used with Home Assistant components.

Installation:

pip install pyegps

Make sure the user has the necessary rights to access the device. E.g.: find your device with:

lsusb
#e.g.: Bus 001 Device 005: ID 04b4:fd15 Cypress Semiconductor Corp. Energenie EG-PMS2
sudo echo 'SUBSYSTEM=="usb", ATTR{idVendor}=="04b4", ATTR{idProduct}=="fd15", MODE="0666"' > /lib/udev/rules.d/60-energenie-usb.rules
sudo udevadm control --reload-rules
sudo udevadm trigger

Command Line Interace (CLI)

For help, see:

python3 -m pyegps --help

Acknowledgment

Thanks go to the author of 'pysispm' for figuring out which HID-Reports are used for communicating with the device: https://github.com/xypron/pysispm

Download files

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

Source Distribution

pyEGPS-0.2.5.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyEGPS-0.2.5-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

Details for the file pyEGPS-0.2.5.tar.gz.

File metadata

  • Download URL: pyEGPS-0.2.5.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.6

File hashes

Hashes for pyEGPS-0.2.5.tar.gz
Algorithm Hash digest
SHA256 03b2164300af29e15bea2f5841b93b156140c3938f2cf489c388cce0341503ed
MD5 615c1931c73038eeee82e1c4ce0fa297
BLAKE2b-256 55062173573103acfeab15b5dc396fb4622551a9b4094aecb768528fd6854c03

See more details on using hashes here.

File details

Details for the file pyEGPS-0.2.5-py3-none-any.whl.

File metadata

  • Download URL: pyEGPS-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 14.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.6

File hashes

Hashes for pyEGPS-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 db6086bb12789fd1d45cc39f0a375e76d67d3d52ee1e55c0787bdde3cdd2a54a
MD5 e33ab0827f907fa3bd15211d29afb992
BLAKE2b-256 10c396dc02f52c48c6711200652de7cd714b8eb04307586fa3f40bfd015761c3

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.5 This release

2 files

0.2.4

2 files

0.2.3

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page