Gosund KS602: Difference between revisions

From Leo's Notes
This page was last edited on 21 November 2022, at 01:14.
Created page with "Configuration Tasmota template {{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} | lang = terminal }}"
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
Configuration
[[File:Gosund KS602 Smart Plug Reflash.jpg|alt=Gosund KS602 Smart Plug Reflash|thumb|Gosund KS602 Smart Plug Reflash]]
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 template
== Tasmota ==


{{Highlight
=== Flashing ===
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 ===
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}
| lang = terminal
| lang = terminal
}}
}}
=== 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>
|}
== See also ==
* https://tasmota.github.io/docs/devices/KS-602S-Switch/
{{Navbox Hardware}}
{{Navbox Tinkering}}
[[Category:Tinkering]]
[[Category:Hardware]]

Latest revision as of 01:14, 21 November 2022

Gosund KS602 Smart Plug Reflash
Gosund KS602 Smart Plug Reflash

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

Flashing

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

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

See also