Release v5.13.0

Theo Arends 2018-04-30 17:47:22 +02:00
parent 20eee3a1f8
commit 984dd04a4c
1 changed files with 13 additions and 7 deletions

@ -1,16 +1,24 @@
### 20180414 - 5.12.0l
### 20180430 - 5.13.0 - Release
#### Rules
To have more flexible control this release introduces rules to act on different events like activated timers, button presses or sensor readings. See the [wiki](https://github.com/arendst/Sonoff-Tasmota/wiki/Rules) for more information and examples.
### 20180328 - 5.12.0i
#### Timers
To provide more local control 16 timers were introduced for controlling power outlets during different times during the week. Optional webinterface and Sunrise/Sunset support is also available.
#### Under the hood
Updated libraries
- TasmotaSerial-1.2.0
New libraries
- Adafruit_SGP30 1.0.0 + 13 commits
- esp-knx-ip 0.5.0
- esp-mqtt-arduino 1.0.1 + 2 commits and 1 local fix
- Joba_Tsl2561 replacing TSL2561-Arduino-Library
- Multichannel_Gas_Sensor
- TasmotaMqtt 1.1.1
### 20180209 - 5.12.0 - Release
#### MQTT device discovery
To ease Home Assistant (and Domoticz [#1731](https://github.com/arendst/Sonoff-Tasmota/issues/1731)) configuration a feature called MQTT device discovery is made available for Tasmota switches and lights.
By executing command ``SetOption19 On`` this feature is enabled and after a forced reboot a retained MQTT message starting with topic "homeassistant..", as defined in user_config.h HOME_ASSISTANT_DISCOVERY_PREFIX, is send containing parameters used by Home Assistant to configure a switch or a light.
@ -22,7 +30,6 @@ If you manage to let Home Assistant execute a script after it's restart containi
To disable this feature and get rid of the retained message execute command ``SetOption19 Off`` and after a forced reboot the homeassistant topic should have been removed from the MQTT server.
#### OtaMagic
Tasmota is build to install on devices with 1MB usable flash. To easily use Over The Air (OTA) firmware updates only half of this flash space can be used by Tasmota as the other half is needed to store the OTA firmware image before it can be installed.
To keep Tasmota this small I had to reduce redundancy as much as possible. I also had to tweak some libraries by removing default features and disable some features in the user_config.h.
@ -39,7 +46,6 @@ This process is now automated if used with an external OTA server.
Tasmota now tries to load the requested image and if it notices that the image won't fit it will load the minimal version first which in turn will load the requested final image. This is OtaMagic.
#### Under the hood
To ade in OtaMagic the file _pio/espupload.py_ has been updated to rename the platformio generated _firmware.bin_ filename to the released firmware filename.
To save code space when using version 2.4.0 of the ESP8266/Arduino board manager some compile time parameters need to be removed. For Ardiuino IDE a change has been made to file _arduino/version 2.4.0/platform.txt_ and for platformio a script _pio/strip-floats.py_ is made available to be enabled in _platformio.ini_ when compiling. When the correct installation steps are being performed as outlined in the menu on the right this will be implemented correctly.