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.

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