mirror of
https://github.com/arendst/Tasmota.git
synced 2025-08-01 23:17:43 +00:00
Add support for Digoo DG-SP202
Add support for Digoo DG-SP202 Smart Socket (#4891)
This commit is contained in:
parent
0b4bed6099
commit
a124529015
@ -6,6 +6,7 @@
|
|||||||
* Add support for OBI Power Socket 2 (#4829)
|
* Add support for OBI Power Socket 2 (#4829)
|
||||||
* Add support for YTF IR Bridge (#4855)
|
* Add support for YTF IR Bridge (#4855)
|
||||||
* Change web authentication (#4865)
|
* Change web authentication (#4865)
|
||||||
|
* Add support for Digoo DG-SP202 Smart Socket (#4891)
|
||||||
*
|
*
|
||||||
* 6.4.1.7 20190106
|
* 6.4.1.7 20190106
|
||||||
* Fix HLW8012, HJL01 and BL0937 based energy sensors low Power (below 10W) measurement regression from 6.4.1.6
|
* Fix HLW8012, HJL01 and BL0937 based energy sensors low Power (below 10W) measurement regression from 6.4.1.6
|
||||||
|
@ -275,6 +275,7 @@ enum SupportedModules {
|
|||||||
MANZOKU_EU_4,
|
MANZOKU_EU_4,
|
||||||
OBI2,
|
OBI2,
|
||||||
YTF_IR_BRIDGE,
|
YTF_IR_BRIDGE,
|
||||||
|
DIGOO,
|
||||||
MAXMODULE };
|
MAXMODULE };
|
||||||
|
|
||||||
/********************************************************************************************/
|
/********************************************************************************************/
|
||||||
@ -544,6 +545,7 @@ const uint8_t kModuleNiceList[MAXMODULE] PROGMEM = {
|
|||||||
APLIC_WDP303075,
|
APLIC_WDP303075,
|
||||||
GOSUND,
|
GOSUND,
|
||||||
SK03_TUYA,
|
SK03_TUYA,
|
||||||
|
DIGOO,
|
||||||
NEO_COOLCAM, // Socket Relay Devices
|
NEO_COOLCAM, // Socket Relay Devices
|
||||||
OBI,
|
OBI,
|
||||||
OBI2,
|
OBI2,
|
||||||
@ -1693,6 +1695,27 @@ const mytmplt kModules[MAXMODULE] PROGMEM = {
|
|||||||
GPIO_KEY1, // GPIO13 Button
|
GPIO_KEY1, // GPIO13 Button
|
||||||
GPIO_IRSEND, // GPIO14 IR Transmitter
|
GPIO_IRSEND, // GPIO14 IR Transmitter
|
||||||
0, 0, 0
|
0, 0, 0
|
||||||
|
},
|
||||||
|
{ "Digoo DG-SP202", // Digoo DG-SP202
|
||||||
|
// https://www.banggood.com/DIGOO-DG-SP202-Dual-EU-Plug-Smart-WIFI-Socket-Individual-Controllable-Energy-Monitor-Remote-Control-Timing-Smart-Home-Outlet-let-p-1375323.html
|
||||||
|
GPIO_KEY1, // GPIO00 Button1
|
||||||
|
0, // GPIO01 Serial RXD
|
||||||
|
0, // GPIO02
|
||||||
|
0, // GPIO03 Serial TXD
|
||||||
|
GPIO_HJL_CF, // GPIO04 BL0937 or HJL-01 CF power
|
||||||
|
GPIO_NRG_CF1, // GPIO05 BL0937 or HJL-01 CF1 current / voltage
|
||||||
|
// GPIO06 (SD_CLK Flash)
|
||||||
|
// GPIO07 (SD_DATA0 Flash QIO/DIO/DOUT)
|
||||||
|
// GPIO08 (SD_DATA1 Flash QIO/DIO/DOUT)
|
||||||
|
0, // GPIO09 (SD_DATA2 Flash QIO or ESP8285)
|
||||||
|
0, // GPIO10 (SD_DATA3 Flash QIO or ESP8285)
|
||||||
|
// GPIO11 (SD_CMD Flash)
|
||||||
|
GPIO_NRG_SEL_INV, // GPIO12 BL0937 or HJL-01 Sel output (0 = Voltage)
|
||||||
|
GPIO_LED1, // GPIO13 Blue Leds - Link Status
|
||||||
|
GPIO_REL2, // GPIO14 Relay2 (0 = Off, 1 = On) and Red Led
|
||||||
|
GPIO_REL1, // GPIO15 Relay1 (0 = Off, 1 = On) and Red Led
|
||||||
|
GPIO_KEY2_NP, // GPIO16 Button2, externally pulled up
|
||||||
|
0
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user