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.

251 lines
7.4 KiB

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