The Gosund KS602 is a smart switch which I bought for around $28 CAD for two ($14 CAD each). It has a ESP8266 and can run Tasmota. The unit is very simple to open and easy to reflash with Tasmota.
Tasmota[edit | edit source]
Flashing[edit | edit source]
All the pins you need to flash Tasmota are exposed as a test pad. Use some test clips to attach to 3v3, GND, TX, RX, and IO0 and flash Tasmota using esptool.
To get into programming mode, short IO0 to GND. Using a 10K resistor to GND won't work!
Configuration[edit | edit source]
After flashing Tasmota, I had to configure my unit with the following template since the one on https://templates.blakadder.com/ did not work for me. This template will have the LEDs turn green when on and red when off.
{"NAME":"Gosund KS-602","GPIO":[32,0,320,0,0,0,0,0,0,0,224,0,290,0],"FLAG":0,"BASE":18}
Pinouts[edit | edit source]
These are the pinouts that are defined. Everything that isn't specified is set to 'None'
Pin | Feature |
---|---|
GPIO0 | Button 1
|
GPIO2 | Led_i 1
|
GPIO14 | Relay 1
|
GPIO16 | Led 3
|
See also[edit | edit source]
|