Add support for Smanergy KA10

Add support for Smanergy KA10 Smart Wall Socket with Energy monitoring
This commit is contained in:
Theo Arends 2019-01-12 15:16:37 +01:00
parent a124529015
commit 72bc9b8107
2 changed files with 19 additions and 17 deletions

View File

@ -6,7 +6,8 @@
* Add support for OBI Power Socket 2 (#4829)
* Add support for YTF IR Bridge (#4855)
* Change web authentication (#4865)
* Add support for Digoo DG-SP202 Smart Socket (#4891)
* Add support for Digoo DG-SP202 Smart Socket with Energy monitoring (#4891)
* Add support for Smanergy KA10 Smart Wall Socket with Energy monitoring
*
* 6.4.1.7 20190106
* Fix HLW8012, HJL01 and BL0937 based energy sensors low Power (below 10W) measurement regression from 6.4.1.6

View File

@ -276,6 +276,7 @@ enum SupportedModules {
OBI2,
YTF_IR_BRIDGE,
DIGOO,
KA10,
MAXMODULE };
/********************************************************************************************/
@ -546,6 +547,7 @@ const uint8_t kModuleNiceList[MAXMODULE] PROGMEM = {
GOSUND,
SK03_TUYA,
DIGOO,
KA10,
NEO_COOLCAM, // Socket Relay Devices
OBI,
OBI2,
@ -1716,12 +1718,7 @@ const mytmplt kModules[MAXMODULE] PROGMEM = {
GPIO_REL1, // GPIO15 Relay1 (0 = Off, 1 = On) and Red Led
GPIO_KEY2_NP, // GPIO16 Button2, externally pulled up
0
}
};
/*
Optionals
},
{ "KA10", // SMANERGY KA10 (ESP8285 - BL0937 Energy Monitoring) - https://www.amazon.es/dp/B07MBTCH2Y
0, // GPIO00
GPIO_LED1_INV, // GPIO01 Blue LED - Link status
@ -1740,6 +1737,10 @@ const mytmplt kModules[MAXMODULE] PROGMEM = {
GPIO_REL1, // GPIO14 Relay 1
0, 0, 0
}
};
/*
Optionals
{ "N0DY Relay", // N0DY Wifi Dual Relay (ESP-07)
// https://www.n0dy.com/product/web-controlled-dual-relay/