From 4081eeed4dbbb2501a65aa54966a2888286a9cff Mon Sep 17 00:00:00 2001 From: Michael Ingraham <34340210+meingraham@users.noreply.github.com> Date: Wed, 17 Apr 2019 08:44:58 -0400 Subject: [PATCH] Updated Kesen KS 604S (markdown) --- Kesen-KS-604S.md | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/Kesen-KS-604S.md b/Kesen-KS-604S.md index bac7c878..044f4bab 100644 --- a/Kesen-KS-604S.md +++ b/Kesen-KS-604S.md @@ -16,15 +16,15 @@ It appears that there are different versions of the KS-604S. The device that @Da ### [@DavinKD](https://github.com/DavinKD) Device -{"NAME":"KS-604S","GPIO":[255,255,31,255,255,18,255,255,22,21,255,255,17],"FLAG":1,"BASE":18} +{"NAME":"KS-604S","GPIO":[255,255,56,255,255,17,255,255,22,21,255,255,18],"FLAG":1,"BASE":18} | GPIO | Function | Configuration | |:---|:---|:---| -| 2 | Device Status (Green) | LED1i -| 5 | Top Button | Button1 -| 12 | Bottom Receptacle | Relay2 -| 13 | Top Receptacle | Relay1 -| 16 | Bottom Button | Button2 +| 2 | Device Status (Green) | LED1i (56) +| 5 | Top Button | Button1 (17) +| 12 | Bottom Receptacle | Relay2 (22) +| 13 | Top Receptacle | Relay1 (21) +| 16 | Bottom Button | Button2 (18) ### Alibaba Device @@ -34,16 +34,16 @@ It appears that there are different versions of the KS-604S. The device that @Da | GPIO | Function | Configuration | |:---|:---|:---| -| 0 | Device Status (Green) | LED1i -| 3 | Top Button | Button1 -| 4 | Top LED (Orange) | LED2i -| 5 | Bottom Button | Button2 -| 12 | Bottom Receptacle | Relay2 -| 13 | Top Receptacle | Relay1 -| 14 | Bottom LED (Orange) | Relay4i -| 15 | USB Port | Relay3 +| 0 | Device Status (Green) | LED1i (56) +| 3 | Top Button | Button1 (17) +| 4 | Top LED (Orange) | LED2i (57) +| 5 | Bottom Button | Button2 (18) +| 12 | Bottom Receptacle | Relay2 (22) +| 13 | Top Receptacle | Relay1 (21) +| 14 | Bottom LED (Orange) | Relay4i (32) +| 15 | USB Port | Relay3 (23) -This configuration requires [LedMask](Commands#ledmask) which was introduced in 6.5.0.7. +This configuration requires [LedMask](Commands#ledmask) which was introduced in [6.5.0.7](../commit/df6645481e08b36fe61aaebeeeed249d60730386). Currently, Tasmota only supports up two LEDs to indicate relay state and connectivity status. With two LEDs defined, LED1 will act as the Wi-Fi/MQTT status LED and LED2 will act as the LED that indicates relay power.