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"
SUBSYSTEM=="usb", ATTR{idVendor}=="04b4", ATTR{idProduct}=="fd15", GROUP="sispmctl", MODE="660"
Then reload the udev rules with:
udevadm control --reload-rules
Metadata
Release files for pysispm 0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pysispm-0.6.tar.gz | 5.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pysispm-0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.4 kB
Release files / pysispm-0.6.tar.gz
| Download URL | pysispm-0.6.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e4a0401260de1778251a94a74a38113c1a9e4854da844cac9735190d78046213
|
|
BLAKE2b-256 checksum How to use checksums |
da2e9e0d72b0929b36639eae997225ef2ebc44b57a0fe7c22b2904af22a8e746
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.4
|
Release files / pysispm-0.6-py3-none-any.whl
| Download URL | pysispm-0.6-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
66884aaf8848f090a1cb70d81fbc084db119a5c22b7549b0524c46340ef47625
|
|
BLAKE2b-256 checksum How to use checksums |
5ab99fa384911a9a5c3c23809050b5f546f1ef0e0532a9baeafc87de36d59436
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.4
|