How to add a Energenie USB power board? #566
-
Hi, Does anybody know how to add a Energenie USB (EG-PM2S) power board? This is on TerrariumPi 4.x - I see this screen: but I'm not sure what to put in the Address, Name, Wattage or Water Flow fields? Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
Hi, sorry for the late response, but if you have a Energenie USB relay device connected, you could also use the 'scan relays' menu option. That should find all the relays. If you have only 1 Energie USB device connected, which has 4 relays that can be controlled, you can just enter the value 1 till 4 as the address. That also means that you have to add multiple relays in my software to control all the outlets of the device. Per outlet, you can specify the amount of power in Watt that is used when toggled on, and the amount of water that is flowing in liter per minute. The name is a free field, so enter something meaningful for you. When manual mode is true, my software will not toggle the relay when it should based on the sensor state or timer state. But you can get some more information by clicking on the question mark next to the title. That should show some extra information per field. For relays it is there, but not for all forms yet. I have to add some more help texts at the forms. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the reply, theyosh@ =) (and a great project). The exact model of my power board is Energenie EG-PMS2. (I believe this is just the surge-protected version of the normal EG-PM2). I have connected this via USB cable to the Raspberry Pi 4. Using
When I use "Scan relays" it does not pick up any new relays. Is there some way to diagnose why this isn't being auto-detected, or troubleshoot the "Scan relays" function? Here is the detailed information from
|
Beta Was this translation helpful? Give feedback.
-
Ah, your Energenie is to new :P . The tool to control this relay is called |
Beta Was this translation helpful? Give feedback.
-
Also it needs libusb-dev package. So make sure you have installed that also: |
Beta Was this translation helpful? Give feedback.
Ah, your Energenie is to new :P .
The tool to control this relay is called
sispmctl
. That software package on the PI is to old to support your device. So you have to manually install a newer version of sispmctl: http://sispmctl.sourceforge.net/ (Go to 'Download & Installation' ). This should install a newer version of sispmctl on your PI. And my software should detect the new version after a restart. And then the auto scanning of relays should show 4 new relays.