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.

718 lines
26 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
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
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
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
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.11.3] 2018-01-02
  5. ### Fixed
  6. - Fix uninitialized PWM channels bug (#356)
  7. ### Added
  8. - Added memory analyzer
  9. ## [1.11.2] 2017-12-30
  10. ### Fixed
  11. - Fix my92xx and pwm references for Arduino IDE (#346)
  12. - Fix SHT3X I2C sensor magnitude count (#337)
  13. - Fix timing for DHT11 sensors (#294)
  14. - Fix overflow in relayParsePayload with long MQTT messages (#344)
  15. - Fix loading of Dallas and DHT sensors for Sonoff TH images (#352)
  16. - Subscribe to Domoticz MQTT topics only if Domotic< is enabled
  17. ### Added
  18. - Added option to change MQTT retain flag, QoS and keepalive time from webUI (#321)
  19. - Added LED modes "always off" and "always on" (#348)
  20. - Defined new ESPurna switch (no HLW8012 support & touch button ready)
  21. ### Changed
  22. - Stop requiring definition of boards in migrate module
  23. ## [1.11.1] 2017-12-29
  24. ### Fixed
  25. - Fixed relay status on reboot
  26. ### Added
  27. - Added support for Arilux AL-LC01 and AL-LC11
  28. - Added support for BH1750 luminosity sensor
  29. - Added automatic memory size identification in ota_flash script
  30. ## [1.11.0] 2017-12-28
  31. ### Fixed
  32. - Fixed Arduino IDE compilation issues (#330)
  33. - Fixed issues with IE
  34. - Fixed websocket auth issue with Safari (temporary)
  35. - Fixed MQTT group sync when different switches share same group
  36. - Fixed casting issue in buttonStore (#327)
  37. - Fixed crash in InfluxDB initial heartbeat (#318)
  38. - Fixed LED logic for ESPurna H08 board
  39. ### Added
  40. - New sensors module (major change)
  41. + Existing sensor have been migrated: EMON*, ECH1560, V9261F, HLW8012, DHT, DALLAS, ANALOG, DIGITAL and EVENTS
  42. + New sensor have bee added: BMP280/BME280, EMON over ADS1115, MHZ19, PMSX003 (thanks to Òscar Rovira), SHT3X over I2C and SI7021
  43. - Option to change boot and pulse modes per relay from the web UI
  44. - Option to select sensor read interval and report interval from web UI
  45. - Itead RF Bridge
  46. + Match MQTT RFOUT codes to relays
  47. + Force RFBridge to send messages even if switch is already in requested state (#324)
  48. + Implemented RFbridge message queue asynchronously
  49. - Added option to load config via HTTP POST & reset (#335)
  50. - Added option to define behaviour of the first LED between WIFI, MQTT, FIND-ME (#317)
  51. - Added HTML linter to gulp builder
  52. - Added Help command on terminal (#338)
  53. - Added preliminary support for SSDP (untested, disabled by default) (#282)
  54. - Reporting NTP datetime on MQTT heartbeat (thanks to Eldon R. Brown)
  55. - Added version tracking and migration code
  56. - I2C and GPIO locking features
  57. - Changed default button action for touch button devices (TOUCH and T1) (#327)
  58. - Generic 8 channel board (#336)
  59. ### Changed
  60. - Added more sensor data filters (Max, MobileAverage)
  61. - Changed max pulse time to 1h (#316)
  62. - Renamed "reset" to "reboot" for clarity (#315)
  63. - UI refactor
  64. - Change apiRegister signature
  65. ## [1.10.1] 2017-12-05
  66. ### Fixed
  67. - Fix Sonoff RFBridge learn message from web UI (#287)
  68. - Fix unstability in "one and just one" sync mode (#290)
  69. - Fix unnecessary inclusion of my92xx library (#293)
  70. - Limit the MQTT queue to 10 messages when "Use JSON payload" enabled (#296)
  71. - Fix Sonoff RFBridge OFF button toggling switch (#303)
  72. - Allow defining only ON or OFF codes in Sonoff RFBridge (#304)
  73. - Disabled terminal support for Sonoff Dual (#310)
  74. ### Added
  75. - Support for SI7021-based sensor by Itead Studio compatible with Sonoff TH (#216)
  76. - Support for Sonoff Dual R2 (#286)
  77. - MQTT group topics (sync two or more switches from different devices, #300)
  78. - Color transitions (enabled by default, can be disabled from web UI)
  79. - Option to disable MQTT support at build time
  80. ### Changed
  81. - Decreased PWM frequency for dimmer lights
  82. - Changed password policy (#297)
  83. ## [1.10.0] 2017-11-26
  84. ### Fixed
  85. - Temperatures with 1 decimal resolution
  86. - Issues with Sonoff B1 due to bad driver management (using my92xx library now)
  87. - Avoid recursive messages on Domoticz (#272)
  88. - Fixed Sonoff T1 configuration
  89. - Simplify and fix web auth (#284)
  90. - Fix Embedis custom parser
  91. ### Added
  92. - Added option to define a temperature correction factor (thanks to Pawel Raszewski)
  93. - Option to disable system check on build time
  94. - Power saving features (loopDelay and wifi sleep)
  95. - Added Sonoff TH build environment
  96. - Send Home Assistant auto discover messages on connect (#279)
  97. - Implemented Home Assistant availability topic (#280)
  98. - Update time, uptime and heap on webUI every heartbeat
  99. - Support for LLMNR and NetBIOS (#282)
  100. - Added I2C clean bus code
  101. - Added realm to auth challenge
  102. ### Changed
  103. - Changed default hostname to "ESPURNA_XXXXXX"
  104. - Binaries built against stable core (~40Kb less, #274)
  105. - Enabled TERMINAL_SUPPORT for Sonoff Dual (only available via TELNET)
  106. - Dinamically resize debug strings (now messages are not cropped)
  107. - MQTT: unsubscribe to '#' before subscribing
  108. - Updated ESPAsyncWebServer and ESPAsyncTCP libraries
  109. - Removed InfluxDB support by default
  110. - Using stock slider in webUI to reduce size
  111. - Unify DHT and DS18B20 code, show NOT CONNECTED on webUI
  112. ## [1.9.9] 2017-11-09
  113. ### Fixed
  114. - Fixed bug in MY9291-based light bulbs at full brightness
  115. ### Added
  116. - RFBridge: toggle when RF codes for ON and OFF are the same (#270)
  117. - Support for HSV color schema (MQTT, API and webUI via a selector)
  118. ### Changed
  119. - "COLOR" entry point deprecated, use "RGB" instead (MQTT and API, ex. topic "light/rgb/set" instead of "light/color/set")
  120. ## [1.9.8] 2017-11-08
  121. ### Fixed
  122. - Removed dimmer lights flicker when saving to EEPROM (#191)
  123. - Fixed low brightness in dimmer lights (#157)
  124. - Fixed blank fields in energy (#258, #259)
  125. - Fixed support for Arilux AL-LC06
  126. - Updated fauxmoESP library with support for GetBinaryState actions
  127. ### Added
  128. - Support for IR remotes
  129. - Option to select power read and report interval from webUI
  130. - Option to report real-time values in API, configurable via webUI
  131. - Support for ESPurna-H Board v0.8
  132. - Support for Arilux E27 light bulb (untested)
  133. - Support for YJZK 2-gang switch
  134. ### Changed
  135. - PWM using ESP8266_new_pwm by Stephan Bruens (https://github.com/StefanBruens/ESP8266_new_pwm)
  136. - Using own DHT implementation (removed dependency on Adafruit libraries)
  137. - Disabled serial debug for Sonoff RFBridge
  138. ## [1.9.7] 2017-10-25
  139. ### Fixed
  140. - Fix Alexa interface switching on all lights (#256)
  141. ## [1.9.6] 2017-10-23
  142. ### Fixed
  143. - Fix power report in Domoticz (#236)
  144. - Fix Sonoff POW in AP mode (#241)
  145. - Fix Home Automation auto-discovery (support for single relay switches and RGB lights, #235)
  146. - Check WS authentication only on start event
  147. ### Added
  148. - Support for 2.4.0 RC2 Arduino Core that fixes KRACK vulnerablity (pre-built images are compiled against this, #242)
  149. - Support for ManCaveMade ESPLive board (thanks to Michael A. Cox)
  150. - Support for InterMIT Tech QuinLED 2.6 (thanks to Colin Shorts)
  151. - Support for Magic Home LED Controller 2.0 (thanks to users @gimi87 and @soif, #231)
  152. - Support for Arilux AL-LC06 (thanks to Martijn Kruissen)
  153. - Support for Xenon SM-PW702U Wifi boards (thanks to Joshua Harden, #212)
  154. - Support for Authometion LYT8266 (testing, thanks to Joe Blellik, #213)
  155. - Support for an external button for D1 Mini boards (thanks to user @PieBru, #239)
  156. - Option to query relay status via MQTT or WS (thanks to Wesley Tuzza)
  157. - Automatically install dependencies for web interface builder (thanks to Hermann Kraus)
  158. - Support for HSV and IR for Magic Home LED Controller (optional, disabled by default, thanks to Wesley Tuzza)
  159. - Added option to report DS18B20 temperatures based on changes (thanks to Michael A. Cox)
  160. - Safer buffer handling for websocket data (thanks to Hermann Kraus & Björn Bergman)
  161. - Updates HL8012 library with energy counting support (thanks to Hermann Kraus)
  162. - Added option to disable light color persistence to avoid flickering (#191)
  163. - Option to enable TELNET in STA mode from web UI (#203)
  164. ### Changed
  165. - Changed default MQTT base topic to "{identifier}" (no leading slashes, #208)
  166. - Prevent reconnecting when in AP mode if a web session or a telnet session is active (#244)
  167. - Web UI checks for pending changes before reset/reconnect options (#226)
  168. - Increase WIFI connect timeout and reconnect interval
  169. ## [1.9.5] 2017-09-28
  170. ### Fixed
  171. - Revert to JustWifi 1.1.4 (#228)
  172. ## [1.9.4] 2017-09-22
  173. ### Added
  174. - Added ESPurna specific mDNS text registers (app_name, app_version, device_name)
  175. - Crash dump info is stored in EEPROM and retrieved via terminal ("crash" command)
  176. - Support for Huacanxing H802
  177. - Support for powermeters based on V9261F IC
  178. - Support for powermeters based on ECH1560 IC (beta, untested)
  179. ### Changed
  180. - Changed behaviour on MQTT connection failure (#215)
  181. - Removed boot delay
  182. - Refactor power modules
  183. - Updated JustWifi library
  184. ### Fixed
  185. - Set all esp8285 devices to use esp01_1m (#210, #225)
  186. - Removed wifi gain option since it prevents some devices to connect (#204)
  187. ## [1.9.3] 2017-09-04
  188. ### Added
  189. - New "erase.config" option in terminal to delete SDK settings
  190. - Added error code to error message when updating from web UI
  191. - Fixed Web UI to be behind a proxy (http://tinkerman.cat/secure-remote-access-to-your-iot-devices/)
  192. - Support "ON", "OFF" and "TOGGLE" (also lowercase) as payload in relay MQTT, API and WS (http://tinkerman.cat/using-google-assistant-control-your-esp8266-devices/)
  193. ### Changed
  194. - Updated fauxmoESP library to 2.2.0
  195. ### Fixed
  196. - Fix HLW8012 calibration (#194)
  197. - Fix telnet dropping connection
  198. - Fix WiFiSecureClient connection with PubSubClient (#64)
  199. ## [1.9.2] 2017-08-31
  200. ### Added
  201. - System stability check (turns off everything except WIFI AP, OTA and telnet if there is a boot crash loop) (#196)
  202. - Telnet support (enabled by default only on AP interface)
  203. - Option to set WiFi gain from web UI
  204. - Option to disable MQTT from web UI
  205. - MQTT autodiscover, with the option to autoconnect if no broker defined
  206. - Home Assistant MQTT autodiscover feature
  207. - List enabled modules in INIT debug info
  208. - Counter module (counts and reports transitions in a digital pin)
  209. ### Changed
  210. - Updated NoFUSS support
  211. - Web UI documentation changes
  212. - Changes in terminal commands ("reconnect" is now "reset.wifi", also new commands added)
  213. ### Fixed
  214. - Crash in settings saving (#190) and fixed UDP debug conditional build clauses
  215. ## [1.9.1] 2017-08-27
  216. ### Added
  217. - Support to build without NTP support
  218. - Added current time, uptime, free heap, firmware size and free space to web interface
  219. ### Changed
  220. - Changed settings keys for Itead Sonoff RF Bridge
  221. - Disable Domoticz by default
  222. ### Fixed
  223. - Fixed build flags for DHT and DS18B20 in platformio.ini file
  224. - Fixed Itead Sonoff B1 by updating the my9291 library
  225. - Fixed light status on boot (#157)
  226. - Fixed CSS bug cause by a bad merge
  227. ## [1.9.0] 2017-08-25
  228. ### Added
  229. - Support for IteadStudio BN-SZ01 Ceiling Light (#132)
  230. - Support for IteadStudio Sonoff RF Bridge (#173)
  231. - Support for IteadStudio Sonoff 4CH Pro (#174)
  232. - Support for IteadStudio Sonoff B1
  233. - Support for IteadStudio Sonoff LED
  234. - Support for IteadStudio Sonoff T1 wall switches (1, 2 and 4 channels)
  235. - Support for WiOn 50055 WiFi Wall Outlet & Tap
  236. - Support for EXS WiFi Relay v3.1 (and other future latching relay boards) (#152)
  237. - TLS/SSL support for MQTT (caution: eats a lot of memory, do not use with web interface) (#64)
  238. - Add support for delayed ON/OFF switches (#123, #161, #188)
  239. - Added ON and OFF actions for button events (previously only TOGGLE available) (#182)
  240. - Sliders in web interface to control dimmer channels independently (also for brightness)
  241. - Debug info about MQTT disconnect reason
  242. ### Changed
  243. - MQTT setters ending with "/set" by default
  244. - Using DOUT flash mode on all devices (#167)
  245. - Longer timeout for WiFi connection (better chances for Sonoff Basic to connect)
  246. - Changed MQTT topics for light devices (COLOR, BRIGHTNESS, MIRED, KELVIN, CHANNEL) (#144)
  247. - Changed the way light devices are defined (see LIGHT_PROVIDER_DIMMER)
  248. - Allow to disable color picker in web interface
  249. - API returns processed values for HLW8012 sensor (not raw values anymore) (#176)
  250. - Major refactoring of settings
  251. ### Fixed
  252. - Discard MQTT messages with empty payload (#185)
  253. - Wifi connection issue (https://github.com/esp8266/Arduino/issues/2186)
  254. - Alexa connection issue
  255. ## [1.8.3] 2017-07-23
  256. ### Added
  257. - Issue #85 and #90. Option to report MQTT messages with JSON payloads
  258. - Issue #170. Updated DebouceEvent library to allow disabling double click and get faster click responses
  259. - Using memory layout with no SPIFFS for 1Mb devices
  260. ### Changed
  261. - Rename settings s/POW/HLW8012/
  262. - Return times in ISO8601 format
  263. ### Fixed
  264. - Issue #168. Added H801 to arduino.h file
  265. - Issue #171. Fix corrupted will message
  266. ## [1.8.2] 2017-07-16
  267. ### Added
  268. - InfluxDB support via HTTP API
  269. - Added custom reset reason to debug log
  270. - Enable WIFI debug on hardware reset (button long click)
  271. ### Changed
  272. - Issue #159. Allow decimals in relay pulse interval
  273. - Updated HLW8012 library
  274. ### Fixed
  275. - Issue #148. Fix bug in conditional compilation check
  276. - Issue #149. Using different pulse counters for each relay (thanks to Lauris Ieviņš)
  277. - Issue #141. Limit relay pulse interval to 60s
  278. - Fixed units for apparent & reactive power (thanks to Lauris Ieviņš)
  279. - Fixed mDNS setup when using custom HTTP port for web interface
  280. ## [1.8.1] 2017-05-22
  281. ### Fixed
  282. - Issue #140. Fix no relay control bug in Sonoff Dual
  283. ## [1.8.0] 2017-05-21
  284. ### Added
  285. - Added gamma correction to RGB strips. Thanks to Chris Ward.
  286. - Added support for Huacanxing H801 WiFi LED Controller. Thanks to Minh Phuong Ly.
  287. - Issue #138. Added NTP configuration from web interface
  288. - Issue #128. Report color when booting and in heartbeat stream.
  289. - Issue #126. Show NTP status in web interface.
  290. - Added filter limits on POW readings.
  291. - Added color temperature to RGB calculation. Thanks to Sacha Telgenhof.
  292. - Issue #120. Added relay flood protection. Thanks to Izik Dubnov.
  293. - Support for "#RRGGBB", "RRR,GGG,BBB" and "WWW" color formats.
  294. - Issue #117. Added build date & time to web interface.
  295. ### Fixed
  296. - Fix MQTT_RELAY board conifugration. Thanks to Denis French.
  297. - Issue #125. Fix bug in relay status reading from EEPROM
  298. - Issue #127. Fix button action in DUAL.
  299. - Fix bug in Sonoff POW current reading. Thanks to Emmanuel Tatto.
  300. - Minimizing my9291 flickering when booting.
  301. - Fix conditional flags in hardware.ino to support Arduino IDE.
  302. ## [1.7.1] 2017-03-28
  303. ### Fixed
  304. - Issue #113. Fix restoring color from EEPROM upon reboot
  305. - Issue #113. Fix bug in API handlers
  306. ## [1.7.0] 2017-03-27
  307. ### Added
  308. - Web interface embedded in firmware image by default
  309. - Upload firmware image from web interface
  310. - Added API entry point to change light color
  311. - Added generic analog sensor. Thanks to Francesco Boscarino
  312. - Report RSSI value in debug console and MQTT status messages
  313. - Added support for Magic Home LED Controller
  314. - Added support for ESPurna-H Board (based on HLW8012)
  315. - Added forward compatible code for v2.0
  316. ### Changed
  317. - Added ellipsis (...) in debug messages longer than 80 characters
  318. - Changed topic constants in code
  319. - Prevent the SDK from saving WiFi configuration to flash
  320. ### Fixed
  321. - Issue #113. Fix light bulb state to OFF in library prevented the bulb from turning on
  322. - Issue #58. Added code to handle spurious readings
  323. - Fix bug in HLW8012 calibration current parameter casting to int instead of float
  324. - Issue #115. Removed local declaration of _mqttForward variable. Thanks to Paweł Fiedor
  325. - Fix MQTT will topic. Thanks to Asbjorn Tronhus
  326. ## [1.6.9] 2017-03-12
  327. ### Added
  328. - Two stage read for DS18B20 devices. Thanks to Izik Dubnov.
  329. - Option to report the relay status via MQTT periodically
  330. - Terminal commands to change relay status an light color
  331. - Added debug via UDP (disabled by default)
  332. - Moved debug strings to PROGMEM. ~1.5KByes memory freed
  333. - Avoid broadcasting websocket messages if no clients connected
  334. ### Fixed
  335. - Fixing use after free bug that leads to corrupted auth credentials. Thanks to David Guillen
  336. ## [1.6.8] 2017-03-01
  337. ### Added
  338. - Issue #85. Heartbeat reports now free heap, uptime and VCC every 5 minutes
  339. ### Changed
  340. - Wait two minutes instead of one in AP mode before trying to reconnect to the router
  341. - Issue #92. Debug log enabled by default in Arduino IDE
  342. - Issue #91. Using AsyncMqttClient as default MQTT client again
  343. ### Fixed
  344. - Report data from all sensors via websocket even if no MQTT connection
  345. - Issue #92. Fix unknown reference in Arduino IDE
  346. - Split data.h contents into 1k lines, otherwise Arduino IDE chokes on them
  347. - Discard empty MQTT topic while subscribing
  348. ## [1.6.7] 2017-02-25
  349. ### Added
  350. - Support for OpenLight / AI-Light by AI-Thinker based on MY9291 LED driver
  351. - Issue #87. Factory reset when physical button pressed for >10 seconds
  352. ## [1.6.6] 2017-02-23
  353. ### Fixed
  354. - Issue #82. Fix critical bug on Sonoff Dual
  355. ## [1.6.5] 2017-02-22
  356. ### Added
  357. - Option to backup and restore settings from the web interface
  358. - Footer in the web interface
  359. ### Changed
  360. - Using PubSubClient as MQTT client by default (please read the documentation)
  361. - Double & long clicks do nothing except for the first defined button
  362. ### Fixed
  363. - Issue #79. Fix bug in WiFi led notification & MQTT connectivity (using PubSubClient)
  364. - Issue #73. Fix bug when building without Domoticz support
  365. - Fix Gulp tasks dependencies
  366. ## [1.6.4] 2017-02-20
  367. ### Added
  368. - Option to embed the web interface in the firmware, disabled by default
  369. - Change relay status with a GET request (browser friendly)
  370. - Support for PROGMEM debug messages (only wifi module has been changed)
  371. - Option to disable mDNS, enabled by default
  372. - Show current web server port in debug log
  373. - Issue #75. Link relays to LEDs
  374. - Issue #76. Using http://espurna.local when in AP mode
  375. ### Changed
  376. - Images and favicon is now embedded in the HTML
  377. - Authentication challenge only in /auth request. All static contents are un-authenticated
  378. - HTTP response code when out of websocket slots changed from 423 to 429
  379. ### Fixed
  380. - Memory leak in MQTT connection method
  381. - Wait 60 seconds before retrying to connect when in AP mode
  382. - Issue #24 & #74. Update ESPAsyncTCP and ESPAsyncWebServer to latest GIT version that supports MSS defragmenting
  383. - Issue #73. Fixes for windows machines
  384. ### Removed
  385. - Captive portal removed, mDNS resolution for AP mode too
  386. ## [1.6.3] 2017-02-15
  387. ### Added
  388. - Issue #69. Temperature unit configuration from the web interface
  389. - Issue #55. WebServer port configurable from the web interface, defaults to 80
  390. - Expand network configuration when adding a new network
  391. ### Changed
  392. - Merged web contents except images in a single compressed file for reliability
  393. - Update support for Itead Motor Clockwise/Anticlockwise board
  394. - Scan for strongest network only if more than 1 network configured
  395. ### Fixed
  396. - Issue #71. Added default values for netmask and DNS in web configuration
  397. - Fixed Itead 1CH self-locking/inching board definition
  398. - Fixed PlatformIO environments for ESP8285 boards (4CH and Touch)
  399. ## [1.6.2] 2017-02-10
  400. ### Fixed
  401. - Check if there is an MQTT broker defined before the MQTT_MAX_TRIES check
  402. ## [1.6.1] 2017-02-10
  403. ### Added
  404. - Added support for [Jorge Garcia's Wifi+Relay Board Kit](https://www.tindie.com/products/jorgegarciadev/wifi--relays-board-kit/)
  405. - Reporting current and energy incrementals to a separate counters in Domoticz (thanks to Toni Arte)
  406. - Force WiFi reconnect after MQTT_MAX_TRIES fails trying to connect to MQTT broker
  407. ## [1.6.0] 2017-02-05
  408. ### Added
  409. - Added support for toggle switches
  410. - Allow reset the board via an MQTT message
  411. - Allow reset the board via an RPC (HTTP) message
  412. - 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/))
  413. - Reporting voltage to Domoticz (only HLW8012)
  414. - Map button events to actions (toggle relay, AP mode, reset, pulse mode)
  415. ### Changed
  416. - Reporting energy incrementals (Domoticz, MQTT)
  417. ### Removed
  418. - Removed current monitor bypass when relay is OFF
  419. - Removed energy API entry point
  420. ## [1.5.4] 2017-02-03
  421. ### Fixed
  422. - Issue #50. Fix type bug in window variable when calculating energy for HLW8012 devices (Sonoff POW)
  423. ## [1.5.3] 2017-02-02
  424. ### Fixed
  425. - Issue #50 and #54. Fixed domoticz MQTT message format
  426. ### Added
  427. - Energy calculation and aggregation. API entry points and MQTT messages.
  428. ## [1.5.2] 2017-01-29
  429. ### Fixed
  430. - Fix bug in emon topic payload
  431. ## [1.5.1] 2017-01-28
  432. ### Added
  433. - OpenEnergyMonitor WiFi MQTT Relay / Thermostat support (thanks to Denis French)
  434. ### Fixed
  435. - NTP connection refresh upon wifi connection
  436. - Filesystem image build using local gulp installation
  437. ## [1.5.0] 2017-01-21
  438. ### Added
  439. - Pulse mode. Allows to define a pulse time after which the relay will switch back
  440. - API entry points for sensor data (power, current, voltage, temperature and humidity)
  441. - Export sensor data to Domoticz (power, current, voltage, temperature and humidity)
  442. - Configurable (in code) mapping between buttons and relays
  443. - MQTT messages for button events
  444. - Added support for Itead Studio 1CH inching/self locking smart switch board
  445. - Added support for Jan Goedeke Wifi Relay boards (both NC and NO versions)
  446. - Notify OTA updates to websocket clients, automatically reload page
  447. - Support for pulse mode notification LED and button
  448. - Revert relay state mode on boot (thanks to Minh Phuong Ly)
  449. ### Fixed
  450. - MQTT will topic
  451. - Crash with HLW812 interrupts while trying to create a WIFI connection
  452. - Issue #20 Better inline documentation for Alexa and Domoticz default settings
  453. - Issue #39 Fixed autoconnect issue with static IP (fixed in JustWifi library)
  454. - Issue #41 Added password requirements to initial password change page
  455. ### Changed
  456. - Changed LED pattern for WIFI notifications (shorter pulses)
  457. ## [1.4.4] 2017-01-13
  458. ### Added
  459. - Adding current, voltage, apparent and reactive power reports to Sonoff POW (Web & MQTT)
  460. ### Fixed
  461. - Issue #35 Fixed frequent MQTT connection drops after WIFI reconnect
  462. - Defer wifi disconnection from web interface to allow request to return
  463. ### Changed
  464. - Move all Arduino IDE configuration values to their own file
  465. - Using latest HLW8012 library in interrupt mode
  466. ## [1.4.3] 2017-01-11
  467. ### Fixed
  468. - Issue #6 Using forked Time library to prevent conflict with Arduino Core for ESP8266 time.h file in windows machines
  469. ## [1.4.2] 2017-01-09
  470. ### Added
  471. - Support for inverse logic relays
  472. ### Fixed
  473. - Issue #31. Fixed error in relay identification from MQTT messages
  474. ## [1.4.1] 2017-01-05
  475. ### Added
  476. - Alexa support by default on all devices
  477. - Added support for Wemos D1 Mini board with official Relay Shield
  478. ### Fixed
  479. - Multi-packet websocket frames
  480. ## [1.4.0] 2016-12-31
  481. ### Added
  482. - Domoticz support via MQTT (https://www.domoticz.com/wiki/MQTT)
  483. - Support for static IP connections
  484. ### Fixed
  485. - Issue #16. Enforce minimum password strength in web interface
  486. ### Changed
  487. - Using default client_id provided by AsyncMqttClient
  488. - Allow up to 5 different WIFI networks
  489. ### Removed
  490. - File system version file
  491. ## [1.3.1] 2016-12-31
  492. ### Fixed
  493. - data_dir fix for PlatformIO
  494. ## [1.3.0] 2016-12-30
  495. ### Changed
  496. - Arduino IDE support (changes in the folder structure and documentation)
  497. ## [1.2.0] 2016-12-27
  498. ### Added
  499. - Force password changing if it's the default one
  500. - Added Last-Modified header to static contents
  501. - Added DNS captive portal for AP mode
  502. - Added support for Sonoff 4CH
  503. - Added support for WorkChoice ecoPlug (ECOPLUG). Thanks to David Myers
  504. - Added support for Sonoff SV
  505. - Added support for Sonoff Touch
  506. - Comment out hardware selection in hardware.h if using Arduino IDE
  507. - Added support for MQTT get/set suffixes (/status, /set, ...)
  508. - Added support for LED notifications via MQTT
  509. - Added EEPROM check commands to terminal interface
  510. ### Changed
  511. - Using unreleased AsyncMqttClient with stability improvements
  512. - Better decoupling between MQTT and relays/websockets
  513. - Skipping retained MQTT messages (configurable)
  514. ### Fixed
  515. - Issue #11 Compile error when building sonoff-dual-debug
  516. - Issue #14 MQTT Connection with Username an Password not working
  517. - Issue #17 Moved static variable 'pending' to class variable
  518. ## [1.1.0] 2016-12-06
  519. ### Added
  520. - Added support for DS18B20 temperature sensor. Thanks to Francesco Boscarino
  521. - Added reset command from console
  522. - Added support for multirelay boards like Sonoff DUAL or Electrodragon ESP Relay Board
  523. ### Changed
  524. - Not using espressif8266_stage in default environment
  525. - Relay MQTT topics
  526. - API entry points
  527. ### Removed
  528. - Old non protected API
  529. ## [1.0.3] 2016-11-29
  530. ### Added
  531. - WeMo emulation through the fauxmoESP library (control your switch from Alexa!)
  532. - REST API for relay management
  533. - Better dependency definitions in platformio.ini
  534. - Option to define inverse logic to on-board LED
  535. - Built data folder included in repo
  536. ### Changed
  537. - Using non-interrupt driven mode for HLW8012
  538. - Better documentation
  539. - Small changes to web interface
  540. - Same admin password for web, OTA and WIFI AP mode
  541. ### Fixed
  542. - Prevent fauxmoESP to be compiled by default
  543. ### Removed
  544. - Removed ESPurna board to its own repo
  545. ## [1.0.1] 2016-11-13
  546. ### Added
  547. - Basic authentication and CSRF to websocket requests
  548. ## [1.0.0] 2016-11-13
  549. ### Added
  550. - Using ESPAsyncWebServer (for web & websockets) and AsyncMqttClient
  551. ## [0.9.9] 2016-11-12
  552. ### Added
  553. - Preliminary support for Sonoff POW
  554. - Replace AJAX requests with websockets
  555. - Using sprites for images
  556. - Hostname can be changed
  557. - Added initial relay state mode
  558. - Reconnect and reset buttons on web interface
  559. ### Changed
  560. - Changed long click to reset and double click to AP mode
  561. - Using officially supported platformio.ini file by default
  562. ### Fixed
  563. - Removed unnecessary memory inefficient code
  564. - Temprary fix for Adafruit DHT library (see https://github.com/adafruit/DHT-sensor-library/issues/62)
  565. ## [0.9.8] 2016-10-06
  566. ### Added
  567. - Using PureCMS for the web interface
  568. - Using gulp to build the filesystem files
  569. - Using Embedis for configuration
  570. ### Changed
  571. - Updated JustWifi library
  572. - Web interface changes
  573. - Using custom platformio.ini file
  574. - Loads of changes in modules
  575. - Added DEBUG_MSG
  576. ### Fixed
  577. - Clean gulp builder script
  578. ## [0.9.7] 2016-08-28
  579. ### Changed
  580. - Moving wifi management to library (JustWifi)
  581. - Split code into modules
  582. ## [0.9.6] 2016-08-12
  583. ### Added
  584. - Added heartbeat, version and fsversion MQTT messages
  585. ### Changed
  586. - GZip 3rd party contents
  587. ## [0.9.5] 2016-07-31
  588. - Initial stable version