Releases: xoseperez/espurna
Snapshot build (github20220819)
IMPORTANT NOTICE
When updating from 1.14.1 make sure there is enough available space on the device (usually, "available space" rounded to the nearest 4096 byte increment) to perform the OTA upgrade. Telnet and direct HTTP upgrades with an .bin too big will result in a bricked device. espota.py and Web Interface upgrades will issue a warning.
Make sure to only perform OTA upgrade with a properly powered device. Attempting to flash and / or use a normally AC powered device (like a Sonoff) instead powered through 3v3 may result in unexpected issues with the firmware.
Snapshot build (github20220819)
How to upgrade "over-the-air" aka OTA: https://github.com/xoseperez/espurna/wiki/OTA
Latest changes: github20220816...github20220819
CHANGELOG.md: https://github.com/xoseperez/espurna/blob/github20220819/CHANGELOG.md
Snapshot build (github20220816)
IMPORTANT NOTICE
When updating from 1.14.1 make sure there is enough available space on the device (usually, "available space" rounded to the nearest 4096 byte increment) to perform the OTA upgrade. Telnet and direct HTTP upgrades with an .bin too big will result in a bricked device. espota.py and Web Interface upgrades will issue a warning.
Make sure to only perform OTA upgrade with a properly powered device. Attempting to flash and / or use a normally AC powered device (like a Sonoff) instead powered through 3v3 may result in unexpected issues with the firmware.
Snapshot build (github20220816)
1.14.1 [2019-12-31]
Fixed
Devices
- Set button pullup on shpx-v23 boards (#2074, thanks to @RDobrinov)
Domoticz
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
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)
- If you are having problems with current release, make sure to check whether using current development version solves them:
Development branch .bins
Building the firmware using PlatformIO
Building the firmware using ArduinoIDE
1.14.0 [2019-11-29]
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
forITEAD_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
andRELAY_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
andLIGHT_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
and0x
respectively) forhbReport
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
- 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
andbmx280Address
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 Enc...
[1.13.5] 2019-02-27
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)
- If you are having problems with current release, make sure to check whether using current development version solves them:
Development branch .bins
Building the firmware using PlatformIO
Building the firmware using ArduinoIDE
[1.13.4] 2019-02-23
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] 2018-10-08
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 intoinfo
andwifi
. Refactor output. - Custom HA payloads (thanks to @Yonsm)
[1.13.2] 2018-08-27
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
[1.13.1] 2018-07-10
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
[1.13.0] 2018-06-22
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