Add Neo Coolcam support

Add support for Neo Coolcam Wifi Smart Power Plug
This commit is contained in:
Theo Arends 2018-09-27 18:36:42 +02:00
parent c433bbc7eb
commit 1a4458528e
2 changed files with 15 additions and 0 deletions

View File

@ -2,6 +2,9 @@
* Change status JSON message providing more switch and retain information
* Change pinmode for no-pullup defined switches to pullup when configured as switchmode PUSHBUTTON (=3 and up) (#3896)
* Add delay after restart before processing rule sensor data (#3811)
* Fix Home Assistant forced light discovery (#3908)
* Add rule triggers SWITCH1#BOOT and POWER1#BOOT (#3904, #3910)
* Add support for Neo Coolcam Wifi Smart Power Plug
*
* 6.2.1.7 20180925
* Remove restart after ntpserver change and force NTP re-sync (#3890)

View File

@ -231,6 +231,7 @@ enum SupportedModules {
SHELLY1,
SHELLY2,
PHILIPS,
NEO_COOLCAM,
MAXMODULE };
/********************************************************************************************/
@ -390,6 +391,7 @@ const uint8_t kModuleNiceList[MAXMODULE] PROGMEM = {
SHELLY1,
SHELLY2,
BLITZWOLF_BWSHP2,
NEO_COOLCAM,
H801,
MAGICHOME,
ARILUX_LC01,
@ -1054,6 +1056,16 @@ const mytmplt kModules[MAXMODULE] PROGMEM = {
0, 0,
GPIO_PWM1, // GPIO15 light intensity
0, 0
},
{ "Neo Coolcam", // Neo Coolcam (ESP8266)
// https://www.banggood.com/NEO-COOLCAM-WiFi-Mini-Smart-Plug-APP-Remote-Control-Timing-Smart-Socket-EU-Plug-p-1288562.html?cur_warehouse=CN
0, 0, 0, 0,
GPIO_LED1_INV, // GPIO13 Red Led (0 = On, 1 = Off)
0,
0, 0, 0, 0, 0, 0, // Flash connection
GPIO_REL1, // GPIO12 Red Led and Relay (0 = Off, 1 = On)
GPIO_KEY1, // GPIO13 Button
0, 0, 0, 0
}
};