diff --git a/CHANGELOG.md b/CHANGELOG.md index c9dc9854..be1b66fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,51 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [1.12.2] 2018-01-29 +### Added +- Repository migrated over to GitHub +- Travis CI build test and deploy +- Pre-commit hook to change README.md file depending on the branch +- {hostname} and {mac} placeholders for MQTT root topic +- Added support for timezones with minutes ([#265](https://github.com/xoseperez/espurna/issues/265)) +- SSDP support ([#282](https://github.com/xoseperez/espurna/issues/282), [#423](https://github.com/xoseperez/espurna/issues/423), disabled by default since current implementation is not compatible with Alexa [#479](https://github.com/xoseperez/espurna/issues/479)) +- HA auto-discover for multi-relay boards and sensors ([#392](https://github.com/xoseperez/espurna/issues/392), [#465](https://github.com/xoseperez/espurna/issues/465)) +- Reset the pulse timeout every time an MQTT message is sent with the non-normal payload value ([#454](https://github.com/xoseperez/espurna/issues/454)) +- Option to disable schedules without deleting them ([#453](https://github.com/xoseperez/espurna/issues/453)) +- Added LED_MODE_STATUS ([#458](https://github.com/xoseperez/espurna/issues/458)) +- Support to set on/off state per channel using switches ([#457](https://github.com/xoseperez/espurna/issues/457)) +- Added support for MagicHome LED Controller 2.3 +- Alexa message queue (thanks to Qubeck) +- Secondary Serial RX port for H801 and H802 boards ([#386](https://github.com/xoseperez/espurna/issues/386), thanks to Pablo Pousada Rial) +- Added compatibility with https://github.com/rhx/RF-Bridge-EFM8BB1 to RF Bridge (Thanks to Rene Hexel) +- Added message queue to RF Bridge +- Added MAC to mDNS text fields +- Added wifi.ap command to go into AP mode +- Added message id on MQTT JSON payloads +- Added hooks for 3rd party code (custom modules) +- Local broker to broadcast messages internally +- Added timestamp to debug output +- Common I2C interface to abstract backend library (Wire or Brzo I2C) +- Added espurnaLoopRegister + +### Fixed +- Fixed support for 4CH Pro different modes ([#333](https://github.com/xoseperez/espurna/issues/333)) +- Fixed several sensor modules to enable hot-unplug-plug ([#398](https://github.com/xoseperez/espurna/issues/398)) +- Fixed crash when calling idbSend from an MQTT callback ([#410](https://github.com/xoseperez/espurna/issues/410)) +- Checking trailing slash in mqttTopic ([#422](https://github.com/xoseperez/espurna/issues/422)) +- Fixed pulse and pulse_ms order in relay_t structure ([#424](https://github.com/xoseperez/espurna/issues/424)) +- Use same buffer size across all terminal-realted classes/methods. Set to 128 chars ([#477](https://github.com/xoseperez/espurna/issues/477), [#478](https://github.com/xoseperez/espurna/issues/478)) +- Fix WiFi scan status in web UI +- Several code quality fixes (thanks to Lazar Obradovic) +- Fixed error message on first command over telnet + +### Changed +- BMX280 sensor module now doesn't depend on third party libraries +- Changed time management in ntp, mqtt and scheduler modules + +## Deprecated +- {identifier} placeholder for MQTT root topic + ## [1.12.1] 2018-01-14 ### Added - Option to perform a WiFi network scan from web UI diff --git a/README.md b/README.md index 1ccba4c3..f1c74bdb 100644 --- a/README.md +++ b/README.md @@ -3,9 +3,9 @@ ESPurna ("spark" in Catalan) is a custom firmware for ESP8266 based smart switches and sensors. It uses the Arduino Core for ESP8266 framework and a number of 3rd party libraries. -[![version](https://img.shields.io/badge/version-1.12.2b-brightgreen.svg)](CHANGELOG.md) -![branch](https://img.shields.io/badge/branch-dev-orange.svg) -[![travis](https://travis-ci.org/xoseperez/espurna.svg?branch=dev)](https://travis-ci.org/xoseperez/espurna) +[![version](https://img.shields.io/badge/version-1.12.2-brightgreen.svg)](CHANGELOG.md) +![branch](https://img.shields.io/badge/branch-master-orange.svg) +[![travis](https://travis-ci.org/xoseperez/espurna.svg?branch=master)](https://travis-ci.org/xoseperez/espurna) [![license](https://img.shields.io/github/license/xoseperez/espurna.svg)](LICENSE) [![donate](https://img.shields.io/badge/donate-PayPal-blue.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=xose%2eperez%40gmail%2ecom&lc=US&no_note=0¤cy_code=EUR&bn=PP%2dDonationsBF%3abtn_donate_LG%2egif%3aNonHostedGuest) [![twitter](https://img.shields.io/twitter/follow/xoseperez.svg?style=social)](https://twitter.com/intent/follow?screen_name=xoseperez) @@ -48,9 +48,13 @@ It uses the Arduino Core for ESP8266 framework and a number of 3rd party librari * [**Home Assistant**](https://home-assistant.io/) integration via MQTT * Support for switches (on/off) * Support for lights (color, brightness, on/off state) - * Supports MQTT auto-discover feature (both switches and lights) + * Supports MQTT auto-discover feature (switches, lights and sensors) * [**InfluxDB**](https://www.influxdata.com/) integration via HTTP API * [**Thingspeak**](https://thingspeak.com/) integration via HTTP API (HTTPS available for custom builds) +* **Sonoff RF Bridge** support + * Multiple virtual switches (tested with up to 16) + * MQTT-to-RF two-way bridge (no need to learn codes) + * Support for https://github.com/rhx/RF-Bridge-EFM8BB1 custom firmware * Support for different **sensors** * Environment * **DHT11 / DHT22 / DHT21 / AM2301 / Itead's SI7021** @@ -77,6 +81,7 @@ It uses the Arduino Core for ESP8266 framework and a number of 3rd party librari * Flicker-free PWM management * Soft color transitions * Color synchronization between light using MQTT + * Option to have separate switches for each channel * Fast asynchronous **HTTP Server** * Configurable port * Basic authentication @@ -104,6 +109,9 @@ It uses the Arduino Core for ESP8266 framework and a number of 3rd party librari * **Telnet support** * Enable/disable via the web UI * Show debug info and allows to run terminal commands +* **NTP** for time synchronization + * Supports worldwide time zones + * Compatible with DST * **Unstable system check** * Detects unstable system (crashes on boot continuously) and defaults to a stable system * Only WiFi AP, OTA and Telnet available if system is flagged as unstable @@ -185,7 +193,7 @@ Here is the list of supported hardware. For more information please refer to the |![EXS Wifi Relay v3.1](images/devices/exs-wifi-relay-v31.jpg)||| |**EXS Wifi Relay v3.1**||| -**Other supported boards:** Itead Sonoff LED, Itead Sonoff Dual R2, Huacanxing H802, WiOn 50055, ManCaveMade ESP-Live, InterMitTech QuinLED 2.6, Arilux AL-LC01, Arilux AL-LC02, Arilux AL-LC06, Arilux AL-LC11, Arilux E27 light bulb, Xenon SM-PW702U, Authometion LYT8266, YJZK 2-gang switch. +**Other supported boards:** Itead Sonoff LED, Itead Sonoff Dual R2, Huacanxing H802, WiOn 50055, ManCaveMade ESP-Live, InterMitTech QuinLED 2.6, Arilux AL-LC01, Arilux AL-LC02, Arilux AL-LC06, Arilux AL-LC11, Arilux E27 light bulb, Xenon SM-PW702U, Authometion LYT8266, YJZK 2-gang switch, Magic Home LED Controller 2.3. ## License diff --git a/code/espurna/config/version.h b/code/espurna/config/version.h index eb106077..4557ab26 100644 --- a/code/espurna/config/version.h +++ b/code/espurna/config/version.h @@ -1,5 +1,5 @@ #define APP_NAME "ESPURNA" -#define APP_VERSION "1.12.2b" +#define APP_VERSION "1.12.2" #define APP_AUTHOR "xose.perez@gmail.com" #define APP_WEBSITE "http://tinkerman.cat" #define CFG_VERSION 3