Tags: harnamt/Sonoff-Tasmota
Tags
v5.12.0 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 * Change command Ina219Mode into command Sensor13 * Change commands HlwPCal, HlwUCal and HlwICal to PowerCal, VoltageCal and CurrentCal to be used for both Pow and S31 calibration * Change commands HlwPSet, HlwUSet and HlwISet to PowerSet, VoltageSet and CurrentSet to be used for both Pow and S31 calibration * Change uptime from hour to second resulting in a display of 123T13:45:21 where 123 is days * Change module name Wemos D1 mini into Generic (arendst#1220) * Change HTML from width=100% to style=width:100% supporting HTML5 (arendst#1358) * Change OSWATCH_RESET_TIME (Blocked loop) from 30 to 120 seconds to allow slow networks (arendst#1556) * Change WIFI_MANAGER_SEC into WIFI_CONFIG_SEC (arendst#1616) * Change function pointers code to save code space and memory (arendst#1683) * Change webserver argument processing gaining 5k code space (arendst#1705) * Change weblog memory usage (arendst#1730, arendst#1793, arendst#1819) * Update TasmotaSerial library to 1.1.0 * Update language files Italian (arendst#1594), Dutch (arendst#1723) and Spanish (arendst#1722) * Fix Non-English JSON temperature unit attachement * Fix Arilux RF induced exception by moving interrupt handler to iram on non ESP8266/Arduino lib v2.3.0 * Fix truncated command names and wrong response for DomoticzSwitchIdx (arendst#1571) * Fix %-sign issue as printf escape character in Humidity and Sonoff SC (arendst#1579) * Fix DS18B20 temperature JSON decimal dot (arendst#1561) * Fix Energy JSON message (arendst#1621) * Fix IRSend parameter translation (arendst#1636) * Fix TSL2561 device detection (arendst#1644, arendst#1825) * Fix BME680 teleperiod resistance measuring (arendst#1647) * Fix Energy Monitoring Energy Today and Energy Total reading after restart (arendst#1648) * Fix IRReceive Data value (arendst#1663) * Fix Energy Monitoring Energy Period roll-over (arendst#1688) * Fix compiler warnings (arendst#1774) * Fix command PWM response if no PWM channel is configured (arendst#1783) * Add locale Decimal Separator to Web sensor page * Add ColorTemperature to light status message * Add command PowerOnState option 5 which inverts PulseTime and allows for delayed always on after power on * Add OtaMagic two step Web server OTA upgrade using filename-minimal image if OTA free space is too small * Add support for PMS5003 and PMS7003 particle concentration sensor * Add command SetOption21 1 to allow Energy Monitoring when power is off on Sonoff Pow and Sonoff S31 (arendst#1420) * Add Chinese language file (arendst#1551) * Add French language file (arendst#1561) * Add Spanish language file (arendst#1589) * Add HTTP Allow Cross Origin removed from ESP8266/Arduino lib v2.4.0 (arendst#1572) * Add Home Assistant MQTT Discovery for switch and light to be enabled by command SetOption19 1 (arendst#1534) or define HOME_ASSISTANT_DISCOVERY_ENABLE in user_config.h (arendst#1685) * Add command State to retrieve device state information (same data as teleperiod state and status 11 in slightly different JSON format) * Add optional login to Webserver AP mode (arendst#1587, arendst#1635) * Add command Sensor15 2 to start MHZ19(B) Zero Point Calibration (arendst#1643) * Add support for Sonoff S31 Smart Socket with Power Consumption Detection (arendst#1626) * Add command SetOption20 to allow update of Dimmer/Color/Ct without turning power on (arendst#1719, arendst#1741) * Add NTP sync time slot based on chip id (arendst#1773) * Add cursor pointer to web button (arendst#1836)
v5.11.1 5.11.1 20180107 * Fix Sonoff Pow command handling (arendst#1542)
v5.11.0 5.11.0 20180107 * Minor webpage HTML optimizations (arendst#1358) * Updated German translation (arendst#1438) * Change Sonoff Pow Energy MQTT data message and consolidate Status 8 into Status 10 * Change ADS1115 default voltage range from +/-2V to +/-6V (arendst#1289) * Change text to Active for 3 minutes (arendst#1364) * Change Wemo SetBinaryState to distinguish from GetBinaryState (arendst#1357) * Change output of HTTP command to valid JSON and Array only (arendst#1363) * Removed all MQTT, JSON and Command language defines from locale files and set fixed to English (arendst#1473) * Renamed commands Color2,3,4 to Color3,4,5 * Fix BME280 calculation (arendst#1051) * Fix Sonoff Bridge missed learned key if learned data contains 0x55 (End of Transmission) flag (arendst#1095, arendst#1294) * Fix PWM initialization in Dimmer/Color mode (arendst#1321) * Fix Wemo Emulation (arendst#1357) * Fix display of build date and time in non-english locale (arendst#1465) * Fix Wemo and Hue emulation by adding M-Search response delay (arendst#1486) * Add libraries Adafruit_BME680-1.0.5, Adafruit_Sensor-1.0.2.02, TasmotaSerial-1.0.0 and TSL2561-Arduino-Library * Add command Color2 to set color while keeping same dimmer value * Add device function pointers * Add support for SenseAir S8 CO2 sensor * Add color led signal to Carbon Dioxide (CO2) sensors using defines CO2_LOW and CO2_HIGH in user_config.h * Add support for Domoticz Air Quality sensor to be used by MH-Z19(B) and SenseAir sensors * Add support for PZEM004T energy sensor * Add support for iTead SI7021 temperature and humidity sensor by consolidating DHT22 into AM2301 and using former DHT22 as SI7021 (arendst#735) * Add support for BME680 using adafruit libraries (arendst#1212) * Add support for MH-Z19(B) CO2 sensor (arendst#561, arendst#1248) * Add multipress support and more user configurable GPIO to Sonoff Dual R2 (arendst#1291) * Add support for TSL2561 using adafruit library (arendst#661, arendst#1311) * Add support for SHT3x (arendst#1314) * Add support for Arilux LC06 (arendst#1414) * Add Italian language file (arendst#1449) * Add 2nd Gen Alexa support to Wemo emulation discovery (arendst#1357, arendst#1450) * Add define for additional number of WS2812 schemes (arendst#1463)
v5.10.0 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 * Upgrade library OneWire to 2.3.3 + 6 commits and disabled CRC lookup-table (#define ONEWIRE_CRC8_TABLE 0) (code size reduction) * Update library PubSubClient to 2.6 + 9 commits and additional delay (arendst#790) * Update core_esp8266_wiring_digital.c to latest (staged) level * Patch library I2Cdevlib-Core for esp8266-core 2.4.0-rc2 compatibility * Remove command EnergyReset 1..3 now replaced by ENergyReset1 to EnergyReset3 * Remove spaces in JSON messages (code size reduction) * Renamed xsns_05_ds18x20.ino to xsns_05_ds18x20_legacy.ino still using library OneWire and providing dynamic sensor scan * Fix possible iram1_0_seg compile error by shrinking ICACHE_RAM_ATTR code usage * Fix PWM watchdog timeout if Dimmer is set to 100 or Color set to 0xFF (arendst#1146) * Fix Sonoff Bridge Learn Mode hang caused by unrecognised RF code (arendst#1181) * Fix blank console log window by using XML character encoding (arendst#1187) * Fix wrong response name for command HlwISet (arendst#1214) * Fix DHT type sensor timeout recognition by distinguish "signal already there" from "timeout" (arendst#1233) * Add fixed color options 1..12 to command Color * Add + (plus) and - (minus) to commands Dimmer (+10/-10), Speed and Scheme * Add + (plus) and - (minus) to command Color to select 1 out of 12 preset colors * Add + (plus) and - (minus) to command Ct to control ColdWarm led ColorTemperature (+34/-34) * Add commands EnergyReset1 0..42500, EnergyReset2 0..42500 and EnergyReset3 0..42500000 * to (Re)set Energy Today, Yesterday or Total respectively in Wh (arendst#406, arendst#685, arendst#1202) * Add optional ADS1115 driver as alternative for unsupported I2Cdevlib in esp8266-core 2.4.0-rc2 * Add support for INA219 Voltage and Current sensor to be enabled in user_config.h with define USE_INA219 * Add support for Arilux LC11 (Clearing RF home code when selecting no Arilux module) * Add support for WS2812 RGBW ledstrips to be enabled in user_config.h with define USE_WS2812_CTYPE (arendst#1156) * Add SettingsSaveAll routine to command SaveData to be used before controlled power down (arendst#1202) * Add option PUSHBUTTON_TOGGLE (SwitchMode 7) to allow toggling on any switch change (arendst#1221) * Add new xdrv_05_ds18x20.ino free from library OneWire and add the following features: * Add support for DS1822 * Add forced setting of 12-bit resolution for selected device types (arendst#1222) * Add read temperature retry counter (arendst#1215) * Fix lost sensors by performing sensor probe at restart only thereby removing dynamic sensor probe (arendst#1215) * Fix sensor address sorting using ascending sort on sensor type followed by sensor address * Rewrite JSON resulting in shorter message allowing more sensors in default firmware image: * "DS18B20-1":{"Id":"00000483C23A","Temperature":19.5},"DS18B20-2":{"Id":"0000048EC44C","Temperature":19.6} * Add additional define in user_config.h to select either single sensor (defines disabled), new multi sensor (USE_DS18X20) or legacy multi sensor (USE_DS18X20_LEGACY) * Add clock support for more different pixel counts (arendst#1226) * Add support for Sonoff Dual R2 (arendst#1249) * Add FriendlyName to web page tab and add program information to web page footer (arendst#1275)
v5.9.1 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 (arendst#338, arendst#660) * Fix Backup Configuration file download failure by defining proper file size (arendst#1115) * Fix Exception 26 and empty console screen after usage of command WakeupDuration (arendst#1133) * Fix some changed iTead web links in README.md (arendst#1137)
v5.9.0 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 * Change default PWM assignments for H801 RGB(CW) led controller to support optional Color/Dimmer control * GPIO04 (W2) from GPIO_PWM2 to GPIO_USER to be user configurable for GPIO_PWM5 (second White - Warm if W1 is Cold) * GPIO12 (Blue) GPIO_PWM3 no change * GPIO13 (Green) from GPIO_PWM4 to GPIO_PWM2 * GPIO14 (W1) from GPIO_PWM1 to GPIO_USER to be user configurable for GPIO_PWM4 (first White - Cold or Warm) * GPIO15 (Red) from GPIO_PWM5 to GPIO_PWM1 * Change default PWM assignments for MagicHome RGB(W) led controller to support optional Color/Dimmer control * GPIO05 (Green) from GPIO_PWM4 to GPIO_PWM2 * GPIO12 (Blue) from GPIO_PWM5 to GPIO_PWM3 * GPIO13 (White) GPIO_USER to be user configurable for GPIO_PWM4 (White - Cold or Warm) * GPIO14 (Red) from GPIO_PWM3 to GPIO_PWM1 * Change default PWM assignment for Witty Cloud to support optional Color/Dimmer control (arendst#976) * GPIO12 (Green) from GPIO_PWM4 to GPIO_PWM2 * GPIO13 (Blue) from GPIO_PWM5 to GPIO_PWM3 * GPIO15 (Red) from GPIO_PWM3 to GPIO_PWM1 * Change when another module is selected now all GPIO user configuration is removed * Change command name IRRemote to IRSend (arendst#956) * Remove Arduino IDE version too low warning as it interferes with platformio.ini platform = espressif8266_stage * Fix command FullTopic entry when using serial or console interface * Fix possible UDP syslog blocking * Fix minimum TelePeriod of 10 seconds set by web page * Fix command GPIOx JSON response (arendst#897) * Fix inverted relay power on state (arendst#909) * Fix compile error when DOMOTICZ_UPDATE_TIMER is not defined (arendst#930) * Fix alignment of web page items in some browsers (arendst#935) * Fix setting all saved power settings to Off when SetOption0 (SaveState) = 0 (arendst#955) * Fix timezone range from -12/12 to -13/13 (arendst#968) * Fix Southern Hemisphere TIME_STD/TIME_DST (arendst#968) * Fix TLS MQTT SSL fingerprint test (arendst#970, arendst#808) * Fix virtual relay status message used with Color/Dimmer control (arendst#989) * Fix command IRSend and IRHvac case sensitive parameter regression introduced with version 5.8.0 (arendst#993) * Fix pressure calculation for some BMP versions regression introduced with version 5.8.0i (arendst#974) * Fix Domoticz Dimmer set to same level not powering on (arendst#945) * Fix Blocked Loop when erasing large flash using command reset 2 (arendst#1002) * Fix relay power control when light power control is also configured as regression from 5.8.0 (arendst#1016) * Fix Mqtt server mDNS lookup only when MqttHost name is empty (arendst#1026) * Add debug information to MQTT subscribe * Add translations to I2Cscan * Add translation to BH1750 unit lx * Add light scheme options (Color cycle Up, Down, Random) and moving WS2812 schemes up by 3 * Add Domoticz counter sensor to IrReceive representing Received IR Protocol and Data * Add option 0 to MqttHost to allow empty Mqtt host name * Add support for Arilux AL-LC01 RGB Led controller (arendst#370) * Add esp8266 de-blocking to PubSubClient library (arendst#790) * Add Domoticz sensors for Voltage and Current (arendst#903) * Add platformio OTA upload support (arendst#928, arendst#934) * Add warning to webpage when USE_MINIMAL is selected (arendst#929) * Add smoother movement of hour hand in WS2812 led clock (arendst#936) * Add support for Magic Home RGBW and some Arilux Led controllers (arendst#940) * Add command SetOption15 0 (default) for command PWM control or SetOption15 1 for commands Color/Dimmer control to PWM RGB(CW) leds (arendst#941) * Add Domoticz counter sensor to Sonoff Bridge representing Received RF code (arendst#943) * Add support for Luani HVIO board (https://luani.de/projekte/esp8266-hvio/) (arendst#953) * Add PWM initialization after restart (arendst#955) * Add IR Receiver support. Disable in user_config.h (arendst#956) * Add support for inverted PWM (arendst#960) * Add Sea level pressure calculation and Provide command Altitude (arendst#974) * Add support for up to 8 relays (arendst#995) * Add commands RfSync, RfLow, RfHigh, RfHost and RfCode to allow sending custom RF codes (arendst#1001) * Add retain to ENERGY messages controlled by command SensorRetain (arendst#1013) * Add commands Color2, Color3, Color4, Width2, Width3, Width4 and SetOption16 to set Ws2812 Clock parameters (arendst#1019) * Add German language file (arendst#1022) * Add support for connecting to MQTT brokers without userid and/or password (arendst#1023) * Add support for esp8266 core v2.4.0-rc2 (arendst#1024) * Add commands PwmRange 1,255..1023 and PwmFrequency 1,100..4000 (arendst#1025) * Add Polish language file (arendst#1044, arendst#1047) * Add support for KMC 70011 Power Monitoring Smart Plug (arendst#1045) * Add support for VEML6070 I2C Ultra Violet level sensor (arendst#1053) * Add light turn Off Fade (arendst#925) * Add IrSend command option Panasonic as IrSend {"Protocol":"Panasonic", "Bits":16388, "Data":<Panasonic data>} * where 16388 is 0x4004 hexadecimal (arendst#1014) * Add retry counter to DHT11/21/22 sensors (arendst#1082)
v5.8.0 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) * Remove upper case MQTT receive buffer * Reduce code and string length for output of commands Modules and GPIOs * Add Sonoff SC debug information * Change syslog service * Removed webserver syslog disable as now no longer needed * Increased default MQTT message size from 368 to 405 bytes while keeping MQTT_MAX_PACKET_SIZE = 512 (because we can) * Fix MQTT Offline or Remove MQTT retained topic code * Fix Domoticz loop when Emulation is selected * Add blink to WS2812 and Sonoff Led (arendst#643) * Add option WIFI_WAIT (5) to command WifiConfig to allow connection retry to same AP without restart or update flash (arendst#772, arendst#869) * Add support for Witty Cloud (arendst#794) * Add GPIO14 to Sonoff Dual (arendst#797, arendst#839) * Add support for Yunshan Wifi Relay (arendst#802) * Add GPIO16 input pulldown (arendst#827) * Add timeout to DHT and DS18B20 sensors (arendst#852) * Fix watchdog timeout caused by lack of stack space by moving to heap (arendst#853) * Allow LogPort and MqttPort up to 65535 and add LogPort tot Status 3 (arendst#859) * Allow command SwitchTopic in group mode (arendst#861) * Allow command SwitchMode if no switches are defined (arendst#861) * Add optional dimmer parameter to command Wakeup for WS2812, AiLight, Sonoff B1, Led and BN-SZ01 (arendst#867) * Fix basic On, Off, Toggle, Blink and BlinkOff commands when other language is selected (arendst#874)
PreviousNext