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.

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