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.

305 lines
9.5 KiB

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