Gosund KS602: Difference between revisions
From Leo's Notes
This page was last edited on 12 November 2022, at 06:38.
m Added categories and navbox |
No edit summary |
||
| Line 2: | Line 2: | ||
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. | 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 configuration == | ||
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.{{Highlight | 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.{{Highlight | ||
| code = {"NAME":"Gosund KS-602","GPIO":[32,0,320,0,0,0,0,0,0,0,224,0,290,0],"FLAG":0,"BASE":18} | | code = {"NAME":"Gosund KS-602","GPIO":[32,0,320,0,0,0,0,0,0,0,224,0,290,0],"FLAG":0,"BASE":18} | ||
| Line 8: | Line 8: | ||
}} | }} | ||
{{Navbox Hardware}} | === Pinouts === | ||
These are the pinouts that are defined. Everything that isn't specified is set to 'None' | |||
{| class="wikitable" | |||
!Pin | |||
!Feature | |||
|- | |||
|GPIO0 | |||
|<code>Button 1</code> | |||
|- | |||
|GPIO2 | |||
|<code>Led_i 1</code> | |||
|- | |||
|GPIO14 | |||
|<code>Relay 1</code> | |||
|- | |||
|GPIO16 | |||
|<code>Led 3</code> | |||
|}{{Navbox Hardware}} | |||
{{Navbox Tinkering}} | {{Navbox Tinkering}} | ||
[[Category:Tinkering]] | [[Category:Tinkering]] | ||
[[Category:Hardware]] | [[Category:Hardware]] | ||
Revision as of 06:38, 12 November 2022

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 configuration
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
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
|
| ||||||||||