# ESPurna change log The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). ## [1.5.2] 2017-01-29 ### Fixed - Fix bug in emon topic payload ## [1.5.1] 2017-01-28 ### Added - OpenEnergyMonitor WiFi MQTT Relay / Thermostat support (thanks to Denis French) ### Fixed - NTP connection refresh upon wifi connection - Filesystem image build using local gulp installation ## [1.5.0] 2017-01-21 ### Added - Pulse mode. Allows to define a pulse time after which the relay will switch back - API entry points for sensor data (power, current, voltage, temperature and humidity) - Export sensor data to Domoticz (power, current, voltage, temperature and humidity) - Configurable (in code) mapping between buttons and relays - MQTT messages for button events - Added support for Itead Studio 1CH inching/self locking smart switch board - Added support for JanGow Wifi Relay boards (both NC and NO versions) - Notify OTA updates to websocket clients, automatically reload page - Support for pulse mode notification LED and button - Revert relay state mode on boot (thanks to Minh Phuong Ly) ### Fixed - MQTT will topic - Crash with HLW812 interrupts while trying to create a WIFI connection - Issue #20 Better inline documentation for Alexa and Domoticz default settings - #39 Fixed autoconnect issue with static IP (fixed in JustWifi library) - #41 Added password requirements to initial password change page ### Changed - Changed LED pattern for WIFI notifications (shorter pulses) ## [1.4.4] 2017-01-13 ### Added - Adding current, voltage, apparent and reactive power reports to Sonoff POW (Web & MQTT) ### Fixed - #35 Fixed frequent MQTT connection drops after WIFI reconnect - Defer wifi disconnection from web interface to allow request to return ### Changed - Move all Arduino IDE configuration values to their own file - Using latest HLW8012 library in interrupt mode ## [1.4.3] 2017-01-11 ### Fixed - #6 Using forked Time library to prevent conflict with Arduino Core for ESP8266 time.h file in windows machines ## [1.4.2] 2017-01-09 ### Added - Support for inverse logic relays ### Fixed - Fixed error in relay identification from MQTT messages (issue #31) ## [1.4.1] 2017-01-05 ### Added - Alexa support by default on all devices - Added support for Wemos D1 Mini board with official Relay Shield ### Fixed - Multi-packet websocket frames ## [1.4.0] 2016-12-31 ### Added - Domoticz support via MQTT (https://www.domoticz.com/wiki/MQTT) - Support for static IP connections ### Fixed - Enforce minimum password strength in web interface (#16) ### Changed - Using default client_id provided by AsyncMqttClient - Allow up to 5 different WIFI networks ### Removed - File system version file ## [1.3.1] 2016-12-31 ### Fixed - data_dir fix for PlatformIO ## [1.3.0] 2016-12-30 ### Changed - Arduino IDE support (changes in the folder structure and documentation) ## [1.2.0] 2016-12-27 ### Added - Force password changing if it's the default one - Added Last-Modified header to static contents - Added DNS captive portal for AP mode - Added support for Sonoff 4CH - Added support for WorkChoice ecoPlug (ECOPLUG). Thanks to David Myers - Added support for Sonoff SV - Added support for Sonoff Touch - Comment out hardware selection in hardware.h if using Arduino IDE - Added support for MQTT get/set suffixes (/status, /set, ...) - Added support for LED notifications via MQTT - Added EEPROM check commands to terminal interface ### Changed - Using unreleased AsyncMqttClient with stability improvements - Better decoupling between MQTT and relays/websockets - Skipping retained MQTT messages (configurable) ### Fixed - Issue #11 Compile error when building sonoff-dual-debug - Issue #14 MQTT Connection with Username an Password not working - Issue #17 Moved static variable 'pending' to class variable ## [1.1.0] 2016-12-06 ### Added - Added support for DS18B20 temperature sensor. Thanks to Francesco Boscarino - Added reset command from console - Added support for multirelay boards like Sonoff DUAL or Electrodragon ESP Relay Board ### Changed - Not using espressif8266_stage in default environment - Relay MQTT topics - API entry points ### Removed - Old non protected API ## [1.0.3] 2016-11-29 ### Added - WeMo emulation through the fauxmoESP library (control your switch from Alexa!) - REST API for relay management - Better dependency definitions in platformio.ini - Option to define inverse logic to on-board LED - Built data folder included in repo ### Changed - Using non-interrupt driven mode for HLW8012 - Better documentation - Small changes to web interface - Same admin password for web, OTA and WIFI AP mode ### Fixed - Prevent fauxmoESP to be compiled by default ### Removed - Removed ESPurna board to its own repo ## [1.0.1] 2016-11-13 ### Added - Basic authentication and CSRF to websocket requests ## [1.0.0] 2016-11-13 ### Added - Using ESPAsyncWebServer (for web & websockets) and AsyncMqttClient ## [0.9.9] 2016-11-12 ### Added - Preliminary support for Sonoff POW - Replace AJAX requests with websockets - Using sprites for images - Hostname can be changed - Added initial relay state mode - Reconnect and reset buttons on web interface ### Changed - Changed long click to reset and double click to AP mode - Using officially supported platformio.ini file by default ### Fixed - Removed unnecessary memory inefficient code - Temprary fix for Adafruit DHT library (see https://github.com/adafruit/DHT-sensor-library/issues/62) ## [0.9.8] 2016-10-06 ### Added - Using PureCMS for the web interface - Using gulp to build the filesystem files - Using Embedis for configuration ### Changed - Updated JustWifi library - Web interface changes - Using custom platformio.ini file - Loads of changes in modules - Added DEBUG_MSG ### Fixed - Clean gulp builder script ## [0.9.7] 2016-08-28 ### Changed - Moving wifi management to library (JustWifi) - Split code into modules ## [0.9.6] 2016-08-12 ### Added - Added heartbeat, version and fsversion MQTT messages ### Changed - GZip 3rd party contents ## [0.9.5] 2016-07-31 - Initial stable version