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.

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