mirror of https://github.com/arendst/Tasmota.git
Add support for Sonoff L1 thanks to reef-actor
Add support for Sonoff L1 thanks to reef-actor (#6002)
This commit is contained in:
parent
2425065a38
commit
cc46e2e625
|
@ -7,7 +7,8 @@
|
|||
* Add define USE_DHT to my_user_config.h to save space in sonoff-basic.bin
|
||||
* Change TLS+AWS IoT optimization for speed, code and memory footprint
|
||||
* Add command SetOption40 0..250 to disable button functionality if activated for over 0.1 second. Needs SetOption1 1 and SetOption13 0 (#5449)
|
||||
* Change converted double to float in rules, and replaced trigonometric functions from stdlib with smaller versions.
|
||||
* Change converted double to float in rules, and replaced trigonometric functions from stdlib with smaller versions saving 7k code space (#6005)
|
||||
* Add support for Sonoff L1 thanks to reef-actor (#6002)
|
||||
*
|
||||
* 6.5.0.15 20190606
|
||||
* Change pubsubclient MQTT_KEEPALIVE from 10 to 30 seconds in preparation of AWS IoT support
|
||||
|
|
|
@ -404,7 +404,7 @@
|
|||
#define USE_TUYA_DIMMER // Add support for Tuya Serial Dimmer
|
||||
#define TUYA_DIMMER_ID 0 // Default dimmer Id
|
||||
#define USE_ARMTRONIX_DIMMERS // Add support for Armtronix Dimmers (+1k4 code)
|
||||
#define USE_PS_16_DZ // Add support for PS-16-DZ Dimmer
|
||||
#define USE_PS_16_DZ // Add support for PS-16-DZ Dimmer and Sonoff L1 (+2k7 code)
|
||||
//#define ROTARY_V1 // Add support for MI Desk Lamp
|
||||
//#define USE_AZ7798 // Add support for AZ-Instrument 7798 CO2 datalogger (+1k6 code)
|
||||
//#define USE_PN532_HSU // Add support for PN532 using HSU (Serial) interface (+1k8 code, 140 bytes mem)
|
||||
|
|
|
@ -137,7 +137,7 @@ void KNX_CB_Action(message_t const &msg, void *arg);
|
|||
#ifndef TUYA_DIMMER_ID
|
||||
#define TUYA_DIMMER_ID 0 // Default dimmer Id
|
||||
#endif
|
||||
#define USE_PS_16_DZ // Add support for PS-16-DZ Dimmer
|
||||
#define USE_PS_16_DZ // Add support for PS-16-DZ Dimmer and Sonoff L1 (+2k7 code)
|
||||
//#define USE_AZ7798 // Add support for AZ-Instrument 7798 CO2 datalogger
|
||||
#define USE_PN532_HSU // Add support for PN532 using HSU (Serial) interface (+1k8 code, 140 bytes mem)
|
||||
#define USE_PZEM004T // Add support for PZEM004T Energy monitor (+2k code)
|
||||
|
@ -208,7 +208,7 @@ void KNX_CB_Action(message_t const &msg, void *arg);
|
|||
#undef USE_MP3_PLAYER // Disable DFPlayer Mini MP3 Player RB-DFR-562 commands: play, volume and stop
|
||||
#undef USE_TUYA_DIMMER // Disable support for Tuya Serial Dimmer
|
||||
#undef USE_ARMTRONIX_DIMMERS // Disable support for Armtronix Dimmers (+1k4 code)
|
||||
#undef USE_PS_16_DZ // Disable support for PS-16-DZ Dimmer
|
||||
#undef USE_PS_16_DZ // Disable support for PS-16-DZ Dimmer and Sonoff L1 (+2k7 code)
|
||||
#undef USE_AZ7798 // Disable support for AZ-Instrument 7798 CO2 datalogger
|
||||
#undef USE_PN532_HSU // Disable support for PN532 using HSU (Serial) interface (+1k8 code, 140 bytes mem)
|
||||
#undef USE_PZEM004T // Disable PZEM004T energy sensor
|
||||
|
@ -341,7 +341,7 @@ void KNX_CB_Action(message_t const &msg, void *arg);
|
|||
#undef USE_MP3_PLAYER // Disable DFPlayer Mini MP3 Player RB-DFR-562 commands: play, volume and stop
|
||||
//#undef USE_TUYA_DIMMER // Disable support for Tuya Serial Dimmer
|
||||
#undef USE_ARMTRONIX_DIMMERS // Disable support for Armtronix Dimmers (+1k4 code)
|
||||
#undef USE_PS_16_DZ // Disable support for PS-16-DZ Dimmer
|
||||
#undef USE_PS_16_DZ // Disable support for PS-16-DZ Dimmer and Sonoff L1 (+2k7 code)
|
||||
#undef USE_AZ7798 // Disable support for AZ-Instrument 7798 CO2 datalogger
|
||||
#undef USE_PN532_HSU // Disable support for PN532 using HSU (Serial) interface (+1k8 code, 140 bytes mem)
|
||||
#undef USE_PZEM004T // Disable PZEM004T energy sensor
|
||||
|
@ -412,7 +412,7 @@ void KNX_CB_Action(message_t const &msg, void *arg);
|
|||
#undef USE_MP3_PLAYER // Disable DFPlayer Mini MP3 Player RB-DFR-562 commands: play, volume and stop
|
||||
#undef USE_TUYA_DIMMER // Disable support for Tuya Serial Dimmer
|
||||
#undef USE_ARMTRONIX_DIMMERS // Disable support for Armtronix Dimmers (+1k4 code)
|
||||
#undef USE_PS_16_DZ // Disable support for PS-16-DZ Dimmer
|
||||
#undef USE_PS_16_DZ // Disable support for PS-16-DZ Dimmer and Sonoff L1 (+2k7 code)
|
||||
#undef USE_AZ7798 // Disable support for AZ-Instrument 7798 CO2 datalogger
|
||||
#undef USE_PN532_HSU // Disable support for PN532 using HSU (Serial) interface (+1k8 code, 140 bytes mem)
|
||||
#undef USE_PZEM004T // Disable PZEM004T energy sensor
|
||||
|
|
|
@ -657,6 +657,9 @@ const uint8_t kModuleNiceList[] PROGMEM = {
|
|||
SONOFF_T13,
|
||||
SONOFF_LED, // Sonoff Light Devices
|
||||
SONOFF_BN,
|
||||
#ifdef USE_PS_16_DZ
|
||||
SONOFF_L1,
|
||||
#endif
|
||||
SONOFF_B1, // Sonoff Light Bulbs
|
||||
SLAMPHER,
|
||||
SONOFF_SC, // Sonoff Environmemtal Sensor
|
||||
|
@ -699,7 +702,6 @@ const uint8_t kModuleNiceList[] PROGMEM = {
|
|||
#endif
|
||||
#ifdef USE_PS_16_DZ
|
||||
PS_16_DZ,
|
||||
SONOFF_L1,
|
||||
#endif
|
||||
H801, // Light Devices
|
||||
MAGICHOME,
|
||||
|
@ -1981,7 +1983,7 @@ const mytmplt kModules[MAXMODULE] PROGMEM = {
|
|||
GPIO_USER, // GPIO16 N.C.
|
||||
ADC0_USER // ADC0 A0 Analog input
|
||||
},
|
||||
{ "SONOFF L1", // Sonoff L1 RGB LED controller (ESP8266 w/ separate Nuvoton MCU)
|
||||
{ "Sonoff L1", // Sonoff L1 RGB LED controller (ESP8266 w/ separate Nuvoton MCU)
|
||||
GPIO_USER,
|
||||
GPIO_TXD, // GPIO01 MCU serial control
|
||||
GPIO_USER,
|
||||
|
|
Loading…
Reference in New Issue