Zeoota PS022 Power Strip
Zeoota PS022

Available from:

GPIO #Component
GPIO00 None
GPIO01 Led2i
GPIO02 None
GPIO03 Led1i
GPIO04 Relay2
GPIO05 Relay1
GPIO09 None
GPIO10 None
GPIO12 Button1
GPIO13 Relay3
GPIO14 Relay4
GPIO15 None
GPIO16 None
FLAG Analog
Template (old version)
{"NAME":"ZEOOTA 3x plus","GPIO":[0,57,0,56,22,21,0,0,17,23,24,0,0],"FLAG":1,"BASE":18}

Button controls single relay only. To switch other relays use rules.

E.g. all other relays synchronized to relay 1:

rule on Power1#boot do var1 %value% endon on Power1#state do var1 %value% endon on button1#state do event change=%var1% endon on event#change==0 do backlog POWER1 1; POWER2 1; POWER3 1; POWER4 1 endon on event#change==1 do backlog POWER1 0; POWER2 0; POWER3 0; POWER4 0 endon