Skip to content

1.14.0 [2019-11-29]

Compare
Choose a tag to compare
@mcspr mcspr released this 29 Nov 23:52
978cf2a

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

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

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

Devices

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

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)