Logo
Anhaorui 6+6AC 4USB Power Strip (ZN-709)
US
Anhaorui 6+6AC 4USB

Available from:
Amazon.com







Install method:
USB to Serial

GPIO #Component
GPIO00 Led_i 1
GPIO01 None
GPIO02 None
GPIO03 Switch 1
GPIO04 Relay 1
GPIO05 Relay 2
GPIO09 None
GPIO10 None
GPIO12 Relay 5
GPIO13 Relay 6
GPIO14 Relay 4
GPIO15 Relay 3
GPIO16 None
GPIO17 None
Configuration
{"NAME":"Anhaorui ZN-709","GPIO":[320,0,0,160,224,225,0,0,228,229,227,226,0,0],"FLAG":0,"BASE":18,"CMND":"SwitchMode1 5|SO32 10"}

The power-strip has triangular socket screws (Size 27). Wi-Fi module is a TYWE3S (as of October 11, 2021 order).

Rule to control all 6 relays with multi-press and hold to turn all relays off.

Rule1
ON System#Boot DO Var1 0 ENDON
ON Switch1#State=3 DO Backlog0 Power1 0; Power2 0; Power3 0; Power4 0; Power5 0; Power6 0; Var1 0 ENDON
ON Switch1#State=2 DO ADD1 1 ENDON
ON Var1#State==1 DO RuleTimer1 1 ENDON
ON Rules#Timer=1 DO Backlog Var2 %Var1%; Var1 0 ENDON
ON Var2#State==1 DO Power1 TOGGLE ENDON
ON Var2#State==2 DO Power2 TOGGLE ENDON
ON Var2#State==3 DO Power3 TOGGLE ENDON
ON Var2#State==4 DO Power4 TOGGLE ENDON
ON Var2#State==5 DO Power5 TOGGLE ENDON
ON Var2#State==6 DO Power6 TOGGLE ENDON

Enable with Rule1 1.

Pinout

.