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.

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