Gosund SW6 3-Way Switch
Model reference: SW6
Gosund SW6 3-Way

Available from:

Flashed with:

GPIO #Component
GPIO00 Button1
GPIO01 None
GPIO02 Led1i
GPIO03 None
GPIO04 Switch1
GPIO05 None
GPIO09 None
GPIO10 None
GPIO12 None
GPIO13 None
GPIO14 Relay2
GPIO15 Relay1
GPIO16 LedLinki


{"NAME":"Gosund SW6","GPIO":[17,0,56,0,9,0,0,0,0,0,22,21,158],"FLAG":0,"BASE":18}

Tuya-Convert might not be possible for this device if the manufacturer started using newest Tuya firmware since this template was published. Instead you can likely serial flash Tasmota without soldering with a flashing jig, if the device is easily opened.

This assumes standard 3-way lighting with a child ‘dumb’ toggle switch connected to the travelers. Relay1 is a dummy component that stores the power state of the switch. Relay2 is the actual hardware switch. Button1 toggles Power1 automatically, Rule2 covers the toggle of the actual relay. The secondary switch electrically controls the light, and its state changes on Switch1. Rule1 syncs this state change to Power1.

SwitchTopic 0
switchmode1 1
Rule1 ON Switch1#state do Power1 2 endon
Rule2 ON Button1#state do Power2 2 endon
Rule1 1
Rule2 1