Etekcity 3-way Switch (ESWL03)
Available from:
Amazon.com
Manufacturer:
Etekcity.com
GPIO # | Component |
---|---|
GPIO00 | None |
GPIO01 | None |
GPIO02 | None |
GPIO03 | None |
GPIO04 | Relay3 |
GPIO05 | Relay1i |
GPIO09 | None |
GPIO10 | None |
GPIO12 | Switch1n |
GPIO13 | Relay2 |
GPIO14 | Switch2 |
GPIO15 | None |
GPIO16 | None |
FLAG | None |
Configuration (old format, will be converted to new template when applied)
{"NAME":"Etekcity 3Way","GPIO":[0,0,0,0,23,29,0,0,82,22,10,0,0],"FLAG":0,"BASE":18}
backlog switchtopic 0;switchmode1 1;switchmode2 5;switchmode3 1;powerretain 1;rule1 on event#ON do power2 TOGGLE endon;rule1 1;rule2 on event#OFF do power2 TOGGLE endon;rule2 1;
rule3 on power1#state=1 do backlog rule1 0; rule2 1 endon on power1#state=0 do backlog rule1 1; rule2 0 endon
rule3 1