Anccy Relax Curtain Switch
Available from:
Amazon.de
Install method:
USB to Serial
GPIO # | Component |
---|---|
GPIO00 | LedLink |
GPIO01 | None |
GPIO02 | Led3 |
GPIO03 | Switch2 |
GPIO04 | Relay2 |
GPIO05 | Button3 |
GPIO09 | None |
GPIO10 | None |
GPIO12 | Button1 |
GPIO13 | Relay1 |
GPIO14 | Led2 |
GPIO15 | Relay3 |
GPIO16 | Led1 |
FLAG | None |
Configuration (old format, will be converted to new template when applied)
{"NAME":"Tuya Shutter","GPIO":[157,0,54,10,22,19,0,0,17,21,53,23,52],"FLAG":0,"BASE":18}
Requires configuring shutter support.
Rule1 on Power1#State=1 do backlog Power3 0; Power2 0 endon
on Power2#State=1 do backlog Power1 0; Power2 0; Power3 0 endon
on Power3#State=1 do backlog Power1 0; Power2 0 endon
Rule1 1
This combines to:
Rule1 on Power1#State=1 do backlog Power3 0; Power2 0 endon on Power2#State=1 do backlog Power1 0; Power2 0; Power3 0 endon on Power3#State=1 do backlog Power1 0; Power2 0 endon
Or use the Interlock settings like below (or use both for safety).
Added some commands too:
InterLock 1,2,3 # lock the relays, only one relay can be on
InterLock on # switch interlocking on
PowerOnState 0 # keep relay(s) OFF after power up
PowerRetain 0 # don't retain states
PulseTime1 145 # set relay 1 activation to 45 seconds (+100 for 1sec interval)
PulseTime2 1 # deactivate button 2 immediately after activation (disables relays)
Pulsetime3 145 # set relay 3 activation 45 seconds (+100 for 1sec interval)
SetOption1 1 # restrict button-multipress to single, double and hold actions
SetOption26 1 # use indexes (Power1 iso Power)
SetOption56 1 # Wi-Fi network scan to select strongest signal on restart
SetOption57 1 # Wi-Fi network re-scan, alternate AP
This combines to:
Backlog Delay 50; InterLock 1,2,3; InterLock on; PowerOnState 0; PowerRetain 0; PulseTime1 145; PulseTime2 1; Pulsetime3 145; SetOption1 1; SetOption26 1; SetOption56 1; SetOption57 1; Restart 1