I am looking to add a few NC800 8-Channel Ethernet controlled relays to my house…
I suspect that I will need to add these as restful switches, but can use help setting up the templates (including knowing which templates to use).
They are pretty cookie cutter… the first one is IP address 172.16.251.11
To get the status of the first four relays, you make the following call:
http://172.16.251.11/30000/42 or from the terminal, you can use curl.
Sending the same request a second time gives you the next four relays.
curl 172.16.251.11/30000/42
Relay-ALL  ON      ALL-ON
Relay-ALL OFF     ALL-OFF
Relay-01: OFF   ON/OFF-01
Relay-02: OFF   ON/OFF-02
Relay-03: OFF   ON/OFF-03
Relay-04: OFF   ON/OFF-04
Change IP/Port:     Enter
**%**
curl 172.16.251.11/30000/42
Relay-ALL  ON      ALL-ON
Relay-ALL OFF     ALL-OFF
Relay-05: OFF   ON/OFF-05
Relay-06: OFF   ON/OFF-06
Relay-07: OFF   ON/OFF-07
Relay-08: OFF   ON/OFF-08
Change IP/Port:     Enter
**%**
172.16.251.11/30000/00 - Turns Relay 1 Off
172.16.251.11/30000/01 - Turns Relay 1 On
172.16.251.11/30000/02 - Turns Relay 2 Off
172.16.251.11/30000/03 - Turns Relay 2 On
172.16.251.11/30000/04 - Turns Relay 3 Off
172.16.251.11/30000/05 - Turns Relay 3 On
172.16.251.11/30000/06 - Turns Relay 4 Off
172.16.251.11/30000/07 - Turns Relay 4 On
172.16.251.11/30000/08 - Turns Relay 5 Off
172.16.251.11/30000/09 - Turns Relay 5 On
172.16.251.11/30000/10 - Turns Relay 6 Off
172.16.251.11/30000/11 - Turns Relay 6 On
172.16.251.11/30000/12 - Turns Relay 7 Off
172.16.251.11/30000/13 - Turns Relay 7 On
172.16.251.11/30000/14 - Turns Relay 8 Off
172.16.251.11/30000/15 - Turns Relay 8 On
172.16.251.11/30000/44 - Turns Relay’s 1-8 Off
172.16.251.11/30000/45 - Turns Relay’s 1-8 On
I want to define this as 8 individual toggles on one switch/unit that shows the correct status for each toggle and that has an all on / all off option…