From 0830fe113d83eeb9c19dcef63490daa0dc0bb185 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Sat, 23 Nov 2019 15:30:40 +0100 Subject: [PATCH] Fix True or False parameters Fix True or False parameters (#3769) --- tasmota/CHANGELOG.md | 234 +++++++++++++++++++++++++++++++++++++------ tasmota/support.ino | 16 +-- 2 files changed, 212 insertions(+), 38 deletions(-) diff --git a/tasmota/CHANGELOG.md b/tasmota/CHANGELOG.md index cdfc8f659..37ed08bfa 100644 --- a/tasmota/CHANGELOG.md +++ b/tasmota/CHANGELOG.md @@ -75,14 +75,14 @@ - Remove support for WPS and SmartConfig in favour of Web server (!) based WifiManager (#6680) - Remove binary sonoff-classic (#6680) -- Remove command SetOption2 +- Remove command ``SetOption2`` ### 6.6.0.20 20191018 -- Add command SetOption65 0/1 to disable (1) fast power cycle detection fixing unwanted brownout trigger -- Add absolute PowerDelta using command PowerDelta 101..32000 where 101 = 101-100 = 1W, 202 = 202-100 = 102W (#5901) +- Add command ``SetOption65 0/1`` to disable (1) fast power cycle detection fixing unwanted brownout trigger +- Add absolute PowerDelta using command ``PowerDelta 101..32000`` where 101 = 101-100 = 1W, 202 = 202-100 = 102W (#5901) - Add support for EX-Store WiFi Dimmer V4 (#5856) -- Add ZigbeeRead command and many improvements (#6095) +- Add ``ZigbeeRead`` command and many improvements (#6095) - Add ArduinoSlave driver (EXPERIMENTAL) ### 6.6.0.19 20191018 @@ -93,10 +93,10 @@ ### 6.6.0.18 20191010 -- Add command DimmerRange in Light module to support 2 byte dimming ranges from Tuya +- Add command ``DimmerRange`` in Light module to support 2 byte dimming ranges from Tuya - Add Zigbee additional commands and sending messages to control devices (#6095) - Fix Rules were not triggered with IR unknown protocol or in sonoff-it (#6629) -- Add define USE_DEEPSLEEP and command DeepSleepTime 0 or 10..86400 (seconds) to enter deepsleep mode (#6638) +- Add define USE_DEEPSLEEP and command ``DeepSleepTime 0 or 10..86400`` (seconds) to enter deepsleep mode (#6638) - Add define USE_SONOFF_RF to enable/disable Sonoff Rf support (#6648) - Add incremental beeps to Ifan03 remote control fan speed buttons (#6636) - Add rule support after every command execution like Fanspeed#Data=2 (#6636) @@ -108,8 +108,8 @@ ### 6.6.0.17 20191009 -- Add command SetOption34 0..255 to set backlog delay. Default value is 200 (mSeconds) (#6562) -- Add command Gpio 255 to show physical GPIO configuration of all non-flash pins (#6407) +- Add command ``SetOption34 0..255`` to set backlog delay. Default value is 200 (mSeconds) (#6562) +- Add command ``Gpio 255`` to show physical GPIO configuration of all non-flash pins (#6407) ### 6.6.0.16 20191008 @@ -119,42 +119,42 @@ ### 6.6.0.15 20191003 -- Change command PulseTime JSON message format and allow display of all pulsetimer information (#6519) +- Change command ``PulseTime`` JSON message format and allow display of all pulsetimer information (#6519) - Add support for Chint DDSU666 Modbus energy meter by Pablo Zerón - Add support for SM2135 as used in Action LSC Smart Led E14 (#6495) -- Add command SetOption72 0/1 to switch between software (0) or hardware (1) energy total counter (#6561) +- Add command ``SetOption72 0/1`` to switch between software (0) or hardware (1) energy total counter (#6561) - Add Zigbee tracking of connected devices and auto-probing of Manuf/Model Ids - Fix better handling of PWM White Temperature mode for Module 48 (#6534) ### 6.6.0.14 20190925 -- Change command Tariffx to allow time entries like 23 (hours), 1320 (minutes) or 23:00. NOTE: As this is development branch previous tariffs are lost! (#6488) +- Change command ``Tariffx`` to allow time entries like 23 (hours), 1320 (minutes) or 23:00. NOTE: As this is development branch previous tariffs are lost! (#6488) - Remove support for define USE_DS18x20_LEGACY and legacy DS18x20 driver (#6486) -- Add initial support for MQTT logging using command MqttLog (#6498) +- Add initial support for MQTT logging using command ``MqttLog `` (#6498) - Add Zigbee more support - collect endpoints and clusters, added ZigbeeDump command - Add initial support for shutters by Stefan Bode (#288) -- Add command to MCP230xx: sensor29 pin,0/1/2 for OFF/ON/TOGGLE +- Add command to MCP230xx: ``sensor29 pin,0/1/2`` for OFF/ON/TOGGLE - Add initial support for PCF8574 I2C I/O Expander (currently output only) by Stefan Bode -- Add command SetOption71 0/1 to switch between different Modbus Active Energy registers on DDS238-2 energy meters (#6531) -- Change command SetOption43 to make it more general. Now supports PS_16_DZ driver too (#6544) +- Add command ``SetOption71 0/1`` to switch between different Modbus Active Energy registers on DDS238-2 energy meters (#6531) +- Change command ``SetOption43`` to make it more general. Now supports PS_16_DZ driver too (#6544) - Change command handling by moving buffers up in chain solving MQTTlog support (#6529) - Change detection of non-MQTT commands by allowing non-space characters as delimiter (#6540) - Fix TasmotaSerial: move serial send to IRAM for high speed baud rates ### 6.6.0.13 20190922 -- Add command EnergyReset4 x,x to initialize total usage for two tarrifs -- Add command EnergyReset5 x,x to initialize total export (or production) for two tarrifs -- Add command Sensor34 8,0 and Sensor34 8,1 to disable/enable JSON message on weight change over 4 gram +- Add command ``EnergyReset4 x,x`` to initialize total usage for two tarrifs +- Add command ``EnergyReset5 x,x`` to initialize total export (or production) for two tarrifs +- Add command ``Sensor34 8,0`` and ``Sensor34 8,1`` to disable/enable JSON message on weight change over 4 gram - Add JSON array index support to rules evaluation allowing trigger on ENERGY#POWER[2]>0.60 from JSON ..,"Power":[0.00,0.68],.. (#6160) ### 6.6.0.12 20190910 -- Redesign command Tariff to now default to 0 (=disabled) and allowing to set both Standard Time (ST) and Daylight Savings Time (DST) start hour -- Commands Tariff1 22,23 = Tariff1 (Off-Peak) ST,DST Tariff2 (Standard) 6,7 = Tariff2 ST,DST Tariff9 0/1 = Weekend toggle (1 = Off-Peak during weekend) +- Redesign command ``Tariff`` to now default to 0 (=disabled) and allowing to set both Standard Time (ST) and Daylight Savings Time (DST) start hour +- Commands ``Tariff1 22,23`` = Tariff1 (Off-Peak) ST,DST Tariff2 (Standard) 6,7 = Tariff2 ST,DST Tariff9 0/1 = Weekend toggle (1 = Off-Peak during weekend) - Change rename "Data" to "Hash" and limit to 32 bits when receiving UNKNOWN IR protocol (see DECODE_HASH from IRremoteESP8266) -- Add command Gpios 255/All to show all available GPIO components (#6407) -- Change JSON output format for commands Adc, Adcs, Modules, Gpio and Gpios from list to dictionary (#6407) +- Add command ``Gpios 255/All`` to show all available GPIO components (#6407) +- Change JSON output format for commands ``Adc``, ``Adcs``, ``Modules``, ``Gpio`` and ``Gpios`` from list to dictionary (#6407) - Add Zigbee support phase 3 - support for Xiaomi lumi.weather air quality sensor, Osram mini-switch - Change energy sensors for three phase/channel support - Add support for Shelly 2.5 dual energy (#6160) @@ -162,7 +162,7 @@ - Add initial support for up to three PZEM-004T on serial connection with addresses x.x.x.1 (default), 2 and 3 (#2315) - Add initial support for up to three PZEM-003/-017 on serial modbus connection with addresses 1 (default), 2 and 3 (#2315) - Add driver USE_SDM630_2 as future replacement for USE_SDM630 - Pls test and report -- Add command ModuleAddress 1/2/3 to set Pzem module address when a single module is connected (#2315) +- Add command ``ModuleAddress 1/2/3`` to set Pzem module address when a single module is connected (#2315) ### 6.6.0.11 20190907 @@ -337,7 +337,7 @@ - Add validation check when loading settings from flash - Add HX711 weight restore after controlled restart or after power restore just before executing command Sensor34 7 (#5367, #5786) - Add GUI hexadecimal color options in my_user_config.h (#5586) -- Add alternative IRSend command syntax IRSend raw,,
,
,,,, (#5610) +- Add alternative IRSend command syntax IRSend raw,\,\
,\
,\,\,\,\ (#5610) - Add user configurable ADC0 to Module and Template configuration compatible with current FLAG options (#5671) - Add AriLux RF control GPIO option "ALux IrSel" (159) replacing "Led4i" (59) for full LED control (#5709) - Add LED GPIO option "LedLink" (157) and "LedLinki" (158) to select dedicated link status LED (#5709) @@ -346,6 +346,7 @@ - Add checkbox to GUI password field enabling visibility during password entry only (#5934) ### 6.5.0 20190319 + - Remove commands SetOption14 and SetOption63 as it has been superseded by command Interlock - Remove command SetOption35 0-255 for mDNS start-up delay (#4793) - Remove support for MQTT_LIBRARY_TYPE, MQTT_ARDUINOMQTT and MQTT_TASMOTAMQTT (#5474) @@ -425,8 +426,9 @@ - Add 0x to IRRemote (SetOption29) and RCSwitch (SetOption28) received hexadecimal data (#5431) ### 6.4.1 20181224 + - Change RAM usage BMP/BME I2C sensors -- Change FallbackTopic from cmnd// to cmnd/_fb/ to discriminate from Topic (#1528) +- Change FallbackTopic from cmnd/\/ to cmnd/\_fb/ to discriminate from Topic (#1528) - Change FallbackTopic detection (#4706) - Change Hass discovery to short MQTT messages as used by Hass 0.81 and up (#4711) - Change MQTT GUI password handling (#4723) @@ -439,6 +441,7 @@ - Add define USE_MQTT_TLS_CA_CERT for checking MQTT TLS against root ca using Let's Encrypt cert from sonoff_letsencrypt.h - not supported with core 2.3.0 (#4703) ### 6.4.0 20181217 + - Change GUI Configure Module by using AJAX for data fetch to cut page size (and memory use) by 40% In case of web page errors clear your browser cache or do Page Reload (F5 or Ctrl+R) - Change enforcing flashmode dout but it is still mandatory @@ -500,6 +503,7 @@ - Add support for Manzoku Power Strip (#4590) ### 6.3.0 20181030 + - Change web Configure Module GPIO drop down list order for better readability - Change status JSON message providing more switch and retain information - Change xsns_17_senseair.ino to use TasmotaModbus library @@ -589,12 +593,14 @@ - Add support for two BMP/BME sensors (#4195) ### 6.2.1 20180905 + - Fix possible ambiguity on command parameters if StateText contains numbers only (#3656) - Fix Wemo emulation to select the first relay when more than one relay is present (#3657) - Fix possible exception due to buffer overflow (#3659) - Fix lost energy today and total energy value after power cycle (#3689) ### 6.2.0 20180901 + - Allow user override of define MAX_RULE_VARS and MAX_RULE_TIMERS (#3561) - Disable wifi sleep for both Esp8266/Arduino core 2.4.1 and 2.4.2 to solve device freeze caused by Espressif SDK bug (#3554) - Change DS18B20 driver to provide better instant results @@ -660,10 +666,12 @@ - Add optional MQTT_TELE_RETAIN to Energy Margins message (#3612, 3614) ### 6.1.1 20180714 + - Revert wifi changes (#3177) - Revert sonoff-minimal removals causing failure of wifi connection (#3177) ### 6.1.0 20180706 + - Remove version 3, 4 and pre 5.2 settings auto-upgrade. See https://github.com/arendst/Tasmota/wiki/Upgrading#migration-path - Change default CFG_HOLDER from 0x20161209 to 4617 (=0x1209) - no impact on default upgrades - Change number of supported switches from 4 to 8 (#2885, #3086) @@ -719,6 +727,7 @@ - Add support for bitflags SetOption50 .. SetOption81 (#3118) ### 5.14.0 20180515 + - Update language files - Update TasmotaSerial to 2.0.0 allowing Hardware Serial Fallback when correct connections are configured - Change command handling @@ -741,11 +750,13 @@ - Add user entry DST/STD using commands TimeStd and TimeDst (See wiki for parameter syntax) (#2721) ### 5.13.1 20180501 + - Fix JSON buffers size too small for execution in some situations (#2580) - Fix configuration restore (#2591) - Add define MODULE for user selecting default model although it preferably should not be changed (#569, #2589) ### 5.13.0 20180430 + - Change platformio option sonoff-ds18x20 to sonoff-allsensors enabling ds18x20 and all other sensors in one image - Change status display of Ssid and SetOption - Change default option SetOption15 from 0 to 1 providing better initial PWM experience @@ -842,6 +853,7 @@ - Add GPIO_User to GPIO02 for all Sonoff T1 (#2524) ### 5.12.0 20180209 + - Change library PubSubClient.h define MQTT_MAX_PACKET_SIZE from 512 to 1000 for Home Assistant support - Change relation of define MESSZ being dependent on PubSubClient.h define MQTT_MAX_PACKET_SIZE - Change command color parameter input checks to less strict for Home Assistant support @@ -892,9 +904,11 @@ - Add cursor pointer to web button (#1836) ### 5.11.1 20180107 + - Fix Sonoff Pow command handling (#1542) ### 5.11.0 20180107 + - Minor webpage HTML optimizations (#1358) - Updated German translation (#1438) - Change Sonoff Pow Energy MQTT data message and consolidate Status 8 into Status 10 @@ -929,6 +943,7 @@ - Add define for additional number of WS2812 schemes (#1463) ### 5.10.0 20171201 + - Upgrade library ArduinoJson to 5.11.2 - Upgrade library IRRemoteEsp8266 to 2.2.1 + 2 commits but disabled some protocols (code size reduction) - Upgrade library NeoPixelBus to 2.2.9 @@ -971,6 +986,7 @@ - Add FriendlyName to web page tab and add program information to web page footer (#1275) ### 5.9.1 20171107 + - Add external sensor function pointer interface to enable easy sensor addition - Add support for ADS1115 to be enabled in user_config.h and needs libraries i2cdevlib-Core and i2cdevlib-ADS1115 (#338, #660) - Fix Backup Configuration file download failure by defining proper file size (#1115) @@ -978,6 +994,7 @@ - Fix some changed iTead web links in README.md (#1137) ### 5.9.0 20171030 + - Rewrite code (partly) using Google C++ Style Guide (https://google.github.io/styleguide/cppguide.html) - Rewrite code by using command lookup tables and javascript (client side) web page expansions - Change HTML/CSS to enable nicer form field entry @@ -1049,11 +1066,12 @@ - Add support for KMC 70011 Power Monitoring Smart Plug (#1045) - Add support for VEML6070 I2C Ultra Violet level sensor (#1053) - Add light turn Off Fade (#925) -- Add IrSend command option Panasonic as IrSend {"Protocol":"Panasonic", "Bits":16388, "Data":} +- Add IrSend command option Panasonic as IrSend {"Protocol":"Panasonic", "Bits":16388, "Data":\} - where 16388 is 0x4004 hexadecimal (#1014) - Add retry counter to DHT11/21/22 sensors (#1082) ### 5.8.0 20170918 + - Remove the need for NeoPixelBus library for Hue support - Consolidate WS2812 into Sonoff Led for flexible future led strip library changes - Invert WS2812 fade speed to align with Sonoff led (Speed 1 = fast, Speed 8 = slow) @@ -1080,12 +1098,14 @@ - Fix basic On, Off, Toggle, Blink and BlinkOff commands when other language is selected (#874) ### 5.7.1 20170909 + - Remove leading spaces from MQTT data - Fix webconsole special character entry - Allow # as prefix for color value - Fix Alexa detection and Hue App Update Request (#698, #854) ### 5.7.0 20170907 + - Shrink module configuration webpage - Fix settings order during startup to allow for displaying debug messages - Fix some string length issues @@ -1100,10 +1120,12 @@ - Add duplicate check to received RF signal within 2 seconds for Sonoff Bridge (#810) ### 5.6.1 20170818 + - Change module list order in webpage - Fix Sonoff T1 1CH and 2CH configuration (#751) ### 5.6.0 20170818 + - Fix Sonoff Pow intermittent exception 0 - Change Sonoff Pow sending Domoticz telemetry data only - Add Ai-Thinker RGBW led (AiLight) (experimental) @@ -1119,12 +1141,14 @@ - Fix Mitsubishi HVAC IR power controll (#740) ### 5.5.2 20170808 + - Extent max number of WS2812 pixels from 256 to 512 (#667) - Add OTA handling if server responds with no update available (#695) - Removed undocumented command FlashMode (#696) - Fix compile time error message due to increased message buffer size (#703) ### 5.5.1 20170805 + - Fix Sonoff Rf Bridge issues - Add Sonoff RF Bridge MQTT messages on received and learned RF signal - Add command VoltRes 0|1 to select voltage resolution to 0.1 V (#654) @@ -1133,6 +1157,7 @@ - Fix inconsistent property names in Messages (#690) ### 5.5.0 20170730 + - Reduce code space by removing the following commands as they are replaced by SetOption alternatives: - SaveState = SetOption0 - ButtonRestrict = SetOption1 @@ -1148,6 +1173,7 @@ - Adjust HLW calibration limits to accomodate HuaFan device and add commands HlwPSet, HlwUSet and HlwISet (#654) ### 5.4.0 20170725 + - Fix command reset regression introduced in 5.2.0 - Increase polling from 0.1 second to 0.05 second - Add multipress to all buttons @@ -1158,6 +1184,7 @@ - (disables multipress, hold and unrestricted commands) (#587) ### 5.3.0 20170715 + - Major Hue rewrite which might introduce Alexa problems. If so, initiate an issue - Add support for Sonoff Led and BN-SZ01 Ceiling Led brightness control to Hue - Fix Sonoff Led Power, Dimmer and Color MQTT response (#176) @@ -1166,34 +1193,40 @@ - Change Web console column width from 99 to 300 (#599) ### 5.2.4 20170703 + - Removed flash mode update after selecting different module solving esp8285 related problems - Add device type flag to sonoff_template.ino - Change Sonoff Led Wakeup and add support for Sonoff BN-SZ01 Led (#567) ### 5.2.3 20170630 + - Change Sonoff Led color conversion code - Fix SetOption12 handling - Simplify auto configuration upgrade -- Add option Upgrade to only upgrade to any higher version (Old PR #213) -- Change FallbackTopic to cmnd// bypassing FullTopic and Prefix (#538) +- Add option Upgrade \ to only upgrade to any higher version (Old PR #213) +- Change FallbackTopic to cmnd/\/\ \ bypassing FullTopic and Prefix (#538) ### 5.2.2 20170625 + - Add configuration SaveAddress to Status 1 and Information Page - Change Sonoff Led Color conversion from AtoH to strtol - Fix possible wrong uploads due to configuration overwrites (#542) - Fix payload negative numbers (#547) ### 5.2.1 20170622 + - Fix Restore Configuration in case of lower version - Revert auto configuration upgrade allowing easy upgrade which was removed in version 5.2.0 - Fix config auto upgrade from versions below version 4.1.1 (#530) ### 5.2.0 20170619 + - Add command SetOption12 1 to disable newly released configuration flash rotate to reduce flash wear - Fix command CounterDebounce by removing test for active GPIO (#524) - Add command SetOption33 1..250 to allow user configure POW Max_Power_Retry count (#525) ### 5.1.7 20170616 + - Prep removal of SetOptions alternatives - Restore webpage upgrade error messages removed in 5.1.5 - Add hold button functionality to buttons 2 to 4 @@ -1202,6 +1235,7 @@ - Changed webpage form actions from post to get and use relative path url (#434, #522) ### 5.1.6 20170606 + - Shrink code - Removed online configuration of Domoticz In and Domoticz Out MQTT strings - Removed commands DomoticzInTopic and DomoticzOutTopic @@ -1211,23 +1245,28 @@ - Add command SwitchMode 5 (PUSHBUTTONHOLD) and 6 (PUSHBUTTONHOLD_INV) (#489) ### 5.1.5 20170604 + - Shrink code in preparation to ESP8266-Arduino 2.4.0-rc1 - Add effect parameter to HUE Device (#464) ### 5.1.4 20170601 + - Removed pre-compiled versions from repository as they are available within the release - Changed HUE Device type to color supporting version (#464) - Fix compile error when BE_MINIMAL is selected (#467, #476) - Add multiple compiled versions to release using updated Travis script and platformio.ini (#467) ### 5.1.3 20170520 + - Add Domoticz Counter ### 5.1.2 20170519 + - Fix Counter/Timer JSON message and update Counter/Timer on webpage - Fix WS2812 Domoticz related regression issues ### 5.1.1 20170517 + - Allow command FullTopic in group mode - Prepare for more use of RTC memory - Add independant WS2812 led string power control (#386, #390) @@ -1236,11 +1275,13 @@ - Add command CounterDebounce to select global counter debounce time in mSec ### 5.1.0 20170513 + - Fix Offline/Removal of retained topic when FullTopic is changed - Add FullTopic to MQTT Configuration and Information web pages - Add license model GPLv3 (#188) ### 5.0.7 20170511 + - Fix possible exception 28 on empty command - Add command SetOption0 as replacement for SaveState - Add command SetOption1 as replacement for ButtonRestrict @@ -1250,27 +1291,32 @@ - Add command SetOption10 On|Off to select between Offline or Removing previous retained topic (#417, #436) ### 5.0.6 20170510 + - Remove hyphen in case of a single DHT sensor connected (#427) - Add command MqttRetry to change default MQTT reconnect retry timer from minimal 10 seconds (#429) ### 5.0.5 20170508 + - Add command FullTopic with tokens %topic% (replaced by command Topic value) and - %prefix% (replaced by command Prefix values) for more flexible topic definitions (#244) - See wiki > MQTT Features https://github.com/arendst/Tasmota/wiki/MQTT-Features for more information ### 5.0.4 20170505 + - Add Sonoff Pow Energy Total up to 40 MWh - Add command EnergyReset 1|2|3 to reset Energy counters (#406) - Fix Domoticz Energy logging (#411) - Add command PowerOnState 4 to keep relay always on and disabling all power control (#418) ### 5.0.3 20170504 + - Add command SensorRetain on|off to enable retaining of mqtt message tele/sonoff/SENSOR (#74) - Change WifiConfig timeout from 60 seconds to 180 seconds (#212) - Change Sonoff Touch command Ledstate functionality by turning led on if power is off (#214) - Add 4 seconds delay after power on before enabling button to workaround Wemos D1 mini RTS circuit (#380) ### 5.0.2 20170503 + - Reset SaveData, SaveState and MqttResponse to default values due to rearranging settings - Moved some settings to flag area - Add command TempUnit Celsius|Fahrenheit for selecting Celsius or Fahrenheit (#347) @@ -1282,11 +1328,13 @@ - Add support for up to three DHT type sensors each using a different GPIO (#339, #404) ### 5.0.1 20170429 + - Adjust Sonoff SC messages to prepare for display feature - Move static data from RAM to Flash - Fix PowerOnState for some devices not reporting "Power on" state (#284, #380, #383) ### 5.0.0 20170425 + - Memory status message update - Fix setting migration to better preserve settings during move (#382) - Best practice is first doing a Backup Configuration before installing version 5.0.0 @@ -1294,10 +1342,12 @@ - Start using new linker script without SPIFFS ### 4.2.0 20170424 + - Prepare for SPIFFS removal by moving settings to EEPROM area - Fix compilation error when webserver is disabled (#378) ### 4.1.3 20170410 + - Add user configuarble GPIO to module S20 Socket and Slampher - Add support for Sonoff SC (#112) - Set PWM frequency from 1000Hz to 910Hz as used on iTead Sonoff Led firmware (#122) @@ -1306,6 +1356,7 @@ - Fix DS18B20 negative temperature readings (#334) ### 4.1.2 20170403 + - Rename Unrecognised command to Unknown command - Remove all command lists - Remove command SmartConfig (superseded by WifiConfig) @@ -1315,6 +1366,7 @@ - Fix compile error when selecting WS2812 DMA (#313) ### 4.1.1 20170329 + - Fix default Telemetry for command Prefix3 - Fix webserver Module parameters for disabled select - Fix sensor status for enabled switches @@ -1331,6 +1383,7 @@ - Fix possible uptime update misses (#302) ### 4.1.0 20170325 + - Change static IP addresses in user_config.h from list (using commas) to string (using dots) - Unify display result of commands Modules, Module and Gpios - Rewrite Module selection web page to bring size down from 18651 to 4319 bytes (!) (#234, #240) @@ -1340,18 +1393,19 @@ - Add commands IpAddress, Gateway, Subnetmask and DnsServer to select static ip addresses (#273) ### 4.0.8 20170321 + - Fix entering non-numeric webpassword - Force selection between TLS or Webserver due to memory restraint (#240) - Allow entering empty string using "0" for selected commands (#242) - Fix exception when posting commands to web console containing % (#250) ### 4.0.7 20170319 + - Increased Sonoff Led PWM frequency from 432 to 1000 - Fix possible watch dog reboot after changing module type on web page - Fix reporting of GPIO usage from web page - Fix Sonoff Led blank during firmware upgrade -- Fix Sonoff Led flicker and possible flash corruption by using latest Arduino-esp8266 versions -- of pwm core files included in sonoff library (#211) +- Fix Sonoff Led flicker and possible flash corruption by using latest Arduino-esp8266 versions of pwm core files included in sonoff library (#211) - Add PWM output control with commands PWM1 to PWM5 using user selectable GPIOs (#211) - Fix exceptions due to low values of commands HlwPCal (10000), HlwUCal (1000) and HlwICal (2500) (#223) - Add Switch state to sensor status (#227, #233) @@ -1360,6 +1414,7 @@ - Fix failed Ota Firmware upgrade started from Web page (#235) ### 4.0.6 20170316 + - Fix to better find device by Wifi hostname - Fix compile error when some I2C devices are disabled - Add (experimental) support for SHT1X emulating I2C (#97) @@ -1367,11 +1422,13 @@ - Add support for Sonoff Dev (#206) ### 4.0.5 20170314 + - Add command Status 11 to show power status with Vcc if define USE_ADC_VCC is enabled (default) - Add ADC input to Sonoff SV and Wemos D1 mini - Needs recompile with define USE_ADC_VCC disabled (#137) - Add MQTT host:port to timeout message (#199) ### 4.0.4 20170312 + - Add pulse timers for up to 4 relays (#106) - Fix Sonoff Led power state when dimmer or color is 0 (#176) - Add command NtpServer to configure up to three NTP servers (#177) @@ -1379,12 +1436,14 @@ - Add more user configurable GPIO to module ElectroDragon (#183) ### 4.0.3 20170309 + - Renamed Module NodeMCU to WeMos D1 mini - Add GPIO1 as user option to some modules - Add Buttons, Relays and Leds to user configurable options (#159) - Add description on Module parameters web page to some well known GPIOs (#107, #171) ### 4.0.2 20170308 + - Restore correct seriallog level after Serial logging was disabled - Add simple dimmer slider to Sonoff Led web page - Reduced root webpage size by 31% @@ -1395,12 +1454,14 @@ - Fix crlf compilation error due to bad syntax (#144, #167) ### 4.0.1 20170305 + - Fix char default sizes and set MESSZ to 360 (#143) - Fix SerialLog setting status - Disable syslog when emulation is active - Add DS18B20 web page display refresh ### 4.0.0 20170303 + - Add define to remove config migration code for versions below 3.0 (See Wiki-Upgrade-Migration path) - Free memory by switching from String to char[] - Raised Sonoff Led PWM frequency from 200Hz to 432Hz in search of stability (hardware watchdog timeouts) (#122) @@ -1411,6 +1472,7 @@ - Add define ENERGY_RESOLUTION in user_config.h to allow user control over precision (#136) ### 3.9.22 20170228 + - Update web console - Fix Status 4 JSON message - Add Exception info during restart if available @@ -1421,19 +1483,23 @@ - Add NodeMCU or Wemos configuration option (#119) ### 3.9.21 20170224 + - Add ajax to web root page and web console (#79) - Add commands SwitchMode1..4 and enable user switches 2, 3 and 4 (#84, #88) - Fix MQTT upgrade when webserver is active ### 3.9.20 20170221 + - Add minimal basic authentication to Web Admin mode (#87) - Fix Hue and add HSB support (#89) ### 3.9.19 20170219 + - Sonoff Led: Made GPIO04, 05 and 15 available for user - Sonoff Led: Add commands Fade, Speed, WakupDuration, Wakeup and LedTable ### 3.9.18 20170218 + - Fix ledstate 0 to turn off led - Fix Sonoff Led dimmer range (#16) - Change Sonoff Led command Dimmer to act on both cold and warm color @@ -1442,27 +1508,32 @@ - Led during OTA upgrade and Web upload (#16) ### 3.9.17 20170217 + - Fix possible ArduinoJSON related memory fragmentation - Changed console logging using less memory - Add GPIO04 as user selectable for Sonoff Dual (#75) ### 3.9.16 20170214 + - Update latching relay handler - Add support for IR led using IRremoteESP8266 library (#59) - Add Hue argument passing using ArduinoJSON library (#59) ### 3.9.15 20170213 + - Change JSON float values from string to number according to http://json.org (#56) - Add support for exs latched relay module https://ex-store.de/ESP8266-WiFi-Relay-V31 (#58) - Add support for inverted relays - Changed MAX_LOG_LINES from 70 to 60 to preserve memory ### 3.9.14 20170211 + - Add False and True as alternatives for 0/Off and 1/On (#49) - Fix Status10 JSON format (#52) - Fix DS18x20 using OneWire library (#53) ### 3.9.13 20170210 + - Add FlashChipMode to Status 4 - Removed redundant DHT2 option and code - Add Sonoff SV GPIO pin 05 configuration (#40) @@ -1470,11 +1541,13 @@ - Fix latency due to light_sleep mode even if sleep was set to zero (#50) ### 3.9.12 20170208 + - Fix compile error when webserver is disabled (#30) - Fix possible ESP8285 flash problem by updating Flash Chip Mode to DOUT during OTA upload - Fix hostname issues by not allowing user entry of string formatting and removing from user_config.h (#36) ### 3.9.11 20170204 + - Fix command I2Cscan - Fix not allowed spaces in Topic, ButtonTopic and SwitchTopic - Make all TELEMETRY, STATUS and COMMAND message topics unique (#4) @@ -1484,30 +1557,38 @@ - Update web page with Build Date/Time, Emulation and mDNS Discovery and Advertise information (#21) ### 3.9.10 20170130 + - Add WS2812 Color Type selection (RGB or GRB) to user_config.h (#7) - Hue api changes to support HUE App(s) (#8) ### 3.9.9 20170130 + - Add command status 10 showing sensor data - Fix hlw status messages if hlw is disabled ### 3.9.8 20170130 + - Remove GPIO07 and GPIO08 from user selectable (#5) ### 3.9.7 20170129 + - Fix possible WS2812 exceptions when using emulation - Add command Emulation to dynamic configure Belkin WeMo and Hue Bridge for Alexa ### 3.9.6 20170129 + - Add dynamic sleep for WS2812 animation (#1) ### 3.9.5 20170128 + - Fix error message in case of wrong Domoticz command ### 3.9.4 20170127 + - Fix Sonoff Dual Relay switching (#287) ### 3.9.3 20170127 + - Add confirmation before Restart via webpage - Expand Domoticz Configuration webpage with Key, Switch and Sensor Index and - add commands DomoticzSwitchIdx and DomoticzSensorIdx (#86) (#174) (#219) @@ -1519,10 +1600,12 @@ - Fix Hue brightness and change to call by reference (#283) ### 3.9.2 20170124 + - Add confirmation before Reset Configuration via webpage (#244) - Add WS2812 features (see Wiki commands) ### 3.9.1 20170124 + - Change PowerOnState function to only trigger when Power On (and not just restart) (#238) - Move HLW interrupts back to RAM and make WS2812_DMA optional as it generates Exception on Pow (#264) - Add charset=utf-8 to webpages (#266) @@ -1532,6 +1615,7 @@ - Fix possible ESP8285 flash problem by updating Flash Chip Mode to DOUT during web upload ### 3.2.6a 20170120 + - Fix Sonoff Pow compile error (#255) - Move HLW interrupts back to ROM (Needed for WS2812 DMA interrupts) - Removed all IO config from user_config.h as this will be done by commands or webpage @@ -1547,23 +1631,28 @@ - Add Mqtt command to enable/disable MQTT ### 3.2.2a 20170115 + - Add dynamic (Sonoff) Module, user GPIO and sensor selection (one size fits (almost) all) - Add support for Sonoff LED - Add Seriallog disable after 600 seconds for Sonoff Dual and 4 Channel - Add ButtonTopic2 - 4, SwitchTopic1 - 4 and SwitchRetain ### 3.2.2 20170113 + - Fix PowerOnState 2 functionality after re-applying power (#230) ### 3.2.1 20170113 + - Fix some failed command decoding (#228) - Removed passwords from status messages (#216) ### 3.2.0 20170111 + - Add I2C BH1750 sensor (#222) - Sensor rewrite preparing for online selection ### 3.1.16 20170109 + - Fix Domoticz possible error condition - Remove Wifi password from connection message (#216) - Add Configure Other menu item to web page (#209) @@ -1572,102 +1661,128 @@ - Add friendlyname to webpage replacing former hostname ### 3.1.15 20170108 + - Fix Domoticz send key regression with Toggle command ### 3.1.14 20170107 + - Add support for command TOGGLE (define MQTT_CMND_TOGGLE) when ButtonTopic is in use and not equal to Topic (#207) ### 3.1.13 20170107 + - Fix web console command input when SUB_PREFIX contains '/' (#152) - Add command response to web command (#200) - Add option to disable MQTT as define USE_MQTT in user_config.h (#200) ### 3.1.12 20170106 + - Add OTA retry to solve possible HTTP transient errors (#204) - Fix MQTT host discovery ### 3.1.11 20170105 + - Add mDNS to advertise webserver as .local/ ### 3.1.10 20170105 + - Fix ButtonTopic when SUB_PREFIX = PUB_PREFIX - Add workaround for possible MQTT queueing when SUB_PREFIX = PUB_PREFIX - Add optional MQTT host discovery using define USE_DISCOVERY in user_config.h (#115) ### 3.1.9 20170104 + - Fix Power Blink start position (toggled) - Change PulseTime increments: 1 .. 111 in 0.1 sec (max 11 seconds) and 112 .. 64900 in seconds (= 12 seconds until 18 hours) (#188) - Add support for SUB_PREFIX = PUB_PREFIX (#190) ### 3.1.8 20170103 + - Add retain flag to LWT offline and only send "tele/sonoff/LWT Offline" (#179) - Change retained LWT Online message to only send "tele/sonoff/LWT Online" ### 3.1.7 20161231 + - Add retained message LWT Online when sonoff makes MQTT connection (#179) ### 3.1.6 20161230 + - Add blinking using commands BlinkTime, BlinkCount and Power Blink|3|BlinkOff|4 (#165) ### 3.1.5 20161228 + - Fix serial space command exception (28) ### 3.1.4 20161227 + - Fix MQTT subscribe regression exception (3) (#162) - Fix serial empty command exception (28) ### 3.1.3 20161225 + - Extent Domoticz configuration webpage with optional indices (#153) - Fix multi relay legacy tele message from tele/sonoff/2/POWER to tele/sonoff/POWER2 - Add support for iTead Motor Clockwise/Anticlockwise ### 3.1.2 20161224 + - Extent command PowerOnState with toggle at power on (option 2 is now option 3!) (#156) ### 3.1.1 20161223 + - Add support for Sonoff Touch and Sonoff 4CH (#40) - Update DomoticzIdx and DomoticzKeyIdx with relay/key index (DomoticzIdx1/DomoticzKeyIdx1) - Add command PowerOnState to control relay(s) at power on (#154) ### 3.1.0 20161221 + - Add Sonoff Pow measurement smoothing - Fix serial command topic preamble error (#151) - Fix 2.x to 3.x migration inconsistencies (#146) ### 3.0.9 20161218 + - Add Sonoff Pow voltage reading when relay is on but no load present (#123) ### 3.0.8 20161218 + - Add temperature conversion to Fahrenheit as option in user_config.h (TEMP_CONVERSION) (#145) ### 3.0.7 20161217 + - Add user_config_override.h to be used by user to override some defaults in user_config.h (#58) - Fix Sonoff Pow low power (down to 4W) intermittent measurements (#123) ### 3.0.6 20161217 + - Fix MQTT_CLIENT_ID starting with % sign as in "%06X" (#142) - Add auto power off after PulseTime### 0.1 Sec to relay 1 (#134) ### 3.0.5 20161215 + - Add more control over LED with command LedState options (#136, #143) - LED_OFF (0), LED_POWER (1), LED_MQTTSUB (2), LED_POWER_MQTTSUB (3), LED_MQTTPUB (4), LED_POWER_MQTTPUB (5), LED_MQTT (6), LED_POWER_MQTT (7) - Add option WIFI_RETRY (4) to command WifiConfig to allow connection retry to other AP without restart (#73) ### 3.0.4 20161211 + - Fix intermittent Domoticz update misses (#133) ### 3.0.3 20161210 + - Fix compiler warnings (#132) - Remove redundant code - Fix Domoticz pushbutton support ### 3.0.2 20161209 + - Add pushbutton to SwitchMode (#130) ### 3.0.1 20161209 + - Fix initial config ### 3.0.0 20161208 + - Migrate and clean-up flash layout - Settings from version 2.x are saved but settings from version 3.x can not be used with version 2.x - Change SEND_TELEMETRY_RSSI to SEND_TELEMETRY_WIFI and add AP and SSID to telemetry @@ -1680,43 +1795,53 @@ - Add retain option to Power/Light status controlled by command PowerRetain On|Off (#126) ### 2.1.2 20161204 + - Add support for second wifi AP (#73) - Update command WifiConfig - Fix possible WifiManager hang ### 2.1.1a 20161203 + - Fix scan for wifi networks if WeMo is enabled - Fix syslog setting using web page ### 2.1.1 20161202 + - Add support for ElectroDragon second relay and button (only toggle with optional ButtonTopic) (#110) ### 2.1.0 20161202 + - Add optional EXPERIMENTAL TLS to MQTT (#49) - Fix MQTT payload handling (#111) - Optimzed WeMo code ### 2.0.21a 20161201 + - Fix WeMo PowerPlug emulation ### 2.0.21 20161130 + - Add Belkin WeMo PowerPlug emulation enabled with USE_WEMO_EMULATION in user_config.h (Heiko Krupp) (#105, #109) ### 2.0.20 20161130 + - Relax MQTTClient naming but only allows hexadecimal uppercase numbers (#107) - Add I2C support with command I2CScan - Add I2C sensor driver for HTU21 as alternate sensor using TH10/16 connectors (Heiko Krupp) (#105) - Add I2C sensor driver for BMP085/BMP180/BMP280/BME280 as alternate sensor using TH10/16 connectors ### 2.0.19a 20161127 + - Add support for ButtonTopic and ButtonRetain to wall switch function - Add pullup to SWITCH_PIN and command SwitchMode to syntax ### 2.0.18 20161126 + - Add SUB_PREFIX multi level support allowing 'cmnd' or 'cmnd/level2/level3' - Add wall switch function to GPIO14 and command SwitchMode (Alex Scott) (#103) ### 2.0.17 20161123 + - Calibrate HLWPCAL from 12345 to 12530 - Add alternative sensor driver DHT2 using Adafruit DHT library - Add define MESSAGE_FORMAT to user_config.h @@ -1726,6 +1851,7 @@ - Fix User mode webserver security ### 2.0.16 20161118 + - Add alternative sensor driver DS18x20 using OneWire library (#95) - Change sensor MQTT message from tele/sonoff/TEMPERATURE to tele/sonoff/DHT/TEMPERATURE or - tele/sonoff/DS18B20/TEMPERATURE or tele/sonoff/DS18x20/1/TEMPERATURE @@ -1736,33 +1862,39 @@ - Add Energy Today restore after controlled restart ### 2.0.15 20161116 + - Change TODAY_POWER and PERIOD_POWER to TODAY_ENERGY and PERIOD_ENERGY - Fix serial regression - Fix syslog hangs when loghost is unavailable ### 2.0.14 20161115 + - Add HLW threshold delay - Fix HLW intermittent current deviation - Fix button functionality during wificonfig - Add CRC check to DS18B20 sensor (#88) ### 2.0.13 20161113 + - Add additional upload error code descriptions - Add PlatformIO support (#80) ### 2.0.12 20161113 + - Fix Serial and Web response regression when no MQTT connection available - Fix Sonoff Dual power telemetric data for second relay - Removed MQTT password from Information web page - Hide MQTT password from Configure MQTT web page ### 2.0.11 20161111 + - Rewrite button and web toggle code - Fix NTP sync - Add HLW calibration commands HLWPCAL, HLWUCAL and HLWICAL (need define USE_POWERCALIBRATION) - Fix power threshold tests ### 2.0.10 20161109 + - Add additional Domoticz define (#63) - Add defines MQTT_STATUS_ON and MQTT_STATUS_OFF in user_config.h to select status On/Off string - Fix status response differences (#65) @@ -1770,21 +1902,25 @@ - Fix syslog loop exception ### 2.0.9 20161108 + - clarify MODULE in user_config.h - Fix hlw false values ### 2.0.8 20161108 + - Add initial status after power on - Seperate driver files - Fix hlw code and calibrate Pow - Move user config defines to user_config.h (#61) ### 2.0.7 20161030 + - Make Ticker mandatory - Add Domoticz support (Increase MQTT_MAX_PACKET_SIZE to 400) (#54) - Add command MessageFormat 0|1 to select either legacy or JSON output ### 2.0.6 20161024 + - Add Sonoff Pow power factor - Initial support for up to four relays using iTEAD PSB (4Channel) - - Currently only supports one button (All buttons behave the same) @@ -1796,6 +1932,7 @@ - with Sonoff Pow thresholds ### 2.0.5 20161018 + - Add updates to user_config.h - moved SEND_TELEMETRY_DS18B20 and SEND_TELEMETRY_DHT to module area. - As Sonoff TH10/16 does not have the logic installed for GPIO04 You'll have to select ONE of both - Add Sonoff Pow support (experimental until Pow tested) @@ -1806,41 +1943,50 @@ - Change TEMP to TEMPERATURE and HUM to HUMIDITY ### 2.0.4 20161009 + - Add MQTT_BUTTON_RETAIN, SAVE_DATA and SAVE_STATE defines to user_config.h (#35) - Update ButtonRetain to remove retained message(s) from broker when turned off - Add Retain for second relay on Sonoff Dual - Provide power status messages with device topic index if requested ### 2.0.3 20161008 + - Update wifi initialization - Add command BUTTONRETAIN for optional MQTT retain on button press (#35) - Add command SAVESTATE to disable power state save. May be used with MQTT retain ### 2.0.2 20161006 + - Fix wifi issue 2186 ### 2.0.1 20161002 + - Fix button press ### 2.0.0 20161002 + - Update Sonoff TH10/16 sensor pins (My TH10 only has GPIO14 connected) - Add full support for Sonoff dual ### 1.0.35 20160929 + - Add more lines to console - Add timeout and disable MQTT on web upload - Add command SAVEDATA to control parameter save (for flash wear afficionados) (#30) ### 1.0.34 20160926 + - Fix button press six and seven - Add more information to webserver ### 1.0.33 20160915 + - Better WPS error message - Separate webserver code from support.ino into webserver.ino - Fix webserver User by removing unwanted restart option ### 1.0.32 20160913 + - Add Wifi Protected Setup (WPS) as third option for initial config - Add command WIFICONFIG replacing deprecated command SMARTCONFIG - Add option WIFICONFIG 3 to start WPSconfig @@ -1848,12 +1994,14 @@ - Change button behaviour - See Wiki ### 1.0.31 20160907 + - Fix DS18B20 misread if teleperiod = 2 - Tuned sensor code - Updated prefered ElectroDragon connection to Relay 1 and Button 1 - Moved SONOFF and ELECTRO_DRAGON port config to user_config.h ### 1.0.30 20160902 + - Fix command TELEPERIOD 0 - Add ESP- tag to UDP log message for easy rsyslogd filtering - Add ElectroDragon (Relay 2 only) functionality. Select with #define MODULE ELECTRO_DRAGON @@ -1863,9 +2011,11 @@ - Restrict HOSTNAME, MQTTCLIENT, TOPIC and BUTTONTOPIC in topic mode only ### 1.0.29 20160831 + - Allow UPGRADE, OTAURL, RESTART, RESET, MQTTHOST, MQTTPORT, MQTTUSER, MQTTPASSWORD and WEBSERVER also in group mode ### 1.0.28 20160831 + - Add webserver state to status 5 - Add optional PUB_PREFIX2 (tele) for telemetry usage - Add command TELEPERIOD @@ -1873,6 +2023,7 @@ - Change memory status display ### 1.0.27 20160831 + - Add sketch flash size - Add console to webserver - Add command weblog @@ -1882,6 +2033,7 @@ - Change HEARTBEAT to UPTIME ### 1.0.26 20160829 + - Add define USE_WEBSERVER to disable web server code in source - Add file upload as alternative for ota upload to webserver - Add information to webserver @@ -1893,15 +2045,18 @@ - Enforce default mqtt client id to either "DVES_%06X" or user defined without any % ### 1.0.25 20160822 + - Remove config system halts to keep ota available ### 1.0.24 20160821 + - Add test for MQTT_SUBTOPIC - Change log range to LOG_LEVEL_ALL - Change MQTT introduction messages - Moved MQTT_MAX_PACKET_SIZE warning message to introduction messages ### 1.0.23 20160821 + - Add option USE_SPIFFS to move config from flash to spiffs - Add webserver with options 0 (off), 1 (user) and 2 (admin) - Add HTTP command interface (http://sonoff-1234/c?cmnd=light 2) @@ -1918,6 +2073,7 @@ - Rename define SERIAL_IO to USE_SERIAL ### 1.0.22 20160814 + - Add all MQTT parameters for configuration - Add wifimanager to configure Wifi and MQTT via web server - Change NTP time handling @@ -1925,19 +2081,24 @@ - Fix PlatformIO warnings ### 1.0.21 20160808 + - Remove semaphore as subscription flooding (more than 15 subscriptions per second) is managed by SDK (LmacRxBlk:1) - Add optional RTC interrupt (define USE_TICKER) to keep RTC synced during subscription flooding - Remove heartbeatflag ### 1.0.20 20160805 + - Add semaphore to handle out of memory when too many subscriptions requested - Use Daylight Saving (DST) parameters from user_config.h when timezone = 99 - Add status 7 option displaying RTC information - Add ledstate to status 0 + ### 1.0.19 20160803 + - Fix possible MQTT_CLIENT_ID induced Exception(28) ### 1.0.18 20160803 + - Moved Cfg_Default - Fix negative data handling - Remove MQTT information from status 1 and add labels to status 1 @@ -1945,16 +2106,19 @@ - Add MQTT ClientId, UserId and Password to status 6 ### 1.0.17 20160731 + - Better variable range checking - Change ambiguous connection messages - Add timestamp to serial message ### 1.0.16 20160729 + - Moved wifi, rtc, syslog and config to support.ino - Fixed button action when buttontopic is used. Introduced with 1.0.15 - Better buffer overflow checks (strlcpy) ### 1.0.15 20160728 + - Removed pubsubclient config changes from sonoff.ino as it doesn't work - reapply MQTT_MAX_PACKET_SIZE 256 and MQTT_KEEPALIVE 120 to PubSubClient.h - Add status 0 option displaying all status messages @@ -1963,6 +2127,7 @@ - Implemented common string sizes ### 1.0.14 20160722 + - Seperate user config from sonoff.ino to user_config.h (pucebaboon) - Change defaults from sidnas2 to domus1 - Add MQTT status message as status 6 (pucebaboon) @@ -1970,20 +2135,25 @@ - Add pubsubclient config changes to sonoff.ino (pucebaboon) ### 1.0.13 20160702 + - Add Ledstate 1 option to show power state on led ### 1.0.12 20160529 + - Allow disable of button topic using "0" ### 1.0.11 20160524 + - Provide button response if MQTT connection lost ### 1.0.10 20160520 + - Add optional button topic to assist external MQTT clients - Change version notation - Reset default values ### 1.0.9 20160503 + - Add more blinks - Add reset 2 option erasing flash - Add status 5 option displaying network info @@ -1993,11 +2163,13 @@ - Update Wifi initialization ### 1.0.8 20160430 + - Remove use of Wifi config data from SDK - Add status 3 (syslog info) and status 4 (flash info) - Add restart option to button (5 quick presses) ### 1.0.7 20160420 + - Add UDP syslog support - Change HOST command to MQTTHOST command - Add commands SYSLOG, SERIALLOG and LOGHOST @@ -2009,10 +2181,12 @@ - Remove initialization errors by better use of MQTT loop ### 1.0.6 20160406 + - Removed Wifi AP mode (#1) - Add test for Arduino IDE version >= 1.6.8 - Fix RTC time sync code ### 1.0.5 20160310 + - Initial public release - Show debug info by selecting option from IDE Tools Debug port: Serial diff --git a/tasmota/support.ino b/tasmota/support.ino index bbc86a779..55c01b71d 100644 --- a/tasmota/support.ino +++ b/tasmota/support.ino @@ -714,15 +714,15 @@ bool DecodeCommand(const char* haystack, void (* const MyCommand[])(void)) return false; } -const char kOptions[] PROGMEM = "OFF|" D_OFF "|" D_FALSE "|" D_STOP "|" D_CELSIUS "|" // 0 - "ON|" D_ON "|" D_TRUE "|" D_START "|" D_FAHRENHEIT "|" D_USER "|" // 1 - "TOGGLE|" D_TOGGLE "|" D_ADMIN "|" // 2 - "BLINK|" D_BLINK "|" // 3 - "BLINKOFF|" D_BLINKOFF "|" // 4 - "ALL" ; // 255 +const char kOptions[] PROGMEM = "OFF|" D_OFF "|FALSE|" D_FALSE "|STOP|" D_STOP "|" D_CELSIUS "|" // 0 + "ON|" D_ON "|TRUE|" D_TRUE "|START|" D_START "|" D_FAHRENHEIT "|" D_USER "|" // 1 + "TOGGLE|" D_TOGGLE "|" D_ADMIN "|" // 2 + "BLINK|" D_BLINK "|" // 3 + "BLINKOFF|" D_BLINKOFF "|" // 4 + "ALL" ; // 255 -const uint8_t sNumbers[] PROGMEM = { 0,0,0,0,0, - 1,1,1,1,1,1, +const uint8_t sNumbers[] PROGMEM = { 0,0,0,0,0,0,0, + 1,1,1,1,1,1,1,1, 2,2,2, 3,3, 4,4,