Mirror of espurna firmware for wireless switches and more
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.

1737 lines
115 KiB

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