Add support for Gosund SP1 v2.3

Add support for Gosund SP1 v2.3 Power Socket with Energy Monitoring (#4297)
This commit is contained in:
Theo Arends 2018-11-08 10:24:10 +01:00
parent 61985ca16b
commit b5d38c4eee
3 changed files with 19 additions and 2 deletions

View File

@ -66,16 +66,17 @@ Module | Description
42 Zengge WF017 | Zengge WF017 Wifi RGB(W) Led Controller
43 Sonoff Pow R2 | Sonoff Pow R2 Wifi Smart Switch with Energy Monitoring
44 Sonoff iFan02 | Sonoff iFan02 Wifi Smart Ceiling Fan with Light
45 BlitzWolf SHP2 | BlitzWolf BW-SHP2, BW-SHP6, HomeCube SP1, Gosund SP111 Wifi Smart Switch with Energy Monitoring
45 BlitzWolf SHP2 | BlitzWolf BW-SHP2, BW-SHP6, HomeCube SP1, Gosund SP111, Teckin SP22 Wifi Smart Switch with Energy Monitoring
46 Shelly 1 | Shelly 1 Open Source Wifi Relay Module
47 Shelly 2 | Shelly 2 Wifi 2-gang Relay Module with Energy Monitoring
48 Xiaomi Philips | Xiaomi Philips Wifi WW Led Bulb
49 Neo Coolcam | Neo Coolcam Wifi Smart Socket
50 ESP Switch | ESP Switch 4-gang Wifi Switch with Leds
51 OBI Socket | OBI Wifi Smart Socket
52 Teckin | Teckin SP20, SP22 Wifi Smart Switch with Energy Monitoring
52 Teckin | Teckin SP20 Wifi Smart Switch with Energy Monitoring
53 AplicWDP303075 | Aplic WDP 303075 CSL Wifi Smart Switch with Energy Monitoring
54 Tuya Dimmer | MIUO (and other Tuya based) Wifi Dimmer for Incandescent Lights and Led
55 Gosund SP1_v23 | Gosund SP1 v2.3 Wifi Smart Switch with Energy Monitoring
## Provided Binary Downloads
The following binary downloads have been compiled with ESP8266/Arduino library version **2.3.0**

View File

@ -1,5 +1,6 @@
/* 6.3.0.5 20181107
* Add code image and optional commit number to version
* Add support for Gosund SP1 v2.3 Power Socket with Energy Monitoring (#4297)
*
* 6.3.0.4 20181106
* Add command SetSensorXX 0/1 to disable/re-enable compiled xsns_XX_sensor.ino driver

View File

@ -250,6 +250,7 @@ enum SupportedModules {
TECKIN,
APLIC_WDP303075,
TUYA_DIMMER,
GOSUND,
MAXMODULE };
/********************************************************************************************/
@ -466,6 +467,7 @@ const uint8_t kModuleNiceList[MAXMODULE] PROGMEM = {
BLITZWOLF_BWSHP2, // Socket Relay Devices with Energy Monitoring
TECKIN,
APLIC_WDP303075,
GOSUND,
NEO_COOLCAM, // Socket Relay Devices
OBI,
ESP_SWITCH, // Switch Devices
@ -1215,6 +1217,19 @@ const mytmplt kModules[MAXMODULE] PROGMEM = {
GPIO_USER,
GPIO_USER,
0
},
{ "Gosund SP1_v23", // https://www.amazon.de/gp/product/B0777BWS1P
0,
GPIO_LED1_INV, // GPIO01 Serial RXD and LED1 (blue) inv
0,
GPIO_KEY1, // GPIO03 Serial TXD and Button
GPIO_HJL_CF, // GPIO04 BL0937 or HJL-01 CF power
GPIO_NRG_CF1, // GPIO05 BL0937 or HJL-01 CF1 current / voltage
0, 0, 0, 0, 0, 0, // Flash connection
GPIO_NRG_SEL_INV, // GPIO12 BL0937 or HJL-01 Sel output (0 = Voltage)
GPIO_LED2_INV, // GPIO13 LED2 (red) inv
GPIO_REL1, // GPIO14 Relay (0 = Off, 1 = On)
0, 0, 0
}
};