How to;
These two channel network 10 amp relays are available for $19.00
WeChat Cloud Remote Control 2-way Ethernet Relay Network Switch Delay TCPUDP Module Controller
or SR-201-Relay
They come set to 192.168.1.100, there is an application to change the static ip address.
I had a need to power cycle a device, either by an event or every 24 hours.
Downloaded sr-201-relay.py and placed as a folder in Homeseer scripts folder
Created a bat file containing; (this can be located anywhere on the computer)
CD "C:\Program Files (x86)\HomeSeer HS3\scripts\sr-201-relay"
"Close_1_for_3 sec.bat"
Close_1_for_3 sec.bat contains; (This has to be in the "sr-201-relay" folder containing the sr-201-relay.py program and it's required files)
sr-201-relay.py 192.168.0.xx close:1:3
Basic commands, where R = relay #
close:R - Close relay R.
close:R:T - Close relay R, then after T seconds open it.
close:R~ - Close relay R, then in about 1/2 a second open it.
open:R
In Homeseer create an event, select manual trigger or at a time.
THEN "Run another program or process"
Select the first bat file.

These two channel network 10 amp relays are available for $19.00
WeChat Cloud Remote Control 2-way Ethernet Relay Network Switch Delay TCPUDP Module Controller
or SR-201-Relay
They come set to 192.168.1.100, there is an application to change the static ip address.
I had a need to power cycle a device, either by an event or every 24 hours.
Downloaded sr-201-relay.py and placed as a folder in Homeseer scripts folder
Created a bat file containing; (this can be located anywhere on the computer)
CD "C:\Program Files (x86)\HomeSeer HS3\scripts\sr-201-relay"
"Close_1_for_3 sec.bat"
Close_1_for_3 sec.bat contains; (This has to be in the "sr-201-relay" folder containing the sr-201-relay.py program and it's required files)
sr-201-relay.py 192.168.0.xx close:1:3
Basic commands, where R = relay #
close:R - Close relay R.
close:R:T - Close relay R, then after T seconds open it.
close:R~ - Close relay R, then in about 1/2 a second open it.
open:R
In Homeseer create an event, select manual trigger or at a time.
THEN "Run another program or process"
Select the first bat file.
Comment