Alexa uses Phillips Hue Emulation to control Tasmota.
With this fix, the webserver arguments are passed to Tasmota as keys instead of args solving the Alexa issue for ALL cores.
Besides, for core 2.6.0 is planned to deprecate the use of args in favor of keys.
This fix makes Alexa to works compiling Tasmota under core 2.3.0, 2.4.0, 2.4.1, 2.4.2, 2.5.0 (stage), 2.6.0 (planned)
Tested Ok.
Alexa uses Phillips Hue Emulation to control Tasmota.
In the Arduino Esp8266 Core v2.3.0 all works fine.
In the Arduino Esp8266 Core v2.4.0, 2.4.1 and 2.4.2, a modification in the core is needed in order to make phillips hue work.
In the Arduino Esp8266 Core v2.5.0 (actual Stage version), the webserver parsing was modified and this PR fix this modification.
The new parsing of the core works fine for a standard phillips hue messages, but for Alexa it splits the command in 2 args. The first arg is empty and the second contains the correct phillips hue commands.
- Improve setting and getting color temperature for Philips Hue emulation
- Clamp Philips Hue API values
- Turn off white LEDs when setting hue+saturation
5.12.0k
* Prepare for simple rules by enlarging Settings area to now
2048 bytes
* Fix freeing more code space when emulation is disabled
(#1592)
* Fix compile error when not defined USE_TIMERS (#2400)
5.11.1i
* Update TasmotaSerial library to 1.1.0
* Rename commands
HlwPCal, HlwUCal and HlwICal to PowerCal, VoltageCal and CurrentCal to
be used for both Pow and S31 calibration
* Rename commands HlwPSet,
HlwUSet and HlwISet to PowerSet, VoltageSet and CurrentSet to be used
for both Pow and S31 calibration
* Add support for Sonoff S31 Smart
Socket with Power Consumption Detection (#1626)
* Fix IRReceive Data
value (#1663)
* Fix compiler warnings (#1774)
5.11.1e
* Replaced command Ina219Mode with command Sensor13
* Add
command Sensor15 2 to start MHZ19(B) Zero Point Calibration
* Add
chunked webserver pages for large pages saving memory
* Fix Non-English
JSON temperature unit attachement
* Fix Sonoff Pow Energy Today and
Energy Total reading after restart (#1648)
* Rewrite function pointers
to save code space and memory (#1683)
* Add option define
HOME_ASSISTANT_DISCOVERY_ENABLE in user_config.h (#1685)
* Fix SOnoff
Pow Energy Period roll-over (#1688)
5.10.0i
* Add device function pointers
* Moved Command and JSON
English language defines to one file (i18n.h)
* Update it-IT.h language
file (#1449)
* Fix Wemo and Hue emulation by adding M-Search response
delay (#1486)