Logo
Wisdom ZY_ACU02 Plug
US
Model reference:
Wisdom ZY_ACU02

Available from:
Amazon.com
Aliexpress.com





GPIO #Component
GPIO00 User
GPIO01 User
GPIO02 User
GPIO03 Led1
GPIO04 Relay2
GPIO05 Relay1
GPIO09 None
GPIO10 None
GPIO12 Relay3i
GPIO13 Button1
GPIO14 Relay4i
GPIO15 User
GPIO16 User
FLAG User

Template

{"NAME":"ZY-ACU02","GPIO":[255,255,255,52,22,21,0,0,31,17,32,255,255],"FLAG":15,"BASE":18}

Rule to toggle LED’s with relays…
Backlog ledmask 0x0000; seriallog 0; rule1 on power1#state do power3 %value% endon on power2#state do power4 %value% endon; rule1 1

Rule for Button to control both relays

1 short press for relay1

2 short presses for relay2…

Backlog ButtonTopic 0; SetOption1 1; SetOption11 1; SetOption32 20; Rule2 on button1#state=3 do delay endon on button1#state=2 do power2 toggle endon; Rule2 1