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

1084 lines
55 KiB

8 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
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
  1. # ESPurna change log
  2. The format is based on [Keep a Changelog](http://keepachangelog.com/)
  3. and this project adheres to [Semantic Versioning](http://semver.org/).
  4. ## [1.13.2] 2018-08-27
  5. ### Fixed
  6. - Fix relay overflow window length
  7. - Fix TravisCI release condition (thanks to @mcspr, [#1042](https://github.com/xoseperez/espurna/issues/1042))
  8. - Fix Sonoff RFBridge build in Arduino IDE ([#1043](https://github.com/xoseperez/espurna/issues/1043))
  9. - Using corrent path separator in gulpfile.js (thanks to @InduPrakash, [#1045](https://github.com/xoseperez/espurna/issues/1045))
  10. - Fix KMC70011 LED logic (thanks to @zerog2k, [#1056](https://github.com/xoseperez/espurna/issues/1056))
  11. - 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))
  12. - Fix switches in Microsoft Edge (thanks to @Valcob, [#1066](https://github.com/xoseperez/espurna/issues/1066))
  13. - Fix build.sh error handling (thanks to @mcspr, [#1075](https://github.com/xoseperez/espurna/issues/1075))
  14. - Correctly init Serial on RELAY_PROVIDER_STM ([#1130](https://github.com/xoseperez/espurna/issues/1130))
  15. - Disconnect before running WPS and SmartConfig discovery ([#1146](https://github.com/xoseperez/espurna/issues/1146))
  16. - Fix sort fields in OTA manager
  17. ### Added
  18. - Support for YJZK 1Ch and 3CH switches (thanks to @CollinShorts and @q32103940, [#1047](https://github.com/xoseperez/espurna/issues/1047))
  19. - Support for AG-L4 color desk lamp (thanks to @zerog2k, [#1050](https://github.com/xoseperez/espurna/issues/1050))
  20. - Option to cofigure ON/OFF payload at build time ([#1085](https://github.com/xoseperez/espurna/issues/1085))
  21. - Option to change default payload for HA ([#1085](https://github.com/xoseperez/espurna/issues/1085))
  22. - Support for Allterco Shelly1 (thanks to @abmantis, [#1128](https://github.com/xoseperez/espurna/issues/1128))
  23. - Support for HomeCube 16A (thanks to @hyteoo, [#1106](https://github.com/xoseperez/espurna/issues/1106))
  24. - Support for multiple sonar sensors (thanks to @ruimarinho, [#1116](https://github.com/xoseperez/espurna/issues/1116))
  25. - Support for hardware serial on PMSX003 device (thanks to @ruimarinho, [#1122](https://github.com/xoseperez/espurna/issues/1122))
  26. - Support for Lohas 9W bulbs (thanks to @steveway, [#1135](https://github.com/xoseperez/espurna/issues/1135))
  27. - Show literal for webUI image in info ([#1142](https://github.com/xoseperez/espurna/issues/1142))
  28. - Add RFBRIDGE code to full webUI image ([#1157](https://github.com/xoseperez/espurna/issues/1157))
  29. - Handle events in EventSensor
  30. - Option to remove API_SUPPORT at build time
  31. - Option to save total energy in EEPROM after X reports, disabled by default
  32. - Support for DHT12 sensor (thanks to Altan Altay)
  33. - Support for 2MB flash boards
  34. ### Changed
  35. - Update PlatformIO support to 3.6.X branch
  36. - Explicitly disable ATC on RFM69 gateway ([#938](https://github.com/xoseperez/espurna/issues/938))
  37. - Reduce memory footprint of API calls ([#1133](https://github.com/xoseperez/espurna/issues/1133))
  38. - Init relay GPIO when in inverse mode to be OFF ([#1078](https://github.com/xoseperez/espurna/issues/1078))
  39. ## [1.13.1] 2018-07-10
  40. ### Fixed
  41. - Build issues with Arduino IDE ([#975](https://github.com/xoseperez/espurna/issues/975))
  42. - Right web interface image for with RF Bridge
  43. - Full web interface image if light and sensor together ([#981](https://github.com/xoseperez/espurna/issues/981))
  44. - Some devices still not using DOUT flash mode
  45. - Crash on loading malformed configuration file
  46. - Mismatch between memory size and layout size for some boards (this might require reflashing)
  47. - Wrong settings report after factory reset
  48. - Memory leak in JustWifi library
  49. - New buttons not rendering right in Safari ([#1028](https://github.com/xoseperez/espurna/issues/1028))
  50. ### Added
  51. - Support for RFM69GW board (see http://tinkerman.cat/rfm69-wifi-gateway/)
  52. - Support for Sonoff IFAN02
  53. - Support for NTC sensors ([#1001](https://github.com/xoseperez/espurna/issues/1001))
  54. - Support for single-pin latched relays ([#1039](https://github.com/xoseperez/espurna/issues/1039))
  55. - Check binary flash mode in web upgrade
  56. - Sampling to AnalogSensor
  57. - Parallel builds in Travis (thanks to @lobradov)
  58. ### Changed
  59. - Reworked platformio.ini, build.sh files (thanks to @gn0st1c and @mcspr)
  60. ## [1.13.0] 2018-06-22
  61. ### Fixed
  62. - Fixed PZEM004T compilation issues, working when using hardware serial ([#837](https://github.com/xoseperez/espurna/issues/837))
  63. - Fixed per channel state on/off for lights ([#830](https://github.com/xoseperez/espurna/issues/830))
  64. - Fixed overflow in CSE7766 energy calculation ([#856](https://github.com/xoseperez/espurna/issues/856))
  65. - Fixed On MQTT disconnect in web UI ([#845](https://github.com/xoseperez/espurna/issues/845))
  66. - Check valid hostnames ([#874](https://github.com/xoseperez/espurna/issues/874), [#879](https://github.com/xoseperez/espurna/issues/879))
  67. - Fix Sonoff POW R2 configuration
  68. - Fixed InfluxDB sensor by id ([#882](https://github.com/xoseperez/espurna/issues/882))
  69. - Fix build when disabling WEB_SUPPORT ([#923](https://github.com/xoseperez/espurna/issues/923))
  70. - Fix calibration error in EmonSensor ([#876](https://github.com/xoseperez/espurna/issues/876))
  71. - Fix telnet and web debug responsiveness ([#896](https://github.com/xoseperez/espurna/issues/896))
  72. - Use double quotes in JSON for non-numeric values ([#929](https://github.com/xoseperez/espurna/issues/929))
  73. - Support connections over HTTPS via proxy ([#937](https://github.com/xoseperez/espurna/issues/937))
  74. ### Added
  75. - EEPROM sector rotation using EEPROM_Rotate library
  76. - Code filtering when building web UI images
  77. - 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))
  78. - Support for WPS (not available in pre-built binaries)
  79. - Support for Smart Config (not available in pre-built binaries)
  80. - Support for CCT lights (thanks to @Skaronator)
  81. - Allow RELAYx_DELAY_ON/OFF also for none GPIO relay types (thanks to @zafrirron)
  82. - Added relay status to Domoticz on MQTT connection ([#872](https://github.com/xoseperez/espurna/issues/872))
  83. - Added configurable UART-to-MQTT terminator
  84. - Added telnet link to web UI
  85. - Reload terminal command to force all modules to reload settings from config ([#816](https://github.com/xoseperez/espurna/issues/816))
  86. - Added security headers to each HTTP response (thanks to @ITNerdBox)
  87. - Customized GET terminal command (thanks to @mcspr)
  88. - More RC codes supported on TX for RF Bridge (thanks to @wildwiz)
  89. - Support for BL0937 power monitoring chip with unmodified HLW8012 library ([#737](https://github.com/xoseperez/espurna/issues/737))
  90. - Enable CORS
  91. - Support for Allnet ESP8266 UP Relay (thanks to @bajo)
  92. - Support for Tonbux Mosquito Killer (thanks to @gn0st1c)
  93. - Support for Neo Coolcam NAS-WR01W WiFi Smart Power Plug
  94. - Support for TYWE3S-based Estink WiFi Power Strip (thanks to @sandman, [#852](https://github.com/xoseperez/espurna/issues/852))
  95. - Support for Pilotak ESP DIN V1
  96. - Support for DIY Geiger counter (thanks to @Trickx)
  97. - Support for HomeCube / Blitzwolf BW-SHP2
  98. * Support for Vanzavanzu Smart Wifi Plug Mini
  99. - Support for Bruno Horta's OnOfre board
  100. ### Changed
  101. - Updated PlatformIO to use Core 3.5.3
  102. - Updated to JustWifi 2.0
  103. - CSS optimizations ([#870](https://github.com/xoseperez/espurna/issues/870), [#871](https://github.com/xoseperez/espurna/issues/871))
  104. - Several changes in OTA Manager
  105. - Better memory layout info
  106. - MQTT keep alive time increased to 300s
  107. - Using ticket-based authentication for WS
  108. - Refactor module and sensor listings ([#896](https://github.com/xoseperez/espurna/issues/896))
  109. - Using alternative math methods to save ~8Kb with lights
  110. - Simpligying mired/kelvin methods
  111. - Changed web UI checkboxes with pure CSS versions
  112. ### Deprecated
  113. - {identifier} place-holder in MQTT base topic
  114. ## [1.12.6] 2018-05-02
  115. ### Fixed
  116. - Check NTP_SUPPORT for sensors (thanks to @mcspr)
  117. - Fix AM2302 sensor
  118. - Fix hostname truncated to 20 chars when advertised to DHCP ([#774](https://github.com/xoseperez/espurna/issues/774))
  119. - Decouple Serial object from Terminal, Debug modules ([#787](https://github.com/xoseperez/espurna/issues/787))
  120. - Fix Arilux LC-01 definitions ([#797](https://github.com/xoseperez/espurna/issues/797))
  121. - Do not uppercase hostname in web interface ([#799](https://github.com/xoseperez/espurna/issues/799))
  122. - Ensure scheduler has access to all channels independently of the color mode ([#807](https://github.com/xoseperez/espurna/issues/807))
  123. ### Added
  124. - Support for IteadStudio Sonoff S31 ([#497](https://github.com/xoseperez/espurna/issues/497))
  125. - Option to ignore daylight saving in scheduler ([#783](https://github.com/xoseperez/espurna/issues/783))
  126. - Report last energy reset datetime in web interface ([#784](https://github.com/xoseperez/espurna/issues/784))
  127. - Added captive portal in AP mode
  128. - Support for IR toggle mode (thanks to @darshkpatel)
  129. - Support for IteadStudio Sonoff POW R2 (thanks to @ColinShorts)
  130. - Support for Luani HVIO (thanks to @wildwiz)
  131. - Support for Zhilde ZLD-EU55-W power strip (thanks to @wildwiz)
  132. - Support for RFB_DIRECT Sonoff Bridge EFM8BB1 bypass hack (thanks to @wildwiz)
  133. - Support for SenseAir S8 CO2 sensor (thanks to @Yonsm)
  134. - Support for PMS5003T/ST sensors (thanks to @Yonsm)
  135. ### Changed
  136. - Updated JustWifi Library
  137. - Some cleanup in the web interface
  138. - Refactored configuration files (thanks to @lobradov, @mcspr)
  139. - Changes pre-commit hook (thanks to @mcspr)
  140. ## [1.12.5] 2018-04-08
  141. ### Fixed
  142. - Fixed expected power calibration ([#676](https://github.com/xoseperez/espurna/issues/676))
  143. - Do not show empty time strings ([#691](https://github.com/xoseperez/espurna/issues/691), thanks to @PieBru)
  144. - Fix load average calculation when system check is disabled ([#707](https://github.com/xoseperez/espurna/issues/707))
  145. - Fixed unstability issues with NtpClientLib using temporary fork ([#743](https://github.com/xoseperez/espurna/issues/743))
  146. - Fixed typos in homeassistant module (thanks to @Cabalist)
  147. - Fixed default HLW8012 calibration for KMC devices (thanks to @gn0st1c)
  148. - Fix MQTT query request
  149. - Fix scheduler debug message
  150. - Fix NTP offset value
  151. ### Added
  152. - Option to change NTP timeout via compile-time setting ([#452](https://github.com/xoseperez/espurna/issues/452))
  153. - Added humidity correction to web UI ([#626](https://github.com/xoseperez/espurna/issues/626), tahnks to @ManuelW77)
  154. - Added support for USA DST calculation ([#664](https://github.com/xoseperez/espurna/issues/664))
  155. - Option to reset energy count ([#671](https://github.com/xoseperez/espurna/issues/671))
  156. - Added Sonoff SV prebuild image ([#698](https://github.com/xoseperez/espurna/issues/698), thanks to @akasma74)
  157. - Check and remove unused config keys ([#730](https://github.com/xoseperez/espurna/issues/730))
  158. - Visual Studio metadata files added to .gitignore ([#731](https://github.com/xoseperez/espurna/issues/731), thanks to @gn0st1c)
  159. - Added default MQTT and SSL settings to web UI ([#732](https://github.com/xoseperez/espurna/issues/732), thanks to @mcspr)
  160. - Added option to the web UI to set the light transition length in milliseconds ([#739](https://github.com/xoseperez/espurna/issues/739))
  161. - Improved testing with Travis (thanks to @lobradov)
  162. - Change dimmers using schedule (thanks to @wysiwyng)
  163. - Debug console in web UI (thanks to @lobradov), including command execution
  164. - Option to reset relays in MQTT disconection (thanks to @a-tom-s)
  165. - Option to disable system check from custom header (thanks to @phuonglm)
  166. - Added "board" topic to the heartbeat messages (thanks to @mcspr)
  167. - Added methods to create hierarchical MQTT JSON responses
  168. - Added RESET.SAFE command to reboot into safe mode
  169. - Added SDK and Core versions to the web UI
  170. - Added revision to web UI (only when built from build.sh)
  171. - Support for OBI Powerplug Adapter ([#622](https://github.com/xoseperez/espurna/issues/622), thanks to @Geitde)
  172. - Support for Tunbox Powerstrip02 (thanks to @gn0st1c)
  173. - Support for Lingan SWA1 (thanks to @gn0st1c)
  174. - Support for Heygo HY02 (thanks to @gn0st1c)
  175. - Support for Maxcio WUS0025 (thanks to @gn0st1c)
  176. - Support for Yidian XSSSA05 SWA1 (thanks to @gn0st1c)
  177. - Support for ArnieX Swifitch (thanks to @LubergAlexander)
  178. - Support for IKE ESPIKE board
  179. - Support for AM2320 sensors via I2C (thanks to @gn0st1c)
  180. - Support for GUVAS12SD sensor (thanks to @gn0st1c)
  181. ### Changed
  182. - Removed hostname size limit ([#576](https://github.com/xoseperez/espurna/issues/576), [#659](https://github.com/xoseperez/espurna/issues/659))
  183. - Reworked RGBW implementation (thanks to @Skaronator)
  184. - Several web UI layout changes (thanks to @lobradov & @mcspr)
  185. - Button MQTT messages will not have the retain flag (thanks to @lobradov)
  186. - Remove unnecessary code from boot log (thanks to @gn0st1c)
  187. - Updated logo and favicon, added gitter channel
  188. - Force reporting power values as 0 if relay is off
  189. - Using gulp-crass for CSS minification
  190. - Using WIFI_NONE_SLEEP by default
  191. ## [1.12.4] 2018-03-05
  192. ### Fixed
  193. - Adding a 1ms delay after UDP send to avoid loosing packets ([#438](https://github.com/xoseperez/espurna/issues/438))
  194. - Fixed void return in BMX280 sensor ([#489](https://github.com/xoseperez/espurna/issues/489))
  195. - Fix MQTT keep alive cannot be more than 255 seconds ([#515](https://github.com/xoseperez/espurna/issues/515))
  196. - Do not show scheduler tab in Web UI if build without scheduler support ([#527](https://github.com/xoseperez/espurna/issues/527))
  197. - Fix inline documentation for Sonoff 4CH Pro button modes ([#551](https://github.com/xoseperez/espurna/issues/551))
  198. - Prevent resending messages from rfin in RF Bridge ([#561](https://github.com/xoseperez/espurna/issues/561))
  199. - Fix AnalogSensor description ([#601](https://github.com/xoseperez/espurna/issues/601))
  200. - Fixed missing setting in HASS WS callback (thanks to @mcspr)
  201. - ECH1560 call sync from tick method
  202. - Fixed several issues reported by codacy
  203. ### Added
  204. - UART to MQTT module (thanks to Albert Weterings, [#529](https://github.com/xoseperez/espurna/issues/529))
  205. - Added option to show HASS configuration code in ESPurna web UI ([#616](https://github.com/xoseperez/espurna/issues/616))
  206. - OTA upgrade via terminal (using 'ota' command, with SSL support)
  207. - Added I2C scan and clear commands to terminal (only when I2C enabled)
  208. - Added new relay & wifi led mode ([#604](https://github.com/xoseperez/espurna/issues/604))
  209. - Option to enable/disable web auth from web UI
  210. - Added "Reset to factory settings" in web UI (thanks to Teo Pavel, [#569](https://github.com/xoseperez/espurna/issues/569))
  211. - Added {magnitude} placeholder to MQTT root topic
  212. - Option to report energy in kWh and power in kW ([#523](https://github.com/xoseperez/espurna/issues/523))
  213. - Check upgrade file size and signature in web UI
  214. - Automatically dump info on telnet connection if TERMINAL_SUPPORT is disabled
  215. - Two different ESPURNA_CORE images for 1MB and 4MB boards, freeing GPIOs ([#557](https://github.com/xoseperez/espurna/issues/557))
  216. - Initial support for PZEM004T sensor (still beta)
  217. - Support for STM_RELAY board (thanks to Maciej Czerniak)
  218. - Support for KMC 70011 energy monitor (thanks to Wayne Manion, [#598](https://github.com/xoseperez/espurna/issues/598))
  219. - Support for Wifi Stecker Shuko device (thanks to @Geitde, [#622](https://github.com/xoseperez/espurna/issues/622))
  220. - Support for GizWits Witty Cloud device (thanks to Theonedemon)
  221. ### Changed
  222. - BMX280 changes to allow for hot-plug ([#353](https://github.com/xoseperez/espurna/issues/353))
  223. - Increase the initial check interval for NTP ([#452](https://github.com/xoseperez/espurna/issues/452))
  224. - Force turning relays off before turning others on when synced ([#491](https://github.com/xoseperez/espurna/issues/491))
  225. - Publish slampher as light to Home Assistant ([#494](https://github.com/xoseperez/espurna/issues/494))
  226. - Force API to return the target status of the relay ([#548](https://github.com/xoseperez/espurna/issues/548))
  227. - Increasing max number of messages in JSON payload to 20 ([#588](https://github.com/xoseperez/espurna/issues/588))
  228. - Change copy from 'Use colorpicker' to 'Use color'. Better hint. ([#590](https://github.com/xoseperez/espurna/issues/590))
  229. - 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))
  230. - Several spelling and grammar changes by Lee Marlow
  231. - Always enabled telnet access in ESPURNA_CORE image
  232. - Updated ESPSoftwareSerial, ESPAsyncTCP and ESPAsyncWebServer libraries
  233. ### Removed
  234. - Remove dependency from gulp-util ([#493](https://github.com/xoseperez/espurna/issues/493))
  235. - Removed specific support for Magic Home LED Controller 2.3 ([#512](https://github.com/xoseperez/espurna/issues/512))
  236. - Disabled floating point support when building against Arduino Core 2.4.0 with PIO
  237. - Removed WiFi distance calculation
  238. ## [1.12.3] 2018-01-29
  239. ### Fixed
  240. - Fix telnet crash due to local reference ([#487](https://github.com/xoseperez/espurna/issues/487))
  241. ## [1.12.2] 2018-01-29
  242. ### Added
  243. - Repository migrated over to GitHub
  244. - Travis CI build test and deploy
  245. - Pre-commit hook to change README.md file depending on the branch
  246. - {hostname} and {mac} placeholders for MQTT root topic
  247. - Added support for timezones with minutes ([#265](https://github.com/xoseperez/espurna/issues/265))
  248. - 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))
  249. - 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))
  250. - 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))
  251. - Option to disable schedules without deleting them ([#453](https://github.com/xoseperez/espurna/issues/453))
  252. - Added LED_MODE_STATUS ([#458](https://github.com/xoseperez/espurna/issues/458))
  253. - Support to set on/off state per channel using switches ([#457](https://github.com/xoseperez/espurna/issues/457))
  254. - Added support for MagicHome LED Controller 2.3
  255. - Alexa message queue (thanks to Qubeck)
  256. - Secondary Serial RX port for H801 and H802 boards ([#386](https://github.com/xoseperez/espurna/issues/386), thanks to Pablo Pousada Rial)
  257. - Added compatibility with https://github.com/rhx/RF-Bridge-EFM8BB1 to RF Bridge (Thanks to Rene Hexel)
  258. - Added message queue to RF Bridge
  259. - Added MAC to mDNS text fields
  260. - Added wifi.ap command to go into AP mode
  261. - Added message id on MQTT JSON payloads
  262. - Added hooks for 3rd party code (custom modules)
  263. - Local broker to broadcast messages internally
  264. - Added timestamp to debug output
  265. - Common I2C interface to abstract backend library (Wire or Brzo I2C)
  266. - Added espurnaLoopRegister
  267. ### Fixed
  268. - Fixed support for 4CH Pro different modes ([#333](https://github.com/xoseperez/espurna/issues/333))
  269. - Fixed several sensor modules to enable hot-unplug-plug ([#398](https://github.com/xoseperez/espurna/issues/398))
  270. - Fixed crash when calling idbSend from an MQTT callback ([#410](https://github.com/xoseperez/espurna/issues/410))
  271. - Checking trailing slash in mqttTopic ([#422](https://github.com/xoseperez/espurna/issues/422))
  272. - Fixed pulse and pulse_ms order in relay_t structure ([#424](https://github.com/xoseperez/espurna/issues/424))
  273. - 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))
  274. - Fix WiFi scan status in web UI
  275. - Several code quality fixes (thanks to @lobradov)
  276. - Fixed error message on first command over telnet
  277. ### Changed
  278. - BMX280 sensor module now doesn't depend on third party libraries
  279. - Changed time management in ntp, mqtt and scheduler modules
  280. ## Deprecated
  281. - {identifier} placeholder for MQTT root topic
  282. ## [1.12.1] 2018-01-14
  283. ### Added
  284. - Option to perform a WiFi network scan from web UI
  285. - Added hostname to web UI side menu ([#404](https://github.com/xoseperez/espurna/issues/404))
  286. - Option to flash multiple devices with ESPurna OTA Manager
  287. ### Fixed
  288. - Fix web UI layout so signature does not overlay buttons ([#396](https://github.com/xoseperez/espurna/issues/396))
  289. - 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))
  290. - Fix crash caused by a delay in UDP debugging code ([#397](https://github.com/xoseperez/espurna/issues/397))
  291. - Fix memory leak in influxDB module ([#410](https://github.com/xoseperez/espurna/issues/410))
  292. - Fix typos in web UI ([#394](https://github.com/xoseperez/espurna/issues/394), [#421](https://github.com/xoseperez/espurna/issues/421))
  293. ### Changed
  294. - Updated to fauxmoESP 2.4.2
  295. - Changed default I2C GPIO for Wemos D1 ([#420](https://github.com/xoseperez/espurna/issues/420))
  296. - Some terminal commands have changed. See docs or type "help".
  297. ## [1.12.0] 2018-01-11
  298. ### Added
  299. - Scheduler (contributed by Stefano Cotterli, thank you!, [#131](https://github.com/xoseperez/espurna/issues/131))
  300. - Added "wifi.scan" command to terminal
  301. - Added ESPurna Switch board support
  302. - Added support for python3 in memanalyzer and ota scripts (thanks to @Cabalist)
  303. - Added BSSID, RSSI, channels and distance to web UI status tab
  304. - Added mDNS name resolving to MQTT, InfluxDB and NoFUSS modules ([#129](https://github.com/xoseperez/espurna/issues/129), disabled by default)
  305. ### Fixed
  306. - Update FauxmoESP library to 2.4.1, solves dependency issue ([#388](https://github.com/xoseperez/espurna/issues/388))
  307. - Fixed hardware definition in Sonoff Basic and Dual R2 causing wrong relay state on boot ([#365](https://github.com/xoseperez/espurna/issues/365))
  308. ### Changed
  309. - Removed auto-recursion check in Domoticz module ([#379](https://github.com/xoseperez/espurna/issues/379))
  310. - Rename terminal commands: reset.wifi to wifi.reset, reset.mqtt to mqtt.reset.
  311. - Update JustWifi library to 1.1.6 (support for multiple SSIDs with the same name)
  312. - Changed the way Home Assistant module handles disabling auto-discovery ([#383](https://github.com/xoseperez/espurna/issues/383))
  313. ## [1.11.4] 2018-01-09
  314. ### Fixed
  315. - Fix bug in RF Bridge when RF code contains the stop byte. Check overflow ([#357](https://github.com/xoseperez/espurna/issues/357))
  316. - Fixed typos in code and wiki (Thanks to @Cabalist)
  317. - Fix bug in magnitude topic and units ([#355](https://github.com/xoseperez/espurna/issues/355))
  318. ### Added
  319. - Small core build to allow two-step flashing method for big binaries
  320. - Thingspeak support ([#371](https://github.com/xoseperez/espurna/issues/371), disabled by default)
  321. - Color synchronization between lights using MQTT ([#362](https://github.com/xoseperez/espurna/issues/362))
  322. - Support for Arilux AL-LC02 ([#347](https://github.com/xoseperez/espurna/issues/347))
  323. - Support for Tarpuna Shield for Wemos D1
  324. - Build option to disable password checking ([#373](https://github.com/xoseperez/espurna/issues/373))
  325. - Option to report sensor address via MQTT ([#377](https://github.com/xoseperez/espurna/issues/377), I2C address, GPIO, Dallas address,...)
  326. - Added binary size to memanalyzer script
  327. - Option to specify custom client ID for MQTT connection ([#368](https://github.com/xoseperez/espurna/issues/368))
  328. - Cross-platform ESPurna OTA Manager implemented in python (untested)
  329. - Terminal command to get or set digital GPIO
  330. ### Changed
  331. - Using 2.3.0 for prebuilt binaries
  332. - Fix delay in DHT sensor
  333. - Allow MQTT keep alive value of up to 3600s
  334. - Changed Sonoff 4CH Pro definitions to support built-in interlock mode ([#333](https://github.com/xoseperez/espurna/issues/333))
  335. ## [1.11.3] 2018-01-02
  336. ### Fixed
  337. - Fix uninitialized PWM channels bug ([#356](https://github.com/xoseperez/espurna/issues/356))
  338. ### Added
  339. - Added memory analyzer
  340. ## [1.11.2] 2017-12-30
  341. ### Fixed
  342. - Fix my92xx and pwm references for Arduino IDE ([#346](https://github.com/xoseperez/espurna/issues/346))
  343. - Fix SHT3X I2C sensor magnitude count ([#337](https://github.com/xoseperez/espurna/issues/337))
  344. - Fix timing for DHT11 sensors ([#294](https://github.com/xoseperez/espurna/issues/294))
  345. - Fix overflow in relayParsePayload with long MQTT messages ([#344](https://github.com/xoseperez/espurna/issues/344))
  346. - Fix loading of Dallas and DHT sensors for Sonoff TH images ([#352](https://github.com/xoseperez/espurna/issues/352))
  347. - Subscribe to Domoticz MQTT topics only if Domotic< is enabled
  348. ### Added
  349. - Added option to change MQTT retain flag, QoS and keepalive time from webUI ([#321](https://github.com/xoseperez/espurna/issues/321))
  350. - Added LED modes "always off" and "always on" ([#348](https://github.com/xoseperez/espurna/issues/348))
  351. - Defined new ESPurna switch (no HLW8012 support & touch button ready)
  352. ### Changed
  353. - Stop requiring definition of boards in migrate module
  354. ## [1.11.1] 2017-12-29
  355. ### Fixed
  356. - Fixed relay status on reboot
  357. ### Added
  358. - Added support for Arilux AL-LC01 and AL-LC11
  359. - Added support for BH1750 luminosity sensor
  360. - Added automatic memory size identification in ota_flash script
  361. ## [1.11.0] 2017-12-28
  362. ### Fixed
  363. - Fixed Arduino IDE compilation issues ([#330](https://github.com/xoseperez/espurna/issues/330))
  364. - Fixed issues with IE
  365. - Fixed websocket auth issue with Safari (temporary)
  366. - Fixed MQTT group sync when different switches share same group
  367. - Fixed casting issue in buttonStore ([#327](https://github.com/xoseperez/espurna/issues/327))
  368. - Fixed crash in InfluxDB initial heartbeat ([#318](https://github.com/xoseperez/espurna/issues/318))
  369. - Fixed LED logic for ESPurna H08 board
  370. ### Added
  371. - New sensors module (major change)
  372. + Existing sensor have been migrated: EMON*, ECH1560, V9261F, HLW8012, DHT, DALLAS, ANALOG, DIGITAL and EVENTS
  373. + New sensor have bee added: BMP280/BME280, EMON over ADS1115, MHZ19, PMSX003 (thanks to Òscar Rovira), SHT3X over I2C and SI7021
  374. - Option to change boot and pulse modes per relay from the web UI
  375. - Option to select sensor read interval and report interval from web UI
  376. - Itead RF Bridge
  377. + Match MQTT RFOUT codes to relays
  378. + Force RFBridge to send messages even if switch is already in requested state ([#324](https://github.com/xoseperez/espurna/issues/324))
  379. + Implemented RFbridge message queue asynchronously
  380. - Added option to load config via HTTP POST & reset ([#335](https://github.com/xoseperez/espurna/issues/335))
  381. - Added option to define behaviour of the first LED between WIFI, MQTT, FIND-ME ([#317](https://github.com/xoseperez/espurna/issues/317))
  382. - Added HTML linter to gulp builder
  383. - Added Help command on terminal ([#338](https://github.com/xoseperez/espurna/issues/338))
  384. - Added preliminary support for SSDP (untested, disabled by default) ([#282](https://github.com/xoseperez/espurna/issues/282))
  385. - Reporting NTP datetime on MQTT heartbeat (thanks to Eldon R. Brown)
  386. - Added version tracking and migration code
  387. - I2C and GPIO locking features
  388. - Changed default button action for touch button devices (TOUCH and T1) ([#327](https://github.com/xoseperez/espurna/issues/327))
  389. - Generic 8 channel board ([#336](https://github.com/xoseperez/espurna/issues/336))
  390. ### Changed
  391. - Added more sensor data filters (Max, MobileAverage)
  392. - Changed max pulse time to 1h ([#316](https://github.com/xoseperez/espurna/issues/316))
  393. - Renamed "reset" to "reboot" for clarity ([#315](https://github.com/xoseperez/espurna/issues/315))
  394. - UI refactor
  395. - Change apiRegister signature
  396. ## [1.10.1] 2017-12-05
  397. ### Fixed
  398. - Fix Sonoff RFBridge learn message from web UI ([#287](https://github.com/xoseperez/espurna/issues/287))
  399. - Fix unstability in "one and just one" sync mode ([#290](https://github.com/xoseperez/espurna/issues/290))
  400. - Fix unnecessary inclusion of my92xx library ([#293](https://github.com/xoseperez/espurna/issues/293))
  401. - Limit the MQTT queue to 10 messages when "Use JSON payload" enabled ([#296](https://github.com/xoseperez/espurna/issues/296))
  402. - Fix Sonoff RFBridge OFF button toggling switch ([#303](https://github.com/xoseperez/espurna/issues/303))
  403. - Allow defining only ON or OFF codes in Sonoff RFBridge ([#304](https://github.com/xoseperez/espurna/issues/304))
  404. - Disabled terminal support for Sonoff Dual ([#310](https://github.com/xoseperez/espurna/issues/310))
  405. ### Added
  406. - Support for SI7021-based sensor by Itead Studio compatible with Sonoff TH ([#216](https://github.com/xoseperez/espurna/issues/216))
  407. - Support for Sonoff Dual R2 ([#286](https://github.com/xoseperez/espurna/issues/286))
  408. - MQTT group topics (sync two or more switches from different devices, [#300](https://github.com/xoseperez/espurna/issues/300))
  409. - Color transitions (enabled by default, can be disabled from web UI)
  410. - Option to disable MQTT support at build time
  411. ### Changed
  412. - Decreased PWM frequency for dimmer lights
  413. - Changed password policy ([#297](https://github.com/xoseperez/espurna/issues/297))
  414. ## [1.10.0] 2017-11-26
  415. ### Fixed
  416. - Temperatures with 1 decimal resolution
  417. - Issues with Sonoff B1 due to bad driver management (using my92xx library now)
  418. - Avoid recursive messages on Domoticz ([#272](https://github.com/xoseperez/espurna/issues/272))
  419. - Fixed Sonoff T1 configuration
  420. - Simplify and fix web auth ([#284](https://github.com/xoseperez/espurna/issues/284))
  421. - Fix Embedis custom parser
  422. ### Added
  423. - Added option to define a temperature correction factor (thanks to Pawel Raszewski)
  424. - Option to disable system check on build time
  425. - Power saving features (loopDelay and wifi sleep)
  426. - Added Sonoff TH build environment
  427. - Send Home Assistant auto discover messages on connect ([#279](https://github.com/xoseperez/espurna/issues/279))
  428. - Implemented Home Assistant availability topic ([#280](https://github.com/xoseperez/espurna/issues/280))
  429. - Update time, uptime and heap on webUI every heartbeat
  430. - Support for LLMNR and NetBIOS ([#282](https://github.com/xoseperez/espurna/issues/282))
  431. - Added I2C clean bus code
  432. - Added realm to auth challenge
  433. ### Changed
  434. - Changed default hostname to "ESPURNA_XXXXXX"
  435. - Binaries built against stable core (~40Kb less, [#274](https://github.com/xoseperez/espurna/issues/274))
  436. - Enabled TERMINAL_SUPPORT for Sonoff Dual (only available via TELNET)
  437. - Dinamically resize debug strings (now messages are not cropped)
  438. - MQTT: unsubscribe to '#' before subscribing
  439. - Updated ESPAsyncWebServer and ESPAsyncTCP libraries
  440. - Removed InfluxDB support by default
  441. - Using stock slider in webUI to reduce size
  442. - Unify DHT and DS18B20 code, show NOT CONNECTED on webUI
  443. ## [1.9.9] 2017-11-09
  444. ### Fixed
  445. - Fixed bug in MY9291-based light bulbs at full brightness
  446. ### Added
  447. - RFBridge: toggle when RF codes for ON and OFF are the same ([#270](https://github.com/xoseperez/espurna/issues/270))
  448. - Support for HSV color schema (MQTT, API and webUI via a selector)
  449. ### Changed
  450. - "COLOR" entry point deprecated, use "RGB" instead (MQTT and API, ex. topic "light/rgb/set" instead of "light/color/set")
  451. ## [1.9.8] 2017-11-08
  452. ### Fixed
  453. - Removed dimmer lights flicker when saving to EEPROM ([#191](https://github.com/xoseperez/espurna/issues/191))
  454. - Fixed low brightness in dimmer lights ([#157](https://github.com/xoseperez/espurna/issues/157))
  455. - Fixed blank fields in energy ([#258](https://github.com/xoseperez/espurna/issues/258), [#259](https://github.com/xoseperez/espurna/issues/259))
  456. - Fixed support for Arilux AL-LC06
  457. - Updated fauxmoESP library with support for GetBinaryState actions
  458. ### Added
  459. - Support for IR remotes
  460. - Option to select power read and report interval from webUI
  461. - Option to report real-time values in API, configurable via webUI
  462. - Support for ESPurna-H Board v0.8
  463. - Support for Arilux E27 light bulb (untested)
  464. - Support for YJZK 2-gang switch
  465. ### Changed
  466. - PWM using ESP8266_new_pwm by Stephan Bruens (https://github.com/StefanBruens/ESP8266_new_pwm)
  467. - Using own DHT implementation (removed dependency on Adafruit libraries)
  468. - Disabled serial debug for Sonoff RFBridge
  469. ## [1.9.7] 2017-10-25
  470. ### Fixed
  471. - Fix Alexa interface switching on all lights ([#256](https://github.com/xoseperez/espurna/issues/256))
  472. ## [1.9.6] 2017-10-23
  473. ### Fixed
  474. - Fix power report in Domoticz ([#236](https://github.com/xoseperez/espurna/issues/236))
  475. - Fix Sonoff POW in AP mode ([#241](https://github.com/xoseperez/espurna/issues/241))
  476. - Fix Home Automation auto-discovery (support for single relay switches and RGB lights, [#235](https://github.com/xoseperez/espurna/issues/235))
  477. - Check WS authentication only on start event
  478. ### Added
  479. - 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))
  480. - Support for ManCaveMade ESPLive board (thanks to Michael A. Cox)
  481. - Support for InterMIT Tech QuinLED 2.6 (thanks to Colin Shorts)
  482. - Support for Magic Home LED Controller 2.0 (thanks to users @gimi87 and @soif, [#231](https://github.com/xoseperez/espurna/issues/231))
  483. - Support for Arilux AL-LC06 (thanks to Martijn Kruissen)
  484. - Support for Xenon SM-PW702U Wifi boards (thanks to Joshua Harden, [#212](https://github.com/xoseperez/espurna/issues/212))
  485. - Support for Authometion LYT8266 (testing, thanks to Joe Blellik, [#213](https://github.com/xoseperez/espurna/issues/213))
  486. - Support for an external button for D1 Mini boards (thanks to user @PieBru, [#239](https://github.com/xoseperez/espurna/issues/239))
  487. - Option to query relay status via MQTT or WS (thanks to Wesley Tuzza)
  488. - Automatically install dependencies for web interface builder (thanks to Hermann Kraus)
  489. - Support for HSV and IR for Magic Home LED Controller (optional, disabled by default, thanks to Wesley Tuzza)
  490. - Added option to report DS18B20 temperatures based on changes (thanks to Michael A. Cox)
  491. - Safer buffer handling for websocket data (thanks to Hermann Kraus & Björn Bergman)
  492. - Updates HL8012 library with energy counting support (thanks to Hermann Kraus)
  493. - Added option to disable light color persistence to avoid flickering ([#191](https://github.com/xoseperez/espurna/issues/191))
  494. - Option to enable TELNET in STA mode from web UI ([#203](https://github.com/xoseperez/espurna/issues/203))
  495. ### Changed
  496. - Changed default MQTT base topic to "{identifier}" (no leading slashes, [#208](https://github.com/xoseperez/espurna/issues/208))
  497. - Prevent reconnecting when in AP mode if a web session or a telnet session is active ([#244](https://github.com/xoseperez/espurna/issues/244))
  498. - Web UI checks for pending changes before reset/reconnect options ([#226](https://github.com/xoseperez/espurna/issues/226))
  499. - Increase WIFI connect timeout and reconnect interval
  500. ## [1.9.5] 2017-09-28
  501. ### Fixed
  502. - Revert to JustWifi 1.1.4 ([#228](https://github.com/xoseperez/espurna/issues/228))
  503. ## [1.9.4] 2017-09-22
  504. ### Added
  505. - Added ESPurna specific mDNS text registers (app_name, app_version, device_name)
  506. - Crash dump info is stored in EEPROM and retrieved via terminal ("crash" command)
  507. - Support for Huacanxing H802
  508. - Support for powermeters based on V9261F IC
  509. - Support for powermeters based on ECH1560 IC (beta, untested)
  510. ### Changed
  511. - Changed behaviour on MQTT connection failure ([#215](https://github.com/xoseperez/espurna/issues/215))
  512. - Removed boot delay
  513. - Refactor power modules
  514. - Updated JustWifi library
  515. ### Fixed
  516. - Set all esp8285 devices to use esp01_1m ([#210](https://github.com/xoseperez/espurna/issues/210), [#225](https://github.com/xoseperez/espurna/issues/225))
  517. - Removed wifi gain option since it prevents some devices to connect ([#204](https://github.com/xoseperez/espurna/issues/204))
  518. ## [1.9.3] 2017-09-04
  519. ### Added
  520. - New "erase.config" option in terminal to delete SDK settings
  521. - Added error code to error message when updating from web UI
  522. - Fixed Web UI to be behind a proxy (http://tinkerman.cat/secure-remote-access-to-your-iot-devices/)
  523. - 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/)
  524. ### Changed
  525. - Updated fauxmoESP library to 2.2.0
  526. ### Fixed
  527. - Fix HLW8012 calibration ([#194](https://github.com/xoseperez/espurna/issues/194))
  528. - Fix telnet dropping connection
  529. - Fix WiFiSecureClient connection with PubSubClient ([#64](https://github.com/xoseperez/espurna/issues/64))
  530. ## [1.9.2] 2017-08-31
  531. ### Added
  532. - 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))
  533. - Telnet support (enabled by default only on AP interface)
  534. - Option to set WiFi gain from web UI
  535. - Option to disable MQTT from web UI
  536. - MQTT autodiscover, with the option to autoconnect if no broker defined
  537. - Home Assistant MQTT autodiscover feature
  538. - List enabled modules in INIT debug info
  539. - Counter module (counts and reports transitions in a digital pin)
  540. ### Changed
  541. - Updated NoFUSS support
  542. - Web UI documentation changes
  543. - Changes in terminal commands ("reconnect" is now "reset.wifi", also new commands added)
  544. ### Fixed
  545. - Crash in settings saving ([#190](https://github.com/xoseperez/espurna/issues/190)) and fixed UDP debug conditional build clauses
  546. ## [1.9.1] 2017-08-27
  547. ### Added
  548. - Support to build without NTP support
  549. - Added current time, uptime, free heap, firmware size and free space to web interface
  550. ### Changed
  551. - Changed settings keys for Itead Sonoff RF Bridge
  552. - Disable Domoticz by default
  553. ### Fixed
  554. - Fixed build flags for DHT and DS18B20 in platformio.ini file
  555. - Fixed Itead Sonoff B1 by updating the my9291 library
  556. - Fixed light status on boot ([#157](https://github.com/xoseperez/espurna/issues/157))
  557. - Fixed CSS bug cause by a bad merge
  558. ## [1.9.0] 2017-08-25
  559. ### Added
  560. - Support for IteadStudio BN-SZ01 Ceiling Light ([#132](https://github.com/xoseperez/espurna/issues/132))
  561. - Support for IteadStudio Sonoff RF Bridge ([#173](https://github.com/xoseperez/espurna/issues/173))
  562. - Support for IteadStudio Sonoff 4CH Pro ([#174](https://github.com/xoseperez/espurna/issues/174))
  563. - Support for IteadStudio Sonoff B1
  564. - Support for IteadStudio Sonoff LED
  565. - Support for IteadStudio Sonoff T1 wall switches (1, 2 and 4 channels)
  566. - Support for WiOn 50055 WiFi Wall Outlet & Tap
  567. - Support for EXS WiFi Relay v3.1 (and other future latching relay boards) ([#152](https://github.com/xoseperez/espurna/issues/152))
  568. - 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))
  569. - 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))
  570. - Added ON and OFF actions for button events (previously only TOGGLE available) ([#182](https://github.com/xoseperez/espurna/issues/182))
  571. - Sliders in web interface to control dimmer channels independently (also for brightness)
  572. - Debug info about MQTT disconnect reason
  573. ### Changed
  574. - MQTT setters ending with "/set" by default
  575. - Using DOUT flash mode on all devices ([#167](https://github.com/xoseperez/espurna/issues/167))
  576. - Longer timeout for WiFi connection (better chances for Sonoff Basic to connect)
  577. - Changed MQTT topics for light devices (COLOR, BRIGHTNESS, MIRED, KELVIN, CHANNEL) ([#144](https://github.com/xoseperez/espurna/issues/144))
  578. - Changed the way light devices are defined (see LIGHT_PROVIDER_DIMMER)
  579. - Allow to disable color picker in web interface
  580. - API returns processed values for HLW8012 sensor (not raw values anymore) ([#176](https://github.com/xoseperez/espurna/issues/176))
  581. - Major refactoring of settings
  582. ### Fixed
  583. - Discard MQTT messages with empty payload ([#185](https://github.com/xoseperez/espurna/issues/185))
  584. - Wifi connection issue (https://github.com/esp8266/Arduino/issues/2186)
  585. - Alexa connection issue
  586. ## [1.8.3] 2017-07-23
  587. ### Added
  588. - 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
  589. - Issue [#170](https://github.com/xoseperez/espurna/issues/170). Updated DebouceEvent library to allow disabling double click and get faster click responses
  590. - Using memory layout with no SPIFFS for 1Mb devices
  591. ### Changed
  592. - Rename settings s/POW/HLW8012/
  593. - Return times in ISO8601 format
  594. ### Fixed
  595. - Issue [#168](https://github.com/xoseperez/espurna/issues/168). Added H801 to arduino.h file
  596. - Issue [#171](https://github.com/xoseperez/espurna/issues/171). Fix corrupted will message
  597. ## [1.8.2] 2017-07-16
  598. ### Added
  599. - InfluxDB support via HTTP API
  600. - Added custom reset reason to debug log
  601. - Enable WIFI debug on hardware reset (button long click)
  602. ### Changed
  603. - Issue [#159](https://github.com/xoseperez/espurna/issues/159). Allow decimals in relay pulse interval
  604. - Updated HLW8012 library
  605. ### Fixed
  606. - Issue [#148](https://github.com/xoseperez/espurna/issues/148). Fix bug in conditional compilation check
  607. - Issue [#149](https://github.com/xoseperez/espurna/issues/149). Using different pulse counters for each relay (thanks to Lauris Ieviņš)
  608. - Issue [#141](https://github.com/xoseperez/espurna/issues/141). Limit relay pulse interval to 60s
  609. - Fixed units for apparent & reactive power (thanks to Lauris Ieviņš)
  610. - Fixed mDNS setup when using custom HTTP port for web interface
  611. ## [1.8.1] 2017-05-22
  612. ### Fixed
  613. - Issue [#140](https://github.com/xoseperez/espurna/issues/140). Fix no relay control bug in Sonoff Dual
  614. ## [1.8.0] 2017-05-21
  615. ### Added
  616. - Added gamma correction to RGB strips. Thanks to Chris Ward.
  617. - Added support for Huacanxing H801 WiFi LED Controller. Thanks to Minh Phuong Ly.
  618. - Issue [#138](https://github.com/xoseperez/espurna/issues/138). Added NTP configuration from web interface
  619. - Issue [#128](https://github.com/xoseperez/espurna/issues/128). Report color when booting and in heartbeat stream.
  620. - Issue [#126](https://github.com/xoseperez/espurna/issues/126). Show NTP status in web interface.
  621. - Added filter limits on POW readings.
  622. - Added color temperature to RGB calculation. Thanks to Sacha Telgenhof.
  623. - Issue [#120](https://github.com/xoseperez/espurna/issues/120). Added relay flood protection. Thanks to Izik Dubnov.
  624. - Support for "#RRGGBB", "RRR,GGG,BBB" and "WWW" color formats.
  625. - Issue [#117](https://github.com/xoseperez/espurna/issues/117). Added build date & time to web interface.
  626. ### Fixed
  627. - Fix MQTT_RELAY board conifugration. Thanks to Denis French.
  628. - Issue [#125](https://github.com/xoseperez/espurna/issues/125). Fix bug in relay status reading from EEPROM
  629. - Issue [#127](https://github.com/xoseperez/espurna/issues/127). Fix button action in DUAL.
  630. - Fix bug in Sonoff POW current reading. Thanks to Emmanuel Tatto.
  631. - Minimizing my9291 flickering when booting.
  632. - Fix conditional flags in hardware.ino to support Arduino IDE.
  633. ## [1.7.1] 2017-03-28
  634. ### Fixed
  635. - Issue [#113](https://github.com/xoseperez/espurna/issues/113). Fix restoring color from EEPROM upon reboot
  636. - Issue [#113](https://github.com/xoseperez/espurna/issues/113). Fix bug in API handlers
  637. ## [1.7.0] 2017-03-27
  638. ### Added
  639. - Web interface embedded in firmware image by default
  640. - Upload firmware image from web interface
  641. - Added API entry point to change light color
  642. - Added generic analog sensor. Thanks to Francesco Boscarino
  643. - Report RSSI value in debug console and MQTT status messages
  644. - Added support for Magic Home LED Controller
  645. - Added support for ESPurna-H Board (based on HLW8012)
  646. - Added forward compatible code for v2.0
  647. ### Changed
  648. - Added ellipsis (...) in debug messages longer than 80 characters
  649. - Changed topic constants in code
  650. - Prevent the SDK from saving WiFi configuration to flash
  651. ### Fixed
  652. - Issue [#113](https://github.com/xoseperez/espurna/issues/113). Fix light bulb state to OFF in library prevented the bulb from turning on
  653. - Issue [#58](https://github.com/xoseperez/espurna/issues/58). Added code to handle spurious readings
  654. - Fix bug in HLW8012 calibration current parameter casting to int instead of float
  655. - Issue [#115](https://github.com/xoseperez/espurna/issues/115). Removed local declaration of _mqttForward variable. Thanks to Paweł Fiedor
  656. - Fix MQTT will topic. Thanks to Asbjorn Tronhus
  657. ## [1.6.9] 2017-03-12
  658. ### Added
  659. - Two stage read for DS18B20 devices. Thanks to Izik Dubnov.
  660. - Option to report the relay status via MQTT periodically
  661. - Terminal commands to change relay status an light color
  662. - Added debug via UDP (disabled by default)
  663. - Moved debug strings to PROGMEM. ~1.5KByes memory freed
  664. - Avoid broadcasting websocket messages if no clients connected
  665. ### Fixed
  666. - Fixing use after free bug that leads to corrupted auth credentials. Thanks to David Guillen
  667. ## [1.6.8] 2017-03-01
  668. ### Added
  669. - Issue [#85](https://github.com/xoseperez/espurna/issues/85). Heartbeat reports now free heap, uptime and VCC every 5 minutes
  670. ### Changed
  671. - Wait two minutes instead of one in AP mode before trying to reconnect to the router
  672. - Issue [#92](https://github.com/xoseperez/espurna/issues/92). Debug log enabled by default in Arduino IDE
  673. - Issue [#91](https://github.com/xoseperez/espurna/issues/91). Using AsyncMqttClient as default MQTT client again
  674. ### Fixed
  675. - Report data from all sensors via websocket even if no MQTT connection
  676. - Issue [#92](https://github.com/xoseperez/espurna/issues/92). Fix unknown reference in Arduino IDE
  677. - Split data.h contents into 1k lines, otherwise Arduino IDE chokes on them
  678. - Discard empty MQTT topic while subscribing
  679. ## [1.6.7] 2017-02-25
  680. ### Added
  681. - Support for OpenLight / AI-Light by AI-Thinker based on MY9291 LED driver
  682. - Issue [#87](https://github.com/xoseperez/espurna/issues/87). Factory reset when physical button pressed for >10 seconds
  683. ## [1.6.6] 2017-02-23
  684. ### Fixed
  685. - Issue [#82](https://github.com/xoseperez/espurna/issues/82). Fix critical bug on Sonoff Dual
  686. ## [1.6.5] 2017-02-22
  687. ### Added
  688. - Option to backup and restore settings from the web interface
  689. - Footer in the web interface
  690. ### Changed
  691. - Using PubSubClient as MQTT client by default (please read the documentation)
  692. - Double & long clicks do nothing except for the first defined button
  693. ### Fixed
  694. - Issue [#79](https://github.com/xoseperez/espurna/issues/79). Fix bug in WiFi led notification & MQTT connectivity (using PubSubClient)
  695. - Issue [#73](https://github.com/xoseperez/espurna/issues/73). Fix bug when building without Domoticz support
  696. - Fix Gulp tasks dependencies
  697. ## [1.6.4] 2017-02-20
  698. ### Added
  699. - Option to embed the web interface in the firmware, disabled by default
  700. - Change relay status with a GET request (browser friendly)
  701. - Support for PROGMEM debug messages (only wifi module has been changed)
  702. - Option to disable mDNS, enabled by default
  703. - Show current web server port in debug log
  704. - Issue [#75](https://github.com/xoseperez/espurna/issues/75). Link relays to LEDs
  705. - Issue [#76](https://github.com/xoseperez/espurna/issues/76). Using http://espurna.local when in AP mode
  706. ### Changed
  707. - Images and favicon is now embedded in the HTML
  708. - Authentication challenge only in /auth request. All static contents are un-authenticated
  709. - HTTP response code when out of websocket slots changed from 423 to 429
  710. ### Fixed
  711. - Memory leak in MQTT connection method
  712. - Wait 60 seconds before retrying to connect when in AP mode
  713. - 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
  714. - Issue [#73](https://github.com/xoseperez/espurna/issues/73). Fixes for windows machines
  715. ### Removed
  716. - Captive portal removed, mDNS resolution for AP mode too
  717. ## [1.6.3] 2017-02-15
  718. ### Added
  719. - Issue [#69](https://github.com/xoseperez/espurna/issues/69). Temperature unit configuration from the web interface
  720. - Issue [#55](https://github.com/xoseperez/espurna/issues/55). WebServer port configurable from the web interface, defaults to 80
  721. - Expand network configuration when adding a new network
  722. ### Changed
  723. - Merged web contents except images in a single compressed file for reliability
  724. - Update support for Itead Motor Clockwise/Anticlockwise board
  725. - Scan for strongest network only if more than 1 network configured
  726. ### Fixed
  727. - Issue [#71](https://github.com/xoseperez/espurna/issues/71). Added default values for netmask and DNS in web configuration
  728. - Fixed Itead 1CH self-locking/inching board definition
  729. - Fixed PlatformIO environments for ESP8285 boards (4CH and Touch)
  730. ## [1.6.2] 2017-02-10
  731. ### Fixed
  732. - Check if there is an MQTT broker defined before the MQTT_MAX_TRIES check
  733. ## [1.6.1] 2017-02-10
  734. ### Added
  735. - Added support for [Jorge Garcia's Wifi+Relay Board Kit](https://www.tindie.com/products/jorgegarciadev/wifi--relays-board-kit/)
  736. - Reporting current and energy incrementals to a separate counters in Domoticz (thanks to Toni Arte)
  737. - Force WiFi reconnect after MQTT_MAX_TRIES fails trying to connect to MQTT broker
  738. ## [1.6.0] 2017-02-05
  739. ### Added
  740. - Added support for toggle switches
  741. - Allow reset the board via an MQTT message
  742. - Allow reset the board via an RPC (HTTP) message
  743. - 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/))
  744. - Reporting voltage to Domoticz (only HLW8012)
  745. - Map button events to actions (toggle relay, AP mode, reset, pulse mode)
  746. ### Changed
  747. - Reporting energy incrementals (Domoticz, MQTT)
  748. ### Removed
  749. - Removed current monitor bypass when relay is OFF
  750. - Removed energy API entry point
  751. ## [1.5.4] 2017-02-03
  752. ### Fixed
  753. - Issue [#50](https://github.com/xoseperez/espurna/issues/50). Fix type bug in window variable when calculating energy for HLW8012 devices (Sonoff POW)
  754. ## [1.5.3] 2017-02-02
  755. ### Fixed
  756. - Issue [#50](https://github.com/xoseperez/espurna/issues/50) and [#54](https://github.com/xoseperez/espurna/issues/54). Fixed domoticz MQTT message format
  757. ### Added
  758. - Energy calculation and aggregation. API entry points and MQTT messages.
  759. ## [1.5.2] 2017-01-29
  760. ### Fixed
  761. - Fix bug in emon topic payload
  762. ## [1.5.1] 2017-01-28
  763. ### Added
  764. - OpenEnergyMonitor WiFi MQTT Relay / Thermostat support (thanks to Denis French)
  765. ### Fixed
  766. - NTP connection refresh upon wifi connection
  767. - Filesystem image build using local gulp installation
  768. ## [1.5.0] 2017-01-21
  769. ### Added
  770. - Pulse mode. Allows to define a pulse time after which the relay will switch back
  771. - API entry points for sensor data (power, current, voltage, temperature and humidity)
  772. - Export sensor data to Domoticz (power, current, voltage, temperature and humidity)
  773. - Configurable (in code) mapping between buttons and relays
  774. - MQTT messages for button events
  775. - Added support for Itead Studio 1CH inching/self locking smart switch board
  776. - Added support for Jan Goedeke Wifi Relay boards (both NC and NO versions)
  777. - Notify OTA updates to websocket clients, automatically reload page
  778. - Support for pulse mode notification LED and button
  779. - Revert relay state mode on boot (thanks to Minh Phuong Ly)
  780. ### Fixed
  781. - MQTT will topic
  782. - Crash with HLW812 interrupts while trying to create a WIFI connection
  783. - Issue [#20](https://github.com/xoseperez/espurna/issues/20) Better inline documentation for Alexa and Domoticz default settings
  784. - Issue [#39](https://github.com/xoseperez/espurna/issues/39) Fixed autoconnect issue with static IP (fixed in JustWifi library)
  785. - Issue [#41](https://github.com/xoseperez/espurna/issues/41) Added password requirements to initial password change page
  786. ### Changed
  787. - Changed LED pattern for WIFI notifications (shorter pulses)
  788. ## [1.4.4] 2017-01-13
  789. ### Added
  790. - Adding current, voltage, apparent and reactive power reports to Sonoff POW (Web & MQTT)
  791. ### Fixed
  792. - Issue [#35](https://github.com/xoseperez/espurna/issues/35) Fixed frequent MQTT connection drops after WIFI reconnect
  793. - Defer wifi disconnection from web interface to allow request to return
  794. ### Changed
  795. - Move all Arduino IDE configuration values to their own file
  796. - Using latest HLW8012 library in interrupt mode
  797. ## [1.4.3] 2017-01-11
  798. ### Fixed
  799. - 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
  800. ## [1.4.2] 2017-01-09
  801. ### Added
  802. - Support for inverse logic relays
  803. ### Fixed
  804. - Issue [#31](https://github.com/xoseperez/espurna/issues/31). Fixed error in relay identification from MQTT messages
  805. ## [1.4.1] 2017-01-05
  806. ### Added
  807. - Alexa support by default on all devices
  808. - Added support for Wemos D1 Mini board with official Relay Shield
  809. ### Fixed
  810. - Multi-packet websocket frames
  811. ## [1.4.0] 2016-12-31
  812. ### Added
  813. - Domoticz support via MQTT (https://www.domoticz.com/wiki/MQTT)
  814. - Support for static IP connections
  815. ### Fixed
  816. - Issue [#16](https://github.com/xoseperez/espurna/issues/16). Enforce minimum password strength in web interface
  817. ### Changed
  818. - Using default client_id provided by AsyncMqttClient
  819. - Allow up to 5 different WIFI networks
  820. ### Removed
  821. - File system version file
  822. ## [1.3.1] 2016-12-31
  823. ### Fixed
  824. - data_dir fix for PlatformIO
  825. ## [1.3.0] 2016-12-30
  826. ### Changed
  827. - Arduino IDE support (changes in the folder structure and documentation)
  828. ## [1.2.0] 2016-12-27
  829. ### Added
  830. - Force password changing if it's the default one
  831. - Added Last-Modified header to static contents
  832. - Added DNS captive portal for AP mode
  833. - Added support for Sonoff 4CH
  834. - Added support for WorkChoice ecoPlug (ECOPLUG). Thanks to David Myers
  835. - Added support for Sonoff SV
  836. - Added support for Sonoff Touch
  837. - Comment out hardware selection in hardware.h if using Arduino IDE
  838. - Added support for MQTT get/set suffixes (/status, /set, ...)
  839. - Added support for LED notifications via MQTT
  840. - Added EEPROM check commands to terminal interface
  841. ### Changed
  842. - Using unreleased AsyncMqttClient with stability improvements
  843. - Better decoupling between MQTT and relays/websockets
  844. - Skipping retained MQTT messages (configurable)
  845. ### Fixed
  846. - Issue [#11](https://github.com/xoseperez/espurna/issues/11) Compile error when building sonoff-dual-debug
  847. - Issue [#14](https://github.com/xoseperez/espurna/issues/14) MQTT Connection with Username an Password not working
  848. - Issue [#17](https://github.com/xoseperez/espurna/issues/17) Moved static variable 'pending' to class variable
  849. ## [1.1.0] 2016-12-06
  850. ### Added
  851. - Added support for DS18B20 temperature sensor. Thanks to Francesco Boscarino
  852. - Added reset command from console
  853. - Added support for multirelay boards like Sonoff DUAL or Electrodragon ESP Relay Board
  854. ### Changed
  855. - Not using espressif8266_stage in default environment
  856. - Relay MQTT topics
  857. - API entry points
  858. ### Removed
  859. - Old non protected API
  860. ## [1.0.3] 2016-11-29
  861. ### Added
  862. - WeMo emulation through the fauxmoESP library (control your switch from Alexa!)
  863. - REST API for relay management
  864. - Better dependency definitions in platformio.ini
  865. - Option to define inverse logic to on-board LED
  866. - Built data folder included in repo
  867. ### Changed
  868. - Using non-interrupt driven mode for HLW8012
  869. - Better documentation
  870. - Small changes to web interface
  871. - Same admin password for web, OTA and WIFI AP mode
  872. ### Fixed
  873. - Prevent fauxmoESP to be compiled by default
  874. ### Removed
  875. - Removed ESPurna board to its own repo
  876. ## [1.0.1] 2016-11-13
  877. ### Added
  878. - Basic authentication and CSRF to websocket requests
  879. ## [1.0.0] 2016-11-13
  880. ### Added
  881. - Using ESPAsyncWebServer (for web & websockets) and AsyncMqttClient
  882. ## [0.9.9] 2016-11-12
  883. ### Added
  884. - Preliminary support for Sonoff POW
  885. - Replace AJAX requests with websockets
  886. - Using sprites for images
  887. - Hostname can be changed
  888. - Added initial relay state mode
  889. - Reconnect and reset buttons on web interface
  890. ### Changed
  891. - Changed long click to reset and double click to AP mode
  892. - Using officially supported platformio.ini file by default
  893. ### Fixed
  894. - Removed unnecessary memory inefficient code
  895. - Temprary fix for Adafruit DHT library (see https://github.com/adafruit/DHT-sensor-library/issues/62)
  896. ## [0.9.8] 2016-10-06
  897. ### Added
  898. - Using PureCMS for the web interface
  899. - Using gulp to build the filesystem files
  900. - Using Embedis for configuration
  901. ### Changed
  902. - Updated JustWifi library
  903. - Web interface changes
  904. - Using custom platformio.ini file
  905. - Loads of changes in modules
  906. - Added DEBUG_MSG
  907. ### Fixed
  908. - Clean gulp builder script
  909. ## [0.9.7] 2016-08-28
  910. ### Changed
  911. - Moving wifi management to library (JustWifi)
  912. - Split code into modules
  913. ## [0.9.6] 2016-08-12
  914. ### Added
  915. - Added heartbeat, version and fsversion MQTT messages
  916. ### Changed
  917. - GZip 3rd party contents
  918. ## [0.9.5] 2016-07-31
  919. - Initial stable version