diff --git a/BUILDS.md b/BUILDS.md index d1ac73db9..f63d29bb8 100644 --- a/BUILDS.md +++ b/BUILDS.md @@ -53,7 +53,7 @@ | USE_SM16716 | - | - | x | x | x | - | x | | USE_SM2135 | - | - | x | x | x | - | x | | USE_SONOFF_L1 | - | - | x | x | x | - | x | -| USE_ELECTRIQ_MOODL | - | - | - | - | - | - | - | +| USE_ELECTRIQ_MOODL | - | - | x | x | x | - | x | | | | | | | | | | | USE_ENERGY_SENSOR | - | x | x | x | x | - | - | | USE_PZEM004T | - | - | x | x | x | - | - | diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 711bb69c1..7f462dd04 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -124,3 +124,4 @@ The following binary downloads have been compiled with ESP8266/Arduino library c - Add support for Jarolift rollers by Keeloq algorithm - Add support for MaxBotix HRXL-MaxSonar ultrasonic range finders by Jon Little (#7814) - Add support for HDC1080 Temperature and Humidity sensor by Luis Teixeira (#7888) +- Add support for ElectriQ iQ-wifiMOODL RGBW light by ianbyte (#7947) diff --git a/tasmota/CHANGELOG.md b/tasmota/CHANGELOG.md index 9c8d258de..d32269e10 100644 --- a/tasmota/CHANGELOG.md +++ b/tasmota/CHANGELOG.md @@ -2,13 +2,14 @@ ### 8.1.0.11 20200313 +- Change Zigbee simplification of devices probing, saving Flash and memory - Add HAss Discovery support for Button and Switch triggers by Federico Leoni (#7901) - Add support for HDC1080 Temperature and Humidity sensor by Luis Teixeira (#7888) - Add commands ``SwitchMode 13`` PushOn and ``SwitchMode 14`` PushOnInverted (#7912) - Add command ``HumOffset -10.0 .. 10.0`` to set global humidity sensor offset (#7934) - Add Zigbee support for Hue emulation by Stefan Hadinger - Add Dew Point to Temperature and Humidity sensors -- Change Zigbee simplification of devices probing, saving Flash and memory +- Add support for ElectriQ iQ-wifiMOODL RGBW light by ianbyte (#7947) ### 8.1.0.10 20200227 diff --git a/tasmota/my_user_config.h b/tasmota/my_user_config.h index 568ece036..ab80c4cf6 100644 --- a/tasmota/my_user_config.h +++ b/tasmota/my_user_config.h @@ -431,7 +431,7 @@ #define USE_SM16716 // Add support for SM16716 RGB LED controller (+0k7 code) #define USE_SM2135 // Add support for SM2135 RGBCW led control as used in Action LSC (+0k6 code) #define USE_SONOFF_L1 // Add support for Sonoff L1 led control -#define USE_ELECTRIQ_MOODL // Add support for ElectriQ iQ-wifiMOODL RGBW LED controller +#define USE_ELECTRIQ_MOODL // Add support for ElectriQ iQ-wifiMOODL RGBW LED controller (+0k3 code) // -- Counter input ------------------------------- #define USE_COUNTER // Enable inputs as counter (+0k8 code) diff --git a/tasmota/tasmota_post.h b/tasmota/tasmota_post.h index 07a986e0b..a6dac7fdb 100644 --- a/tasmota/tasmota_post.h +++ b/tasmota/tasmota_post.h @@ -135,7 +135,7 @@ extern "C" void custom_crash_callback(struct rst_info * rst_info, uint32_t stack #define USE_SM16716 // Add support for SM16716 RGB LED controller (+0k7 code) #define USE_SM2135 // Add support for SM2135 RGBCW led control as used in Action LSC (+0k6 code) #define USE_SONOFF_L1 // Add support for Sonoff L1 led control -//#define USE_ELECTRIQ_MOODL // Add support for ElectriQ iQ-wifiMOODL RGBW LED controller +#define USE_ELECTRIQ_MOODL // Add support for ElectriQ iQ-wifiMOODL RGBW LED controller #define USE_COUNTER // Enable counters #undef USE_ADC_VCC // Add Analog input on selected devices diff --git a/tasmota/xlgt_06_electriq_moodl.ino b/tasmota/xlgt_06_electriq_moodl.ino index 0ece53dd6..7e972f968 100644 --- a/tasmota/xlgt_06_electriq_moodl.ino +++ b/tasmota/xlgt_06_electriq_moodl.ino @@ -1,7 +1,7 @@ /* xlgt_06_moodlamp.ino - ElectriQ iQ-wifiMOODL LED support for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2020 ianbyte and Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -19,7 +19,6 @@ #ifdef USE_LIGHT #ifdef USE_ELECTRIQ_MOODL - /*********************************************************************************************\ * ElectriQ iQ-wifiMOODL * This RGBW mood lamp uses the TYWE3S module to transmit via UART to an unmarked MCU which @@ -27,11 +26,11 @@ * The MCU appears to use a modified/undocumented version of the TuyaMCU protocol. * The main PCB has 2 daughter boards which hold the RGBW LEDs - an upper deck and a lower deck. * The same RGBW data is transmitted to the upper and lower decks. - * *********************************************************************************************/ +\*********************************************************************************************/ #define XLGT_06 6 -/********************************************************************************************/ +/*********************************************************************************************/ bool ElectriqMoodLSetChannels(void) { @@ -75,7 +74,7 @@ void ElectriqMoodLModuleSelected(void) SetSerial(9600, TS_SERIAL_8N1); light_type = LT_RGBW; light_flg = XLGT_06; - AddLog_P2(LOG_LEVEL_DEBUG, PSTR("DBG: ElectriQ Mood Lamp Found")); + AddLog_P2(LOG_LEVEL_DEBUG, PSTR("LGT: ElectriQ Mood Lamp Found")); } }