Skip to main content
Help improve PyPI by participating in a 5-minute user interface survey!

Library for EnerGenie USB controlled powerstrips

Project Description

PySisPM is a library to control the EnerGenie EG-PMS and EG-PM2 multiple socket powerstrips. The outlets can be switched on and off via USB.

The library depends on PyUSB (https://github.com/walac/pyusb).

Per default, only root is allowed to use devices directly, therefore the library also only works as root.

To allow group sispmctl access copy file /lib/udev/rules.d/60-sispmctl.rules with the following content:

SUBSYSTEM=="usb", ATTR{idVendor}=="04b4", ATTR{idProduct}=="fd10", GROUP="sispmctl", MODE="660"
SUBSYSTEM=="usb", ATTR{idVendor}=="04b4", ATTR{idProduct}=="fd11", GROUP="sispmctl", MODE="660"
SUBSYSTEM=="usb", ATTR{idVendor}=="04b4", ATTR{idProduct}=="fd12", GROUP="sispmctl", MODE="660"
SUBSYSTEM=="usb", ATTR{idVendor}=="04b4", ATTR{idProduct}=="fd13", GROUP="sispmctl", MODE="660"

Then reload the udev rules with:

udevadm control --reload-rules

Release history Release notifications

This version
History Node

0.5

History Node

0.3

History Node

0.2

History Node

0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pysispm-0.5.tar.gz (5.1 kB) Copy SHA256 hash SHA256 Source None Jul 27, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page