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.

314 lines
9.7 KiB

7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
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.6.7] 2017-02-25
  5. ### Added
  6. - Support for OpenLight / AI-Light by AI-Thinker based on MY9291 LED driver
  7. - Issue #87. Factory reset when physical button pressed for >10 seconds
  8. ## [1.6.6] 2017-02-23
  9. ### Fix
  10. - Issue #82. Fix critical bug on Sonoff Dual
  11. ## [1.6.5] 2017-02-22
  12. ### Added
  13. - Option to backup and restore settings from the web interface
  14. - Footer in the web interface
  15. ### Changed
  16. - Using PubSubClient as MQTT client by default (please read the documentation)
  17. - Double & long clicks do nothing except for the first defined button
  18. ### Fix
  19. - Issue #79. Fix bug in WiFi led notification & MQTT connectivity (using PubSubClient)
  20. - Issue #73. Fix bug when building without Domoticz support
  21. - Fix Gulp tasks dependencies
  22. ## [1.6.4] 2017-02-20
  23. ### Added
  24. - Option to embed the web interface in the firmware, disabled by default
  25. - Change relay status with a GET request (browser friendly)
  26. - Support for PROGMEM debug messages (only wifi module has been changed)
  27. - Option to disable mDNS, enabled by default
  28. - Show current web server port in debug log
  29. - Issue #75. Link relays to LEDs
  30. - Issue #76. Using http://espurna.local when in AP mode
  31. ### Changed
  32. - Images and favicon is now embedded in the HTML
  33. - Authentication challenge only in /auth request. All static contents are un-authenticated
  34. - HTTP response code when out of websocket slots changed from 423 to 429
  35. ### Fix
  36. - Memory leak in MQTT connection method
  37. - Wait 60 seconds before retrying to connect when in AP mode
  38. - Issue #24 & #74. Update ESPAsyncTCP and ESPAsyncWebServer to latest GIT version that supports MSS defragmenting
  39. - Issue #73. Fixes for windows machines
  40. ### Removed
  41. - Captive portal removed, mDNS resolution for AP mode too
  42. ## [1.6.3] 2017-02-15
  43. ### Added
  44. - Issue #69. Temperature unit configuration from the web interface
  45. - Issue #55. WebServer port configurable from the web interface, defaults to 80
  46. - Expand network configuration when adding a new network
  47. ### Changed
  48. - Merged web contents except images in a single compressed file for reliability
  49. - Update support for Itead Motor Clockwise/Anticlockwise board
  50. - Scan for strongest network only if more than 1 network configured
  51. ### Fix
  52. - Issue #71. Added default values for netmask and DNS in web configuration
  53. - Fixed Itead 1CH self-locking/inching board definition
  54. - Fixed PlatformIO environments for ESP8285 boards (4CH and Touch)
  55. ## [1.6.2] 2017-02-10
  56. ### Fix
  57. - Check if there is an MQTT broker defined before the MQTT_MAX_TRIES check
  58. ## [1.6.1] 2017-02-10
  59. ### Added
  60. - Added support for [Jorge Garcia's Wifi+Relay Board Kit](https://www.tindie.com/products/jorgegarciadev/wifi--relays-board-kit/)
  61. - Reporting current and energy incrementals to a separate counters in Domoticz (thanks to Toni Arte)
  62. - Force WiFi reconnect after MQTT_MAX_TRIES fails trying to connect to MQTT broker
  63. ## [1.6.0] 2017-02-05
  64. ### Added
  65. - Added support for toggle switches
  66. - Allow reset the board via an MQTT message
  67. - Allow reset the board via an RPC (HTTP) message
  68. - 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/))
  69. - Reporting voltage to Domoticz (only HLW8012)
  70. - Map button events to actions (toggle relay, AP mode, reset, pulse mode)
  71. ### Changed
  72. - Reporting energy incrementals (Domoticz, MQTT)
  73. ### Removed
  74. - Removed current monitor bypass when relay is OFF
  75. - Removed energy API entry point
  76. ## [1.5.4] 2017-02-03
  77. ### Fixed
  78. - Issue #50. Fix type bug in window variable when calculating energy for HLW8012 devices (Sonoff POW)
  79. ## [1.5.3] 2017-02-02
  80. ### Fixed
  81. - Issue #50 and #54. Fixed domoticz MQTT message format
  82. ### Added
  83. - Energy calculation and aggregation. API entry points and MQTT messages.
  84. ## [1.5.2] 2017-01-29
  85. ### Fixed
  86. - Fix bug in emon topic payload
  87. ## [1.5.1] 2017-01-28
  88. ### Added
  89. - OpenEnergyMonitor WiFi MQTT Relay / Thermostat support (thanks to Denis French)
  90. ### Fixed
  91. - NTP connection refresh upon wifi connection
  92. - Filesystem image build using local gulp installation
  93. ## [1.5.0] 2017-01-21
  94. ### Added
  95. - Pulse mode. Allows to define a pulse time after which the relay will switch back
  96. - API entry points for sensor data (power, current, voltage, temperature and humidity)
  97. - Export sensor data to Domoticz (power, current, voltage, temperature and humidity)
  98. - Configurable (in code) mapping between buttons and relays
  99. - MQTT messages for button events
  100. - Added support for Itead Studio 1CH inching/self locking smart switch board
  101. - Added support for Jan Goedeke Wifi Relay boards (both NC and NO versions)
  102. - Notify OTA updates to websocket clients, automatically reload page
  103. - Support for pulse mode notification LED and button
  104. - Revert relay state mode on boot (thanks to Minh Phuong Ly)
  105. ### Fixed
  106. - MQTT will topic
  107. - Crash with HLW812 interrupts while trying to create a WIFI connection
  108. - Issue #20 Better inline documentation for Alexa and Domoticz default settings
  109. - Issue #39 Fixed autoconnect issue with static IP (fixed in JustWifi library)
  110. - Issue #41 Added password requirements to initial password change page
  111. ### Changed
  112. - Changed LED pattern for WIFI notifications (shorter pulses)
  113. ## [1.4.4] 2017-01-13
  114. ### Added
  115. - Adding current, voltage, apparent and reactive power reports to Sonoff POW (Web & MQTT)
  116. ### Fixed
  117. - Issue #35 Fixed frequent MQTT connection drops after WIFI reconnect
  118. - Defer wifi disconnection from web interface to allow request to return
  119. ### Changed
  120. - Move all Arduino IDE configuration values to their own file
  121. - Using latest HLW8012 library in interrupt mode
  122. ## [1.4.3] 2017-01-11
  123. ### Fixed
  124. - Issue #6 Using forked Time library to prevent conflict with Arduino Core for ESP8266 time.h file in windows machines
  125. ## [1.4.2] 2017-01-09
  126. ### Added
  127. - Support for inverse logic relays
  128. ### Fixed
  129. - Issue #31. Fixed error in relay identification from MQTT messages
  130. ## [1.4.1] 2017-01-05
  131. ### Added
  132. - Alexa support by default on all devices
  133. - Added support for Wemos D1 Mini board with official Relay Shield
  134. ### Fixed
  135. - Multi-packet websocket frames
  136. ## [1.4.0] 2016-12-31
  137. ### Added
  138. - Domoticz support via MQTT (https://www.domoticz.com/wiki/MQTT)
  139. - Support for static IP connections
  140. ### Fixed
  141. - Issue #16. Enforce minimum password strength in web interface
  142. ### Changed
  143. - Using default client_id provided by AsyncMqttClient
  144. - Allow up to 5 different WIFI networks
  145. ### Removed
  146. - File system version file
  147. ## [1.3.1] 2016-12-31
  148. ### Fixed
  149. - data_dir fix for PlatformIO
  150. ## [1.3.0] 2016-12-30
  151. ### Changed
  152. - Arduino IDE support (changes in the folder structure and documentation)
  153. ## [1.2.0] 2016-12-27
  154. ### Added
  155. - Force password changing if it's the default one
  156. - Added Last-Modified header to static contents
  157. - Added DNS captive portal for AP mode
  158. - Added support for Sonoff 4CH
  159. - Added support for WorkChoice ecoPlug (ECOPLUG). Thanks to David Myers
  160. - Added support for Sonoff SV
  161. - Added support for Sonoff Touch
  162. - Comment out hardware selection in hardware.h if using Arduino IDE
  163. - Added support for MQTT get/set suffixes (/status, /set, ...)
  164. - Added support for LED notifications via MQTT
  165. - Added EEPROM check commands to terminal interface
  166. ### Changed
  167. - Using unreleased AsyncMqttClient with stability improvements
  168. - Better decoupling between MQTT and relays/websockets
  169. - Skipping retained MQTT messages (configurable)
  170. ### Fixed
  171. - Issue #11 Compile error when building sonoff-dual-debug
  172. - Issue #14 MQTT Connection with Username an Password not working
  173. - Issue #17 Moved static variable 'pending' to class variable
  174. ## [1.1.0] 2016-12-06
  175. ### Added
  176. - Added support for DS18B20 temperature sensor. Thanks to Francesco Boscarino
  177. - Added reset command from console
  178. - Added support for multirelay boards like Sonoff DUAL or Electrodragon ESP Relay Board
  179. ### Changed
  180. - Not using espressif8266_stage in default environment
  181. - Relay MQTT topics
  182. - API entry points
  183. ### Removed
  184. - Old non protected API
  185. ## [1.0.3] 2016-11-29
  186. ### Added
  187. - WeMo emulation through the fauxmoESP library (control your switch from Alexa!)
  188. - REST API for relay management
  189. - Better dependency definitions in platformio.ini
  190. - Option to define inverse logic to on-board LED
  191. - Built data folder included in repo
  192. ### Changed
  193. - Using non-interrupt driven mode for HLW8012
  194. - Better documentation
  195. - Small changes to web interface
  196. - Same admin password for web, OTA and WIFI AP mode
  197. ### Fixed
  198. - Prevent fauxmoESP to be compiled by default
  199. ### Removed
  200. - Removed ESPurna board to its own repo
  201. ## [1.0.1] 2016-11-13
  202. ### Added
  203. - Basic authentication and CSRF to websocket requests
  204. ## [1.0.0] 2016-11-13
  205. ### Added
  206. - Using ESPAsyncWebServer (for web & websockets) and AsyncMqttClient
  207. ## [0.9.9] 2016-11-12
  208. ### Added
  209. - Preliminary support for Sonoff POW
  210. - Replace AJAX requests with websockets
  211. - Using sprites for images
  212. - Hostname can be changed
  213. - Added initial relay state mode
  214. - Reconnect and reset buttons on web interface
  215. ### Changed
  216. - Changed long click to reset and double click to AP mode
  217. - Using officially supported platformio.ini file by default
  218. ### Fixed
  219. - Removed unnecessary memory inefficient code
  220. - Temprary fix for Adafruit DHT library (see https://github.com/adafruit/DHT-sensor-library/issues/62)
  221. ## [0.9.8] 2016-10-06
  222. ### Added
  223. - Using PureCMS for the web interface
  224. - Using gulp to build the filesystem files
  225. - Using Embedis for configuration
  226. ### Changed
  227. - Updated JustWifi library
  228. - Web interface changes
  229. - Using custom platformio.ini file
  230. - Loads of changes in modules
  231. - Added DEBUG_MSG
  232. ### Fixed
  233. - Clean gulp builder script
  234. ## [0.9.7] 2016-08-28
  235. ### Changed
  236. - Moving wifi management to library (JustWifi)
  237. - Split code into modules
  238. ## [0.9.6] 2016-08-12
  239. ### Added
  240. - Added heartbeat, version and fsversion MQTT messages
  241. ### Changed
  242. - GZip 3rd party contents
  243. ## [0.9.5] 2016-07-31
  244. - Initial stable version