Add support for ElectriQ iQ-wifiMOODL

Add support for ElectriQ iQ-wifiMOODL RGBW light by ianbyte (#7947)
This commit is contained in:
Theo Arends 2020-03-18 12:32:13 +01:00
parent c1d7da258e
commit 18729bcc41
6 changed files with 10 additions and 9 deletions

View File

@ -53,7 +53,7 @@
| USE_SM16716 | - | - | x | x | x | - | x | | USE_SM16716 | - | - | x | x | x | - | x |
| USE_SM2135 | - | - | x | x | x | - | x | | USE_SM2135 | - | - | x | x | x | - | x |
| USE_SONOFF_L1 | - | - | 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_ENERGY_SENSOR | - | x | x | x | x | - | - |
| USE_PZEM004T | - | - | x | x | x | - | - | | USE_PZEM004T | - | - | x | x | x | - | - |

View File

@ -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 Jarolift rollers by Keeloq algorithm
- Add support for MaxBotix HRXL-MaxSonar ultrasonic range finders by Jon Little (#7814) - 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 HDC1080 Temperature and Humidity sensor by Luis Teixeira (#7888)
- Add support for ElectriQ iQ-wifiMOODL RGBW light by ianbyte (#7947)

View File

@ -2,13 +2,14 @@
### 8.1.0.11 20200313 ### 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 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 support for HDC1080 Temperature and Humidity sensor by Luis Teixeira (#7888)
- Add commands ``SwitchMode 13`` PushOn and ``SwitchMode 14`` PushOnInverted (#7912) - 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 command ``HumOffset -10.0 .. 10.0`` to set global humidity sensor offset (#7934)
- Add Zigbee support for Hue emulation by Stefan Hadinger - Add Zigbee support for Hue emulation by Stefan Hadinger
- Add Dew Point to Temperature and Humidity sensors - 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 ### 8.1.0.10 20200227

View File

@ -431,7 +431,7 @@
#define USE_SM16716 // Add support for SM16716 RGB LED controller (+0k7 code) #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_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_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 ------------------------------- // -- Counter input -------------------------------
#define USE_COUNTER // Enable inputs as counter (+0k8 code) #define USE_COUNTER // Enable inputs as counter (+0k8 code)

View File

@ -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_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_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_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 #define USE_COUNTER // Enable counters
#undef USE_ADC_VCC // Add Analog input on selected devices #undef USE_ADC_VCC // Add Analog input on selected devices

View File

@ -1,7 +1,7 @@
/* /*
xlgt_06_moodlamp.ino - ElectriQ iQ-wifiMOODL LED support for Tasmota 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 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 it under the terms of the GNU General Public License as published by
@ -19,7 +19,6 @@
#ifdef USE_LIGHT #ifdef USE_LIGHT
#ifdef USE_ELECTRIQ_MOODL #ifdef USE_ELECTRIQ_MOODL
/*********************************************************************************************\ /*********************************************************************************************\
* ElectriQ iQ-wifiMOODL * ElectriQ iQ-wifiMOODL
* This RGBW mood lamp uses the TYWE3S module to transmit via UART to an unmarked MCU which * 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 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 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. * The same RGBW data is transmitted to the upper and lower decks.
* *********************************************************************************************/ \*********************************************************************************************/
#define XLGT_06 6 #define XLGT_06 6
/********************************************************************************************/ /*********************************************************************************************/
bool ElectriqMoodLSetChannels(void) bool ElectriqMoodLSetChannels(void)
{ {
@ -75,7 +74,7 @@ void ElectriqMoodLModuleSelected(void)
SetSerial(9600, TS_SERIAL_8N1); SetSerial(9600, TS_SERIAL_8N1);
light_type = LT_RGBW; light_type = LT_RGBW;
light_flg = XLGT_06; 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"));
} }
} }