Logo
Martin Jerry ST01 3 Way Switch (MJ-ST01)
US
Martin Jerry ST01 3 Way

Available from:
Amazon.com
Amazon.com







GPIO #Component
GPIO00 User
GPIO01 User
GPIO02 User
GPIO03 User
GPIO04 Led1
GPIO05 Led2
GPIO09 None
GPIO10 None
GPIO12 Relay1
GPIO13 Switch1
GPIO14 LedLink
GPIO15 User
GPIO16 None
FLAG None
Configuration (old format, will be converted to new template when applied)
{"NAME":"MJ 3Way Switch","GPIO":[255,255,255,255,52,53,0,0,21,9,157,255,0],"FLAG":0,"BASE":18}

Flashing and setup video

This switch requires the use of switch1 as configured in the template to work correctly. You will need to issue the following command on the console to set the correct mode.

switchmode1 5

Used the following rule to have the red LED lit while the relay is off and blue LED lit when on (matches the Martin Jerry Dimmers)

rule1 on power1#state=0 do backlog ledpower1 0; ledpower2 1 endon on power1#state=1 do backlog ledpower1 1; ledpower2 0 endon