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.

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