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.
ESPurna change log
The format is based on Keep a Changelog
and this project adheres to Semantic Versioning.
[1.6.2] 2017-02-10
Fix
- Check if there is an MQTT broker defined before the MQTT_MAX_TRIES check
[1.6.1] 2017-02-10
Added
- Added support for Jorge Garcia's Wifi+Relay Board Kit
- Reporting current and energy incrementals to a separate counters in Domoticz (thanks to Toni Arte)
- Force WiFi reconnect after MQTT_MAX_TRIES fails trying to connect to MQTT broker
[1.6.0] 2017-02-05
Added
- Added support for toggle switches
- Allow reset the board via an MQTT message
- Allow reset the board via an RPC (HTTP) message
- Added support for ADC121 I2C for current monitoring (Check http://tinkerman.cat/power-monitoring-sonoff-th-adc121/)
- Reporting voltage to Domoticz (only HLW8012)
- Map button events to actions (toggle relay, AP mode, reset, pulse mode)
Changed
- Reporting energy incrementals (Domoticz, MQTT)
Removed
- Removed current monitor bypass when relay is OFF
- Removed energy API entry point
[1.5.4] 2017-02-03
Fixed
- Issue #50. Fix type bug in window variable when calculating energy for HLW8012 devices (Sonoff POW)
[1.5.3] 2017-02-02
Fixed
- Issue #50 and #54. Fixed domoticz MQTT message format
Added
- Energy calculation and aggregation. API entry points and MQTT messages.
[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 Jan Goedeke 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
- Issue #39 Fixed autoconnect issue with static IP (fixed in JustWifi library)
- Issue #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
- Issue #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
- Issue #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
- Issue #31. Fixed error in relay identification from MQTT messages
[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
Fixed
- Issue #16. Enforce minimum password strength in web interface
Changed
- Using default client_id provided by AsyncMqttClient
- Allow up to 5 different WIFI networks
Removed
[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
[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
[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
[0.9.5] 2016-07-31