Browse Source

Version update

fastled
Xose Pérez 7 years ago
parent
commit
624e20f903
30 changed files with 67 additions and 30 deletions
  1. +44
    -13
      CHANGELOG.md
  2. +22
    -16
      README.md
  3. +1
    -1
      code/espurna/config/version.h
  4. +0
    -0
      images/devices/aithinker-ai-light.jpg
  5. +0
    -0
      images/devices/electrodragon-wifi-iot.jpg
  6. BIN
      images/devices/exs-wifi-relay-v31.jpg
  7. +0
    -0
      images/devices/huacanxing-h801.jpg
  8. +0
    -0
      images/devices/itead-1ch-inching.jpg
  9. BIN
      images/devices/itead-bn-sz01.jpg
  10. +0
    -0
      images/devices/itead-motor.jpg
  11. +0
    -0
      images/devices/itead-s20.jpg
  12. +0
    -0
      images/devices/itead-slampher.jpg
  13. BIN
      images/devices/itead-sonoff-4ch-pro.jpg
  14. +0
    -0
      images/devices/itead-sonoff-4ch.jpg
  15. BIN
      images/devices/itead-sonoff-b1.jpg
  16. +0
    -0
      images/devices/itead-sonoff-basic.jpg
  17. +0
    -0
      images/devices/itead-sonoff-dual.jpg
  18. +0
    -0
      images/devices/itead-sonoff-led.jpg
  19. +0
    -0
      images/devices/itead-sonoff-pow.jpg
  20. +0
    -0
      images/devices/itead-sonoff-rf.jpg
  21. BIN
      images/devices/itead-sonoff-rfbridge.jpg
  22. +0
    -0
      images/devices/itead-sonoff-sv.jpg
  23. BIN
      images/devices/itead-sonoff-t1.jpg
  24. +0
    -0
      images/devices/itead-sonoff-th.jpg
  25. +0
    -0
      images/devices/itead-sonoff-touch.jpg
  26. +0
    -0
      images/devices/jorgegarcia-wifi-relays.jpg
  27. +0
    -0
      images/devices/magichome-led-controller.jpg
  28. +0
    -0
      images/devices/openenergymonitor-mqtt-relay.jpg
  29. +0
    -0
      images/devices/wemos-d1-mini-relayshield.jpg
  30. BIN
      images/devices/wion-50055.jpg

+ 44
- 13
CHANGELOG.md View File

