Espurna Versions Save

Home automation firmware for ESP8266-based devices

1.14.1

4 years ago

Fixed

Devices

  • Set button pullup on shpx-v23 boards (#2074, thanks to @RDobrinov)

Domoticz

  • Fix unresponsive switches, use proper datastructure to track state (#2034, #2040, #2049)

InfluxDB

  • Use sensor "report" instead of sending data each reading. Use async client, send data in batches (#2044, #2061)
  • Don't queue any new data while connecting

IR

  • Revert "ir: use proper methods" (#2066, thanks to @sehraf for reporting the issue)

OTA

  • Verify data stream and properly handle errors. Do not write to flash when any error was encountered. (#1835, #2067)

Sensor

  • Use different Broker instances for read and report data (#2061)

WebUI

  • Fix LED mode title style (#2038, thanks to @foxman69)
  • Properly handle websocket payloads when scheduler is disabled (#2050)
  • Fix colorpicker not working in RGB mode (#2043, #2053)
  • Remove some unused code from resulting image (#2053)

Added

Devices

  • Add GENERIC_E14, e14 rgb+w 4,5w (#2039, thanks to @orrpan)
  • Add support for LinkSprite R4 (#2042, thanks to @mpcusack)
  • Add support for eHomeDIY devices. (#2046, thanks to @user890104)
  • Add support for Magichome zj-wfmn-c-11 (#1999, #2051, thanks to @davebuk)
  • Add support for the LSC LED LIGHT STRIP from ACTION using a tuya chip. (#2065, thanks to @sehraf)
  • Add LOHAS_E26_A19, rename LOHAS_9W to LOHAS_E27_9W (#2068, thanks to @cro for providing A19 configuration)

Home Assistant

  • Try to avoid conflict with useCSS (#2075)

WebUI

  • WebUI fix change detection of input elements (#1986)

Changed

Build

  • Removed unneeded reference to Ticker library in RFBridge module

PlatformIO

  • Update latest Arduino core platform to 2.6.3 (#2069, thanks to @Niek)
  • Test espurna-core feature build (#2080)

Scripts

  • Using python3 by default in OTA manager
  • Force get_device_size to return an int in OTA manager
  • Beautify build script size output
  • ota.py version 0.4 (#2020)
  • Do not run test stages on tag in Travis CI (#2052)

1.14.0

4 years ago

Fixed

Security

  • Web OTA: check authentication result before accepting payload (#1812)
  • Authenticate /reset endpoint (#1858, thanks to @foxman69)

General

  • Avoid crashes when using NTPClientLib (#1642)
  • Safer loop delay default (#1574, #1631, #1699)
  • Patch lwip1 MTU bug in travis-ci releases (#1723)
  • Store default LED settings exactly once (#1719, #1724)
  • Backup EEPROM before performing OTA (#1808, #1809, #2028, thanks to @arihantdaga)
  • Properly handle telnet negotiation (#1927, thanks to @Niek)
  • Markdown Typo Fix (#1926, thanks to @mx-web)
  • Port PROGMEM definition from Cores 2.5.0+ for Core 2.3.0 to fix flashstring use in classes (#1374)
  • Use relative time for relay scheduling (#1962)
  • Enable all heartbeat messages when hbReport => "1" (#2003)

Devices

  • Add config for push button of Arilux AL-LC06 (#1794, thanks to @user890104)

WiFi

  • Don't change softAP configuration while user is still connected (#1881)
  • Place WIFI1_, WIFI2_ etc. strings in flash (#1893)

MQTT

  • Reset connection timer with PubSubClient / ArduinoMQTT (#1702)
  • Remove 'connecting' flag when connected (#1757)
  • Fix Arduino-MQTT setWill parameters order (#1978, thanks to @Niek)

Domoticz

  • Fix crashes with unknown idx values (#1588)
  • Treat nvalue >= 1 as true (#1606)
  • Lights: handle cmode=2 (#1880)

Thingspeak

  • Several async client fixes to avoid crashes (#1806, thanks to @JavierAder)

Home Assistant

  • Send brightness topic to HA regardless of color setting (#1730, thanks to @copyrights)
  • Rework discovery mechanism to prevent loosing messages (#1969)
  • Send discovery messages after reconnecting (#1637, #1969)

Lights

  • Fix relay provider setting of Xiaomi Smart Desk Lamp (#1627, thanks to @Ctrl-F4)
  • Prepare for .cpp migration (#1874)
  • Fix inconsistent light transitions (#1901, #1923)

WebUI

  • WebUI relayOnDisc selector typo (#1643)
  • Avoid memory leak when using captive portal (#1768)
  • Updated WS protocol structure to reduce memory usage (#1843, #1851, #1857)
  • Send debug messages in batches (#1851)
  • Wait for data to be saved before rebooting (#1863, thanks to @foxman69)

Sensors

  • Fix cse7766 missing energy magnitude (#1665, thanks to @lipoforall)
  • Fix stored energy values when using kWh (#1334
  • Remove pinMode(0, ...) from AnalogSensor (#1777, #1827)
  • Check value range for PMSX005 and SenseAir CO2 sensor (#1865, thanks to @Yonsm)
  • DHT: Increase read delay to 1100 usec per datasheet value for DHT_CHIP_DHT22 (#1918, #1979, thanks to @JavierAder and @structuralB)
  • DHT: Add DHT_CHIP_SI7021 for ITEAD_SONOFF_TH, use 500 usec read delay (#1918, #2000, thanks to @icevoodoo)
  • DHT: Set pin mode before digitalWrite (#1979)
  • DHT: Wait DHT_MIN_INTERVAL after initialization (#1979)

Build

  • Fix Travis failing with INFLUXDB_SUPPORT (#1565)
  • Build with platformio 4 (#1805)
  • Update wrong pinout on ag-l4 (#1746, thanks to @zerog2k)
  • Core 2.6.0+ fixes (#1852)
  • Add missing DOMOTICZ_... #ifndef guards (#1839)
  • Add #ifndef guard for BMX280_... defines (#1867, thanks to @0x3333)
  • MQTT: update MQTT_MAX_PACKET_SIZE to fit JSON payload (#1888)

Added

General

  • RPN Rules - custom rules to execute actions (mostly changing relay and light statuses) based on different inputs (#1984, thanks to @xoseperez)
  • Initial implementation of RTCMEM storage to preserve state (relay status, stability counter, energy etc.) between reboots (#1420, #1770)
  • Allow to configure all LEDs from UI (#1429, thanks to @xoseperez)
  • SYNC_FIRST relay sync mode (#1609, thanks to @foxel)
  • Fix ESP.eraseConfig() when using Core 2.3.0 (#1595, #1616)
  • Add UNUSED macro to prevent warnings
  • Log in travis-ci if WebUI files have changed
  • Terminal: heap fragmentation stat (#1740)
  • Recommend using basic BearSSL ciphers with low memory boards (#1810, thanks to @Niek)
  • New boot mode to lock relay status on boot (RELAY_BOOT_LOCKED_OFF and RELAY_BOOT_LOCKED_ON) (#1705)
  • Add netstat and dns probing (Core 2.5.2+) (#1907)
  • Add setting for WiFi TX power (wifiTxPwr) (#1915)
  • SoftAP button action will now toggle back to STA mode (#1942)
  • Detect esp8285 chip to allow the use of GPIO9 and GPIO10 (#1958, #1964 and thanks to @Niek for bitset::test fix in #1977)
  • Restore last schedule after reboot (#1948, thanks to @foxman69)
  • Add relayDelayOnN, relayDelayOffN, relayFloodTime, relayFloodCount as runtime settings (#1594, #1962)
  • Add experimental relayDelayInterlock to add a pause after turning relay off in SYNC_ONE or SYNC_NONE_OR_ONE modes (#1510, #1962)
  • Add experimental TUYA_SUPPORT and LIGHT_PROVIDER_TUYA (#1729, #1997, thanks to @davebuk for extensive testing)
  • Add bssid as heartbeat option (#1995)
  • Generic feature checks through <type_traits> (#1974, thanks to @Niek)
  • Support binary, octal and hex literal prefixes (0b, 0o and 0x respectively) for hbReport setting (#2003)

MQTT

  • Add option to disable relay reporting (#1645, thanks to @Niek)
  • Safer settings reload and change detection (#1701)
  • mqtt.info command (#1757)
  • MQTT rewrite with SSL fixes (#1751, #1829, thanks to @Niek)
  • Add support for Arduino-MQTT library (#1751, thanks to @Niek)
  • Generic secure client configuration (#1873)
  • Custom relay status payloads (#1885, #1889)
  • Log size instead of message itself when size is > 128 bytes (#1969)

Home Assistant

  • Add color_temp_state_topic (#1891, thanks to @l3d00m)

Devices

  • Add espurna-base for tuya-convert, thanks to @xoseperez
  • Add espurna-core-wps
  • Add espurna-core-smartconfig
  • LightFox dual support (#1468, thanks to @foxel)
  • Support for Digoo/Oxaoxe NX-SP202 (#1502, thanks to @kobuki)
  • HAMA outlet model number 00176552 (#1598, thanks to @markusrudolf)
  • Added LITESUN LA-WF3 support. (#1618, thanks to @Zebble)
  • Added Teckin SP20 Power Plug. (#1611, thanks to @brmo)
  • Adding support for Generic GU10 from #1549 (#1650, thanks to @ColinShorts)
  • Add support for JINVOO VALVE SM-AW713 (#1774, thanks to @reaper7)
  • Add support for MagicHome RGBWW LED strip (#1787, thanks to @user890104)
  • Nexete A19 RGBW bulb (#1814, thanks to @konsgn)
  • Add Shelly 1PM (#1822, thanks to @tonilopezmr)
  • Support Shelly 2.5 (#1827, thanks to @tonilopezmr)
  • Add itead-sonoff-s31-lite (#1830, thanks to @CrazyIvan359)
  • Add etekcity-esw01-usa (#1836, thanks to @sirpatil)
  • Add iselector-sm-pw702 (#1837, thanks to @lwalkera)
  • Itead Sonoff Mini support (#1886, thanks to @xoseperez)
  • ESP8266 FS-UAP1 Control board (#1925, thanks to @NemoN)
  • Support for Teckin SP21 (Thanks to @xoseperez)
  • Support for TFlag NX-SM100 and NX-SM200 power monitoring switches (Thanks to @xoseperez)
  • Add tuya-generic-dimmer (#1729, #1997)
  • Add support for Hykker Smart Plug with power meter (#2010, thanks to @reaper7)
  • Add support for BW-SHP5 (#2029, thanks to @aligator)

WebUI

  • Configure WEB_REMOTE_DOMAIN at runtime (#1789)

Modules

  • Add Thermostat module (#1603, thanks to @ElderJoy)
  • RF/RFBRIDGE Update (#1693)
  • Send Vcc, LoadAvg and Ssid to influxdb (#1714, thanks to @lucciano)
  • Separate device name for alexa integration (#1727, thanks to @m-kozlowski)
  • Telnet/WiFiServer: alternative to ESPAsyncTCP (#1799) (Thanks to @Niek)
  • Periodically call etharp_gratuitous (#1877)
  • Added support for reverse telnet (#1920, thanks to @Niek)

Sensors

  • MH-Z19 auto-calibration setting (#1580 , #1592, thanks to @eschava)
  • CSE7766: Add reactive power calculation (#1591, thanks to @AlbertWeterings)
  • MAX6675: default pins and SENSOR_SUPPORT dependency (#1646, #1666)
  • Add bmx280Number and bmx280Address settings (#1690)
  • PZEM004T: settings & dev board (#1712)
  • Added LDR sensor (Thanks to Altan Altay)
  • ADE9753 Support (#1827, thanks to @tonilopezmr)
  • Telaire T6613 Support (#1956, thanks to @james-coder)
  • Adding support for miobulb001 (#1973, thanks to @ealfaroc)

Lights

  • Allow to set relative brightness, channel value and color in mireds using +N and -N notation (#1607, #1938, thanks to @tsymbaliuk)
  • Two channel CCT (#1732, thanks to @copyrights)
  • Send to mired topic if CCT is in use (#1732, #1742, thanks to @copyrights)
  • Add description for each channel when using terminal commands (#1826)
  • Channel value change detection to reduce light provider updates (#1914)

Build

  • special dummy printf to disable Serial using some boards (#1664)
  • Experimental support of HTTPUpdate for OTA (#1751)
  • Add ability to print all GPIO values at once (#1798, thanks to @Niek)
  • DEBUG_SUPPORT check for crashSetup (#1807)
  • Build date in ota.py (mDNS) (#1736, thanks to @m-kozlowski)

Changed

General

  • Updated Copyright notice to 2019
  • Use espurna.io as CORS domain
  • Small design change in memanalyzer output and fix out-of-range error
  • Update PlatformIO Core versions (#1734)
  • Show Core revision as hex string (#1786)
  • Update debugSend / debugSend_P (#1788)
  • Send RF MQTT message with retain off (#1679, thanks to @Niek)
  • Thermostat upgrade (#1711, thanks to @ElderJoy)
  • Update crash handler (#1796, #1947)
  • Drop legacy relay settings migration (#1797)
  • MQTT & OTA Fingerprint setting capitalization fix (#1952, thanks to @Niek)

WiFi

  • Let JustWifi fallback mode handle AP (#1784)
  • Start SmartConfig without any networks configured (#1785)

Domoticz

  • Less debugging for lights code (#1588)

WebUI

  • Send status right after boot to avoid some empty fields on Status page (#1700)
  • Parse host query via browser api, add console logging (#1901)
  • Update to jquery 3.4.1 and wheelcolorpicker 3.0.8 (#1901)

Lights

  • Import Encoder library (#1769)
  • Apply brightness to all channels only when useWhite is disabled (#1826)
  • Move gamma table to PROGMEM (#1826)
  • Don't show v for hsv in wheelcolorpicker, use brightness instead (#1901)
  • Fix kelvin/mired constants naming (#1902)
  • Store pwm constants as PROGMEM data (#1906)
  • Schedule provider update in CONT instead of SYS context (#1901, #1923)
  • Configurable cold and warm mired values (#1945)
  • Update XIAOMI_SMART_DESK_LAMP warm mired value (#1945)

Sensors

  • Change from BMX280_ADDRESS2 notation to BMX280_NUMBER for number of sensors (#1647, thanks to @CraigMarkwardt)
  • Allow sensor class can specify the number of decimals to represent its magnitude types (#1648, thanks to @CraigMarkwardt)
  • Default to one BMX280 sensor (#1690)
  • Rename NTC/LDR_SENSOR to NTC/LDR_SUPPORT (#1758)
  • Faster event handling for EventsSensor (#1771)
  • Use indexed keys for energy saving (#1875)
  • Enable multiple Digital & Events sensors (#1832, thanks to @pilotak)

Build

  • .ld scripts refactoring to allow building with Cores 2.3.0 ... 2.6.0 (#1559)
  • Pin ArduinoJson version (#1613)
  • Remove gosund-sp1-v23 env in favour of blitzwolf-shpx-v23 (#1703)
  • Update ESPAsyncTCP to 7e9ed22 (#1752, #1806)
  • PIO4: default_envs (#1793, thanks to @Niek)
  • PIO: Use up-to-date platforms, update comments (#1811, #2023)
  • Move DEVICE and MANUFACTURER check to the top of hardware.h (#1816, thanks to @rmcbc)

1.13.5

5 years ago

Fixed

  • Revert loopDelay dependency on wifi sleep mode (#1574)
  • Fix hardcoded serial objects in _debugSendSerial, terminalLoop and PZEM sensor (#1573)
  • Fix RFBridge not showing codes in web UI as per @mcspr suggested change (#1571)
  • Fix BSSIDs in scan output (#1567)
  • Fix PZEM004TSensor pointer use
  • RFBridge: fix webui codes parsing
  • Avoid websocket ping back on fw upgrade via web UI form (#1574)
  • Revert loopDelay dependency on wifi sleep mode
  • Removing line break before templated variable to fix issue with Windows Arduino IDE (#1579, thanks to @AlbertWeterings)
  • Send brightness to websocket

Added

  • Relay MQTT group receive-only sync mode setting
  • Set wifi sleep mode from settings
  • Add unique id and device support for better HA UI integration (#1547, thanks to @abmantis)
  • Improved inline documentation of BMX280 settings (#1585, thanks to CraigMarkwardt)

1.13.4

5 years ago

Fixed

  • Travis fixes
  • IR results on raw mode (thanks to @vtochq)
  • Missing configuration in HTTP API (#1288)
  • NTP sync changes (#1342)
  • Proper buffer size to fit two digit rfbOFF key (#1348)
  • Use correct arguments for stat on macOS (#1355, thanks to @jackwilson)
  • Enable reload command when no web support (#1383)
  • Wrong GPIO value for dummy relay (#1386)
  • Wait until mqtt client has finished trying to connect
  • Disable EEPROM Rotate before NoFUSS update (#1398, thanks to @arihantdaga)
  • Only check domoticz state in broker callback (#1562)
  • Fix upload_port and upload_args
  • Fix heartbeat dropdown size
  • Setup settings before using them in system module (#1542)
  • Fix HEARTBEAT_REPORT_DESCRIPTION typo (#1539)
  • Fix wsDebugSend prototype
  • Fix pulse for dummy relays (#1496, thanks to @Niek)
  • Fix RFBridge websocket data
  • Only process Domoticz RGB MQTT Messages for the current idx (#1489, thanks to @soif)
  • Fix pulse for dummy relays
  • Fix compile error when both RF_SUPPORT and API_SUPPORT are enabled (#1479, thanks to @Niek)
  • Fix compile error when TERMINAL_SUPPORT is disabled (#1426)
  • Fix compile error when RF_SUPPORT is enabled (#1475)
  • Fix CodingStyle link (#1473)
  • Fix: Add Debug flag for compilation of wifiDebug() function (#1454)
  • Fix bug in RFM69 that counted packets twice
  • Escape hyphens in img.shields.io urls
  • Fix travis builds based on latest core
  • Increase buffer size to fit B0 code (#1423)
  • Fix function call typo in RF code (#1421)
  • Fix RF code conversion to long (#1410)

Added

  • Support for MAXCIO W-DE003 device (thanks to @kerk1v)
  • Support for Tonbux XS-SSA01 device (thanks to @StevenWolfe)
  • Support for Blitzwolf BW-SHP2 v2.3 (#1351)
  • Support for Tecking SP22 v1.4+
  • Support for Lombez Lux Nova 2 smart bulbs (thanks to @kcghost)
  • Support for Orvibo B25 (#1402, thanks to @plutec)
  • Support for GBLife RGBW Socket (#1305)
  • Support for Generic Relay ESP01 V4.0 in inverse relay version (#1504, #1554)
  • Support for Gosund WS1 aka KS-602S (#1551, thanks to @nsvrana)
  • Support for Oukitel P1 smart switch (#1553, thanks to @quinnsam)
  • Support for Lyasi light bulb (#1533, thanks to Eichhoernchen)
  • Support for RGB(WW) controlled using Domoticz MQTT messages (#1459, thanks to @sq5gvm)
  • Support for newer AL-LC02 boards with different pinout (#1469, thanks to @sq5gvm)
  • Support for SmartLife Mini Smart Socket RGB (thanks to @kuppe234, #1411)
  • Support for Gosund SP1 v2.3 (#1448)
  • Support for OBI Wifi Schuko Plug V2 (#1408, thanks to @arthurf1969)
  • Support for pulse meter power sensor for new-generation smart-meters
  • Support for VL53L1X ToF sensor (thanks to @ruimarinho)
  • Support for VEML6075 UV sensor (thanks to @ruimarinho)
  • Support for EZO pH Circuit sensor (thanks to @ruimarinho)
  • Support for MAX6675 temperature sensor (#1375, thanks to @lucciano)
  • Support for MagicHome ZJ WFMN A/B v1.1 (#1339)
  • Support for multiple PZEM004T sensors (thanks to @0x3333)
  • Support for Support PMS5003S (#1511, thanks to @Yonsm)
  • Support for pulse meter power sensor for new-generation smart-meters (including debouncing and energy ratio support by @jackwilson)
  • Support for BMP085 and BMP180 sensors (#1082)
  • Add dim up and down actions to button handler (#1250)
  • Compact WS data (#1387)
  • Improved analog sensor (#1326, thanks to @cconde)
  • Report SSID in heartbeat messages
  • Option to send full data to thinkgspeak on every message (#1369)
  • Added RSSI to InfluxDB heartbeat (#1400, tahnks to @BuildTheRobots)
  • Option to report time even if no NTP sync (#1310)
  • Support for mixed combination of real and dummy relays (#1305)
  • Report target color values on MQTT and API
  • Note on WiFi tab about hostname (#1555)
  • Allow saving heartbeat settings from web (#1538)
  • Build images for Sonoff Basic R2 with DHT and DALLAS support
  • Add warning about TELNET_PASSWORD
  • Domoticz: track last relay state (#1536)
  • Adding description field to web UI, reporting it via MQTT (#1523)
  • ESP-01 + 2ch 5v relay LC tech Exclusive relay on (#1519, thanks to @clabnet)
  • Add OTA support over MQTT (#1424, thanks to @Niek)
  • Configure Heartbeat from WebUI & option HEARTBEAT_REPEAT_STATUS (#1474, thanks to martiera)
  • Delay light comms (mqtt, ws, broker) to avoid jamming
  • Added message type to broker
  • Yield() after handling OTA request
  • Disconnect websocket when auth fails
  • Manage relay changes in third party modules via broker
  • Added API entry points for RFBridge module (#1407)
  • Domoticz over MQTT to Espurna RGB/RGBW/RGBWW
  • Debug check position to make sure definition is not nullified to avoid putting checks in all places
  • MQTT reconnect delay based on last disconnection
  • Add terminal support for wifiDebug
  • Created contribute.md and support.md files
  • Created issue templates
  • Runtime heartbeat configuration (#1406)
  • APP_VERSION suffix (#1418)
  • Allow {hostname} and {mac} placeholder for mqtt user and client_id fields (#1338)
  • Split ws messages for relays and rf codes (#262)
  • Added learn and forget terminal commands to RFBridge and RF modules (#1253)
  • Change light transition time via MQTT or API (#1412)

Changed

  • Telnet password requirements (#1382)
  • Separate tab for NoFUSS options (#1404)
  • Updated to use gulp4 (#1403)
  • Updated to EEPROM_Rotate 0.9.2
  • Show proper switches names in web UI
  • Removing loop delay if WIFI is not set to sleep, reducing it to 1ms otherwise (#1541)
  • Change naming for BlitzWolf SHP2 and SHP6 (now SHPX) boards
  • Print each HA config entry separately (#1535)
  • Updated DebounceEvent to 2.0.5 (#1527, #1254)
  • Python cleanup (@1526, thanks to Cabalist)
  • Normalize naming for Arilux AL LC02 v14
  • Increase version field size in OTA manager
  • Merge RF and RFBridge code (#1435, thanks to @Niek)
  • Update to fauxmoESP 3.1.0
  • Move crash code to it's own module

1.13.3

5 years ago

Fixed

  • Honour build time settings for MQTT on fresh install (#719)
  • Fix custom_crash_callback declaration for Arduino IDE 1.8.6 (#1169)
  • Fix eneUnits key in web UI (#1177)
  • Fix HA names (#1183)
  • API is now restful (issue a PUT to change a relay status). It can be disabled from web UI (#1192)
  • Remove static array to prevent out of bound in relay.ino (#1217)
  • Remove duplicate call to EEPROMr.begin (#1214)
  • Fix issue when SPIFFS_SUPPORT is enabled (#1225)
  • Fix quoting units_of_measurement in HA config output (#1227)
  • Fix "Clear counts" on rfm69 does not reset node count properly (thanks to @Trickx, #1239)
  • Fix homecube 3rd led setting (thanks to @mcspr)
  • Fix typo in static IP hint text (@thanks to @zafrirron)
  • Fix hostname/password length requirements (thanks to @mcspr and @djwmarcx)
  • Do not quote numbers in MQTT JSON payloads
  • Fix telnet client object deletion (thanks to @mcspr)
  • Call wakeUp PMS on first reading cycle to avoid not data in a long period (thanks to @Yonsm)
  • Small fixes and windows support for ESPurna OTA Manager (thanks to @mcspr)
  • Fix for YiDian XS-SSA05 configs (thanks to @ducky64)
  • Send MQTT messages only for button events with assigned actions (thanks to @Valcob)
  • Avoid EEPROM commits on callbacks (#1214)

Added

  • Option to report energy based on delta since last report (#369)
  • Support for IR-MQTT bridge, also in RAW mode (#556, #907)
  • Allow faster sensor reading intervals, down to 1 second (#848)
  • Support for Xiaomi Smart Desk Lamp (#884)
  • Retry up to 3 times on bad response to Thingspeak server (#1213)
  • Support for apparent power and power factor on CSE7/XX sensor (#1215)
  • Support for encoders
  • Support for Allterco Shelly2
  • Added SDS011 sensor support (thanks to @derlucas)
  • Added password check to telnet (option to disable it)
  • Added PHYX support (thanks to @whitebird)
  • Added config command that outputs the configuration in JSON
  • Support for MICS-2710, MICS-5525 and MICS-4514, gas sensors
  • Support for iWoole LED Table Lamp (thanks to @CollinShorts)
  • Command to output free stack
  • Password management from web UI (thanks to @mcspr)
  • Added BESTEK MRJ1011 support (thanks to @InduPrakash)
  • Support for EXS WiFi Relay 5.0 (thanks to @cheise, #1218)
  • Allowing disabling or single heartbeat on MQTT connect or repeat (default) (#1196)
  • Command to save settings when SETTINGS_AUTOSAVE is off

Changed

  • Upgraded to JustWifi 2.0.2
  • Upgraded to FauxmoESP 3.0.1
  • Upgraded to DebounceEvent 2.0.4 to properly support BUTTON_SWITCH
  • Split info command output into info and wifi. Refactor output.
  • Custom HA payloads (thanks to @Yonsm)

1.13.2

5 years ago

Fixed

  • Fix relay overflow window length
  • Fix TravisCI release condition (thanks to @mcspr, #1042)
  • Fix Sonoff RFBridge build in Arduino IDE (#1043)
  • Using corrent path separator in gulpfile.js (thanks to @InduPrakash, #1045)
  • Fix KMC70011 LED logic (thanks to @zerog2k, #1056)
  • Fix Luani HVIO to use 1MB flash size and toggle switch (thanks to @BauerPh, #1065 and #1068)
  • Fix switches in Microsoft Edge (thanks to @Valcob, #1066)
  • Fix build.sh error handling (thanks to @mcspr, #1075)
  • Correctly init Serial on RELAY_PROVIDER_STM (#1130)
  • Disconnect before running WPS and SmartConfig discovery (#1146)
  • Fix sort fields in OTA manager

Added

  • Support for YJZK 1Ch and 3CH switches (thanks to @CollinShorts and @q32103940, #1047)
  • Support for AG-L4 color desk lamp (thanks to @zerog2k, #1050)
  • Option to cofigure ON/OFF payload at build time (#1085)
  • Option to change default payload for HA (#1085)
  • Support for Allterco Shelly1 (thanks to @abmantis, #1128)
  • Support for HomeCube 16A (thanks to @hyteoo, #1106)
  • Support for multiple sonar sensors (thanks to @ruimarinho, #1116)
  • Support for hardware serial on PMSX003 device (thanks to @ruimarinho, #1122)
  • Support for Lohas 9W bulbs (thanks to @steveway, #1135)
  • Show literal for webUI image in info (#1142)
  • Add RFBRIDGE code to full webUI image (#1157)
  • Handle events in EventSensor
  • Option to remove API_SUPPORT at build time
  • Option to save total energy in EEPROM after X reports, disabled by default
  • Support for DHT12 sensor (thanks to Altan Altay)
  • Support for 2MB flash boards

Changed

  • Update PlatformIO support to 3.6.X branch
  • Explicitly disable ATC on RFM69 gateway (#938)
  • Reduce memory footprint of API calls (#1133)
  • Init relay GPIO when in inverse mode to be OFF (#1078)

1.13.1

5 years ago

Fixed

  • Build issues with Arduino IDE (#975)
  • Right web interface image for with RF Bridge
  • Full web interface image if light and sensor together (#981)
  • Some devices still not using DOUT flash mode
  • Crash on loading malformed configuration file
  • Mismatch between memory size and layout size for some boards (this might require reflashing)
  • Wrong settings report after factory reset
  • Memory leak in JustWifi library
  • New buttons not rendering right in Safari (#1028)

Added

  • Support for RFM69GW board (see http://tinkerman.cat/rfm69-wifi-gateway/)
  • Support for Sonoff IFAN02
  • Support for NTC sensors (#1001)
  • Support for single-pin latched relays (#1039)
  • Check binary flash mode in web upgrade
  • Sampling to AnalogSensor
  • Parallel builds in Travis (thanks to @lobradov)

Changed

  • Reworked platformio.ini, build.sh files (thanks to @gn0st1c and @mcspr)

1.13.0

5 years ago

Fixed

  • Fixed PZEM004T compilation issues, working when using hardware serial (#837)
  • Fixed per channel state on/off for lights (#830)
  • Fixed overflow in CSE7766 energy calculation (#856)
  • Fixed On MQTT disconnect in web UI (#845)
  • Check valid hostnames (#874, #879)
  • Fix Sonoff POW R2 configuration
  • Fixed InfluxDB sensor by id (#882)
  • Fix build when disabling WEB_SUPPORT (#923)
  • Fix calibration error in EmonSensor (#876)
  • Fix telnet and web debug responsiveness (#896)
  • Use double quotes in JSON for non-numeric values (#929)
  • Support connections over HTTPS via proxy (#937)

Added

  • EEPROM sector rotation using EEPROM_Rotate library
  • Code filtering when building web UI images
  • Added pulsing a relay via MQTT and REST API (#896, #902)
  • Support for WPS (not available in pre-built binaries)
  • Support for Smart Config (not available in pre-built binaries)
  • Support for CCT lights (thanks to @Skaronator)
  • Allow RELAYx_DELAY_ON/OFF also for none GPIO relay types (thanks to @zafrirron)
  • Added relay status to Domoticz on MQTT connection (#872)
  • Added configurable UART-to-MQTT terminator
  • Added telnet link to web UI
  • Reload terminal command to force all modules to reload settings from config (#816)
  • Added security headers to each HTTP response (thanks to @ITNerdBox)
  • Customized GET terminal command (thanks to @mcspr)
  • More RC codes supported on TX for RF Bridge (thanks to @wildwiz)
  • Support for BL0937 power monitoring chip with unmodified HLW8012 library (#737)
  • Enable CORS
  • Support for Allnet ESP8266 UP Relay (thanks to @bajo)
  • Support for Tonbux Mosquito Killer (thanks to @gn0st1c)
  • Support for Neo Coolcam NAS-WR01W WiFi Smart Power Plug
  • Support for TYWE3S-based Estink WiFi Power Strip (thanks to @sandman, #852)
  • Support for Pilotak ESP DIN V1
  • Support for DIY Geiger counter (thanks to @Trickx)
  • Support for HomeCube / Blitzwolf BW-SHP2
  • Support for Vanzavanzu Smart Wifi Plug Mini
  • Support for Bruno Horta's OnOfre board

Changed

  • Updated PlatformIO to use Core 3.5.3
  • Updated to JustWifi 2.0
  • CSS optimizations (#870, #871)
  • Several changes in OTA Manager
  • Better memory layout info
  • MQTT keep alive time increased to 300s
  • Using ticket-based authentication for WS
  • Refactor module and sensor listings (#896)
  • Using alternative math methods to save ~8Kb with lights
  • Simpligying mired/kelvin methods
  • Changed web UI checkboxes with pure CSS versions

Deprecated

  • {identifier} place-holder in MQTT base topic

1.12.6

6 years ago

Fixed

  • Check NTP_SUPPORT for sensors (thanks to @mcspr)
  • Fix AM2302 sensor
  • Fix hostname truncated to 20 chars when advertised to DHCP (#774)
  • Decouple Serial object from Terminal, Debug modules (#787)
  • Fix Arilux LC-01 definitions (#797)
  • Do not uppercase hostname in web interface (#799)
  • Ensure scheduler has access to all channels independently of the color mode (#807)

Added

  • Support for IteadStudio Sonoff S31 (#497)
  • Option to ignore daylight saving in scheduler (#783)
  • Report last energy reset datetime in web interface (#784)
  • Added captive portal in AP mode
  • Support for IR toggle mode (thanks to @darshkpatel)
  • Support for IteadStudio Sonoff POW R2 (thanks to @ColinShorts)
  • Support for Luani HVIO (thanks to @wildwiz)
  • Support for Zhilde ZLD-EU55-W power strip (thanks to @wildwiz)
  • Support for RFB_DIRECT Sonoff Bridge EFM8BB1 bypass hack (thanks to @wildwiz)
  • Support for SenseAir S8 CO2 sensor (thanks to @Yonsm)
  • Support for PMS5003T/ST sensors (thanks to @Yonsm)

Changed

  • Updated JustWifi Library
  • Some cleanup in the web interface
  • Refactored configuration files (thanks to @lobradov, @mcspr)
  • Changes pre-commit hook (thanks to @mcspr)

1.12.5

6 years ago

Fixed

  • Fixed expected power calibration (#676)
  • Do not show empty time strings (#691, thanks to @PieBru)
  • Fix load average calculation when system check is disabled (#707)
  • Fixed unstability issues with NtpClientLib using temporary fork (#743)
  • Fixed typos in homeassistant module (thanks to @Cabalist)
  • Fixed default HLW8012 calibration for KMC devices (thanks to @gn0st1c)
  • Fix MQTT query request
  • Fix scheduler debug message
  • Fix NTP offset value

Added

  • Option to change NTP timeout via compile-time setting (#452)
  • Added humidity correction to web UI (#626, tahnks to @ManuelW77)
  • Added support for USA DST calculation (#664)
  • Option to reset energy count (#671)
  • Added Sonoff SV prebuild image (#698, thanks to @akasma74)
  • Check and remove unused config keys (#730)
  • Visual Studio metadata files added to .gitignore (#731, thanks to @gn0st1c)
  • Added default MQTT and SSL settings to web UI (#732, thanks to @mcspr)
  • Added option to the web UI to set the light transition length in milliseconds (#739)
  • Improved testing with Travis (thanks to @lobradov)
  • Change dimmers using schedule (thanks to @wysiwyng)
  • Debug console in web UI (thanks to @lobradov), including command execution
  • Option to reset relays in MQTT disconection (thanks to @a-tom-s)
  • Option to disable system check from custom header (thanks to @phuonglm)
  • Added "board" topic to the heartbeat messages (thanks to @mcspr)
  • Added methods to create hierarchical MQTT JSON responses
  • Added RESET.SAFE command to reboot into safe mode
  • Added SDK and Core versions to the web UI
  • Added revision to web UI (only when built from build.sh)
  • Support for OBI Powerplug Adapter (#622, thanks to @Geitde)
  • Support for Tunbox Powerstrip02 (thanks to @gn0st1c)
  • Support for Lingan SWA1 (thanks to @gn0st1c)
  • Support for Heygo HY02 (thanks to @gn0st1c)
  • Support for Maxcio WUS0025 (thanks to @gn0st1c)
  • Support for Yidian XSSSA05 SWA1 (thanks to @gn0st1c)
  • Support for ArnieX Swifitch (thanks to @LubergAlexander)
  • Support for IKE ESPIKE board
  • Support for AM2320 sensors via I2C (thanks to @gn0st1c)
  • Support for GUVAS12SD sensor (thanks to @gn0st1c)

Changed

  • Removed hostname size limit (#576, #659)
  • Reworked RGBW implementation (thanks to @Skaronator)
  • Several web UI layout changes (thanks to @lobradov & @mcspr)
  • Button MQTT messages will not have the retain flag (thanks to @lobradov)
  • Remove unnecessary code from boot log (thanks to @gn0st1c)
  • Updated logo and favicon, added gitter channel
  • Force reporting power values as 0 if relay is off
  • Using gulp-crass for CSS minification
  • Using WIFI_NONE_SLEEP by default