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.

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