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.

829 lines
39 KiB

7 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
  1. # ESPurna change log
  2. The format is based on [Keep a Changelog](http://keepachangelog.com/)
  3. and this project adheres to [Semantic Versioning](http://semver.org/).
  4. ## [1.12.3] 2018-01-29
  5. ### Fixed
  6. - Fix telnet crash due to local reference ([#487](https://github.com/xoseperez/espurna/issues/487))
  7. ## [1.12.2] 2018-01-29
  8. ### Added
  9. - Repository migrated over to GitHub
  10. - Travis CI build test and deploy
  11. - Pre-commit hook to change README.md file depending on the branch
  12. - {hostname} and {mac} placeholders for MQTT root topic
  13. - Added support for timezones with minutes ([#265](https://github.com/xoseperez/espurna/issues/265))
  14. - 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))
  15. - 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))
  16. - 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))
  17. - Option to disable schedules without deleting them ([#453](https://github.com/xoseperez/espurna/issues/453))
  18. - Added LED_MODE_STATUS ([#458](https://github.com/xoseperez/espurna/issues/458))
  19. - Support to set on/off state per channel using switches ([#457](https://github.com/xoseperez/espurna/issues/457))
  20. - Added support for MagicHome LED Controller 2.3
  21. - Alexa message queue (thanks to Qubeck)
  22. - Secondary Serial RX port for H801 and H802 boards ([#386](https://github.com/xoseperez/espurna/issues/386), thanks to Pablo Pousada Rial)
  23. - Added compatibility with https://github.com/rhx/RF-Bridge-EFM8BB1 to RF Bridge (Thanks to Rene Hexel)
  24. - Added message queue to RF Bridge
  25. - Added MAC to mDNS text fields
  26. - Added wifi.ap command to go into AP mode
  27. - Added message id on MQTT JSON payloads
  28. - Added hooks for 3rd party code (custom modules)
  29. - Local broker to broadcast messages internally
  30. - Added timestamp to debug output
  31. - Common I2C interface to abstract backend library (Wire or Brzo I2C)
  32. - Added espurnaLoopRegister
  33. ### Fixed
  34. - Fixed support for 4CH Pro different modes ([#333](https://github.com/xoseperez/espurna/issues/333))
  35. - Fixed several sensor modules to enable hot-unplug-plug ([#398](https://github.com/xoseperez/espurna/issues/398))
  36. - Fixed crash when calling idbSend from an MQTT callback ([#410](https://github.com/xoseperez/espurna/issues/410))
  37. - Checking trailing slash in mqttTopic ([#422](https://github.com/xoseperez/espurna/issues/422))
  38. - Fixed pulse and pulse_ms order in relay_t structure ([#424](https://github.com/xoseperez/espurna/issues/424))
  39. - 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))
  40. - Fix WiFi scan status in web UI
  41. - Several code quality fixes (thanks to Lazar Obradovic)
  42. - Fixed error message on first command over telnet
  43. ### Changed
  44. - BMX280 sensor module now doesn't depend on third party libraries
  45. - Changed time management in ntp, mqtt and scheduler modules
  46. ## Deprecated
  47. - {identifier} placeholder for MQTT root topic
  48. ## [1.12.1] 2018-01-14
  49. ### Added
  50. - Option to perform a WiFi network scan from web UI
  51. - Added hostname to web UI side menu ([#404](https://github.com/xoseperez/espurna/issues/404))
  52. - Option to flash multiple devices with ESPurna OTA Manager
  53. ### Fixed
  54. - Fix web UI layout so signature does not overlay buttons ([#396](https://github.com/xoseperez/espurna/issues/396))
  55. - 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))
  56. - Fix crash caused by a delay in UDP debugging code ([#397](https://github.com/xoseperez/espurna/issues/397))
  57. - Fix memory leak in influxDB module ([#410](https://github.com/xoseperez/espurna/issues/410))
  58. - Fix typos in web UI ([#394](https://github.com/xoseperez/espurna/issues/394), [#421](https://github.com/xoseperez/espurna/issues/421))
  59. ### Changed
  60. - Updated to fauxmoESP 2.4.2
  61. - Changed default I2C GPIO for Wemos D1 ([#420](https://github.com/xoseperez/espurna/issues/420))
  62. - Some terminal commands have changed. See docs or type "help".
  63. ## [1.12.0] 2018-01-11
  64. ### Added
  65. - Scheduler (contributed by Stefano Cotterli, thank you!, [#131](https://github.com/xoseperez/espurna/issues/131))
  66. - Added "wifi.scan" command to terminal
  67. - Added ESPurna Switch board support
  68. - Added support for python3 in memanalyzer and ota scripts (thanks to Ryan Jarvis)
  69. - Added BSSID, RSSI, channels and distance to web UI status tab
  70. - Added mDNS name resolving to MQTT, InfluxDB and NoFUSS modules ([#129](https://github.com/xoseperez/espurna/issues/129), disabled by default)
  71. ### Fixed
  72. - Update FauxmoESP library to 2.4.1, solves dependency issue ([#388](https://github.com/xoseperez/espurna/issues/388))
  73. - Fixed hardware definition in Sonoff Basic and Dual R2 causing wrong relay state on boot ([#365](https://github.com/xoseperez/espurna/issues/365))
  74. ### Changed
  75. - Removed auto-recursion check in Domoticz module ([#379](https://github.com/xoseperez/espurna/issues/379))
  76. - Rename terminal commands: reset.wifi to wifi.reset, reset.mqtt to mqtt.reset.
  77. - Update JustWifi library to 1.1.6 (support for multiple SSIDs with the same name)
  78. - Changed the way Home Assistant module handles disabling auto-discovery ([#383](https://github.com/xoseperez/espurna/issues/383))
  79. ## [1.11.4] 2018-01-09
  80. ### Fixed
  81. - Fix bug in RF Bridge when RF code contains the stop byte. Check overflow ([#357](https://github.com/xoseperez/espurna/issues/357))
  82. - Fixed typos in code and wiki (Thanks to Ryan Jarvis)
  83. - Fix bug in magnitude topic and units ([#355](https://github.com/xoseperez/espurna/issues/355))
  84. ### Added
  85. - Small core build to allow two-step flashing method for big binaries
  86. - Thingspeak support ([#371](https://github.com/xoseperez/espurna/issues/371), disabled by default)
  87. - Color synchronization between lights using MQTT ([#362](https://github.com/xoseperez/espurna/issues/362))
  88. - Support for Arilux AL-LC02 ([#347](https://github.com/xoseperez/espurna/issues/347))
  89. - Support for Tarpuna Shield for Wemos D1
  90. - Build option to disable password checking ([#373](https://github.com/xoseperez/espurna/issues/373))
  91. - Option to report sensor address via MQTT ([#377](https://github.com/xoseperez/espurna/issues/377), I2C address, GPIO, Dallas address,...)
  92. - Added binary size to memanalyzer script
  93. - Option to specify custom client ID for MQTT connection ([#368](https://github.com/xoseperez/espurna/issues/368))
  94. - Cross-platform ESPurna OTA Manager implemented in python (untested)
  95. - Terminal command to get or set digital GPIO
  96. ### Changed
  97. - Using 2.3.0 for prebuilt binaries
  98. - Fix delay in DHT sensor
  99. - Allow MQTT keep alive value of up to 3600s
  100. - Changed Sonoff 4CH Pro definitions to support built-in interlock mode ([#333](https://github.com/xoseperez/espurna/issues/333))
  101. ## [1.11.3] 2018-01-02
  102. ### Fixed
  103. - Fix uninitialized PWM channels bug ([#356](https://github.com/xoseperez/espurna/issues/356))
  104. ### Added
  105. - Added memory analyzer
  106. ## [1.11.2] 2017-12-30
  107. ### Fixed
  108. - Fix my92xx and pwm references for Arduino IDE ([#346](https://github.com/xoseperez/espurna/issues/346))
  109. - Fix SHT3X I2C sensor magnitude count ([#337](https://github.com/xoseperez/espurna/issues/337))
  110. - Fix timing for DHT11 sensors ([#294](https://github.com/xoseperez/espurna/issues/294))
  111. - Fix overflow in relayParsePayload with long MQTT messages ([#344](https://github.com/xoseperez/espurna/issues/344))
  112. - Fix loading of Dallas and DHT sensors for Sonoff TH images ([#352](https://github.com/xoseperez/espurna/issues/352))
  113. - Subscribe to Domoticz MQTT topics only if Domotic< is enabled
  114. ### Added
  115. - Added option to change MQTT retain flag, QoS and keepalive time from webUI ([#321](https://github.com/xoseperez/espurna/issues/321))
  116. - Added LED modes "always off" and "always on" ([#348](https://github.com/xoseperez/espurna/issues/348))
  117. - Defined new ESPurna switch (no HLW8012 support & touch button ready)
  118. ### Changed
  119. - Stop requiring definition of boards in migrate module
  120. ## [1.11.1] 2017-12-29
  121. ### Fixed
  122. - Fixed relay status on reboot
  123. ### Added
  124. - Added support for Arilux AL-LC01 and AL-LC11
  125. - Added support for BH1750 luminosity sensor
  126. - Added automatic memory size identification in ota_flash script
  127. ## [1.11.0] 2017-12-28
  128. ### Fixed
  129. - Fixed Arduino IDE compilation issues ([#330](https://github.com/xoseperez/espurna/issues/330))
  130. - Fixed issues with IE
  131. - Fixed websocket auth issue with Safari (temporary)
  132. - Fixed MQTT group sync when different switches share same group
  133. - Fixed casting issue in buttonStore ([#327](https://github.com/xoseperez/espurna/issues/327))
  134. - Fixed crash in InfluxDB initial heartbeat ([#318](https://github.com/xoseperez/espurna/issues/318))
  135. - Fixed LED logic for ESPurna H08 board
  136. ### Added
  137. - New sensors module (major change)
  138. + Existing sensor have been migrated: EMON*, ECH1560, V9261F, HLW8012, DHT, DALLAS, ANALOG, DIGITAL and EVENTS
  139. + New sensor have bee added: BMP280/BME280, EMON over ADS1115, MHZ19, PMSX003 (thanks to Òscar Rovira), SHT3X over I2C and SI7021
  140. - Option to change boot and pulse modes per relay from the web UI
  141. - Option to select sensor read interval and report interval from web UI
  142. - Itead RF Bridge
  143. + Match MQTT RFOUT codes to relays
  144. + Force RFBridge to send messages even if switch is already in requested state ([#324](https://github.com/xoseperez/espurna/issues/324))
  145. + Implemented RFbridge message queue asynchronously
  146. - Added option to load config via HTTP POST & reset ([#335](https://github.com/xoseperez/espurna/issues/335))
  147. - Added option to define behaviour of the first LED between WIFI, MQTT, FIND-ME ([#317](https://github.com/xoseperez/espurna/issues/317))
  148. - Added HTML linter to gulp builder
  149. - Added Help command on terminal ([#338](https://github.com/xoseperez/espurna/issues/338))
  150. - Added preliminary support for SSDP (untested, disabled by default) ([#282](https://github.com/xoseperez/espurna/issues/282))
  151. - Reporting NTP datetime on MQTT heartbeat (thanks to Eldon R. Brown)
  152. - Added version tracking and migration code
  153. - I2C and GPIO locking features
  154. - Changed default button action for touch button devices (TOUCH and T1) ([#327](https://github.com/xoseperez/espurna/issues/327))
  155. - Generic 8 channel board ([#336](https://github.com/xoseperez/espurna/issues/336))
  156. ### Changed
  157. - Added more sensor data filters (Max, MobileAverage)
  158. - Changed max pulse time to 1h ([#316](https://github.com/xoseperez/espurna/issues/316))
  159. - Renamed "reset" to "reboot" for clarity ([#315](https://github.com/xoseperez/espurna/issues/315))
  160. - UI refactor
  161. - Change apiRegister signature
  162. ## [1.10.1] 2017-12-05
  163. ### Fixed
  164. - Fix Sonoff RFBridge learn message from web UI ([#287](https://github.com/xoseperez/espurna/issues/287))
  165. - Fix unstability in "one and just one" sync mode ([#290](https://github.com/xoseperez/espurna/issues/290))
  166. - Fix unnecessary inclusion of my92xx library ([#293](https://github.com/xoseperez/espurna/issues/293))
  167. - Limit the MQTT queue to 10 messages when "Use JSON payload" enabled ([#296](https://github.com/xoseperez/espurna/issues/296))
  168. - Fix Sonoff RFBridge OFF button toggling switch ([#303](https://github.com/xoseperez/espurna/issues/303))
  169. - Allow defining only ON or OFF codes in Sonoff RFBridge ([#304](https://github.com/xoseperez/espurna/issues/304))
  170. - Disabled terminal support for Sonoff Dual ([#310](https://github.com/xoseperez/espurna/issues/310))
  171. ### Added
  172. - Support for SI7021-based sensor by Itead Studio compatible with Sonoff TH ([#216](https://github.com/xoseperez/espurna/issues/216))
  173. - Support for Sonoff Dual R2 ([#286](https://github.com/xoseperez/espurna/issues/286))
  174. - MQTT group topics (sync two or more switches from different devices, [#300](https://github.com/xoseperez/espurna/issues/300))
  175. - Color transitions (enabled by default, can be disabled from web UI)
  176. - Option to disable MQTT support at build time
  177. ### Changed
  178. - Decreased PWM frequency for dimmer lights
  179. - Changed password policy ([#297](https://github.com/xoseperez/espurna/issues/297))
  180. ## [1.10.0] 2017-11-26
  181. ### Fixed
  182. - Temperatures with 1 decimal resolution
  183. - Issues with Sonoff B1 due to bad driver management (using my92xx library now)
  184. - Avoid recursive messages on Domoticz ([#272](https://github.com/xoseperez/espurna/issues/272))
  185. - Fixed Sonoff T1 configuration
  186. - Simplify and fix web auth ([#284](https://github.com/xoseperez/espurna/issues/284))
  187. - Fix Embedis custom parser
  188. ### Added
  189. - Added option to define a temperature correction factor (thanks to Pawel Raszewski)
  190. - Option to disable system check on build time
  191. - Power saving features (loopDelay and wifi sleep)
  192. - Added Sonoff TH build environment
  193. - Send Home Assistant auto discover messages on connect ([#279](https://github.com/xoseperez/espurna/issues/279))
  194. - Implemented Home Assistant availability topic ([#280](https://github.com/xoseperez/espurna/issues/280))
  195. - Update time, uptime and heap on webUI every heartbeat
  196. - Support for LLMNR and NetBIOS ([#282](https://github.com/xoseperez/espurna/issues/282))
  197. - Added I2C clean bus code
  198. - Added realm to auth challenge
  199. ### Changed
  200. - Changed default hostname to "ESPURNA_XXXXXX"
  201. - Binaries built against stable core (~40Kb less, [#274](https://github.com/xoseperez/espurna/issues/274))
  202. - Enabled TERMINAL_SUPPORT for Sonoff Dual (only available via TELNET)
  203. - Dinamically resize debug strings (now messages are not cropped)
  204. - MQTT: unsubscribe to '#' before subscribing
  205. - Updated ESPAsyncWebServer and ESPAsyncTCP libraries
  206. - Removed InfluxDB support by default
  207. - Using stock slider in webUI to reduce size
  208. - Unify DHT and DS18B20 code, show NOT CONNECTED on webUI
  209. ## [1.9.9] 2017-11-09
  210. ### Fixed
  211. - Fixed bug in MY9291-based light bulbs at full brightness
  212. ### Added
  213. - RFBridge: toggle when RF codes for ON and OFF are the same ([#270](https://github.com/xoseperez/espurna/issues/270))
  214. - Support for HSV color schema (MQTT, API and webUI via a selector)
  215. ### Changed
  216. - "COLOR" entry point deprecated, use "RGB" instead (MQTT and API, ex. topic "light/rgb/set" instead of "light/color/set")
  217. ## [1.9.8] 2017-11-08
  218. ### Fixed
  219. - Removed dimmer lights flicker when saving to EEPROM ([#191](https://github.com/xoseperez/espurna/issues/191))
  220. - Fixed low brightness in dimmer lights ([#157](https://github.com/xoseperez/espurna/issues/157))
  221. - Fixed blank fields in energy ([#258](https://github.com/xoseperez/espurna/issues/258), [#259](https://github.com/xoseperez/espurna/issues/259))
  222. - Fixed support for Arilux AL-LC06
  223. - Updated fauxmoESP library with support for GetBinaryState actions
  224. ### Added
  225. - Support for IR remotes
  226. - Option to select power read and report interval from webUI
  227. - Option to report real-time values in API, configurable via webUI
  228. - Support for ESPurna-H Board v0.8
  229. - Support for Arilux E27 light bulb (untested)
  230. - Support for YJZK 2-gang switch
  231. ### Changed
  232. - PWM using ESP8266_new_pwm by Stephan Bruens (https://github.com/StefanBruens/ESP8266_new_pwm)
  233. - Using own DHT implementation (removed dependency on Adafruit libraries)
  234. - Disabled serial debug for Sonoff RFBridge
  235. ## [1.9.7] 2017-10-25
  236. ### Fixed
  237. - Fix Alexa interface switching on all lights ([#256](https://github.com/xoseperez/espurna/issues/256))
  238. ## [1.9.6] 2017-10-23
  239. ### Fixed
  240. - Fix power report in Domoticz ([#236](https://github.com/xoseperez/espurna/issues/236))
  241. - Fix Sonoff POW in AP mode ([#241](https://github.com/xoseperez/espurna/issues/241))
  242. - Fix Home Automation auto-discovery (support for single relay switches and RGB lights, [#235](https://github.com/xoseperez/espurna/issues/235))
  243. - Check WS authentication only on start event
  244. ### Added
  245. - 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))
  246. - Support for ManCaveMade ESPLive board (thanks to Michael A. Cox)
  247. - Support for InterMIT Tech QuinLED 2.6 (thanks to Colin Shorts)
  248. - Support for Magic Home LED Controller 2.0 (thanks to users @gimi87 and @soif, [#231](https://github.com/xoseperez/espurna/issues/231))
  249. - Support for Arilux AL-LC06 (thanks to Martijn Kruissen)
  250. - Support for Xenon SM-PW702U Wifi boards (thanks to Joshua Harden, [#212](https://github.com/xoseperez/espurna/issues/212))
  251. - Support for Authometion LYT8266 (testing, thanks to Joe Blellik, [#213](https://github.com/xoseperez/espurna/issues/213))
  252. - Support for an external button for D1 Mini boards (thanks to user @PieBru, [#239](https://github.com/xoseperez/espurna/issues/239))
  253. - Option to query relay status via MQTT or WS (thanks to Wesley Tuzza)
  254. - Automatically install dependencies for web interface builder (thanks to Hermann Kraus)
  255. - Support for HSV and IR for Magic Home LED Controller (optional, disabled by default, thanks to Wesley Tuzza)
  256. - Added option to report DS18B20 temperatures based on changes (thanks to Michael A. Cox)
  257. - Safer buffer handling for websocket data (thanks to Hermann Kraus & Björn Bergman)
  258. - Updates HL8012 library with energy counting support (thanks to Hermann Kraus)
  259. - Added option to disable light color persistence to avoid flickering ([#191](https://github.com/xoseperez/espurna/issues/191))
  260. - Option to enable TELNET in STA mode from web UI ([#203](https://github.com/xoseperez/espurna/issues/203))
  261. ### Changed
  262. - Changed default MQTT base topic to "{identifier}" (no leading slashes, [#208](https://github.com/xoseperez/espurna/issues/208))
  263. - Prevent reconnecting when in AP mode if a web session or a telnet session is active ([#244](https://github.com/xoseperez/espurna/issues/244))
  264. - Web UI checks for pending changes before reset/reconnect options ([#226](https://github.com/xoseperez/espurna/issues/226))
  265. - Increase WIFI connect timeout and reconnect interval
  266. ## [1.9.5] 2017-09-28
  267. ### Fixed
  268. - Revert to JustWifi 1.1.4 ([#228](https://github.com/xoseperez/espurna/issues/228))
  269. ## [1.9.4] 2017-09-22
  270. ### Added
  271. - Added ESPurna specific mDNS text registers (app_name, app_version, device_name)
  272. - Crash dump info is stored in EEPROM and retrieved via terminal ("crash" command)
  273. - Support for Huacanxing H802
  274. - Support for powermeters based on V9261F IC
  275. - Support for powermeters based on ECH1560 IC (beta, untested)
  276. ### Changed
  277. - Changed behaviour on MQTT connection failure ([#215](https://github.com/xoseperez/espurna/issues/215))
  278. - Removed boot delay
  279. - Refactor power modules
  280. - Updated JustWifi library
  281. ### Fixed
  282. - Set all esp8285 devices to use esp01_1m ([#210](https://github.com/xoseperez/espurna/issues/210), [#225](https://github.com/xoseperez/espurna/issues/225))
  283. - Removed wifi gain option since it prevents some devices to connect ([#204](https://github.com/xoseperez/espurna/issues/204))
  284. ## [1.9.3] 2017-09-04
  285. ### Added
  286. - New "erase.config" option in terminal to delete SDK settings
  287. - Added error code to error message when updating from web UI
  288. - Fixed Web UI to be behind a proxy (http://tinkerman.cat/secure-remote-access-to-your-iot-devices/)
  289. - 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/)
  290. ### Changed
  291. - Updated fauxmoESP library to 2.2.0
  292. ### Fixed
  293. - Fix HLW8012 calibration ([#194](https://github.com/xoseperez/espurna/issues/194))
  294. - Fix telnet dropping connection
  295. - Fix WiFiSecureClient connection with PubSubClient ([#64](https://github.com/xoseperez/espurna/issues/64))
  296. ## [1.9.2] 2017-08-31
  297. ### Added
  298. - 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))
  299. - Telnet support (enabled by default only on AP interface)
  300. - Option to set WiFi gain from web UI
  301. - Option to disable MQTT from web UI
  302. - MQTT autodiscover, with the option to autoconnect if no broker defined
  303. - Home Assistant MQTT autodiscover feature
  304. - List enabled modules in INIT debug info
  305. - Counter module (counts and reports transitions in a digital pin)
  306. ### Changed
  307. - Updated NoFUSS support
  308. - Web UI documentation changes
  309. - Changes in terminal commands ("reconnect" is now "reset.wifi", also new commands added)
  310. ### Fixed
  311. - Crash in settings saving ([#190](https://github.com/xoseperez/espurna/issues/190)) and fixed UDP debug conditional build clauses
  312. ## [1.9.1] 2017-08-27
  313. ### Added
  314. - Support to build without NTP support
  315. - Added current time, uptime, free heap, firmware size and free space to web interface
  316. ### Changed
  317. - Changed settings keys for Itead Sonoff RF Bridge
  318. - Disable Domoticz by default
  319. ### Fixed
  320. - Fixed build flags for DHT and DS18B20 in platformio.ini file
  321. - Fixed Itead Sonoff B1 by updating the my9291 library
  322. - Fixed light status on boot ([#157](https://github.com/xoseperez/espurna/issues/157))
  323. - Fixed CSS bug cause by a bad merge
  324. ## [1.9.0] 2017-08-25
  325. ### Added
  326. - Support for IteadStudio BN-SZ01 Ceiling Light ([#132](https://github.com/xoseperez/espurna/issues/132))
  327. - Support for IteadStudio Sonoff RF Bridge ([#173](https://github.com/xoseperez/espurna/issues/173))
  328. - Support for IteadStudio Sonoff 4CH Pro ([#174](https://github.com/xoseperez/espurna/issues/174))
  329. - Support for IteadStudio Sonoff B1
  330. - Support for IteadStudio Sonoff LED
  331. - Support for IteadStudio Sonoff T1 wall switches (1, 2 and 4 channels)
  332. - Support for WiOn 50055 WiFi Wall Outlet & Tap
  333. - Support for EXS WiFi Relay v3.1 (and other future latching relay boards) ([#152](https://github.com/xoseperez/espurna/issues/152))
  334. - 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))
  335. - 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))
  336. - Added ON and OFF actions for button events (previously only TOGGLE available) ([#182](https://github.com/xoseperez/espurna/issues/182))
  337. - Sliders in web interface to control dimmer channels independently (also for brightness)
  338. - Debug info about MQTT disconnect reason
  339. ### Changed
  340. - MQTT setters ending with "/set" by default
  341. - Using DOUT flash mode on all devices ([#167](https://github.com/xoseperez/espurna/issues/167))
  342. - Longer timeout for WiFi connection (better chances for Sonoff Basic to connect)
  343. - Changed MQTT topics for light devices (COLOR, BRIGHTNESS, MIRED, KELVIN, CHANNEL) ([#144](https://github.com/xoseperez/espurna/issues/144))
  344. - Changed the way light devices are defined (see LIGHT_PROVIDER_DIMMER)
  345. - Allow to disable color picker in web interface
  346. - API returns processed values for HLW8012 sensor (not raw values anymore) ([#176](https://github.com/xoseperez/espurna/issues/176))
  347. - Major refactoring of settings
  348. ### Fixed
  349. - Discard MQTT messages with empty payload ([#185](https://github.com/xoseperez/espurna/issues/185))
  350. - Wifi connection issue (https://github.com/esp8266/Arduino/issues/2186)
  351. - Alexa connection issue
  352. ## [1.8.3] 2017-07-23
  353. ### Added
  354. - 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
  355. - Issue [#170](https://github.com/xoseperez/espurna/issues/170). Updated DebouceEvent library to allow disabling double click and get faster click responses
  356. - Using memory layout with no SPIFFS for 1Mb devices
  357. ### Changed
  358. - Rename settings s/POW/HLW8012/
  359. - Return times in ISO8601 format
  360. ### Fixed
  361. - Issue [#168](https://github.com/xoseperez/espurna/issues/168). Added H801 to arduino.h file
  362. - Issue [#171](https://github.com/xoseperez/espurna/issues/171). Fix corrupted will message
  363. ## [1.8.2] 2017-07-16
  364. ### Added
  365. - InfluxDB support via HTTP API
  366. - Added custom reset reason to debug log
  367. - Enable WIFI debug on hardware reset (button long click)
  368. ### Changed
  369. - Issue [#159](https://github.com/xoseperez/espurna/issues/159). Allow decimals in relay pulse interval
  370. - Updated HLW8012 library
  371. ### Fixed
  372. - Issue [#148](https://github.com/xoseperez/espurna/issues/148). Fix bug in conditional compilation check
  373. - Issue [#149](https://github.com/xoseperez/espurna/issues/149). Using different pulse counters for each relay (thanks to Lauris Ieviņš)
  374. - Issue [#141](https://github.com/xoseperez/espurna/issues/141). Limit relay pulse interval to 60s
  375. - Fixed units for apparent & reactive power (thanks to Lauris Ieviņš)
  376. - Fixed mDNS setup when using custom HTTP port for web interface
  377. ## [1.8.1] 2017-05-22
  378. ### Fixed
  379. - Issue [#140](https://github.com/xoseperez/espurna/issues/140). Fix no relay control bug in Sonoff Dual
  380. ## [1.8.0] 2017-05-21
  381. ### Added
  382. - Added gamma correction to RGB strips. Thanks to Chris Ward.
  383. - Added support for Huacanxing H801 WiFi LED Controller. Thanks to Minh Phuong Ly.
  384. - Issue [#138](https://github.com/xoseperez/espurna/issues/138). Added NTP configuration from web interface
  385. - Issue [#128](https://github.com/xoseperez/espurna/issues/128). Report color when booting and in heartbeat stream.
  386. - Issue [#126](https://github.com/xoseperez/espurna/issues/126). Show NTP status in web interface.
  387. - Added filter limits on POW readings.
  388. - Added color temperature to RGB calculation. Thanks to Sacha Telgenhof.
  389. - Issue [#120](https://github.com/xoseperez/espurna/issues/120). Added relay flood protection. Thanks to Izik Dubnov.
  390. - Support for "#RRGGBB", "RRR,GGG,BBB" and "WWW" color formats.
  391. - Issue [#117](https://github.com/xoseperez/espurna/issues/117). Added build date & time to web interface.
  392. ### Fixed
  393. - Fix MQTT_RELAY board conifugration. Thanks to Denis French.
  394. - Issue [#125](https://github.com/xoseperez/espurna/issues/125). Fix bug in relay status reading from EEPROM
  395. - Issue [#127](https://github.com/xoseperez/espurna/issues/127). Fix button action in DUAL.
  396. - Fix bug in Sonoff POW current reading. Thanks to Emmanuel Tatto.
  397. - Minimizing my9291 flickering when booting.
  398. - Fix conditional flags in hardware.ino to support Arduino IDE.
  399. ## [1.7.1] 2017-03-28
  400. ### Fixed
  401. - Issue [#113](https://github.com/xoseperez/espurna/issues/113). Fix restoring color from EEPROM upon reboot
  402. - Issue [#113](https://github.com/xoseperez/espurna/issues/113). Fix bug in API handlers
  403. ## [1.7.0] 2017-03-27
  404. ### Added
  405. - Web interface embedded in firmware image by default
  406. - Upload firmware image from web interface
  407. - Added API entry point to change light color
  408. - Added generic analog sensor. Thanks to Francesco Boscarino
  409. - Report RSSI value in debug console and MQTT status messages
  410. - Added support for Magic Home LED Controller
  411. - Added support for ESPurna-H Board (based on HLW8012)
  412. - Added forward compatible code for v2.0
  413. ### Changed
  414. - Added ellipsis (...) in debug messages longer than 80 characters
  415. - Changed topic constants in code
  416. - Prevent the SDK from saving WiFi configuration to flash
  417. ### Fixed
  418. - Issue [#113](https://github.com/xoseperez/espurna/issues/113). Fix light bulb state to OFF in library prevented the bulb from turning on
  419. - Issue [#58](https://github.com/xoseperez/espurna/issues/58). Added code to handle spurious readings
  420. - Fix bug in HLW8012 calibration current parameter casting to int instead of float
  421. - Issue [#115](https://github.com/xoseperez/espurna/issues/115). Removed local declaration of _mqttForward variable. Thanks to Paweł Fiedor
  422. - Fix MQTT will topic. Thanks to Asbjorn Tronhus
  423. ## [1.6.9] 2017-03-12
  424. ### Added
  425. - Two stage read for DS18B20 devices. Thanks to Izik Dubnov.
  426. - Option to report the relay status via MQTT periodically
  427. - Terminal commands to change relay status an light color
  428. - Added debug via UDP (disabled by default)
  429. - Moved debug strings to PROGMEM. ~1.5KByes memory freed
  430. - Avoid broadcasting websocket messages if no clients connected
  431. ### Fixed
  432. - Fixing use after free bug that leads to corrupted auth credentials. Thanks to David Guillen
  433. ## [1.6.8] 2017-03-01
  434. ### Added
  435. - Issue [#85](https://github.com/xoseperez/espurna/issues/85). Heartbeat reports now free heap, uptime and VCC every 5 minutes
  436. ### Changed
  437. - Wait two minutes instead of one in AP mode before trying to reconnect to the router
  438. - Issue [#92](https://github.com/xoseperez/espurna/issues/92). Debug log enabled by default in Arduino IDE
  439. - Issue [#91](https://github.com/xoseperez/espurna/issues/91). Using AsyncMqttClient as default MQTT client again
  440. ### Fixed
  441. - Report data from all sensors via websocket even if no MQTT connection
  442. - Issue [#92](https://github.com/xoseperez/espurna/issues/92). Fix unknown reference in Arduino IDE
  443. - Split data.h contents into 1k lines, otherwise Arduino IDE chokes on them
  444. - Discard empty MQTT topic while subscribing
  445. ## [1.6.7] 2017-02-25
  446. ### Added
  447. - Support for OpenLight / AI-Light by AI-Thinker based on MY9291 LED driver
  448. - Issue [#87](https://github.com/xoseperez/espurna/issues/87). Factory reset when physical button pressed for >10 seconds
  449. ## [1.6.6] 2017-02-23
  450. ### Fixed
  451. - Issue [#82](https://github.com/xoseperez/espurna/issues/82). Fix critical bug on Sonoff Dual
  452. ## [1.6.5] 2017-02-22
  453. ### Added
  454. - Option to backup and restore settings from the web interface
  455. - Footer in the web interface
  456. ### Changed
  457. - Using PubSubClient as MQTT client by default (please read the documentation)
  458. - Double & long clicks do nothing except for the first defined button
  459. ### Fixed
  460. - Issue [#79](https://github.com/xoseperez/espurna/issues/79). Fix bug in WiFi led notification & MQTT connectivity (using PubSubClient)
  461. - Issue [#73](https://github.com/xoseperez/espurna/issues/73). Fix bug when building without Domoticz support
  462. - Fix Gulp tasks dependencies
  463. ## [1.6.4] 2017-02-20
  464. ### Added
  465. - Option to embed the web interface in the firmware, disabled by default
  466. - Change relay status with a GET request (browser friendly)
  467. - Support for PROGMEM debug messages (only wifi module has been changed)
  468. - Option to disable mDNS, enabled by default
  469. - Show current web server port in debug log
  470. - Issue [#75](https://github.com/xoseperez/espurna/issues/75). Link relays to LEDs
  471. - Issue [#76](https://github.com/xoseperez/espurna/issues/76). Using http://espurna.local when in AP mode
  472. ### Changed
  473. - Images and favicon is now embedded in the HTML
  474. - Authentication challenge only in /auth request. All static contents are un-authenticated
  475. - HTTP response code when out of websocket slots changed from 423 to 429
  476. ### Fixed
  477. - Memory leak in MQTT connection method
  478. - Wait 60 seconds before retrying to connect when in AP mode
  479. - 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
  480. - Issue [#73](https://github.com/xoseperez/espurna/issues/73). Fixes for windows machines
  481. ### Removed
  482. - Captive portal removed, mDNS resolution for AP mode too
  483. ## [1.6.3] 2017-02-15
  484. ### Added
  485. - Issue [#69](https://github.com/xoseperez/espurna/issues/69). Temperature unit configuration from the web interface
  486. - Issue [#55](https://github.com/xoseperez/espurna/issues/55). WebServer port configurable from the web interface, defaults to 80
  487. - Expand network configuration when adding a new network
  488. ### Changed
  489. - Merged web contents except images in a single compressed file for reliability
  490. - Update support for Itead Motor Clockwise/Anticlockwise board
  491. - Scan for strongest network only if more than 1 network configured
  492. ### Fixed
  493. - Issue [#71](https://github.com/xoseperez/espurna/issues/71). Added default values for netmask and DNS in web configuration
  494. - Fixed Itead 1CH self-locking/inching board definition
  495. - Fixed PlatformIO environments for ESP8285 boards (4CH and Touch)
  496. ## [1.6.2] 2017-02-10
  497. ### Fixed
  498. - Check if there is an MQTT broker defined before the MQTT_MAX_TRIES check
  499. ## [1.6.1] 2017-02-10
  500. ### Added
  501. - Added support for [Jorge Garcia's Wifi+Relay Board Kit](https://www.tindie.com/products/jorgegarciadev/wifi--relays-board-kit/)
  502. - Reporting current and energy incrementals to a separate counters in Domoticz (thanks to Toni Arte)
  503. - Force WiFi reconnect after MQTT_MAX_TRIES fails trying to connect to MQTT broker
  504. ## [1.6.0] 2017-02-05
  505. ### Added
  506. - Added support for toggle switches
  507. - Allow reset the board via an MQTT message
  508. - Allow reset the board via an RPC (HTTP) message
  509. - 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/))
  510. - Reporting voltage to Domoticz (only HLW8012)
  511. - Map button events to actions (toggle relay, AP mode, reset, pulse mode)
  512. ### Changed
  513. - Reporting energy incrementals (Domoticz, MQTT)
  514. ### Removed
  515. - Removed current monitor bypass when relay is OFF
  516. - Removed energy API entry point
  517. ## [1.5.4] 2017-02-03
  518. ### Fixed
  519. - Issue [#50](https://github.com/xoseperez/espurna/issues/50). Fix type bug in window variable when calculating energy for HLW8012 devices (Sonoff POW)
  520. ## [1.5.3] 2017-02-02
  521. ### Fixed
  522. - Issue [#50](https://github.com/xoseperez/espurna/issues/50) and [#54](https://github.com/xoseperez/espurna/issues/54). Fixed domoticz MQTT message format
  523. ### Added
  524. - Energy calculation and aggregation. API entry points and MQTT messages.
  525. ## [1.5.2] 2017-01-29
  526. ### Fixed
  527. - Fix bug in emon topic payload
  528. ## [1.5.1] 2017-01-28
  529. ### Added
  530. - OpenEnergyMonitor WiFi MQTT Relay / Thermostat support (thanks to Denis French)
  531. ### Fixed
  532. - NTP connection refresh upon wifi connection
  533. - Filesystem image build using local gulp installation
  534. ## [1.5.0] 2017-01-21
  535. ### Added
  536. - Pulse mode. Allows to define a pulse time after which the relay will switch back
  537. - API entry points for sensor data (power, current, voltage, temperature and humidity)
  538. - Export sensor data to Domoticz (power, current, voltage, temperature and humidity)
  539. - Configurable (in code) mapping between buttons and relays
  540. - MQTT messages for button events
  541. - Added support for Itead Studio 1CH inching/self locking smart switch board
  542. - Added support for Jan Goedeke Wifi Relay boards (both NC and NO versions)
  543. - Notify OTA updates to websocket clients, automatically reload page
  544. - Support for pulse mode notification LED and button
  545. - Revert relay state mode on boot (thanks to Minh Phuong Ly)
  546. ### Fixed
  547. - MQTT will topic
  548. - Crash with HLW812 interrupts while trying to create a WIFI connection
  549. - Issue [#20](https://github.com/xoseperez/espurna/issues/20) Better inline documentation for Alexa and Domoticz default settings
  550. - Issue [#39](https://github.com/xoseperez/espurna/issues/39) Fixed autoconnect issue with static IP (fixed in JustWifi library)
  551. - Issue [#41](https://github.com/xoseperez/espurna/issues/41) Added password requirements to initial password change page
  552. ### Changed
  553. - Changed LED pattern for WIFI notifications (shorter pulses)
  554. ## [1.4.4] 2017-01-13
  555. ### Added
  556. - Adding current, voltage, apparent and reactive power reports to Sonoff POW (Web & MQTT)
  557. ### Fixed
  558. - Issue [#35](https://github.com/xoseperez/espurna/issues/35) Fixed frequent MQTT connection drops after WIFI reconnect
  559. - Defer wifi disconnection from web interface to allow request to return
  560. ### Changed
  561. - Move all Arduino IDE configuration values to their own file
  562. - Using latest HLW8012 library in interrupt mode
  563. ## [1.4.3] 2017-01-11
  564. ### Fixed
  565. - 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
  566. ## [1.4.2] 2017-01-09
  567. ### Added
  568. - Support for inverse logic relays
  569. ### Fixed
  570. - Issue [#31](https://github.com/xoseperez/espurna/issues/31). Fixed error in relay identification from MQTT messages
  571. ## [1.4.1] 2017-01-05
  572. ### Added
  573. - Alexa support by default on all devices
  574. - Added support for Wemos D1 Mini board with official Relay Shield
  575. ### Fixed
  576. - Multi-packet websocket frames
  577. ## [1.4.0] 2016-12-31
  578. ### Added
  579. - Domoticz support via MQTT (https://www.domoticz.com/wiki/MQTT)
  580. - Support for static IP connections
  581. ### Fixed
  582. - Issue [#16](https://github.com/xoseperez/espurna/issues/16). Enforce minimum password strength in web interface
  583. ### Changed
  584. - Using default client_id provided by AsyncMqttClient
  585. - Allow up to 5 different WIFI networks
  586. ### Removed
  587. - File system version file
  588. ## [1.3.1] 2016-12-31
  589. ### Fixed
  590. - data_dir fix for PlatformIO
  591. ## [1.3.0] 2016-12-30
  592. ### Changed
  593. - Arduino IDE support (changes in the folder structure and documentation)
  594. ## [1.2.0] 2016-12-27
  595. ### Added
  596. - Force password changing if it's the default one
  597. - Added Last-Modified header to static contents
  598. - Added DNS captive portal for AP mode
  599. - Added support for Sonoff 4CH
  600. - Added support for WorkChoice ecoPlug (ECOPLUG). Thanks to David Myers
  601. - Added support for Sonoff SV
  602. - Added support for Sonoff Touch
  603. - Comment out hardware selection in hardware.h if using Arduino IDE
  604. - Added support for MQTT get/set suffixes (/status, /set, ...)
  605. - Added support for LED notifications via MQTT
  606. - Added EEPROM check commands to terminal interface
  607. ### Changed
  608. - Using unreleased AsyncMqttClient with stability improvements
  609. - Better decoupling between MQTT and relays/websockets
  610. - Skipping retained MQTT messages (configurable)
  611. ### Fixed
  612. - Issue [#11](https://github.com/xoseperez/espurna/issues/11) Compile error when building sonoff-dual-debug
  613. - Issue [#14](https://github.com/xoseperez/espurna/issues/14) MQTT Connection with Username an Password not working
  614. - Issue [#17](https://github.com/xoseperez/espurna/issues/17) Moved static variable 'pending' to class variable
  615. ## [1.1.0] 2016-12-06
  616. ### Added
  617. - Added support for DS18B20 temperature sensor. Thanks to Francesco Boscarino
  618. - Added reset command from console
  619. - Added support for multirelay boards like Sonoff DUAL or Electrodragon ESP Relay Board
  620. ### Changed
  621. - Not using espressif8266_stage in default environment
  622. - Relay MQTT topics
  623. - API entry points
  624. ### Removed
  625. - Old non protected API
  626. ## [1.0.3] 2016-11-29
  627. ### Added
  628. - WeMo emulation through the fauxmoESP library (control your switch from Alexa!)
  629. - REST API for relay management
  630. - Better dependency definitions in platformio.ini
  631. - Option to define inverse logic to on-board LED
  632. - Built data folder included in repo
  633. ### Changed
  634. - Using non-interrupt driven mode for HLW8012
  635. - Better documentation
  636. - Small changes to web interface
  637. - Same admin password for web, OTA and WIFI AP mode
  638. ### Fixed
  639. - Prevent fauxmoESP to be compiled by default
  640. ### Removed
  641. - Removed ESPurna board to its own repo
  642. ## [1.0.1] 2016-11-13
  643. ### Added
  644. - Basic authentication and CSRF to websocket requests
  645. ## [1.0.0] 2016-11-13
  646. ### Added
  647. - Using ESPAsyncWebServer (for web & websockets) and AsyncMqttClient
  648. ## [0.9.9] 2016-11-12
  649. ### Added
  650. - Preliminary support for Sonoff POW
  651. - Replace AJAX requests with websockets
  652. - Using sprites for images
  653. - Hostname can be changed
  654. - Added initial relay state mode
  655. - Reconnect and reset buttons on web interface
  656. ### Changed
  657. - Changed long click to reset and double click to AP mode
  658. - Using officially supported platformio.ini file by default
  659. ### Fixed
  660. - Removed unnecessary memory inefficient code
  661. - Temprary fix for Adafruit DHT library (see https://github.com/adafruit/DHT-sensor-library/issues/62)
  662. ## [0.9.8] 2016-10-06
  663. ### Added
  664. - Using PureCMS for the web interface
  665. - Using gulp to build the filesystem files
  666. - Using Embedis for configuration
  667. ### Changed
  668. - Updated JustWifi library
  669. - Web interface changes
  670. - Using custom platformio.ini file
  671. - Loads of changes in modules
  672. - Added DEBUG_MSG
  673. ### Fixed
  674. - Clean gulp builder script
  675. ## [0.9.7] 2016-08-28
  676. ### Changed
  677. - Moving wifi management to library (JustWifi)
  678. - Split code into modules
  679. ## [0.9.6] 2016-08-12
  680. ### Added
  681. - Added heartbeat, version and fsversion MQTT messages
  682. ### Changed
  683. - GZip 3rd party contents
  684. ## [0.9.5] 2016-07-31
  685. - Initial stable version