Fork of the espurna firmware for `mhsw` switches
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1523 lines
91 KiB

8 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
  1. # ESPurna change log
  2. The format is based on [Keep a Changelog](http://keepachangelog.com/)
  3. and this project adheres to [Semantic Versioning](http://semver.org/).
  4. ## [1.14.2] Not yet released
  5. \-
  6. ## [1.14.1] 2019-12-31
  7. ### Fixed
  8. #### Devices
  9. - Set button pullup on shpx-v23 boards ([#2074](https://github.com/xoseperez/espurna/issues/2074), thanks to **[@RDobrinov](https://github.com/RDobrinov)**)
  10. #### Domoticz
  11. - Fix unresponsive switches, use proper datastructure to track state ([#2049](https://github.com/xoseperez/espurna/issues/2049))
  12. #### InfluxDB
  13. - Use sensor "report" instead of sending data each reading. Use async client, send data in batches ([#2061](https://github.com/xoseperez/espurna/issues/2061))
  14. - Don't queue any new data while connecting
  15. #### IR
  16. - Revert "ir: use proper methods" ([#2066](https://github.com/xoseperez/espurna/issues/2066), thanks to **[@sehraf](https://github.com/sehraf)** for reporting the issue)
  17. #### OTA
  18. - Verify data stream and properly handle errors. Do not write to flash when any error was encountered. ([#2067](https://github.com/xoseperez/espurna/issues/2067))
  19. #### Sensor
  20. - Use different Broker instances for read and report data ([#2061](https://github.com/xoseperez/espurna/issues/2061))
  21. #### WebUI
  22. - Fix LED mode title style ([#2038](https://github.com/xoseperez/espurna/issues/2038), thanks to **[@foxman69](https://github.com/foxman69)**)
  23. - Properly handle websocket payloads when scheduler is disabled ([#2050](https://github.com/xoseperez/espurna/issues/2050))
  24. - Fix colorpicker not working in RGB mode ([#2053](https://github.com/xoseperez/espurna/issues/2053))
  25. - Remove some unused code from resulting image ([#2053](https://github.com/xoseperez/espurna/issues/2053))
  26. ### Added
  27. #### Devices
  28. - Add GENERIC_E14, e14 rgb+w 4,5w ([#2039](https://github.com/xoseperez/espurna/2039), thanks to **[@orrpan](https://github.com/orrpan)**)
  29. - Add support for LinkSprite R4 ([#2042](https://github.com/xoseperez/espurna/issues/2042), thanks to **[@mpcusack](https://github.com/mpcusack)**)
  30. - Add support for eHomeDIY devices. ([#2046](https://github.com/xoseperez/espurna/issues/2046), thanks to **[@user890104](https://github.com/user890104)**)
  31. - Add support for MAGICHOME\_ZJ_WFMN\_C\_11 ([#2051](https://github.com/xoseperez/espurna/issues/2051), thanks to **[@davebuk](https://github.com/davebuk)**)
  32. - Add support for the LSC LED LIGHT STRIP from ACTION using a tuya chip. ([#2065](https://github.com/xoseperez/espurna/issues/2065), thanks to **[@sehraf](https://github.com/sehraf)**)
  33. - Add LOHAS_E26_A19, rename LOHAS_9W to LOHAS_E27_9W ([#2068](https://github.com/xoseperez/espurna/issues/2068), thanks to **[@cro](https://github.com/cro)** for providing A19 configuration)
  34. #### Home Assistant
  35. - Try to avoid conflict with useCSS ([#2075](https://github.com/xoseperez/espurna/issues/2075))
  36. #### WebUI
  37. - WebUI fix change detection of input elements ([#1986](https://github.com/xoseperez/espurna/issues/1986))
  38. ### Changed
  39. #### Build
  40. - Removed unneeded reference to Ticker library in RFBridge module
  41. #### PlatformIO
  42. - Update latest Arduino core platform to 2.6.3 ([#2069](https://github.com/xoseperez/espurna/issues/2069), thanks to **[@Niek](https://github.com/Niek)**)
  43. - Test espurna-core feature build ([#2080](https://github.com/xoseperez/espurna/issues/2080))
  44. #### Scripts
  45. - Using python3 by default in OTA manager
  46. - Force get_device_size to return an int in OTA manager
  47. - Beautify build script size output
  48. - ota.py version 0.4 ([#2020](https://github.com/xoseperez/espurna/issues/2020))
  49. - Do not run test stages on tag in Travis CI ([#2052](https://github.com/xoseperez/espurna/issues/2052))
  50. ## [1.14.0] 2019-11-29
  51. ### Fixed
  52. #### Security
  53. - Web OTA: check authentication result before accepting payload ([#1812](https://github.com/xoseperez/espurna/issues/1812))
  54. - Authenticate /reset endpoint ([#1858](https://github.com/xoseperez/espurna/issues/1858), thanks to **[@foxman69](https://github.com/foxman69)**)
  55. #### General
  56. - Avoid crashes when using NTPClientLib ([#1642](https://github.com/xoseperez/espurna/pull/1642))
  57. - Safer loop delay default ([#1574](https://github.com/xoseperez/espurna/issues/1574), [#1631](https://github.com/xoseperez/espurna/issues/1631), [#1699](https://github.com/xoseperez/espurna/issues/1699))
  58. - Patch lwip1 MTU bug in travis-ci releases ([#1723](https://github.com/xoseperez/espurna/issues/1723))
  59. - Store default LED settings exactly once ([#1719](https://github.com/xoseperez/espurna/issues/1719), [#1724](https://github.com/xoseperez/espurna/issues/1724))
  60. - Backup EEPROM before performing OTA ([#1808](https://github.com/xoseperez/espurna/issues/1808), [#1809](https://github.com/xoseperez/espurna/issues/1809), [#2028](https://github.com/xoseperez/espurna/issues/2028), thanks to **[@arihantdaga](https://github.com/arihantdaga)**)
  61. - Properly handle telnet negotiation ([#1927](https://github.com/xoseperez/espurna/issues/1927), thanks to **[@Niek](https://github.com/Niek)**)
  62. - Markdown Typo Fix ([#1926](https://github.com/xoseperez/espurna/issues/1926), thanks to **[@mx-web](https://github.com/mx-web)**)
  63. - Port PROGMEM definition from Cores 2.5.0+ for Core 2.3.0 to fix flashstring use in classes ([#1374](https://github.com/xoseperez/espurna/issues/1374))
  64. - Use relative time for relay scheduling ([#1962](https://github.com/xoseperez/espurna/pull/1962))
  65. - Enable all heartbeat messages when `hbReport => "1"` ([#2003](https://github.com/xoseperez/espurna/pull/2003))
  66. #### Devices
  67. - Add config for push button of Arilux AL-LC06 ([#1794](https://github.com/xoseperez/espurna/issues/1794), thanks to **[@user890104](https://github.com/user890104)**)
  68. #### WiFi
  69. - Don't change softAP configuration while user is still connected ([#1881](https://github.com/xoseperez/espurna/issues/1881))
  70. - Place WIFIN\_... strings in flash ([#1893](https://github.com/xoseperez/espurna/issues/1893))
  71. #### MQTT
  72. - Reset connection timer with PubSubClient / ArduinoMQTT ([#1702](https://github.com/xoseperez/espurna/issues/1702))
  73. - Remove 'connecting' flag when connected ([#1757](https://github.com/xoseperez/espurna/issues/1757))
  74. - Fix Arduino-MQTT setWill parameters order ([#1978](https://github.com/xoseperez/espurna/issues/1978), thanks to **[@Niek](https://github.com/Niek)**)
  75. #### Domoticz
  76. - Fix crashes with unknown idx values ([#1588](https://github.com/xoseperez/espurna/issues/1588))
  77. - Treat nvalue >= 1 as true ([#1606](https://github.com/xoseperez/espurna/issuess/1606))
  78. - Lights: handle cmode=2 ([#1880](https://github.com/xoseperez/espurna/issues/1880))
  79. #### Thingspeak
  80. - Several async client fixes to avoid crashes ([#1806](https://github.com/xoseperez/espurna/issues/1806))
  81. #### Home Assistant
  82. - Send brightness topic to HA regardless of color setting ([#1730](https://github.com/xoseperez/espurna/issues/1730), thanks to **[@copyrights](https://github.com/copyrights)**)
  83. - Rework discovery mechanism to prevent loosing messages ([#1969](https://github.com/xoseperez/espurna/issues/1969))
  84. - Send discovery messages after reconnecting ([#1637](https://github.com/xoseperez/espurna/issues/1637), [#1969](https://github.com/xoseperez/espurna/issues/1969))
  85. #### Lights
  86. - Fix relay provider setting of Xiaomi Smart Desk Lamp ([#1627](https://github.com/xoseperez/espurna/issues/1627), thanks to **[@Ctrl-F4](https://github.com/Ctrl-F4)**)
  87. - Prepare for .cpp migration ([#1874](https://github.com/xoseperez/espurna/issues/1874))
  88. - Fix inconsistent light transitions ([#1901](https://github.com/xoseperez/espurna/issues/1901), [#1923](https://github.com/xoseperez/espurna/issues/1923))
  89. #### WebUI
  90. - WebUI relayOnDisc selector typo ([#1643](https://github.com/xoseperez/espurna/pull/1643))
  91. - Avoid memory leak when using captive portal ([#1768](https://github.com/xoseperez/espurna/issues/1768))
  92. - Updated WS protocol structure to reduce memory usage ([#1843](https://github.com/xoseperez/espurna/issues/1843), [#1851](https://github.com/xoseperez/espurna/issues/1851), [#1857](https://github.com/xoseperez/espurna/issues/1857))
  93. - Send debug messages in batches ([#1851](https://github.com/xoseperez/espurna/issues/1851))
  94. - Wait for data to be saved before rebooting ([#1863](https://github.com/xoseperez/espurna/issues/1863), thanks to **[@foxman69](https://github.com/foxman69)**)
  95. #### Sensors
  96. - Fix cse7766 missing energy magnitude ([#1665](https://github.com/xoseperez/espurna/issues/1665), thanks to **[@lipoforall](https://github.com/lipoforall)**)
  97. - Fix stored energy values when using kWh ([#1334](https://github.com/xoseperez/espurna/issues/1334)
  98. - Remove pinMode(0, ...) from AnalogSensor ([#1777](https://github.com/xoseperez/espurna/issues/1777), [#1827](https://github.com/xoseperez/espurna/issues/1827))
  99. - Check value range for PMSX005 and SenseAir CO2 sensor ([#1865](https://github.com/xoseperez/espurna/issues/1865), thanks to **[@Yonsm](https://github.com/Yonsm)**)
  100. - DHT: Increase read delay to 1100 usec per datasheet value for `DHT_CHIP_DHT22` ([#1918](https://github.com/xoseperez/espurna/issues/1918), [#1979](https://github.com/xoseperez/espurna/issues/1979), thanks to **[@JavierAder](https://github.com/JavierAder)** and **[@structuralB](https://github.com/structuralB)**)
  101. - DHT: Add `DHT_CHIP_SI7021` for `ITEAD_SONOFF_TH`, use 500 usec read delay ([#1918](https://github.com/xoseperez/espurna/issues/1918#issuecomment-555672628), [#2000](https://github.com/xoseperez/espurna/issues/2000), thanks to **[@icevoodoo](https://github.com/icevoodoo)**)
  102. - DHT: Set pin mode before digitalWrite ([#1979](https://github.com/xoseperez/espurna/issues/1979))
  103. - DHT: Wait DHT_MIN_INTERVAL after initialization ([#1979](https://github.com/xoseperez/espurna/issues/1979))
  104. #### Build
  105. - Fix Travis failing with INFLUXDB_SUPPORT ([#1565](https://github.com/xoseperez/espurna/issues/1565))
  106. - Build with platformio 4 ([#1805](https://github.com/xoseperez/espurna/issues/1805))
  107. - Update wrong pinout on ag-l4 ([#1746](https://github.com/xoseperez/espurna/issues/1746), thanks to **[@zerog2k](https://github.com/zerog2k)**)
  108. - Core 2.6.0+ fixes ([#1852](https://github.com/xoseperez/espurna/issues/1852))
  109. - Add missing DOMOTICZ\_... #ifndef guards ([#1839](https://github.com/xoseperez/espurna/issues/1839))
  110. - Add #ifndef guard for BMX280\_... defines ([#1867](https://github.com/xoseperez/espurna/issues/1867), thanks to **[@0x3333](https://github.com/0x3333)**)
  111. - MQTT: update MQTT_MAX_PACKET_SIZE to fit JSON payload ([#1888](https://github.com/xoseperez/espurna/issues/1888))
  112. ### Added
  113. #### General
  114. - [RPN Rules](https://github.com/xoseperez/espurna/wiki/RPN-Rules) - custom rules to execute actions (mostly changing relay and light statuses) based on different inputs ([#1984](https://github.com/xoseperez/espurna/issues/1984), thanks to **[@xoseperez](https://github.com/xoseperez)**)
  115. - Initial implementation of RTCMEM storage to preserve state (relay status, stability counter, energy etc.) between reboots ([#1420](https://github.com/xoseperez/espurna/issues/1420), [#1770](https://github.com/xoseperez/espurna/issues/1770))
  116. - Allow to configure all LEDs from UI ([#1429](https://github.com/xoseperez/espurna/issues/1429), thanks to **[@xoseperez](https://github.com/xoseperez)**)
  117. - SYNC_FIRST relay sync mode ([#1609](https://github.com/xoseperez/espurna/issues/1609), thanks to **[@foxel](https://github.com/foxel)**)
  118. - Fix ESP.eraseConfig() when using Core 2.3.0 ([#1595](https://github.com/xoseperez/espurna/issues/1595), [#1616](https://github.com/xoseperez/espurna/issues/1616))
  119. - Add UNUSED macro to prevent warnings
  120. - Log in travis-ci if WebUI files have changed
  121. - Terminal: heap fragmentation stat ([#1740](https://github.com/xoseperez/espurna/issues/1740))
  122. - Recommend using basic BearSSL ciphers with low memory boards ([#1810](https://github.com/xoseperez/espurna/issues/1810), thanks to **[@Niek](https://github.com/Niek)**)
  123. - New boot mode to lock relay status on boot (`RELAY_BOOT_LOCKED_OFF` and `RELAY_BOOT_LOCKED_ON`) ([#1705](https://github.com/xoseperez/espurna/issues/1705))
  124. - Add netstat and dns probing (Core 2.5.2+) ([#1907](https://github.com/xoseperez/espurna/issues/1907))
  125. - Add setting for WiFi TX power (`wifiTxPwr`) ([#1915](https://github.com/xoseperez/espurna/issues/1915))
  126. - SoftAP button action will now toggle back to STA mode ([#1942](https://github.com/xoseperez/espurna/pull/1942))
  127. - Detect esp8285 chip to allow the use of GPIO9 and GPIO10 ([#1958](https://github.com/xoseperez/espurna/issues/1958), [#1964](https://github.com/xoseperez/espurna/pull/1964) and thanks to **[@Niek](https://github.com/Niek)** for bitset::test fix in [#1977](https://github.com/xoseperez/espurna/pull/1977))
  128. - Restore last schedule after reboot ([#1948](https://github.com/xoseperez/espurna/issues/1948), thanks to **[@foxman69](https://github.com/foxman69)**)
  129. - Add `relayDelayOnN`, `relayDelayOffN`, `relayFloodTime`, `relayFloodCount` as runtime settings ([#1594](https://github.com/xoseperez/espurna/issues/1594), [#1962](https://github.com/xoseperez/espurna/pull/1962))
  130. - Add experimental `relayDelayInterlock` to add a pause after turning relay off in SYNC\_ONE or SYNC\_NONE\_OR\_ONE modes ([#1510](https://github.com/xoseperez/espurna/issues/1510), [#1962](https://github.com/xoseperez/espurna/pull/1962))
  131. - Add experimental `TUYA_SUPPORT` and `LIGHT_PROVIDER_TUYA` ([#1729](https://github.com/xoseperez/espurna/issues/1729), [#1997](https://github.com/xoseperez/espurna/issues/1997))
  132. - Add `bssid` as heartbeat option ([#1995](https://github.com/xoseperez/espurna/issues/1995))
  133. - Generic feature checks through `<type_traits>` ([#1974](https://github.com/xoseperez/espurna/issues/1974), thanks to **[@Niek](https://github.com/Niek)**)
  134. - Support [binary, octal and hex literal](https://en.wikipedia.org/wiki/Integer_literal) prefixes (`0b`, `0o` and `0x` respectively) for `hbReport` setting ([#2003](https://github.com/xoseperez/espurna/pull/2003))
  135. #### MQTT
  136. - Add option to disable relay reporting ([#1645](https://github.com/xoseperez/espurna/issues/1645), thanks to **[@Niek](https://github.com/Niek)**)
  137. - Safer settings reload and change detection ([#1701](https://github.com/xoseperez/espurna/issues/1701))
  138. - `mqtt.info` command ([#1757](https://github.com/xoseperez/espurna/issues/1757))
  139. - MQTT rewrite with SSL fixes ([#1751](https://github.com/xoseperez/espurna/issues/1751), [#1829](https://github.com/xoseperez/espurna/issues/1829), thanks to **[@Niek](https://github.com/Niek)**)
  140. - Generic secure client configuration ([#1873](https://github.com/xoseperez/espurna/issues/1873))
  141. - Custom relay status payloads ([#1885](https://github.com/xoseperez/espurna/issues/1885), [#1889](https://github.com/xoseperez/espurna/issues/1889))
  142. - Log size instead of message itself when size is > 128 bytes ([#1969](https://github.com/xoseperez/espurna/issues/1969))
  143. #### Home Assistant
  144. - Add color_temp_state_topic ([#1891](https://github.com/xoseperez/espurna/issues/1891), thanks to **[@l3d00m](https://github.com/l3d00m)**)
  145. #### Devices
  146. - Add espurna-base for [tuya-convert](https://github.com/ct-Open-Source/tuya-convert), thanks to **[@xoseperez](https://github.com/xoseperez)**
  147. - Add espurna-core-wps
  148. - Add espurna-core-smartconfig
  149. - LightFox dual support ([#1468](https://github.com/xoseperez/espurna/issues/1468), thanks to **[@foxel](https://github.com/foxel)**)
  150. - Support for Digoo/Oxaoxe NX-SP202 ([#1502](https://github.com/xoseperez/espurna/issues/1502), thanks to **[@kobuki](https://github.com/kobuki)**)
  151. - HAMA outlet model number 00176552 ([#1598](https://github.com/xoseperez/espurna/issues/1598), thanks to **[@markusrudolf](https://github.com/markusrudolf)**)
  152. - Added LITESUN LA-WF3 support. ([#1618](https://github.com/xoseperez/espurna/issues/1618), thanks to **[@Zebble](https://github.com/Zebble)**)
  153. - Added Teckin SP20 Power Plug. ([#1611](https://github.com/xoseperez/espurna/issues/1611), thanks to **[@brmo](https://github.com/brmo)**)
  154. - Adding support for Generic GU10 from [#1549](https://github.com/xoseperez/espurna/issues/1549) ([#1650](https://github.com/xoseperez/espurna/issues/1650), thanks to **[@ColinShorts](https://github.com/ColinShorts)**)
  155. - Add support for JINVOO VALVE SM-AW713 ([#1774](https://github.com/xoseperez/espurna/issues/1774), thanks to **[@reaper7](https://github.com/reaper7)**)
  156. - Add support for MagicHome RGBWW LED strip ([#1787](https://github.com/xoseperez/espurna/issues/1787), thanks to **[@user890104](https://github.com/user890104)**)
  157. - Nexete A19 RGBW bulb ([#1814](https://github.com/xoseperez/espurna/issues/1814), thanks to **[@konsgn](https://github.com/konsgn)**)
  158. - Add Shelly 1PM ([#1822](https://github.com/xoseperez/espurna/issues/1822), thanks to **[@tonilopezmr](https://github.com/tonilopezmr)**)
  159. - Support Shelly 2.5 ([#1827](https://github.com/xoseperez/espurna/issues/1827), thanks to **[@tonilopezmr](https://github.com/tonilopezmr)**)
  160. - Add itead-sonoff-s31-lite ([#1830](https://github.com/xoseperez/espurna/issues/1830), thanks to **[@CrazyIvan359](https://github.com/CrazyIvan359)**)
  161. - Add etekcity-esw01-usa ([#1836](https://github.com/xoseperez/espurna/issues/1836), thanks to **[@sirpatil](https://github.com/sirpatil)**)
  162. - Add iselector-sm-pw702 ([#1837](https://github.com/xoseperez/espurna/issues/1837), thanks to **[@lwalkera](https://github.com/lwalkera)**)
  163. - Itead Sonoff Mini support ([#1886](https://github.com/xoseperez/espurna/issues/1886), thanks to **[@xoseperez](https://github.com/xoseperez)**)
  164. - ESP8266 FS-UAP1 Control board ([#1925](https://github.com/xoseperez/espurna/issues/1925), thanks to **[@NemoN](https://github.com/NemoN)**)
  165. - Support for Teckin SP21 (Thanks to **[@xoseperez](https://github.com/xoseperez)**)
  166. - Support for TFlag NX-SM100 and NX-SM200 power monitoring switches (Thanks to **[@xoseperez](https://github.com/xoseperez)**)
  167. - Add tuya-generic-dimmer ([#1729](https://github.com/xoseperez/espurna/issues/1729), [#1997](https://github.com/xoseperez/espurna/issues/1997))
  168. - Add support for Hykker Smart Plug with power meter ([#2010](https://github.com/xoseperez/espurna/issues/2010), thanks to **[@reaper7](https://github.com/reaper7)**)
  169. - Add support for BW-SHP5 ([#2029](https://github.com/xoseperez/espurna/issues/2029), thanks to **[@aligator](https://github.com/aligator)**)
  170. #### WebUI
  171. - Configure WEB_REMOTE_DOMAIN at runtime ([#1789](https://github.com/xoseperez/espurna/issues/1789))
  172. #### Modules
  173. - Add Thermostat module ([#1603](https://github.com/xoseperez/espurna/issues/1603), thanks to **[@ElderJoy](https://github.com/ElderJoy)**)
  174. - RF/RFBRIDGE Update ([#1693](https://github.com/xoseperez/espurna/issues/1693))
  175. - Send Vcc, LoadAvg and Ssid to influxdb ([#1714](https://github.com/xoseperez/espurna/issues/1714), thanks to **[@lucciano](https://github.com/lucciano)**)
  176. - Separate device name for alexa integration ([#1727](https://github.com/xoseperez/espurna/issues/1727), thanks to **[@m-kozlowski](https://github.com/m-kozlowski)**)
  177. - Telnet/WiFiServer: alternative to ESPAsyncTCP ([#1799](https://github.com/xoseperez/espurna/issues/1799)) (Thanks to **[@Niek](https://github.com/Niek)**)
  178. - Periodically call etharp_gratuitous ([#1877](https://github.com/xoseperez/espurna/issues/1877))
  179. - Added support for reverse telnet ([#1920](https://github.com/xoseperez/espurna/pull/1920), thanks to **[@Niek](https://github.com/Niek)**)
  180. #### Sensors
  181. - MH-Z19 auto-calibration setting ([#1580](https://github.com/xoseperez/espurna/issues/1580) , [#1592](https://github.com/xoseperez/espurna/issues/1592), thanks to **[@eschava](https://github.com/eschava)**)
  182. - CSE7766: Add reactive power calculation ([#1591](https://github.com/xoseperez/espurna/issues/1591), thanks to **[@AlbertWeterings](https://github.com/AlbertWeterings)**)
  183. - MAX6675: default pins and SENSOR_SUPPORT dependency ([#1646](https://github.com/xoseperez/espurna/issues/1646), [#1666](https://github.com/xoseperez/espurna/issues/1666))
  184. - Add `bmx280Number` and `bmx280Address` settings ([#1690](https://github.com/xoseperez/espurna/issues/1690))
  185. - PZEM004T: settings & dev board ([#1712](https://github.com/xoseperez/espurna/issues/1712))
  186. - Added LDR sensor (Thanks to Altan Altay)
  187. - ADE9753 Support ([#1827](https://github.com/xoseperez/espurna/issues/1827), thanks to **[@tonilopezmr](https://github.com/tonilopezmr)**)
  188. - Telaire T6613 Support ([#1956](https://github.com/xoseperez/espurna/issues/1956), thanks to **[@james-coder](https://github.com/james-coder)**)
  189. - Adding support for miobulb001 ([#1973](https://github.com/xoseperez/espurna/issues/1973), thanks to **[@ealfaroc](https://github.com/ealfaroc)**)
  190. #### Lights
  191. - Allow to set relative brightness, channel value and color in mireds using +N and -N notation ([#1607](https://github.com/xoseperez/espurna/issues/1607), [#1938](https://github.com/xoseperez/espurna/pull/1938), thanks to **[@tsymbaliuk](https://github.com/tsymbaliuk)**)
  192. - Two channel CCT ([#1732](https://github.com/xoseperez/espurna/issues/1732), thanks to **[@copyrights](https://github.com/copyrights)**)
  193. - Send to mired topic if CCT is in use ([#1732](https://github.com/xoseperez/espurna/issues/1732), [#1742](https://github.com/xoseperez/espurna/issues/1742), thanks to **[@copyrights](https://github.com/copyrights)**)
  194. - Add description for each channel when using terminal commands ([#1826](https://github.com/xoseperez/espurna/issues/1826))
  195. - Channel value change detection to reduce light provider updates ([#1914](https://github.com/xoseperez/espurna/issues/1914))
  196. #### Build
  197. - special dummy printf to disable Serial using some boards ([#1664](https://github.com/xoseperez/espurna/issues/1664))
  198. - Experimental support of HTTPUpdate for OTA ([#1751](https://github.com/xoseperez/espurna/issues/1751))
  199. - Add ability to print all GPIO values at once ([#1798](https://github.com/xoseperez/espurna/issues/1798), thanks to **[@Niek](https://github.com/Niek)**)
  200. - DEBUG_SUPPORT check for crashSetup ([#1807](https://github.com/xoseperez/espurna/issues/1807))
  201. - Build date in ota.py (mDNS) ([#1736](https://github.com/xoseperez/espurna/issues/1736), thanks to **[@m-kozlowski](https://github.com/m-kozlowski)**)
  202. ### Changed
  203. #### General
  204. - Updated Copyright notice to 2019
  205. - Use espurna.io as CORS domain
  206. - Small design change in memanalyzer output and fix out-of-range error
  207. - Update PlatformIO Core versions ([#1734](https://github.com/xoseperez/espurna/pull/1734))
  208. - Show Core revision as hex string ([#1786](https://github.com/xoseperez/espurna/issues/1786))
  209. - Update debugSend / debugSend_P ([#1788](https://github.com/xoseperez/espurna/issues/1788))
  210. - Send RF MQTT message with retain off ([#1679](https://github.com/xoseperez/espurna/issues/1679), thanks to **[@Niek](https://github.com/Niek)**)
  211. - Thermostat upgrade ([#1711](https://github.com/xoseperez/espurna/issues/1711), thanks to **[@ElderJoy](https://github.com/ElderJoy)**)
  212. - Update crash handler ([#1796](https://github.com/xoseperez/espurna/issues/1796), [#1947](https://github.com/xoseperez/espurna/pull/1947))
  213. - Drop legacy relay settings migration ([#1797](https://github.com/xoseperez/espurna/issues/1797))
  214. - MQTT & OTA Fingerprint setting capitalization fix ([#1952](https://github.com/xoseperez/espurna/pull/1952), thanks to **[@Niek](https://github.com/Niek)**)
  215. #### WiFi
  216. - Let JustWifi fallback mode handle AP ([#1784](https://github.com/xoseperez/espurna/issues/1784))
  217. - Start SmartConfig without any networks configured ([#1785](https://github.com/xoseperez/espurna/issues/1785))
  218. #### Domoticz
  219. - Less debugging for lights code ([#1588](https://github.com/xoseperez/espurna/issues/1588))
  220. #### WebUI
  221. - Send status right after boot to avoid some empty fields on Status page ([#1700](https://github.com/xoseperez/espurna/issues/1700))
  222. - Parse host query via browser api, add console logging ([#1901](https://github.com/xoseperez/espurna/issues/1901))
  223. - Update to jquery 3.4.1 and wheelcolorpicker 3.0.8 ([#1901](https://github.com/xoseperez/espurna/issues/1901))
  224. #### Lights
  225. - Import Encoder library ([#1769](https://github.com/xoseperez/espurna/issues/1769))
  226. - Apply brightness to all channels only when `useWhite` is disabled ([#1826](https://github.com/xoseperez/espurna/issues/1826))
  227. - Move gamma table to PROGMEM ([#1826](https://github.com/xoseperez/espurna/issues/1826))
  228. - Don't show v for hsv in wheelcolorpicker, use brightness instead ([#1901](https://github.com/xoseperez/espurna/issues/1901))
  229. - Fix kelvin/mired constants naming ([#1902](https://github.com/xoseperez/espurna/issues/1902))
  230. - Store pwm constants as PROGMEM data ([#1906](https://github.com/xoseperez/espurna/issues/1906))
  231. - Schedule provider update in CONT instead of SYS context ([#1901](https://github.com/xoseperez/espurna/issues/1901), [#1923](https://github.com/xoseperez/espurna/issues/1923))
  232. - Configurable cold and warm mired values ([#1945](https://github.com/xoseperez/espurna/pull/1945))
  233. - Update `XIAOMI_SMART_DESK_LAMP` warm mired value ([#1945](https://github.com/xoseperez/espurna/pull/1945))
  234. #### Sensors
  235. - Change from BMX280_ADDRESS2 notation to BMX280_NUMBER for number of sensors ([#1647](https://github.com/xoseperez/espurna/issues/1647), thanks to **[@CraigMarkwardt](https://github.com/CraigMarkwardt)**)
  236. - Allow sensor class can specify the number of decimals to represent its magnitude types ([#1648](https://github.com/xoseperez/espurna/issues/1648), thanks to **[@CraigMarkwardt](https://github.com/CraigMarkwardt)**)
  237. - Default to one BMX280 sensor ([#1690](https://github.com/xoseperez/espurna/issues/1690))
  238. - Rename NTC/LDR_SENSOR to NTC/LDR_SUPPORT ([#1758](https://github.com/xoseperez/espurna/issues/1758))
  239. - Faster event handling for EventsSensor ([#1771](https://github.com/xoseperez/espurna/issues/1771))
  240. - Use indexed keys for energy saving ([#1875](https://github.com/xoseperez/espurna/issues/1875))
  241. - Enable multiple Digital & Events sensors ([#1832](https://github.com/xoseperez/espurna/issues/1832), thanks to **[@pilotak](https://github.com/pilotak)**)
  242. #### Build
  243. - .ld scripts refactoring to allow building with Cores 2.3.0 ... 2.6.0 ([#1559](https://github.com/xoseperez/espurna/issues/1559))
  244. - Pin ArduinoJson version ([#1613](https://github.com/xoseperez/espurna/issues/1613))
  245. - Remove gosund-sp1-v23 env in favour of blitzwolf-shpx-v23 ([#1703](https://github.com/xoseperez/espurna/issues/1703))
  246. - Update [ESPAsyncTCP to 7e9ed22](https://github.com/me-no-dev/ESPAsyncTCP/commit/7e9ed22) ([#1752](https://github.com/xoseperez/espurna/issues/1752), [#1806](https://github.com/xoseperez/espurna/issues/1806))
  247. - PIO4: default_envs ([#1793](https://github.com/xoseperez/espurna/issues/1793), thanks to **[@Niek](https://github.com/Niek)**)
  248. - PIO: Use up-to-date platforms, update comments ([#1811](https://github.com/xoseperez/espurna/issues/1811), [#2023](https://github.com/xoseperez/espurna/pull/2023))
  249. - Move DEVICE and MANUFACTURER check to the top of hardware.h ([#1816](https://github.com/xoseperez/espurna/issues/1816), thanks to **[@rmcbc](https://github.com/rmcbc)**)
  250. ## [1.13.5] 2019-02-27
  251. ### Fixed
  252. - Revert loopDelay dependency on wifi sleep mode (#1574)
  253. - Fix hardcoded serial objects in \_debugSendSerial, terminalLoop and PZEM sensor (#1573)
  254. - Fix RFBridge not showing codes in web UI as per @mcspr suggested change (#1571)
  255. - Fix BSSIDs in scan output (#1567)
  256. - Fix PZEM004TSensor pointer use
  257. - RFBridge: fix webui codes parsing
  258. - Avoid websocket ping back on fw upgrade via web UI form (#1574)
  259. - Removing line break before templated variable to fix issue with Windows Arduino IDE (#1579, thanks to @AlbertWeterings)
  260. - Send brightness to websocket
  261. ### Added
  262. - Relay MQTT group receive-only sync mode setting
  263. - Set wifi sleep mode from settings
  264. - Add unique id and device support for better HA UI integration (#1547, thanks to @abmantis)
  265. - Improved inline documentation of BMX280 settings (#1585, thanks to CraigMarkwardt)
  266. ## [1.13.4] 2019-02-21
  267. ### Fixed
  268. - Travis fixes
  269. - IR results on raw mode (thanks to @vtochq)
  270. - Missing configuration in HTTP API (#1288)
  271. - NTP sync changes (#1342)
  272. - Proper buffer size to fit two digit rfbOFF key (#1348)
  273. - Use correct arguments for stat on macOS (#1355, thanks to @jackwilson)
  274. - Enable `reload` command when no web support (#1383)
  275. - Wrong GPIO value for dummy relay (#1386)
  276. - Wait until mqtt client has finished trying to connect
  277. - Disable EEPROM Rotate before NoFUSS update (#1398, thanks to @arihantdaga)
  278. - Only check domoticz state in broker callback (#1562)
  279. - Fix upload_port and upload_args
  280. - Fix heartbeat dropdown size
  281. - Setup settings before using them in system module (#1542)
  282. - Fix HEARTBEAT_REPORT_DESCRIPTION typo (#1539)
  283. - Fix wsDebugSend prototype
  284. - Fix pulse for dummy relays (#1496, thanks to @Niek)
  285. - Fix RFBridge websocket data
  286. - Only process Domoticz RGB MQTT Messages for the current idx (#1489, thanks to @soif)
  287. - Fix pulse for dummy relays
  288. - Fix compile error when both RF_SUPPORT and API_SUPPORT are enabled (#1479, thanks to @Niek)
  289. - Fix compile error when TERMINAL_SUPPORT is disabled (#1426)
  290. - Fix compile error when RF_SUPPORT is enabled (#1475)
  291. - Fix CodingStyle link (#1473)
  292. - Fix: Add Debug flag for compilation of wifiDebug() function (#1454)
  293. - Fix bug in RFM69 that counted packets twice
  294. - Escape hyphens in img.shields.io urls
  295. - Fix travis builds based on latest core
  296. - Increase buffer size to fit B0 code (#1423)
  297. - Fix function call typo in RF code (#1421)
  298. - Fix RF code conversion to long (#1410)
  299. ### Added
  300. - Support for MAXCIO W-DE003 device (thanks to @kerk1v)
  301. - Support for Tonbux XS-SSA01 device (thanks to @StevenWolfe)
  302. - Support for Blitzwolf BW-SHP2 v2.3 (#1351)
  303. - Support for Tecking SP22 v1.4+
  304. - Support for Lombez Lux Nova 2 smart bulbs (thanks to @kcghost)
  305. - Support for Orvibo B25 (#1402, thanks to @plutec)
  306. - Support for GBLife RGBW Socket (#1305)
  307. - Support for Generic Relay ESP01 V4.0 in inverse relay version (#1504, #1554)
  308. - Support for Gosund WS1 aka KS-602S (#1551, thanks to @nsvrana)
  309. - Support for Oukitel P1 smart switch (#1553, thanks to @quinnsam)
  310. - Support for Lyasi light bulb (#1533, thanks to Eichhoernchen)
  311. - Support for RGB(WW) controlled using Domoticz MQTT messages (#1459, thanks to @sq5gvm)
  312. - Support for newer AL-LC02 boards with different pinout (#1469, thanks to @sq5gvm)
  313. - Support for SmartLife Mini Smart Socket RGB (thanks to @kuppe234, #1411)
  314. - Support for Gosund SP1 v2.3 (#1448)
  315. - Support for OBI Wifi Schuko Plug V2 (#1408, thanks to @arthurf1969)
  316. - Support for pulse meter power sensor for new-generation smart-meters
  317. - Support for VL53L1X ToF sensor (thanks to @ruimarinho)
  318. - Support for VEML6075 UV sensor (thanks to @ruimarinho)
  319. - Support for EZO pH Circuit sensor (thanks to @ruimarinho)
  320. - Support for MAX6675 temperature sensor (#1375, thanks to @lucciano)
  321. - Support for MagicHome ZJ WFMN A/B v1.1 (#1339)
  322. - Support for multiple PZEM004T sensors (thanks to @0x3333)
  323. - Support for Support PMS5003S (#1511, thanks to @Yonsm)
  324. - Support for pulse meter power sensor for new-generation smart-meters (including debouncing and energy ratio support by @jackwilson)
  325. - Support for BMP085 and BMP180 sensors (#1082)
  326. - Add dim up and down actions to button handler (#1250)
  327. - Compact WS data (#1387)
  328. - Improved analog sensor (#1326, thanks to @cconde)
  329. - Report SSID in heartbeat messages
  330. - Option to send full data to thinkgspeak on every message (#1369)
  331. - Added RSSI to InfluxDB heartbeat (#1400, tahnks to @BuildTheRobots)
  332. - Option to report time even if no NTP sync (#1310)
  333. - Support for mixed combination of real and dummy relays (#1305)
  334. - Report target color values on MQTT and API
  335. - Note on WiFi tab about hostname (#1555)
  336. - Allow saving heartbeat settings from web (#1538)
  337. - Build images for Sonoff Basic R2 with DHT and DALLAS support
  338. - Add warning about TELNET_PASSWORD
  339. - Domoticz: track last relay state (#1536)
  340. - Adding description field to web UI, reporting it via MQTT (#1523)
  341. - ESP-01 + 2ch 5v relay LC tech Exclusive relay on (#1519, thanks to @clabnet)
  342. - Add OTA support over MQTT (#1424, thanks to @Niek)
  343. - Configure Heartbeat from WebUI & option HEARTBEAT_REPEAT_STATUS (#1474, thanks to martiera)
  344. - Delay light comms (mqtt, ws, broker) to avoid jamming
  345. - Added message type to broker
  346. - Yield() after handling OTA request
  347. - Disconnect websocket when auth fails
  348. - Manage relay changes in third party modules via broker
  349. - Added API entry points for RFBridge module (#1407)
  350. - Domoticz over MQTT to Espurna RGB/RGBW/RGBWW
  351. - Debug check position to make sure definition is not nullified to avoid putting checks in all places
  352. - MQTT reconnect delay based on last disconnection
  353. - Add terminal support for wifiDebug
  354. - Created contribute.md and support.md files
  355. - Created issue templates
  356. - Runtime heartbeat configuration (#1406)
  357. - APP_VERSION suffix (#1418)
  358. - Allow {hostname} and {mac} placeholder for mqtt user and client_id fields (#1338)
  359. - Split ws messages for relays and rf codes (#262)
  360. - Added learn and forget terminal commands to RFBridge and RF modules (#1253)
  361. - Change light transition time via MQTT or API (#1412)
  362. ### Changed
  363. - Telnet password requirements (#1382)
  364. - Separate tab for NoFUSS options (#1404)
  365. - Updated to use gulp4 (#1403)
  366. - Updated to EEPROM_Rotate 0.9.2
  367. - Show proper switches names in web UI
  368. - Removing loop delay if WIFI is not set to sleep, reducing it to 1ms otherwise (#1541)
  369. - Change naming for BlitzWolf SHP2 and SHP6 (now SHPX) boards
  370. - Print each HA config entry separately (#1535)
  371. - Updated DebounceEvent to 2.0.5 (#1527, #1254)
  372. - Python cleanup (@1526, thanks to Cabalist)
  373. - Normalize naming for Arilux AL LC02 v14
  374. - Increase version field size in OTA manager
  375. - Merge RF and RFBridge code (#1435, thanks to @Niek)
  376. - Update to fauxmoESP 3.1.0
  377. - Move crash code to it's own module
  378. ## [1.13.3] 2018-10-08
  379. ### Fixed
  380. - Honour build time settings for MQTT on fresh install (#719)
  381. - Fix custom_crash_callback declaration for Arduino IDE 1.8.6 (#1169)
  382. - Fix eneUnits key in web UI (#1177)
  383. - Fix HA names (#1183)
  384. - API is now restful (issue a PUT to change a relay status). It can be disabled from web UI (#1192)
  385. - Remove static array to prevent out of bound in relay.ino (#1217)
  386. - Remove duplicate call to EEPROMr.begin (#1214)
  387. - Fix issue when SPIFFS_SUPPORT is enabled (#1225)
  388. - Fix quoting units_of_measurement in HA config output (#1227)
  389. - Fix "Clear counts" on rfm69 does not reset node count properly (thanks to @Trickx, #1239)
  390. - Fix homecube 3rd led setting (thanks to @mcspr)
  391. - Fix typo in static IP hint text (@thanks to @zafrirron)
  392. - Fix hostname/password length requirements (thanks to @mcspr and @djwmarcx)
  393. - Do not quote numbers in MQTT JSON payloads
  394. - Fix telnet client object deletion (thanks to @mcspr)
  395. - Call wakeUp PMS on first reading cycle to avoid not data in a long period (thanks to @Yonsm)
  396. - Small fixes and windows support for ESPurna OTA Manager (thanks to @mcspr)
  397. - Fix for YiDian XS-SSA05 configs (thanks to @ducky64)
  398. - Send MQTT messages only for button events with assigned actions (thanks to @Valcob)
  399. - Avoid EEPROM commits on callbacks (#1214)
  400. ### Added
  401. - Option to report energy based on delta since last report (#369)
  402. - Support for IR-MQTT bridge, also in RAW mode (#556, #907)
  403. - Allow faster sensor reading intervals, down to 1 second (#848)
  404. - Support for Xiaomi Smart Desk Lamp (#884)
  405. - Retry up to 3 times on bad response to Thingspeak server (#1213)
  406. - Support for apparent power and power factor on CSE7/XX sensor (#1215)
  407. - Support for encoders
  408. - Support for Allterco Shelly2
  409. - Added SDS011 sensor support (thanks to @derlucas)
  410. - Added password check to telnet (option to disable it)
  411. - Added PHYX support (thanks to @whitebird)
  412. - Added config command that outputs the configuration in JSON
  413. - Support for MICS-2710, MICS-5525 and MICS-4514, gas sensors
  414. - Support for iWoole LED Table Lamp (thanks to @CollinShorts)
  415. - Command to output free stack
  416. - Password management from web UI (thanks to @mcspr)
  417. - Added BESTEK MRJ1011 support (thanks to @InduPrakash)
  418. - Support for EXS WiFi Relay 5.0 (thanks to @cheise, #1218)
  419. - Allowing disabling or single heartbeat on MQTT connect or repeat (default) (#1196)
  420. - Command to save settings when SETTINGS_AUTOSAVE is off
  421. ### Changed
  422. - Upgraded to JustWifi 2.0.2
  423. - Upgraded to FauxmoESP 3.0.1
  424. - Upgraded to DebounceEvent 2.0.4 to properly support BUTTON_SWITCH
  425. - Split `info` command output into `info` and `wifi`. Refactor output.
  426. - Custom HA payloads (thanks to @Yonsm)
  427. ## [1.13.2] 2018-08-27
  428. ### Fixed
  429. - Fix relay overflow window length
  430. - Fix TravisCI release condition (thanks to @mcspr, [#1042](https://github.com/xoseperez/espurna/issues/1042))
  431. - Fix Sonoff RFBridge build in Arduino IDE ([#1043](https://github.com/xoseperez/espurna/issues/1043))
  432. - Using corrent path separator in gulpfile.js (thanks to @InduPrakash, [#1045](https://github.com/xoseperez/espurna/issues/1045))
  433. - Fix KMC70011 LED logic (thanks to @zerog2k, [#1056](https://github.com/xoseperez/espurna/issues/1056))
  434. - Fix Luani HVIO to use 1MB flash size and toggle switch (thanks to @BauerPh, [#1065](https://github.com/xoseperez/espurna/issues/1065) and [#1068](https://github.com/xoseperez/espurna/issues/1068))
  435. - Fix switches in Microsoft Edge (thanks to @Valcob, [#1066](https://github.com/xoseperez/espurna/issues/1066))
  436. - Fix build.sh error handling (thanks to @mcspr, [#1075](https://github.com/xoseperez/espurna/issues/1075))
  437. - Correctly init Serial on RELAY_PROVIDER_STM ([#1130](https://github.com/xoseperez/espurna/issues/1130))
  438. - Disconnect before running WPS and SmartConfig discovery ([#1146](https://github.com/xoseperez/espurna/issues/1146))
  439. - Fix sort fields in OTA manager
  440. ### Added
  441. - Support for YJZK 1Ch and 3CH switches (thanks to @CollinShorts and @q32103940, [#1047](https://github.com/xoseperez/espurna/issues/1047))
  442. - Support for AG-L4 color desk lamp (thanks to @zerog2k, [#1050](https://github.com/xoseperez/espurna/issues/1050))
  443. - Option to cofigure ON/OFF payload at build time ([#1085](https://github.com/xoseperez/espurna/issues/1085))
  444. - Option to change default payload for HA ([#1085](https://github.com/xoseperez/espurna/issues/1085))
  445. - Support for Allterco Shelly1 (thanks to @abmantis, [#1128](https://github.com/xoseperez/espurna/issues/1128))
  446. - Support for HomeCube 16A (thanks to @hyteoo, [#1106](https://github.com/xoseperez/espurna/issues/1106))
  447. - Support for multiple sonar sensors (thanks to @ruimarinho, [#1116](https://github.com/xoseperez/espurna/issues/1116))
  448. - Support for hardware serial on PMSX003 device (thanks to @ruimarinho, [#1122](https://github.com/xoseperez/espurna/issues/1122))
  449. - Support for Lohas 9W bulbs (thanks to @steveway, [#1135](https://github.com/xoseperez/espurna/issues/1135))
  450. - Show literal for webUI image in info ([#1142](https://github.com/xoseperez/espurna/issues/1142))
  451. - Add RFBRIDGE code to full webUI image ([#1157](https://github.com/xoseperez/espurna/issues/1157))
  452. - Handle events in EventSensor
  453. - Option to remove API_SUPPORT at build time
  454. - Option to save total energy in EEPROM after X reports, disabled by default
  455. - Support for DHT12 sensor (thanks to Altan Altay)
  456. - Support for 2MB flash boards
  457. ### Changed
  458. - Update PlatformIO support to 3.6.X branch
  459. - Explicitly disable ATC on RFM69 gateway ([#938](https://github.com/xoseperez/espurna/issues/938))
  460. - Reduce memory footprint of API calls ([#1133](https://github.com/xoseperez/espurna/issues/1133))
  461. - Init relay GPIO when in inverse mode to be OFF ([#1078](https://github.com/xoseperez/espurna/issues/1078))
  462. ## [1.13.1] 2018-07-10
  463. ### Fixed
  464. - Build issues with Arduino IDE ([#975](https://github.com/xoseperez/espurna/issues/975))
  465. - Right web interface image for with RF Bridge
  466. - Full web interface image if light and sensor together ([#981](https://github.com/xoseperez/espurna/issues/981))
  467. - Some devices still not using DOUT flash mode
  468. - Crash on loading malformed configuration file
  469. - Mismatch between memory size and layout size for some boards (this might require reflashing)
  470. - Wrong settings report after factory reset
  471. - Memory leak in JustWifi library
  472. - New buttons not rendering right in Safari ([#1028](https://github.com/xoseperez/espurna/issues/1028))
  473. ### Added
  474. - Support for RFM69GW board (see http://tinkerman.cat/rfm69-wifi-gateway/)
  475. - Support for Sonoff IFAN02
  476. - Support for NTC sensors ([#1001](https://github.com/xoseperez/espurna/issues/1001))
  477. - Support for single-pin latched relays ([#1039](https://github.com/xoseperez/espurna/issues/1039))
  478. - Check binary flash mode in web upgrade
  479. - Sampling to AnalogSensor
  480. - Parallel builds in Travis (thanks to @lobradov)
  481. ### Changed
  482. - Reworked platformio.ini, build.sh files (thanks to @gn0st1c and @mcspr)
  483. ## [1.13.0] 2018-06-22
  484. ### Fixed
  485. - Fixed PZEM004T compilation issues, working when using hardware serial ([#837](https://github.com/xoseperez/espurna/issues/837))
  486. - Fixed per channel state on/off for lights ([#830](https://github.com/xoseperez/espurna/issues/830))
  487. - Fixed overflow in CSE7766 energy calculation ([#856](https://github.com/xoseperez/espurna/issues/856))
  488. - Fixed On MQTT disconnect in web UI ([#845](https://github.com/xoseperez/espurna/issues/845))
  489. - Check valid hostnames ([#874](https://github.com/xoseperez/espurna/issues/874), [#879](https://github.com/xoseperez/espurna/issues/879))
  490. - Fix Sonoff POW R2 configuration
  491. - Fixed InfluxDB sensor by id ([#882](https://github.com/xoseperez/espurna/issues/882))
  492. - Fix build when disabling WEB_SUPPORT ([#923](https://github.com/xoseperez/espurna/issues/923))
  493. - Fix calibration error in EmonSensor ([#876](https://github.com/xoseperez/espurna/issues/876))
  494. - Fix telnet and web debug responsiveness ([#896](https://github.com/xoseperez/espurna/issues/896))
  495. - Use double quotes in JSON for non-numeric values ([#929](https://github.com/xoseperez/espurna/issues/929))
  496. - Support connections over HTTPS via proxy ([#937](https://github.com/xoseperez/espurna/issues/937))
  497. ### Added
  498. - EEPROM sector rotation using EEPROM_Rotate library
  499. - Code filtering when building web UI images
  500. - Added pulsing a relay via MQTT and REST API ([#896](https://github.com/xoseperez/espurna/issues/896), [#902](https://github.com/xoseperez/espurna/issues/902))
  501. - Support for WPS (not available in pre-built binaries)
  502. - Support for Smart Config (not available in pre-built binaries)
  503. - Support for CCT lights (thanks to @Skaronator)
  504. - Allow RELAYx_DELAY_ON/OFF also for none GPIO relay types (thanks to @zafrirron)
  505. - Added relay status to Domoticz on MQTT connection ([#872](https://github.com/xoseperez/espurna/issues/872))
  506. - Added configurable UART-to-MQTT terminator
  507. - Added telnet link to web UI
  508. - Reload terminal command to force all modules to reload settings from config ([#816](https://github.com/xoseperez/espurna/issues/816))
  509. - Added security headers to each HTTP response (thanks to @ITNerdBox)
  510. - Customized GET terminal command (thanks to @mcspr)
  511. - More RC codes supported on TX for RF Bridge (thanks to @wildwiz)
  512. - Support for BL0937 power monitoring chip with unmodified HLW8012 library ([#737](https://github.com/xoseperez/espurna/issues/737))
  513. - Enable CORS
  514. - Support for Allnet ESP8266 UP Relay (thanks to @bajo)
  515. - Support for Tonbux Mosquito Killer (thanks to @gn0st1c)
  516. - Support for Neo Coolcam NAS-WR01W WiFi Smart Power Plug
  517. - Support for TYWE3S-based Estink WiFi Power Strip (thanks to @sandman, [#852](https://github.com/xoseperez/espurna/issues/852))
  518. - Support for Pilotak ESP DIN V1
  519. - Support for DIY Geiger counter (thanks to @Trickx)
  520. - Support for HomeCube / Blitzwolf BW-SHP2
  521. * Support for Vanzavanzu Smart Wifi Plug Mini
  522. - Support for Bruno Horta's OnOfre board
  523. ### Changed
  524. - Updated PlatformIO to use Core 3.5.3
  525. - Updated to JustWifi 2.0
  526. - CSS optimizations ([#870](https://github.com/xoseperez/espurna/issues/870), [#871](https://github.com/xoseperez/espurna/issues/871))
  527. - Several changes in OTA Manager
  528. - Better memory layout info
  529. - MQTT keep alive time increased to 300s
  530. - Using ticket-based authentication for WS
  531. - Refactor module and sensor listings ([#896](https://github.com/xoseperez/espurna/issues/896))
  532. - Using alternative math methods to save ~8Kb with lights
  533. - Simpligying mired/kelvin methods
  534. - Changed web UI checkboxes with pure CSS versions
  535. ### Deprecated
  536. - {identifier} place-holder in MQTT base topic
  537. ## [1.12.6] 2018-05-02
  538. ### Fixed
  539. - Check NTP_SUPPORT for sensors (thanks to @mcspr)
  540. - Fix AM2302 sensor
  541. - Fix hostname truncated to 20 chars when advertised to DHCP ([#774](https://github.com/xoseperez/espurna/issues/774))
  542. - Decouple Serial object from Terminal, Debug modules ([#787](https://github.com/xoseperez/espurna/issues/787))
  543. - Fix Arilux LC-01 definitions ([#797](https://github.com/xoseperez/espurna/issues/797))
  544. - Do not uppercase hostname in web interface ([#799](https://github.com/xoseperez/espurna/issues/799))
  545. - Ensure scheduler has access to all channels independently of the color mode ([#807](https://github.com/xoseperez/espurna/issues/807))
  546. ### Added
  547. - Support for IteadStudio Sonoff S31 ([#497](https://github.com/xoseperez/espurna/issues/497))
  548. - Option to ignore daylight saving in scheduler ([#783](https://github.com/xoseperez/espurna/issues/783))
  549. - Report last energy reset datetime in web interface ([#784](https://github.com/xoseperez/espurna/issues/784))
  550. - Added captive portal in AP mode
  551. - Support for IR toggle mode (thanks to @darshkpatel)
  552. - Support for IteadStudio Sonoff POW R2 (thanks to @ColinShorts)
  553. - Support for Luani HVIO (thanks to @wildwiz)
  554. - Support for Zhilde ZLD-EU55-W power strip (thanks to @wildwiz)
  555. - Support for RFB_DIRECT Sonoff Bridge EFM8BB1 bypass hack (thanks to @wildwiz)
  556. - Support for SenseAir S8 CO2 sensor (thanks to @Yonsm)
  557. - Support for PMS5003T/ST sensors (thanks to @Yonsm)
  558. ### Changed
  559. - Updated JustWifi Library
  560. - Some cleanup in the web interface
  561. - Refactored configuration files (thanks to @lobradov, @mcspr)
  562. - Changes pre-commit hook (thanks to @mcspr)
  563. ## [1.12.5] 2018-04-08
  564. ### Fixed
  565. - Fixed expected power calibration ([#676](https://github.com/xoseperez/espurna/issues/676))
  566. - Do not show empty time strings ([#691](https://github.com/xoseperez/espurna/issues/691), thanks to @PieBru)
  567. - Fix load average calculation when system check is disabled ([#707](https://github.com/xoseperez/espurna/issues/707))
  568. - Fixed unstability issues with NtpClientLib using temporary fork ([#743](https://github.com/xoseperez/espurna/issues/743))
  569. - Fixed typos in homeassistant module (thanks to @Cabalist)
  570. - Fixed default HLW8012 calibration for KMC devices (thanks to @gn0st1c)
  571. - Fix MQTT query request
  572. - Fix scheduler debug message
  573. - Fix NTP offset value
  574. ### Added
  575. - Option to change NTP timeout via compile-time setting ([#452](https://github.com/xoseperez/espurna/issues/452))
  576. - Added humidity correction to web UI ([#626](https://github.com/xoseperez/espurna/issues/626), tahnks to @ManuelW77)
  577. - Added support for USA DST calculation ([#664](https://github.com/xoseperez/espurna/issues/664))
  578. - Option to reset energy count ([#671](https://github.com/xoseperez/espurna/issues/671))
  579. - Added Sonoff SV prebuild image ([#698](https://github.com/xoseperez/espurna/issues/698), thanks to @akasma74)
  580. - Check and remove unused config keys ([#730](https://github.com/xoseperez/espurna/issues/730))
  581. - Visual Studio metadata files added to .gitignore ([#731](https://github.com/xoseperez/espurna/issues/731), thanks to @gn0st1c)
  582. - Added default MQTT and SSL settings to web UI ([#732](https://github.com/xoseperez/espurna/issues/732), thanks to @mcspr)
  583. - Added option to the web UI to set the light transition length in milliseconds ([#739](https://github.com/xoseperez/espurna/issues/739))
  584. - Improved testing with Travis (thanks to @lobradov)
  585. - Change dimmers using schedule (thanks to @wysiwyng)
  586. - Debug console in web UI (thanks to @lobradov), including command execution
  587. - Option to reset relays in MQTT disconection (thanks to @a-tom-s)
  588. - Option to disable system check from custom header (thanks to @phuonglm)
  589. - Added "board" topic to the heartbeat messages (thanks to @mcspr)
  590. - Added methods to create hierarchical MQTT JSON responses
  591. - Added RESET.SAFE command to reboot into safe mode
  592. - Added SDK and Core versions to the web UI
  593. - Added revision to web UI (only when built from build.sh)
  594. - Support for OBI Powerplug Adapter ([#622](https://github.com/xoseperez/espurna/issues/622), thanks to @Geitde)
  595. - Support for Tunbox Powerstrip02 (thanks to @gn0st1c)
  596. - Support for Lingan SWA1 (thanks to @gn0st1c)
  597. - Support for Heygo HY02 (thanks to @gn0st1c)
  598. - Support for Maxcio WUS0025 (thanks to @gn0st1c)
  599. - Support for Yidian XSSSA05 SWA1 (thanks to @gn0st1c)
  600. - Support for ArnieX Swifitch (thanks to @LubergAlexander)
  601. - Support for IKE ESPIKE board
  602. - Support for AM2320 sensors via I2C (thanks to @gn0st1c)
  603. - Support for GUVAS12SD sensor (thanks to @gn0st1c)
  604. ### Changed
  605. - Removed hostname size limit ([#576](https://github.com/xoseperez/espurna/issues/576), [#659](https://github.com/xoseperez/espurna/issues/659))
  606. - Reworked RGBW implementation (thanks to @Skaronator)
  607. - Several web UI layout changes (thanks to @lobradov & @mcspr)
  608. - Button MQTT messages will not have the retain flag (thanks to @lobradov)
  609. - Remove unnecessary code from boot log (thanks to @gn0st1c)
  610. - Updated logo and favicon, added gitter channel
  611. - Force reporting power values as 0 if relay is off
  612. - Using gulp-crass for CSS minification
  613. - Using WIFI_NONE_SLEEP by default
  614. ## [1.12.4] 2018-03-05
  615. ### Fixed
  616. - Adding a 1ms delay after UDP send to avoid loosing packets ([#438](https://github.com/xoseperez/espurna/issues/438))
  617. - Fixed void return in BMX280 sensor ([#489](https://github.com/xoseperez/espurna/issues/489))
  618. - Fix MQTT keep alive cannot be more than 255 seconds ([#515](https://github.com/xoseperez/espurna/issues/515))
  619. - Do not show scheduler tab in Web UI if build without scheduler support ([#527](https://github.com/xoseperez/espurna/issues/527))
  620. - Fix inline documentation for Sonoff 4CH Pro button modes ([#551](https://github.com/xoseperez/espurna/issues/551))
  621. - Prevent resending messages from rfin in RF Bridge ([#561](https://github.com/xoseperez/espurna/issues/561))
  622. - Fix AnalogSensor description ([#601](https://github.com/xoseperez/espurna/issues/601))
  623. - Fixed missing setting in HASS WS callback (thanks to @mcspr)
  624. - ECH1560 call sync from tick method
  625. - Fixed several issues reported by codacy
  626. ### Added
  627. - UART to MQTT module (thanks to Albert Weterings, [#529](https://github.com/xoseperez/espurna/issues/529))
  628. - Added option to show HASS configuration code in ESPurna web UI ([#616](https://github.com/xoseperez/espurna/issues/616))
  629. - OTA upgrade via terminal (using 'ota' command, with SSL support)
  630. - Added I2C scan and clear commands to terminal (only when I2C enabled)
  631. - Added new relay & wifi led mode ([#604](https://github.com/xoseperez/espurna/issues/604))
  632. - Option to enable/disable web auth from web UI
  633. - Added "Reset to factory settings" in web UI (thanks to Teo Pavel, [#569](https://github.com/xoseperez/espurna/issues/569))
  634. - Added {magnitude} placeholder to MQTT root topic
  635. - Option to report energy in kWh and power in kW ([#523](https://github.com/xoseperez/espurna/issues/523))
  636. - Check upgrade file size and signature in web UI
  637. - Automatically dump info on telnet connection if TERMINAL_SUPPORT is disabled
  638. - Two different ESPURNA_CORE images for 1MB and 4MB boards, freeing GPIOs ([#557](https://github.com/xoseperez/espurna/issues/557))
  639. - Initial support for PZEM004T sensor (still beta)
  640. - Support for STM_RELAY board (thanks to Maciej Czerniak)
  641. - Support for KMC 70011 energy monitor (thanks to Wayne Manion, [#598](https://github.com/xoseperez/espurna/issues/598))
  642. - Support for Wifi Stecker Shuko device (thanks to @Geitde, [#622](https://github.com/xoseperez/espurna/issues/622))
  643. - Support for GizWits Witty Cloud device (thanks to Theonedemon)
  644. ### Changed
  645. - BMX280 changes to allow for hot-plug ([#353](https://github.com/xoseperez/espurna/issues/353))
  646. - Increase the initial check interval for NTP ([#452](https://github.com/xoseperez/espurna/issues/452))
  647. - Force turning relays off before turning others on when synced ([#491](https://github.com/xoseperez/espurna/issues/491))
  648. - Publish slampher as light to Home Assistant ([#494](https://github.com/xoseperez/espurna/issues/494))
  649. - Force API to return the target status of the relay ([#548](https://github.com/xoseperez/espurna/issues/548))
  650. - Increasing max number of messages in JSON payload to 20 ([#588](https://github.com/xoseperez/espurna/issues/588))
  651. - Change copy from 'Use colorpicker' to 'Use color'. Better hint. ([#590](https://github.com/xoseperez/espurna/issues/590))
  652. - Completely reworked the RF module to use the same web UI as the RFBridge module to learn new codes ([#594](https://github.com/xoseperez/espurna/issues/594))
  653. - Several spelling and grammar changes by Lee Marlow
  654. - Always enabled telnet access in ESPURNA_CORE image
  655. - Updated ESPSoftwareSerial, ESPAsyncTCP and ESPAsyncWebServer libraries
  656. ### Removed
  657. - Remove dependency from gulp-util ([#493](https://github.com/xoseperez/espurna/issues/493))
  658. - Removed specific support for Magic Home LED Controller 2.3 ([#512](https://github.com/xoseperez/espurna/issues/512))
  659. - Disabled floating point support when building against Arduino Core 2.4.0 with PIO
  660. - Removed WiFi distance calculation
  661. ## [1.12.3] 2018-01-29
  662. ### Fixed
  663. - Fix telnet crash due to local reference ([#487](https://github.com/xoseperez/espurna/issues/487))
  664. ## [1.12.2] 2018-01-29
  665. ### Added
  666. - Repository migrated over to GitHub
  667. - Travis CI build test and deploy
  668. - Pre-commit hook to change README.md file depending on the branch
  669. - {hostname} and {mac} placeholders for MQTT root topic
  670. - Added support for timezones with minutes ([#265](https://github.com/xoseperez/espurna/issues/265))
  671. - SSDP support ([#282](https://github.com/xoseperez/espurna/issues/282), [#423](https://github.com/xoseperez/espurna/issues/423), disabled by default since current implementation is not compatible with Alexa [#479](https://github.com/xoseperez/espurna/issues/479))
  672. - HA auto-discover for multi-relay boards and sensors ([#392](https://github.com/xoseperez/espurna/issues/392), [#465](https://github.com/xoseperez/espurna/issues/465))
  673. - Reset the pulse timeout every time an MQTT message is sent with the non-normal payload value ([#454](https://github.com/xoseperez/espurna/issues/454))
  674. - Option to disable schedules without deleting them ([#453](https://github.com/xoseperez/espurna/issues/453))
  675. - Added LED_MODE_STATUS ([#458](https://github.com/xoseperez/espurna/issues/458))
  676. - Support to set on/off state per channel using switches ([#457](https://github.com/xoseperez/espurna/issues/457))
  677. - Added support for MagicHome LED Controller 2.3
  678. - Alexa message queue (thanks to Qubeck)
  679. - Secondary Serial RX port for H801 and H802 boards ([#386](https://github.com/xoseperez/espurna/issues/386), thanks to Pablo Pousada Rial)
  680. - Added compatibility with https://github.com/rhx/RF-Bridge-EFM8BB1 to RF Bridge (Thanks to Rene Hexel)
  681. - Added message queue to RF Bridge
  682. - Added MAC to mDNS text fields
  683. - Added wifi.ap command to go into AP mode
  684. - Added message id on MQTT JSON payloads
  685. - Added hooks for 3rd party code (custom modules)
  686. - Local broker to broadcast messages internally
  687. - Added timestamp to debug output
  688. - Common I2C interface to abstract backend library (Wire or Brzo I2C)
  689. - Added espurnaLoopRegister
  690. ### Fixed
  691. - Fixed support for 4CH Pro different modes ([#333](https://github.com/xoseperez/espurna/issues/333))
  692. - Fixed several sensor modules to enable hot-unplug-plug ([#398](https://github.com/xoseperez/espurna/issues/398))
  693. - Fixed crash when calling idbSend from an MQTT callback ([#410](https://github.com/xoseperez/espurna/issues/410))
  694. - Checking trailing slash in mqttTopic ([#422](https://github.com/xoseperez/espurna/issues/422))
  695. - Fixed pulse and pulse_ms order in relay_t structure ([#424](https://github.com/xoseperez/espurna/issues/424))
  696. - Use same buffer size across all terminal-realted classes/methods. Set to 128 chars ([#477](https://github.com/xoseperez/espurna/issues/477), [#478](https://github.com/xoseperez/espurna/issues/478))
  697. - Fix WiFi scan status in web UI
  698. - Several code quality fixes (thanks to @lobradov)
  699. - Fixed error message on first command over telnet
  700. ### Changed
  701. - BMX280 sensor module now doesn't depend on third party libraries
  702. - Changed time management in ntp, mqtt and scheduler modules
  703. ## Deprecated
  704. - {identifier} placeholder for MQTT root topic
  705. ## [1.12.1] 2018-01-14
  706. ### Added
  707. - Option to perform a WiFi network scan from web UI
  708. - Added hostname to web UI side menu ([#404](https://github.com/xoseperez/espurna/issues/404))
  709. - Option to flash multiple devices with ESPurna OTA Manager
  710. ### Fixed
  711. - Fix web UI layout so signature does not overlay buttons ([#396](https://github.com/xoseperez/espurna/issues/396))
  712. - Option to disable network scan and allow connecting to hidden SSID ([#392](https://github.com/xoseperez/espurna/issues/392), [#399](https://github.com/xoseperez/espurna/issues/399))
  713. - Fix crash caused by a delay in UDP debugging code ([#397](https://github.com/xoseperez/espurna/issues/397))
  714. - Fix memory leak in influxDB module ([#410](https://github.com/xoseperez/espurna/issues/410))
  715. - Fix typos in web UI ([#394](https://github.com/xoseperez/espurna/issues/394), [#421](https://github.com/xoseperez/espurna/issues/421))
  716. ### Changed
  717. - Updated to fauxmoESP 2.4.2
  718. - Changed default I2C GPIO for Wemos D1 ([#420](https://github.com/xoseperez/espurna/issues/420))
  719. - Some terminal commands have changed. See docs or type "help".
  720. ## [1.12.0] 2018-01-11
  721. ### Added
  722. - Scheduler (contributed by Stefano Cotterli, thank you!, [#131](https://github.com/xoseperez/espurna/issues/131))
  723. - Added "wifi.scan" command to terminal
  724. - Added ESPurna Switch board support
  725. - Added support for python3 in memanalyzer and ota scripts (thanks to @Cabalist)
  726. - Added BSSID, RSSI, channels and distance to web UI status tab
  727. - Added mDNS name resolving to MQTT, InfluxDB and NoFUSS modules ([#129](https://github.com/xoseperez/espurna/issues/129), disabled by default)
  728. ### Fixed
  729. - Update FauxmoESP library to 2.4.1, solves dependency issue ([#388](https://github.com/xoseperez/espurna/issues/388))
  730. - Fixed hardware definition in Sonoff Basic and Dual R2 causing wrong relay state on boot ([#365](https://github.com/xoseperez/espurna/issues/365))
  731. ### Changed
  732. - Removed auto-recursion check in Domoticz module ([#379](https://github.com/xoseperez/espurna/issues/379))
  733. - Rename terminal commands: reset.wifi to wifi.reset, reset.mqtt to mqtt.reset.
  734. - Update JustWifi library to 1.1.6 (support for multiple SSIDs with the same name)
  735. - Changed the way Home Assistant module handles disabling auto-discovery ([#383](https://github.com/xoseperez/espurna/issues/383))
  736. ## [1.11.4] 2018-01-09
  737. ### Fixed
  738. - Fix bug in RF Bridge when RF code contains the stop byte. Check overflow ([#357](https://github.com/xoseperez/espurna/issues/357))
  739. - Fixed typos in code and wiki (Thanks to @Cabalist)
  740. - Fix bug in magnitude topic and units ([#355](https://github.com/xoseperez/espurna/issues/355))
  741. ### Added
  742. - Small core build to allow two-step flashing method for big binaries
  743. - Thingspeak support ([#371](https://github.com/xoseperez/espurna/issues/371), disabled by default)
  744. - Color synchronization between lights using MQTT ([#362](https://github.com/xoseperez/espurna/issues/362))
  745. - Support for Arilux AL-LC02 ([#347](https://github.com/xoseperez/espurna/issues/347))
  746. - Support for Tarpuna Shield for Wemos D1
  747. - Build option to disable password checking ([#373](https://github.com/xoseperez/espurna/issues/373))
  748. - Option to report sensor address via MQTT ([#377](https://github.com/xoseperez/espurna/issues/377), I2C address, GPIO, Dallas address,...)
  749. - Added binary size to memanalyzer script
  750. - Option to specify custom client ID for MQTT connection ([#368](https://github.com/xoseperez/espurna/issues/368))
  751. - Cross-platform ESPurna OTA Manager implemented in python (untested)
  752. - Terminal command to get or set digital GPIO
  753. ### Changed
  754. - Using 2.3.0 for prebuilt binaries
  755. - Fix delay in DHT sensor
  756. - Allow MQTT keep alive value of up to 3600s
  757. - Changed Sonoff 4CH Pro definitions to support built-in interlock mode ([#333](https://github.com/xoseperez/espurna/issues/333))
  758. ## [1.11.3] 2018-01-02
  759. ### Fixed
  760. - Fix uninitialized PWM channels bug ([#356](https://github.com/xoseperez/espurna/issues/356))
  761. ### Added
  762. - Added memory analyzer
  763. ## [1.11.2] 2017-12-30
  764. ### Fixed
  765. - Fix my92xx and pwm references for Arduino IDE ([#346](https://github.com/xoseperez/espurna/issues/346))
  766. - Fix SHT3X I2C sensor magnitude count ([#337](https://github.com/xoseperez/espurna/issues/337))
  767. - Fix timing for DHT11 sensors ([#294](https://github.com/xoseperez/espurna/issues/294))
  768. - Fix overflow in relayParsePayload with long MQTT messages ([#344](https://github.com/xoseperez/espurna/issues/344))
  769. - Fix loading of Dallas and DHT sensors for Sonoff TH images ([#352](https://github.com/xoseperez/espurna/issues/352))
  770. - Subscribe to Domoticz MQTT topics only if Domotic< is enabled
  771. ### Added
  772. - Added option to change MQTT retain flag, QoS and keepalive time from webUI ([#321](https://github.com/xoseperez/espurna/issues/321))
  773. - Added LED modes "always off" and "always on" ([#348](https://github.com/xoseperez/espurna/issues/348))
  774. - Defined new ESPurna switch (no HLW8012 support & touch button ready)
  775. ### Changed
  776. - Stop requiring definition of boards in migrate module
  777. ## [1.11.1] 2017-12-29
  778. ### Fixed
  779. - Fixed relay status on reboot
  780. ### Added
  781. - Added support for Arilux AL-LC01 and AL-LC11
  782. - Added support for BH1750 luminosity sensor
  783. - Added automatic memory size identification in ota_flash script
  784. ## [1.11.0] 2017-12-28
  785. ### Fixed
  786. - Fixed Arduino IDE compilation issues ([#330](https://github.com/xoseperez/espurna/issues/330))
  787. - Fixed issues with IE
  788. - Fixed websocket auth issue with Safari (temporary)
  789. - Fixed MQTT group sync when different switches share same group
  790. - Fixed casting issue in buttonStore ([#327](https://github.com/xoseperez/espurna/issues/327))
  791. - Fixed crash in InfluxDB initial heartbeat ([#318](https://github.com/xoseperez/espurna/issues/318))
  792. - Fixed LED logic for ESPurna H08 board
  793. ### Added
  794. - New sensors module (major change)
  795. + Existing sensor have been migrated: EMON*, ECH1560, V9261F, HLW8012, DHT, DALLAS, ANALOG, DIGITAL and EVENTS
  796. + New sensor have bee added: BMP280/BME280, EMON over ADS1115, MHZ19, PMSX003 (thanks to Òscar Rovira), SHT3X over I2C and SI7021
  797. - Option to change boot and pulse modes per relay from the web UI
  798. - Option to select sensor read interval and report interval from web UI
  799. - Itead RF Bridge
  800. + Match MQTT RFOUT codes to relays
  801. + Force RFBridge to send messages even if switch is already in requested state ([#324](https://github.com/xoseperez/espurna/issues/324))
  802. + Implemented RFbridge message queue asynchronously
  803. - Added option to load config via HTTP POST & reset ([#335](https://github.com/xoseperez/espurna/issues/335))
  804. - Added option to define behaviour of the first LED between WIFI, MQTT, FIND-ME ([#317](https://github.com/xoseperez/espurna/issues/317))
  805. - Added HTML linter to gulp builder
  806. - Added Help command on terminal ([#338](https://github.com/xoseperez/espurna/issues/338))
  807. - Added preliminary support for SSDP (untested, disabled by default) ([#282](https://github.com/xoseperez/espurna/issues/282))
  808. - Reporting NTP datetime on MQTT heartbeat (thanks to Eldon R. Brown)
  809. - Added version tracking and migration code
  810. - I2C and GPIO locking features
  811. - Changed default button action for touch button devices (TOUCH and T1) ([#327](https://github.com/xoseperez/espurna/issues/327))
  812. - Generic 8 channel board ([#336](https://github.com/xoseperez/espurna/issues/336))
  813. ### Changed
  814. - Added more sensor data filters (Max, MobileAverage)
  815. - Changed max pulse time to 1h ([#316](https://github.com/xoseperez/espurna/issues/316))
  816. - Renamed "reset" to "reboot" for clarity ([#315](https://github.com/xoseperez/espurna/issues/315))
  817. - UI refactor
  818. - Change apiRegister signature
  819. ## [1.10.1] 2017-12-05
  820. ### Fixed
  821. - Fix Sonoff RFBridge learn message from web UI ([#287](https://github.com/xoseperez/espurna/issues/287))
  822. - Fix unstability in "one and just one" sync mode ([#290](https://github.com/xoseperez/espurna/issues/290))
  823. - Fix unnecessary inclusion of my92xx library ([#293](https://github.com/xoseperez/espurna/issues/293))
  824. - Limit the MQTT queue to 10 messages when "Use JSON payload" enabled ([#296](https://github.com/xoseperez/espurna/issues/296))
  825. - Fix Sonoff RFBridge OFF button toggling switch ([#303](https://github.com/xoseperez/espurna/issues/303))
  826. - Allow defining only ON or OFF codes in Sonoff RFBridge ([#304](https://github.com/xoseperez/espurna/issues/304))
  827. - Disabled terminal support for Sonoff Dual ([#310](https://github.com/xoseperez/espurna/issues/310))
  828. ### Added
  829. - Support for SI7021-based sensor by Itead Studio compatible with Sonoff TH ([#216](https://github.com/xoseperez/espurna/issues/216))
  830. - Support for Sonoff Dual R2 ([#286](https://github.com/xoseperez/espurna/issues/286))
  831. - MQTT group topics (sync two or more switches from different devices, [#300](https://github.com/xoseperez/espurna/issues/300))
  832. - Color transitions (enabled by default, can be disabled from web UI)
  833. - Option to disable MQTT support at build time
  834. ### Changed
  835. - Decreased PWM frequency for dimmer lights
  836. - Changed password policy ([#297](https://github.com/xoseperez/espurna/issues/297))
  837. ## [1.10.0] 2017-11-26
  838. ### Fixed
  839. - Temperatures with 1 decimal resolution
  840. - Issues with Sonoff B1 due to bad driver management (using my92xx library now)
  841. - Avoid recursive messages on Domoticz ([#272](https://github.com/xoseperez/espurna/issues/272))
  842. - Fixed Sonoff T1 configuration
  843. - Simplify and fix web auth ([#284](https://github.com/xoseperez/espurna/issues/284))
  844. - Fix Embedis custom parser
  845. ### Added
  846. - Added option to define a temperature correction factor (thanks to Pawel Raszewski)
  847. - Option to disable system check on build time
  848. - Power saving features (loopDelay and wifi sleep)
  849. - Added Sonoff TH build environment
  850. - Send Home Assistant auto discover messages on connect ([#279](https://github.com/xoseperez/espurna/issues/279))
  851. - Implemented Home Assistant availability topic ([#280](https://github.com/xoseperez/espurna/issues/280))
  852. - Update time, uptime and heap on webUI every heartbeat
  853. - Support for LLMNR and NetBIOS ([#282](https://github.com/xoseperez/espurna/issues/282))
  854. - Added I2C clean bus code
  855. - Added realm to auth challenge
  856. ### Changed
  857. - Changed default hostname to "ESPURNA_XXXXXX"
  858. - Binaries built against stable core (~40Kb less, [#274](https://github.com/xoseperez/espurna/issues/274))
  859. - Enabled TERMINAL_SUPPORT for Sonoff Dual (only available via TELNET)
  860. - Dinamically resize debug strings (now messages are not cropped)
  861. - MQTT: unsubscribe to '#' before subscribing
  862. - Updated ESPAsyncWebServer and ESPAsyncTCP libraries
  863. - Removed InfluxDB support by default
  864. - Using stock slider in webUI to reduce size
  865. - Unify DHT and DS18B20 code, show NOT CONNECTED on webUI
  866. ## [1.9.9] 2017-11-09
  867. ### Fixed
  868. - Fixed bug in MY9291-based light bulbs at full brightness
  869. ### Added
  870. - RFBridge: toggle when RF codes for ON and OFF are the same ([#270](https://github.com/xoseperez/espurna/issues/270))
  871. - Support for HSV color schema (MQTT, API and webUI via a selector)
  872. ### Changed
  873. - "COLOR" entry point deprecated, use "RGB" instead (MQTT and API, ex. topic "light/rgb/set" instead of "light/color/set")
  874. ## [1.9.8] 2017-11-08
  875. ### Fixed
  876. - Removed dimmer lights flicker when saving to EEPROM ([#191](https://github.com/xoseperez/espurna/issues/191))
  877. - Fixed low brightness in dimmer lights ([#157](https://github.com/xoseperez/espurna/issues/157))
  878. - Fixed blank fields in energy ([#258](https://github.com/xoseperez/espurna/issues/258), [#259](https://github.com/xoseperez/espurna/issues/259))
  879. - Fixed support for Arilux AL-LC06
  880. - Updated fauxmoESP library with support for GetBinaryState actions
  881. ### Added
  882. - Support for IR remotes
  883. - Option to select power read and report interval from webUI
  884. - Option to report real-time values in API, configurable via webUI
  885. - Support for ESPurna-H Board v0.8
  886. - Support for Arilux E27 light bulb (untested)
  887. - Support for YJZK 2-gang switch
  888. ### Changed
  889. - PWM using ESP8266_new_pwm by Stephan Bruens (https://github.com/StefanBruens/ESP8266_new_pwm)
  890. - Using own DHT implementation (removed dependency on Adafruit libraries)
  891. - Disabled serial debug for Sonoff RFBridge
  892. ## [1.9.7] 2017-10-25
  893. ### Fixed
  894. - Fix Alexa interface switching on all lights ([#256](https://github.com/xoseperez/espurna/issues/256))
  895. ## [1.9.6] 2017-10-23
  896. ### Fixed
  897. - Fix power report in Domoticz ([#236](https://github.com/xoseperez/espurna/issues/236))
  898. - Fix Sonoff POW in AP mode ([#241](https://github.com/xoseperez/espurna/issues/241))
  899. - Fix Home Automation auto-discovery (support for single relay switches and RGB lights, [#235](https://github.com/xoseperez/espurna/issues/235))
  900. - Check WS authentication only on start event
  901. ### Added
  902. - Support for 2.4.0 RC2 Arduino Core that fixes KRACK vulnerablity (pre-built images are compiled against this, [#242](https://github.com/xoseperez/espurna/issues/242))
  903. - Support for ManCaveMade ESPLive board (thanks to Michael A. Cox)
  904. - Support for InterMIT Tech QuinLED 2.6 (thanks to Colin Shorts)
  905. - Support for Magic Home LED Controller 2.0 (thanks to users @gimi87 and @soif, [#231](https://github.com/xoseperez/espurna/issues/231))
  906. - Support for Arilux AL-LC06 (thanks to Martijn Kruissen)
  907. - Support for Xenon SM-PW702U Wifi boards (thanks to Joshua Harden, [#212](https://github.com/xoseperez/espurna/issues/212))
  908. - Support for Authometion LYT8266 (testing, thanks to Joe Blellik, [#213](https://github.com/xoseperez/espurna/issues/213))
  909. - Support for an external button for D1 Mini boards (thanks to user @PieBru, [#239](https://github.com/xoseperez/espurna/issues/239))
  910. - Option to query relay status via MQTT or WS (thanks to Wesley Tuzza)
  911. - Automatically install dependencies for web interface builder (thanks to Hermann Kraus)
  912. - Support for HSV and IR for Magic Home LED Controller (optional, disabled by default, thanks to Wesley Tuzza)
  913. - Added option to report DS18B20 temperatures based on changes (thanks to Michael A. Cox)
  914. - Safer buffer handling for websocket data (thanks to Hermann Kraus & Björn Bergman)
  915. - Updates HL8012 library with energy counting support (thanks to Hermann Kraus)
  916. - Added option to disable light color persistence to avoid flickering ([#191](https://github.com/xoseperez/espurna/issues/191))
  917. - Option to enable TELNET in STA mode from web UI ([#203](https://github.com/xoseperez/espurna/issues/203))
  918. ### Changed
  919. - Changed default MQTT base topic to "{identifier}" (no leading slashes, [#208](https://github.com/xoseperez/espurna/issues/208))
  920. - Prevent reconnecting when in AP mode if a web session or a telnet session is active ([#244](https://github.com/xoseperez/espurna/issues/244))
  921. - Web UI checks for pending changes before reset/reconnect options ([#226](https://github.com/xoseperez/espurna/issues/226))
  922. - Increase WIFI connect timeout and reconnect interval
  923. ## [1.9.5] 2017-09-28
  924. ### Fixed
  925. - Revert to JustWifi 1.1.4 ([#228](https://github.com/xoseperez/espurna/issues/228))
  926. ## [1.9.4] 2017-09-22
  927. ### Added
  928. - Added ESPurna specific mDNS text registers (app_name, app_version, device_name)
  929. - Crash dump info is stored in EEPROM and retrieved via terminal ("crash" command)
  930. - Support for Huacanxing H802
  931. - Support for powermeters based on V9261F IC
  932. - Support for powermeters based on ECH1560 IC (beta, untested)
  933. ### Changed
  934. - Changed behaviour on MQTT connection failure ([#215](https://github.com/xoseperez/espurna/issues/215))
  935. - Removed boot delay
  936. - Refactor power modules
  937. - Updated JustWifi library
  938. ### Fixed
  939. - Set all esp8285 devices to use esp01_1m ([#210](https://github.com/xoseperez/espurna/issues/210), [#225](https://github.com/xoseperez/espurna/issues/225))
  940. - Removed wifi gain option since it prevents some devices to connect ([#204](https://github.com/xoseperez/espurna/issues/204))
  941. ## [1.9.3] 2017-09-04
  942. ### Added
  943. - New "erase.config" option in terminal to delete SDK settings
  944. - Added error code to error message when updating from web UI
  945. - Fixed Web UI to be behind a proxy (http://tinkerman.cat/secure-remote-access-to-your-iot-devices/)
  946. - Support "ON", "OFF" and "TOGGLE" (also lowercase) as payload in relay MQTT, API and WS (http://tinkerman.cat/using-google-assistant-control-your-esp8266-devices/)
  947. ### Changed
  948. - Updated fauxmoESP library to 2.2.0
  949. ### Fixed
  950. - Fix HLW8012 calibration ([#194](https://github.com/xoseperez/espurna/issues/194))
  951. - Fix telnet dropping connection
  952. - Fix WiFiSecureClient connection with PubSubClient ([#64](https://github.com/xoseperez/espurna/issues/64))
  953. ## [1.9.2] 2017-08-31
  954. ### Added
  955. - System stability check (turns off everything except WIFI AP, OTA and telnet if there is a boot crash loop) ([#196](https://github.com/xoseperez/espurna/issues/196))
  956. - Telnet support (enabled by default only on AP interface)
  957. - Option to set WiFi gain from web UI
  958. - Option to disable MQTT from web UI
  959. - MQTT autodiscover, with the option to autoconnect if no broker defined
  960. - Home Assistant MQTT autodiscover feature
  961. - List enabled modules in INIT debug info
  962. - Counter module (counts and reports transitions in a digital pin)
  963. ### Changed
  964. - Updated NoFUSS support
  965. - Web UI documentation changes
  966. - Changes in terminal commands ("reconnect" is now "reset.wifi", also new commands added)
  967. ### Fixed
  968. - Crash in settings saving ([#190](https://github.com/xoseperez/espurna/issues/190)) and fixed UDP debug conditional build clauses
  969. ## [1.9.1] 2017-08-27
  970. ### Added
  971. - Support to build without NTP support
  972. - Added current time, uptime, free heap, firmware size and free space to web interface
  973. ### Changed
  974. - Changed settings keys for Itead Sonoff RF Bridge
  975. - Disable Domoticz by default
  976. ### Fixed
  977. - Fixed build flags for DHT and DS18B20 in platformio.ini file
  978. - Fixed Itead Sonoff B1 by updating the my9291 library
  979. - Fixed light status on boot ([#157](https://github.com/xoseperez/espurna/issues/157))
  980. - Fixed CSS bug cause by a bad merge
  981. ## [1.9.0] 2017-08-25
  982. ### Added
  983. - Support for IteadStudio BN-SZ01 Ceiling Light ([#132](https://github.com/xoseperez/espurna/issues/132))
  984. - Support for IteadStudio Sonoff RF Bridge ([#173](https://github.com/xoseperez/espurna/issues/173))
  985. - Support for IteadStudio Sonoff 4CH Pro ([#174](https://github.com/xoseperez/espurna/issues/174))
  986. - Support for IteadStudio Sonoff B1
  987. - Support for IteadStudio Sonoff LED
  988. - Support for IteadStudio Sonoff T1 wall switches (1, 2 and 4 channels)
  989. - Support for WiOn 50055 WiFi Wall Outlet & Tap
  990. - Support for EXS WiFi Relay v3.1 (and other future latching relay boards) ([#152](https://github.com/xoseperez/espurna/issues/152))
  991. - TLS/SSL support for MQTT (caution: eats a lot of memory, do not use with web interface) ([#64](https://github.com/xoseperez/espurna/issues/64))
  992. - Add support for delayed ON/OFF switches ([#123](https://github.com/xoseperez/espurna/issues/123), [#161](https://github.com/xoseperez/espurna/issues/161), [#188](https://github.com/xoseperez/espurna/issues/188))
  993. - Added ON and OFF actions for button events (previously only TOGGLE available) ([#182](https://github.com/xoseperez/espurna/issues/182))
  994. - Sliders in web interface to control dimmer channels independently (also for brightness)
  995. - Debug info about MQTT disconnect reason
  996. ### Changed
  997. - MQTT setters ending with "/set" by default
  998. - Using DOUT flash mode on all devices ([#167](https://github.com/xoseperez/espurna/issues/167))
  999. - Longer timeout for WiFi connection (better chances for Sonoff Basic to connect)
  1000. - Changed MQTT topics for light devices (COLOR, BRIGHTNESS, MIRED, KELVIN, CHANNEL) ([#144](https://github.com/xoseperez/espurna/issues/144))
  1001. - Changed the way light devices are defined (see LIGHT_PROVIDER_DIMMER)
  1002. - Allow to disable color picker in web interface
  1003. - API returns processed values for HLW8012 sensor (not raw values anymore) ([#176](https://github.com/xoseperez/espurna/issues/176))
  1004. - Major refactoring of settings
  1005. ### Fixed
  1006. - Discard MQTT messages with empty payload ([#185](https://github.com/xoseperez/espurna/issues/185))
  1007. - Wifi connection issue (https://github.com/esp8266/Arduino/issues/2186)
  1008. - Alexa connection issue
  1009. ## [1.8.3] 2017-07-23
  1010. ### Added
  1011. - Issue [#85](https://github.com/xoseperez/espurna/issues/85) and [#90](https://github.com/xoseperez/espurna/issues/90). Option to report MQTT messages with JSON payloads
  1012. - Issue [#170](https://github.com/xoseperez/espurna/issues/170). Updated DebouceEvent library to allow disabling double click and get faster click responses
  1013. - Using memory layout with no SPIFFS for 1Mb devices
  1014. ### Changed
  1015. - Rename settings s/POW/HLW8012/
  1016. - Return times in ISO8601 format
  1017. ### Fixed
  1018. - Issue [#168](https://github.com/xoseperez/espurna/issues/168). Added H801 to arduino.h file
  1019. - Issue [#171](https://github.com/xoseperez/espurna/issues/171). Fix corrupted will message
  1020. ## [1.8.2] 2017-07-16
  1021. ### Added
  1022. - InfluxDB support via HTTP API
  1023. - Added custom reset reason to debug log
  1024. - Enable WIFI debug on hardware reset (button long click)
  1025. ### Changed
  1026. - Issue [#159](https://github.com/xoseperez/espurna/issues/159). Allow decimals in relay pulse interval
  1027. - Updated HLW8012 library
  1028. ### Fixed
  1029. - Issue [#148](https://github.com/xoseperez/espurna/issues/148). Fix bug in conditional compilation check
  1030. - Issue [#149](https://github.com/xoseperez/espurna/issues/149). Using different pulse counters for each relay (thanks to Lauris Ieviņš)
  1031. - Issue [#141](https://github.com/xoseperez/espurna/issues/141). Limit relay pulse interval to 60s
  1032. - Fixed units for apparent & reactive power (thanks to Lauris Ieviņš)
  1033. - Fixed mDNS setup when using custom HTTP port for web interface
  1034. ## [1.8.1] 2017-05-22
  1035. ### Fixed
  1036. - Issue [#140](https://github.com/xoseperez/espurna/issues/140). Fix no relay control bug in Sonoff Dual
  1037. ## [1.8.0] 2017-05-21
  1038. ### Added
  1039. - Added gamma correction to RGB strips. Thanks to Chris Ward.
  1040. - Added support for Huacanxing H801 WiFi LED Controller. Thanks to Minh Phuong Ly.
  1041. - Issue [#138](https://github.com/xoseperez/espurna/issues/138). Added NTP configuration from web interface
  1042. - Issue [#128](https://github.com/xoseperez/espurna/issues/128). Report color when booting and in heartbeat stream.
  1043. - Issue [#126](https://github.com/xoseperez/espurna/issues/126). Show NTP status in web interface.
  1044. - Added filter limits on POW readings.
  1045. - Added color temperature to RGB calculation. Thanks to Sacha Telgenhof.
  1046. - Issue [#120](https://github.com/xoseperez/espurna/issues/120). Added relay flood protection. Thanks to Izik Dubnov.
  1047. - Support for "#RRGGBB", "RRR,GGG,BBB" and "WWW" color formats.
  1048. - Issue [#117](https://github.com/xoseperez/espurna/issues/117). Added build date & time to web interface.
  1049. ### Fixed
  1050. - Fix MQTT_RELAY board conifugration. Thanks to Denis French.
  1051. - Issue [#125](https://github.com/xoseperez/espurna/issues/125). Fix bug in relay status reading from EEPROM
  1052. - Issue [#127](https://github.com/xoseperez/espurna/issues/127). Fix button action in DUAL.
  1053. - Fix bug in Sonoff POW current reading. Thanks to Emmanuel Tatto.
  1054. - Minimizing my9291 flickering when booting.
  1055. - Fix conditional flags in hardware.ino to support Arduino IDE.
  1056. ## [1.7.1] 2017-03-28
  1057. ### Fixed
  1058. - Issue [#113](https://github.com/xoseperez/espurna/issues/113). Fix restoring color from EEPROM upon reboot
  1059. - Issue [#113](https://github.com/xoseperez/espurna/issues/113). Fix bug in API handlers
  1060. ## [1.7.0] 2017-03-27
  1061. ### Added
  1062. - Web interface embedded in firmware image by default
  1063. - Upload firmware image from web interface
  1064. - Added API entry point to change light color
  1065. - Added generic analog sensor. Thanks to Francesco Boscarino
  1066. - Report RSSI value in debug console and MQTT status messages
  1067. - Added support for Magic Home LED Controller
  1068. - Added support for ESPurna-H Board (based on HLW8012)
  1069. - Added forward compatible code for v2.0
  1070. ### Changed
  1071. - Added ellipsis (...) in debug messages longer than 80 characters
  1072. - Changed topic constants in code
  1073. - Prevent the SDK from saving WiFi configuration to flash
  1074. ### Fixed
  1075. - Issue [#113](https://github.com/xoseperez/espurna/issues/113). Fix light bulb state to OFF in library prevented the bulb from turning on
  1076. - Issue [#58](https://github.com/xoseperez/espurna/issues/58). Added code to handle spurious readings
  1077. - Fix bug in HLW8012 calibration current parameter casting to int instead of float
  1078. - Issue [#115](https://github.com/xoseperez/espurna/issues/115). Removed local declaration of _mqttForward variable. Thanks to Paweł Fiedor
  1079. - Fix MQTT will topic. Thanks to Asbjorn Tronhus
  1080. ## [1.6.9] 2017-03-12
  1081. ### Added
  1082. - Two stage read for DS18B20 devices. Thanks to Izik Dubnov.
  1083. - Option to report the relay status via MQTT periodically
  1084. - Terminal commands to change relay status an light color
  1085. - Added debug via UDP (disabled by default)
  1086. - Moved debug strings to PROGMEM. ~1.5KByes memory freed
  1087. - Avoid broadcasting websocket messages if no clients connected
  1088. ### Fixed
  1089. - Fixing use after free bug that leads to corrupted auth credentials. Thanks to David Guillen
  1090. ## [1.6.8] 2017-03-01
  1091. ### Added
  1092. - Issue [#85](https://github.com/xoseperez/espurna/issues/85). Heartbeat reports now free heap, uptime and VCC every 5 minutes
  1093. ### Changed
  1094. - Wait two minutes instead of one in AP mode before trying to reconnect to the router
  1095. - Issue [#92](https://github.com/xoseperez/espurna/issues/92). Debug log enabled by default in Arduino IDE
  1096. - Issue [#91](https://github.com/xoseperez/espurna/issues/91). Using AsyncMqttClient as default MQTT client again
  1097. ### Fixed
  1098. - Report data from all sensors via websocket even if no MQTT connection
  1099. - Issue [#92](https://github.com/xoseperez/espurna/issues/92). Fix unknown reference in Arduino IDE
  1100. - Split data.h contents into 1k lines, otherwise Arduino IDE chokes on them
  1101. - Discard empty MQTT topic while subscribing
  1102. ## [1.6.7] 2017-02-25
  1103. ### Added
  1104. - Support for OpenLight / AI-Light by AI-Thinker based on MY9291 LED driver
  1105. - Issue [#87](https://github.com/xoseperez/espurna/issues/87). Factory reset when physical button pressed for >10 seconds
  1106. ## [1.6.6] 2017-02-23
  1107. ### Fixed
  1108. - Issue [#82](https://github.com/xoseperez/espurna/issues/82). Fix critical bug on Sonoff Dual
  1109. ## [1.6.5] 2017-02-22
  1110. ### Added
  1111. - Option to backup and restore settings from the web interface
  1112. - Footer in the web interface
  1113. ### Changed
  1114. - Using PubSubClient as MQTT client by default (please read the documentation)
  1115. - Double & long clicks do nothing except for the first defined button
  1116. ### Fixed
  1117. - Issue [#79](https://github.com/xoseperez/espurna/issues/79). Fix bug in WiFi led notification & MQTT connectivity (using PubSubClient)
  1118. - Issue [#73](https://github.com/xoseperez/espurna/issues/73). Fix bug when building without Domoticz support
  1119. - Fix Gulp tasks dependencies
  1120. ## [1.6.4] 2017-02-20
  1121. ### Added
  1122. - Option to embed the web interface in the firmware, disabled by default
  1123. - Change relay status with a GET request (browser friendly)
  1124. - Support for PROGMEM debug messages (only wifi module has been changed)
  1125. - Option to disable mDNS, enabled by default
  1126. - Show current web server port in debug log
  1127. - Issue [#75](https://github.com/xoseperez/espurna/issues/75). Link relays to LEDs
  1128. - Issue [#76](https://github.com/xoseperez/espurna/issues/76). Using http://espurna.local when in AP mode
  1129. ### Changed
  1130. - Images and favicon is now embedded in the HTML
  1131. - Authentication challenge only in /auth request. All static contents are un-authenticated
  1132. - HTTP response code when out of websocket slots changed from 423 to 429
  1133. ### Fixed
  1134. - Memory leak in MQTT connection method
  1135. - Wait 60 seconds before retrying to connect when in AP mode
  1136. - Issue [#24](https://github.com/xoseperez/espurna/issues/24) & [#74](https://github.com/xoseperez/espurna/issues/74). Update ESPAsyncTCP and ESPAsyncWebServer to latest GIT version that supports MSS defragmenting
  1137. - Issue [#73](https://github.com/xoseperez/espurna/issues/73). Fixes for windows machines
  1138. ### Removed
  1139. - Captive portal removed, mDNS resolution for AP mode too
  1140. ## [1.6.3] 2017-02-15
  1141. ### Added
  1142. - Issue [#69](https://github.com/xoseperez/espurna/issues/69). Temperature unit configuration from the web interface
  1143. - Issue [#55](https://github.com/xoseperez/espurna/issues/55). WebServer port configurable from the web interface, defaults to 80
  1144. - Expand network configuration when adding a new network
  1145. ### Changed
  1146. - Merged web contents except images in a single compressed file for reliability
  1147. - Update support for Itead Motor Clockwise/Anticlockwise board
  1148. - Scan for strongest network only if more than 1 network configured
  1149. ### Fixed
  1150. - Issue [#71](https://github.com/xoseperez/espurna/issues/71). Added default values for netmask and DNS in web configuration
  1151. - Fixed Itead 1CH self-locking/inching board definition
  1152. - Fixed PlatformIO environments for ESP8285 boards (4CH and Touch)
  1153. ## [1.6.2] 2017-02-10
  1154. ### Fixed
  1155. - Check if there is an MQTT broker defined before the MQTT_MAX_TRIES check
  1156. ## [1.6.1] 2017-02-10
  1157. ### Added
  1158. - Added support for [Jorge Garcia's Wifi+Relay Board Kit](https://www.tindie.com/products/jorgegarciadev/wifi--relays-board-kit/)
  1159. - Reporting current and energy incrementals to a separate counters in Domoticz (thanks to Toni Arte)
  1160. - Force WiFi reconnect after MQTT_MAX_TRIES fails trying to connect to MQTT broker
  1161. ## [1.6.0] 2017-02-05
  1162. ### Added
  1163. - Added support for toggle switches
  1164. - Allow reset the board via an MQTT message
  1165. - Allow reset the board via an RPC (HTTP) message
  1166. - Added support for ADC121 I2C for current monitoring (Check [http://tinkerman.cat/power-monitoring-sonoff-th-adc121/](http://tinkerman.cat/power-monitoring-sonoff-th-adc121/))
  1167. - Reporting voltage to Domoticz (only HLW8012)
  1168. - Map button events to actions (toggle relay, AP mode, reset, pulse mode)
  1169. ### Changed
  1170. - Reporting energy incrementals (Domoticz, MQTT)
  1171. ### Removed
  1172. - Removed current monitor bypass when relay is OFF
  1173. - Removed energy API entry point
  1174. ## [1.5.4] 2017-02-03
  1175. ### Fixed
  1176. - Issue [#50](https://github.com/xoseperez/espurna/issues/50). Fix type bug in window variable when calculating energy for HLW8012 devices (Sonoff POW)
  1177. ## [1.5.3] 2017-02-02
  1178. ### Fixed
  1179. - Issue [#50](https://github.com/xoseperez/espurna/issues/50) and [#54](https://github.com/xoseperez/espurna/issues/54). Fixed domoticz MQTT message format
  1180. ### Added
  1181. - Energy calculation and aggregation. API entry points and MQTT messages.
  1182. ## [1.5.2] 2017-01-29
  1183. ### Fixed
  1184. - Fix bug in emon topic payload
  1185. ## [1.5.1] 2017-01-28
  1186. ### Added
  1187. - OpenEnergyMonitor WiFi MQTT Relay / Thermostat support (thanks to Denis French)
  1188. ### Fixed
  1189. - NTP connection refresh upon wifi connection
  1190. - Filesystem image build using local gulp installation
  1191. ## [1.5.0] 2017-01-21
  1192. ### Added
  1193. - Pulse mode. Allows to define a pulse time after which the relay will switch back
  1194. - API entry points for sensor data (power, current, voltage, temperature and humidity)
  1195. - Export sensor data to Domoticz (power, current, voltage, temperature and humidity)
  1196. - Configurable (in code) mapping between buttons and relays
  1197. - MQTT messages for button events
  1198. - Added support for Itead Studio 1CH inching/self locking smart switch board
  1199. - Added support for Jan Goedeke Wifi Relay boards (both NC and NO versions)
  1200. - Notify OTA updates to websocket clients, automatically reload page
  1201. - Support for pulse mode notification LED and button
  1202. - Revert relay state mode on boot (thanks to Minh Phuong Ly)
  1203. ### Fixed
  1204. - MQTT will topic
  1205. - Crash with HLW812 interrupts while trying to create a WIFI connection
  1206. - Issue [#20](https://github.com/xoseperez/espurna/issues/20) Better inline documentation for Alexa and Domoticz default settings
  1207. - Issue [#39](https://github.com/xoseperez/espurna/issues/39) Fixed autoconnect issue with static IP (fixed in JustWifi library)
  1208. - Issue [#41](https://github.com/xoseperez/espurna/issues/41) Added password requirements to initial password change page
  1209. ### Changed
  1210. - Changed LED pattern for WIFI notifications (shorter pulses)
  1211. ## [1.4.4] 2017-01-13
  1212. ### Added
  1213. - Adding current, voltage, apparent and reactive power reports to Sonoff POW (Web & MQTT)
  1214. ### Fixed
  1215. - Issue [#35](https://github.com/xoseperez/espurna/issues/35) Fixed frequent MQTT connection drops after WIFI reconnect
  1216. - Defer wifi disconnection from web interface to allow request to return
  1217. ### Changed
  1218. - Move all Arduino IDE configuration values to their own file
  1219. - Using latest HLW8012 library in interrupt mode
  1220. ## [1.4.3] 2017-01-11
  1221. ### Fixed
  1222. - Issue [#6](https://github.com/xoseperez/espurna/issues/6) Using forked Time library to prevent conflict with Arduino Core for ESP8266 time.h file in windows machines
  1223. ## [1.4.2] 2017-01-09
  1224. ### Added
  1225. - Support for inverse logic relays
  1226. ### Fixed
  1227. - Issue [#31](https://github.com/xoseperez/espurna/issues/31). Fixed error in relay identification from MQTT messages
  1228. ## [1.4.1] 2017-01-05
  1229. ### Added
  1230. - Alexa support by default on all devices
  1231. - Added support for Wemos D1 Mini board with official Relay Shield
  1232. ### Fixed
  1233. - Multi-packet websocket frames
  1234. ## [1.4.0] 2016-12-31
  1235. ### Added
  1236. - Domoticz support via MQTT (https://www.domoticz.com/wiki/MQTT)
  1237. - Support for static IP connections
  1238. ### Fixed
  1239. - Issue [#16](https://github.com/xoseperez/espurna/issues/16). Enforce minimum password strength in web interface
  1240. ### Changed
  1241. - Using default client_id provided by AsyncMqttClient
  1242. - Allow up to 5 different WIFI networks
  1243. ### Removed
  1244. - File system version file
  1245. ## [1.3.1] 2016-12-31
  1246. ### Fixed
  1247. - data_dir fix for PlatformIO
  1248. ## [1.3.0] 2016-12-30
  1249. ### Changed
  1250. - Arduino IDE support (changes in the folder structure and documentation)
  1251. ## [1.2.0] 2016-12-27
  1252. ### Added
  1253. - Force password changing if it's the default one
  1254. - Added Last-Modified header to static contents
  1255. - Added DNS captive portal for AP mode
  1256. - Added support for Sonoff 4CH
  1257. - Added support for WorkChoice ecoPlug (ECOPLUG). Thanks to David Myers
  1258. - Added support for Sonoff SV
  1259. - Added support for Sonoff Touch
  1260. - Comment out hardware selection in hardware.h if using Arduino IDE
  1261. - Added support for MQTT get/set suffixes (/status, /set, ...)
  1262. - Added support for LED notifications via MQTT
  1263. - Added EEPROM check commands to terminal interface
  1264. ### Changed
  1265. - Using unreleased AsyncMqttClient with stability improvements
  1266. - Better decoupling between MQTT and relays/websockets
  1267. - Skipping retained MQTT messages (configurable)
  1268. ### Fixed
  1269. - Issue [#11](https://github.com/xoseperez/espurna/issues/11) Compile error when building sonoff-dual-debug
  1270. - Issue [#14](https://github.com/xoseperez/espurna/issues/14) MQTT Connection with Username an Password not working
  1271. - Issue [#17](https://github.com/xoseperez/espurna/issues/17) Moved static variable 'pending' to class variable
  1272. ## [1.1.0] 2016-12-06
  1273. ### Added
  1274. - Added support for DS18B20 temperature sensor. Thanks to Francesco Boscarino
  1275. - Added reset command from console
  1276. - Added support for multirelay boards like Sonoff DUAL or Electrodragon ESP Relay Board
  1277. ### Changed
  1278. - Not using espressif8266_stage in default environment
  1279. - Relay MQTT topics
  1280. - API entry points
  1281. ### Removed
  1282. - Old non protected API
  1283. ## [1.0.3] 2016-11-29
  1284. ### Added
  1285. - WeMo emulation through the fauxmoESP library (control your switch from Alexa!)
  1286. - REST API for relay management
  1287. - Better dependency definitions in platformio.ini
  1288. - Option to define inverse logic to on-board LED
  1289. - Built data folder included in repo
  1290. ### Changed
  1291. - Using non-interrupt driven mode for HLW8012
  1292. - Better documentation
  1293. - Small changes to web interface
  1294. - Same admin password for web, OTA and WIFI AP mode
  1295. ### Fixed
  1296. - Prevent fauxmoESP to be compiled by default
  1297. ### Removed
  1298. - Removed ESPurna board to its own repo
  1299. ## [1.0.1] 2016-11-13
  1300. ### Added
  1301. - Basic authentication and CSRF to websocket requests
  1302. ## [1.0.0] 2016-11-13
  1303. ### Added
  1304. - Using ESPAsyncWebServer (for web & websockets) and AsyncMqttClient
  1305. ## [0.9.9] 2016-11-12
  1306. ### Added
  1307. - Preliminary support for Sonoff POW
  1308. - Replace AJAX requests with websockets
  1309. - Using sprites for images
  1310. - Hostname can be changed
  1311. - Added initial relay state mode
  1312. - Reconnect and reset buttons on web interface
  1313. ### Changed
  1314. - Changed long click to reset and double click to AP mode
  1315. - Using officially supported platformio.ini file by default
  1316. ### Fixed
  1317. - Removed unnecessary memory inefficient code
  1318. - Temprary fix for Adafruit DHT library (see https://github.com/adafruit/DHT-sensor-library/issues/62)
  1319. ## [0.9.8] 2016-10-06
  1320. ### Added
  1321. - Using PureCMS for the web interface
  1322. - Using gulp to build the filesystem files
  1323. - Using Embedis for configuration
  1324. ### Changed
  1325. - Updated JustWifi library
  1326. - Web interface changes
  1327. - Using custom platformio.ini file
  1328. - Loads of changes in modules
  1329. - Added DEBUG_MSG
  1330. ### Fixed
  1331. - Clean gulp builder script
  1332. ## [0.9.7] 2016-08-28
  1333. ### Changed
  1334. - Moving wifi management to library (JustWifi)
  1335. - Split code into modules
  1336. ## [0.9.6] 2016-08-12
  1337. ### Added
  1338. - Added heartbeat, version and fsversion MQTT messages
  1339. ### Changed
  1340. - GZip 3rd party contents
  1341. ## [0.9.5] 2016-07-31
  1342. - Initial stable version