Logo
Deltaco SH-P03USB Power Strip
EU
Model reference:
Deltaco SH-P03USB

Available from:
Inet.se
Webhallen.com


Manufacturer:
Deltaco.se

Flashed with:
Tuya-Convert

GPIO #Component
GPIO00 None
GPIO01 Led1i
GPIO02 None
GPIO03 None
GPIO04 None
GPIO05 Relay1
GPIO09 None
GPIO10 None
GPIO12 Relay3
GPIO13 Button1
GPIO14 Relay2
GPIO15 Relay4
GPIO16 None
FLAG Analog

Template

{"NAME":"Deltaco SH-P03","GPIO":[0,56,0,0,0,21,0,0,23,17,22,24,0],"FLAG":1,"BASE":18}

Button controls single relay only.

If you want to control ALL 3 relays use:

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