Review of Linux Compatibility
The EnerGenie EG-PMS2 is a multiple socket outlet with 6 programmable sockets. The sockets can be controlled via USB from a PC. The EG-PMS2 has the USB ID 04b4:fd13
Bus 001 Device 008: ID 04b4:fd13 Cypress Semiconductor Corp.
and is supported under Linux by the tool SIS-PM Control for Linux, which is also called “sispmctl” in short.
The necessary drivers can be installed under Debian or Ubuntu by apt-get:
apt-get install sispmctl
and allwos to power on and power off the separate sockets from a Linux-PC (or from a Raspberry Pi). This way, electrical consumer can be shut down or started per command line or script (e.g. per ssh network connection, openvpn connection or via cron job). Also OpenSuSE and Gentoo are supported by sispmctl.
All connected electrical consumers can be powered on with the following sispmctl command
sispmctl -o all
If only the first socket needs to be powered on, this can be done with
sispmctl -f 1
Additionally, the tool provides a web frontend, which can be started (e.g. on port 8989) by:
sudo sispmctl -i 0.0.0.0 -p 8989 -l
Afterwards, the web frontend can be accessed under port 8989 per http in a web browser.