DS-102 1 Gang Switch
DS-102 1 Gang
GPIO #Component
GPIO00 Led2i
GPIO01 None
GPIO02 None
GPIO03 Button1
GPIO04 None
GPIO05 None
GPIO09 None
GPIO10 None
GPIO12 None
GPIO13 Relay1
GPIO14 Led1i
GPIO15 None
GPIO16 None
FLAG Analog


{"NAME":"DS-102 1 Gang","GPIO":[57,0,0,17,0,0,0,0,0,21,56,0,0],"FLAG":1,"BASE":18}

The blue LED is configured to indicate switch state, the red LED is configured as link indicator. Switch the GPIOs to show switch state in red. If you prefer the switch state LED to be illuminated when power is turned OFF, i.e. when the room is dark, replace “Led1i” by “Led1”.