@ -3,6 +3,37 @@
The format is based on [Keep a Changelog](http://keepachangelog.com/) The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/). and this project adheres to [Semantic Versioning](http://semver.org/).
## [1.9.0] 2017-08-25
### Added
- Support for IteadStudio BN-SZ01 Ceiling Light (#132)
- Support for IteadStudio Sonoff RF Bridge (#173)
- Support for IteadStudio Sonoff 4CH Pro (#174)
- Support for IteadStudio Sonoff B1
- Support for IteadStudio Sonoff LED
- Support for IteadStudio Sonoff T1 wall switches (1, 2 and 4 channels)
- Support for WiOn 50055 WiFi Wall Outlet & Tap
- Support for EXS WiFi Relay v3.1 (and other future latching relay boards) (#152)
- TLS/SSL support for MQTT (caution: eats a lot of memory, do not use with web interface) (#64)
- Add support for delayed ON/OFF switches (#123, #161, #188)
- Added ON and OFF actions for button events (previously only TOGGLE available) (#182)
- Sliders in web interface to control dimmer channels independently (also for brightness)
- Debug info about MQTT disconnect reason
### Changed
- MQTT setters ending with "/set" by default
- Using DOUT flash mode on all devices (#167)
- Longer timeout for WiFi connection (better chances for Sonoff Basic to connect)
- Changed MQTT topics for light devices (COLOR, BRIGHTNESS, MIRED, KELVIN, CHANNEL) (#144)
- Changed the way light devices are defined (see LIGHT_PROVIDER_DIMMER)
- Allow to disable color picker in web interface
- API returns processed values for HLW8012 sensor (not raw values anymore) (#176)
- Major refactoring of settings
### Fixed
- Discard MQTT messages with empty payload (#185)
- Wifi connection issue (https://github.com/esp8266/Arduino/issues/2186)
- Alexa connection issue
## [1.8.3] 2017-07-23 ## [1.8.3] 2017-07-23
### Added ### Added
- Issue #85 and #90. Option to report MQTT messages with JSON payloads - Issue #85 and #90. Option to report MQTT messages with JSON payloads
@ -13,7 +44,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- Rename settings s/POW/HLW8012/ - Rename settings s/POW/HLW8012/
- Return times in ISO8601 format - Return times in ISO8601 format
### Fix
### Fixed
- Issue #168. Added H801 to arduino.h file - Issue #168. Added H801 to arduino.h file
- Issue #171. Fix corrupted will message - Issue #171. Fix corrupted will message
@ -27,7 +58,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- Issue #159. Allow decimals in relay pulse interval - Issue #159. Allow decimals in relay pulse interval
- Updated HLW8012 library - Updated HLW8012 library
### Fix
### Fixed
- Issue #148. Fix bug in conditional compilation check - Issue #148. Fix bug in conditional compilation check
- Issue #149. Using different pulse counters for each relay (thanks to Lauris Ieviņš) - Issue #149. Using different pulse counters for each relay (thanks to Lauris Ieviņš)
- Issue #141. Limit relay pulse interval to 60s - Issue #141. Limit relay pulse interval to 60s
@ -35,7 +66,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- Fixed mDNS setup when using custom HTTP port for web interface - Fixed mDNS setup when using custom HTTP port for web interface
## [1.8.1] 2017-05-22 ## [1.8.1] 2017-05-22
### Fix
### Fixed
- Issue #140. Fix no relay control bug in Sonoff Dual - Issue #140. Fix no relay control bug in Sonoff Dual
## [1.8.0] 2017-05-21 ## [1.8.0] 2017-05-21
@ -51,7 +82,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- Support for "#RRGGBB", "RRR,GGG,BBB" and "WWW" color formats. - Support for "#RRGGBB", "RRR,GGG,BBB" and "WWW" color formats.
- Issue #117. Added build date & time to web interface. - Issue #117. Added build date & time to web interface.
### Fix
### Fixed
- Fix MQTT_RELAY board conifugration. Thanks to Denis French. - Fix MQTT_RELAY board conifugration. Thanks to Denis French.
- Issue #125. Fix bug in relay status reading from EEPROM - Issue #125. Fix bug in relay status reading from EEPROM
- Issue #127. Fix button action in DUAL. - Issue #127. Fix button action in DUAL.
@ -60,7 +91,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- Fix conditional flags in hardware.ino to support Arduino IDE. - Fix conditional flags in hardware.ino to support Arduino IDE.
## [1.7.1] 2017-03-28 ## [1.7.1] 2017-03-28
### Fix
### Fixed
- Issue #113. Fix restoring color from EEPROM upon reboot - Issue #113. Fix restoring color from EEPROM upon reboot
- Issue #113. Fix bug in API handlers - Issue #113. Fix bug in API handlers
@ -80,7 +111,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- Changed topic constants in code - Changed topic constants in code
- Prevent the SDK from saving WiFi configuration to flash - Prevent the SDK from saving WiFi configuration to flash
### Fix
### Fixed
- Issue #113. Fix light bulb state to OFF in library prevented the bulb from turning on - Issue #113. Fix light bulb state to OFF in library prevented the bulb from turning on
- Issue #58. Added code to handle spurious readings - Issue #58. Added code to handle spurious readings
- Fix bug in HLW8012 calibration current parameter casting to int instead of float - Fix bug in HLW8012 calibration current parameter casting to int instead of float
@ -96,7 +127,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- Moved debug strings to PROGMEM. ~1.5KByes memory freed - Moved debug strings to PROGMEM. ~1.5KByes memory freed
- Avoid broadcasting websocket messages if no clients connected - Avoid broadcasting websocket messages if no clients connected
### Fix
### Fixed
- Fixing use after free bug that leads to corrupted auth credentials. Thanks to David Guillen - Fixing use after free bug that leads to corrupted auth credentials. Thanks to David Guillen
## [1.6.8] 2017-03-01 ## [1.6.8] 2017-03-01
@ -108,7 +139,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- Issue #92. Debug log enabled by default in Arduino IDE - Issue #92. Debug log enabled by default in Arduino IDE
- Issue #91. Using AsyncMqttClient as default MQTT client again - Issue #91. Using AsyncMqttClient as default MQTT client again
### Fix
### Fixed
- Report data from all sensors via websocket even if no MQTT connection - Report data from all sensors via websocket even if no MQTT connection
- Issue #92. Fix unknown reference in Arduino IDE - Issue #92. Fix unknown reference in Arduino IDE
- Split data.h contents into 1k lines, otherwise Arduino IDE chokes on them - Split data.h contents into 1k lines, otherwise Arduino IDE chokes on them
@ -120,7 +151,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- Issue #87. Factory reset when physical button pressed for >10 seconds - Issue #87. Factory reset when physical button pressed for >10 seconds
## [1.6.6] 2017-02-23 ## [1.6.6] 2017-02-23
### Fix
### Fixed
- Issue #82. Fix critical bug on Sonoff Dual - Issue #82. Fix critical bug on Sonoff Dual
## [1.6.5] 2017-02-22 ## [1.6.5] 2017-02-22
@ -132,7 +163,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- Using PubSubClient as MQTT client by default (please read the documentation) - Using PubSubClient as MQTT client by default (please read the documentation)
- Double & long clicks do nothing except for the first defined button - Double & long clicks do nothing except for the first defined button
### Fix
### Fixed
- Issue #79. Fix bug in WiFi led notification & MQTT connectivity (using PubSubClient) - Issue #79. Fix bug in WiFi led notification & MQTT connectivity (using PubSubClient)
- Issue #73. Fix bug when building without Domoticz support - Issue #73. Fix bug when building without Domoticz support
- Fix Gulp tasks dependencies - Fix Gulp tasks dependencies
@ -152,7 +183,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- Authentication challenge only in /auth request. All static contents are un-authenticated - Authentication challenge only in /auth request. All static contents are un-authenticated
- HTTP response code when out of websocket slots changed from 423 to 429 - HTTP response code when out of websocket slots changed from 423 to 429
### Fix
### Fixed
- Memory leak in MQTT connection method - Memory leak in MQTT connection method
- Wait 60 seconds before retrying to connect when in AP mode - Wait 60 seconds before retrying to connect when in AP mode
- Issue #24 & #74. Update ESPAsyncTCP and ESPAsyncWebServer to latest GIT version that supports MSS defragmenting - Issue #24 & #74. Update ESPAsyncTCP and ESPAsyncWebServer to latest GIT version that supports MSS defragmenting
@ -172,13 +203,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- Update support for Itead Motor Clockwise/Anticlockwise board - Update support for Itead Motor Clockwise/Anticlockwise board
- Scan for strongest network only if more than 1 network configured - Scan for strongest network only if more than 1 network configured
### Fix
### Fixed
- Issue #71. Added default values for netmask and DNS in web configuration - Issue #71. Added default values for netmask and DNS in web configuration
- Fixed Itead 1CH self-locking/inching board definition - Fixed Itead 1CH self-locking/inching board definition
- Fixed PlatformIO environments for ESP8285 boards (4CH and Touch) - Fixed PlatformIO environments for ESP8285 boards (4CH and Touch)
## [1.6.2] 2017-02-10 ## [1.6.2] 2017-02-10
### Fix
### Fixed
- Check if there is an MQTT broker defined before the MQTT_MAX_TRIES check - Check if there is an MQTT broker defined before the MQTT_MAX_TRIES check
## [1.6.1] 2017-02-10 ## [1.6.1] 2017-02-10


+ 22
- 16
README.md View File

@ -4,7 +4,7 @@ ESPurna ("spark" in Catalan) is a custom firmware for ESP8266 based smart switch
It was originally developed with the **[IteadStudio Sonoff](https://www.itead.cc/sonoff-wifi-wireless-switch.html)** in mind but now it supports a growing number of ESP8266-based boards. It was originally developed with the **[IteadStudio Sonoff](https://www.itead.cc/sonoff-wifi-wireless-switch.html)** in mind but now it supports a growing number of ESP8266-based boards.
It uses the Arduino Core for ESP8266 framework and a number of 3rd party libraries. It uses the Arduino Core for ESP8266 framework and a number of 3rd party libraries.
**Current Release Version is 1.8.3**, read the [changelog](https://bitbucket.org/xoseperez/espurna/src/master/CHANGELOG.md).
**Current Release Version is 1.9.0**, read the [changelog](https://bitbucket.org/xoseperez/espurna/src/master/CHANGELOG.md).
## Features ## Features
@ -19,7 +19,9 @@ It uses the Arduino Core for ESP8266 framework and a number of 3rd party librari
* Configurable **status on boot** (always ON, always OFF, same as before or toggle) * Configurable **status on boot** (always ON, always OFF, same as before or toggle)
* Support for **pulse mode** (normally ON or normally OFF) with configurable time * Support for **pulse mode** (normally ON or normally OFF) with configurable time
* Support for **relay synchronization** (all equal, only one ON, one and only on ON) * Support for **relay synchronization** (all equal, only one ON, one and only on ON)
* Support for **delayed ON/OFF**
* **MQTT** enabled * **MQTT** enabled
* SSL/TLS support
* Switch on/off and toggle relays * Switch on/off and toggle relays
* Report button event notifications * Report button event notifications
* Enable/disable pulse mode * Enable/disable pulse mode
@ -68,24 +70,28 @@ Here is the list of supported hardware. For more information please refer to the
|||| ||||
|-|-|-| |-|-|-|
|![Tinkerman Espurna H](images/devices/tinkerman-espurna-h.jpg)|||
|**Tinkerman ESPurna H**|||
|![IteadStudio S20](images/devices/s20.jpg)|![WorkChoice EcoPlug](images/devices/workchoice-ecoplug.jpg)|![IteadStudio Sonoff Touch](images/devices/sonoff-touch.jpg)|
|**IteadStudio S20**|**WorkChoice EcoPlug**|**IteadStudio Sonoff Touch**|
|![IteadStudio Slampher](images/devices/slampher.jpg)|![AI-Thinker Wifi Light / Noduino OpenLight](images/devices/aithinker-ailight.jpg)|![Magic Home LED Controller](images/devices/magic-home-led-controller.jpg)|
|**IteadStudio Slampher**|**AI-Thinker Wifi Light / Noduino OpenLight**|**Magic Home LED Controller**|
|![Huacanxing H801](images/devices/h801.jpg)|||
|**Huacanxing H801**|||
|![IteadStudio Sonoff Basic](images/devices/sonoff-basic.jpg)|![IteadStudio Sonoff RF](images/devices/sonoff-rf.jpg)|![Electrodragon Relay Board](images/devices/electrodragon-relay-board.jpg)|
|**IteadStudio Sonoff Basic**|**IteadStudio Sonoff RF**|**Electrodragon Relay Board**|
|![IteadStudio Sonoff Dual](images/devices/sonoff-dual.jpg)|![IteadStudio Sonoff POW](images/devices/sonoff-pow.jpg)|![IteadStudio Sonoff TH10/TH16](images/devices/sonoff-th10-th16.jpg)|
|![Tinkerman Espurna H](images/devices/tinkerman-espurna-h.jpg)|![IteadStudio Sonoff RF Bridge](images/devices/itead-sonoff-rfbridge.jpg)||
|**Tinkerman ESPurna H**|**IteadStudio Sonoff RF Bridge**||
|![IteadStudio Sonoff Basic](images/devices/itead-sonoff-basic.jpg)|![IteadStudio Sonoff RF](images/devices/itead-sonoff-rf.jpg)|![Electrodragon WiFi IOT](images/devices/electrodragon-wifi-iot.jpg)|
|**IteadStudio Sonoff Basic**|**IteadStudio Sonoff RF**|**Electrodragon WiFi IOT**|
|![IteadStudio Sonoff Dual](images/devices/itead-sonoff-dual.jpg)|![IteadStudio Sonoff POW](images/devices/itead-sonoff-pow.jpg)|![IteadStudio Sonoff TH10/TH16](images/devices/itead-sonoff-th.jpg)|
|**IteadStudio Sonoff Dual**|**IteadStudio Sonoff POW**|**IteadStudio Sonoff TH10/TH16**| |**IteadStudio Sonoff Dual**|**IteadStudio Sonoff POW**|**IteadStudio Sonoff TH10/TH16**|
|![IteadStudio Sonoff 4CH](images/devices/sonoff-4ch.jpg)|![OpenEnergyMonitor WiFi MQTT Relay / Thermostat](images/devices/mqtt-relay.jpg)||
|**IteadStudio Sonoff 4CH**|**OpenEnergyMonitor WiFi MQTT Relay / Thermostat**||
|![IteadStudio Sonoff SV](images/devices/sonoff-sv.jpg)|![IteadStudio 1CH Inching](images/devices/1ch-inching.jpg)|![IteadStudio Motor Clockwise/Anticlockwise](images/devices/motor-switch.jpg)|
|![IteadStudio Sonoff 4CH](images/devices/itead-sonoff-4ch.jpg)|![IteadStudio Sonoff 4CH Pro](images/devices/itead-sonoff-4ch-pro.jpg)|![OpenEnergyMonitor WiFi MQTT Relay / Thermostat](images/devices/openenergymonitor-mqtt-relay.jpg)|
|**IteadStudio Sonoff 4CH**|**IteadStudio Sonoff 4CH Pro**|**OpenEnergyMonitor WiFi MQTT Relay / Thermostat**|
|![IteadStudio S20](images/devices/itead-s20.jpg)|![WorkChoice EcoPlug](images/devices/workchoice-ecoplug.jpg)||
|**IteadStudio S20**|**WorkChoice EcoPlug**||
|![IteadStudio Sonoff Touch](images/devices/itead-sonoff-touch.jpg)|![IteadStudio Sonoff T1](images/devices/itead-sonoff-t1.jpg)||
|**IteadStudio Sonoff Touch**|**IteadStudio Sonoff T1**||
|![IteadStudio Slampher](images/devices/itead-slampher.jpg)|![AI-Thinker Wifi Light / Noduino OpenLight](images/devices/aithinker-ai-light.jpg)|![Itead Sonoff B1](images/devices/itead-sonoff-b1.jpg)|
|**IteadStudio Slampher**|**AI-Thinker Wifi Light / Noduino OpenLight**|**IteadStudio Sonoff B1**|
|![MagicHome LED Controller](images/devices/magichome-led-controller.jpg)|![Huacanxing H801](images/devices/huacanxing-h801.jpg)|![Itead BN-SZ01](images/devices/itead-bn-sz01.jpg)|
|**MagicHome LED Controller**|**Huacanxing H801**|**Itead BN-SZ01**|
|![IteadStudio Sonoff SV](images/devices/itead-sonoff-sv.jpg)|![IteadStudio 1CH Inching](images/devices/itead-1ch-inching.jpg)|![IteadStudio Motor Clockwise/Anticlockwise](images/devices/itead-motor.jpg)|
|**IteadStudio Sonoff SV**|**IteadStudio 1CH Inching**|**IteadStudio Motor Clockwise/Anticlockwise**| |**IteadStudio Sonoff SV**|**IteadStudio 1CH Inching**|**IteadStudio Motor Clockwise/Anticlockwise**|
|![Wemos D1 Mini Relay Shield](images/devices/d1mini.jpg)|![Jan Goedeke Wifi Relay (NO/NC)](images/devices/jangoe-wifi-relay.png)|![Jorge García Wifi + Relays Board Kit](images/devices/jorgegarcia-wifi-relays-board-kit.jpg)|
|![Wemos D1 Mini Relay Shield](images/devices/wemos-d1-mini-relayshield.jpg)|![Jan Goedeke Wifi Relay (NO/NC)](images/devices/jangoe-wifi-relay.png)|![Jorge García Wifi + Relays Board Kit](images/devices/jorgegarcia-wifi-relays.jpg)|
|**Wemos D1 Mini Relay Shield**|**Jan Goedeke Wifi Relay (NO/NC)**|**Jorge García Wifi + Relays Board Kit**| |**Wemos D1 Mini Relay Shield**|**Jan Goedeke Wifi Relay (NO/NC)**|**Jorge García Wifi + Relays Board Kit**|
|![EXS Wifi Relay v3.1](images/devices/exs-wifi-relay-v31.jpg)|||
|**EXS Wifi Relay v3.1**|||
## License ## License


+ 1
- 1
code/espurna/config/version.h View File

@ -1,4 +1,4 @@
#define APP_NAME "ESPurna" #define APP_NAME "ESPurna"
#define APP_VERSION "1.8.4"
#define APP_VERSION "1.9.0"
#define APP_AUTHOR "xose.perez@gmail.com" #define APP_AUTHOR "xose.perez@gmail.com"
#define APP_WEBSITE "http://tinkerman.cat" #define APP_WEBSITE "http://tinkerman.cat"

images/devices/aithinker-ailight.jpg → images/devices/aithinker-ai-light.jpg View File


images/devices/electrodragon-relay-board.jpg → images/devices/electrodragon-wifi-iot.jpg View File


BIN
images/devices/exs-wifi-relay-v31.jpg View File

Before After
Width: 500  |  Height: 451  |  Size: 37 KiB

images/devices/h801.jpg → images/devices/huacanxing-h801.jpg View File


images/devices/1ch-inching.jpg → images/devices/itead-1ch-inching.jpg View File


BIN
images/devices/itead-bn-sz01.jpg View File

Before After
Width: 1000  |  Height: 1000  |  Size: 97 KiB

images/devices/motor-switch.jpg → images/devices/itead-motor.jpg View File


images/devices/s20.jpg → images/devices/itead-s20.jpg View File


images/devices/slampher.jpg → images/devices/itead-slampher.jpg View File


BIN
images/devices/itead-sonoff-4ch-pro.jpg View File

Before After
Width: 1000  |  Height: 1000  |  Size: 98 KiB

images/devices/sonoff-4ch.jpg → images/devices/itead-sonoff-4ch.jpg View File


BIN
images/devices/itead-sonoff-b1.jpg View File

Before After
Width: 1000  |  Height: 1000  |  Size: 86 KiB

images/devices/sonoff-basic.jpg → images/devices/itead-sonoff-basic.jpg View File


images/devices/sonoff-dual.jpg → images/devices/itead-sonoff-dual.jpg View File


images/devices/sonoff-led.jpg → images/devices/itead-sonoff-led.jpg View File


images/devices/sonoff-pow.jpg → images/devices/itead-sonoff-pow.jpg View File


images/devices/sonoff-rf.jpg → images/devices/itead-sonoff-rf.jpg View File


BIN
images/devices/itead-sonoff-rfbridge.jpg View File

Before After
Width: 1000  |  Height: 1000  |  Size: 50 KiB

images/devices/sonoff-sv.jpg → images/devices/itead-sonoff-sv.jpg View File


BIN
images/devices/itead-sonoff-t1.jpg View File

Before After
Width: 1000  |  Height: 1000  |  Size: 95 KiB

images/devices/sonoff-th10-th16.jpg → images/devices/itead-sonoff-th.jpg View File


images/devices/sonoff-touch.jpg → images/devices/itead-sonoff-touch.jpg View File


images/devices/jorgegarcia-wifi-relays-board-kit.jpg → images/devices/jorgegarcia-wifi-relays.jpg View File


images/devices/magic-home-led-controller.jpg → images/devices/magichome-led-controller.jpg View File


images/devices/mqtt-relay.jpg → images/devices/openenergymonitor-mqtt-relay.jpg View File


images/devices/d1mini.jpg → images/devices/wemos-d1-mini-relayshield.jpg View File


BIN
images/devices/wion-50055.jpg View File

Before After
Width: 300  |  Height: 292  |  Size: 8.4 KiB

Loading…
Cancel
Save