Tasmota/tasmota
stefanbode d1a4296867
New DEEPSLEEP topic for HA + Battery Level % support (#19134)
* New LWT on deepsleep

To allow better integration into HA LWT topic will report details of sleep status:
16:54:04.388 MQT: hm/tele/ESP_3284D1/LWT =
{"Sleep":{"Time":"2023-07-17T16:55:03","Sleep":1689612844,"Wakeup":1689612903}}

* Revert LWT back to non JSON

Send DeelSleep on LWT
Send Deepsleep parameters on topic DeepSleep

* Setting default for batteryLevel

* Enable BatteryPercentSet

Changing the battery level e.g. by rule

* Added Battery % to status message

* added battery_level_percent

* Added battery % support in STATE message

* Enable setting battery level

101 is reserved for power-plug. No battery Level reported

* Setting default for battery Level

101 is reserved for power plug
0..100 normal battery values

* Revert back LWT to Offline

Removed "DeepSleep" LWT status until further decision is made. Current implementation is technical sufficient for HA to detect a battery powered device

* Added discovery message after deepsleep change

* Added discovery for battery and deepsleep
2023-07-20 09:51:08 +02:00
..
berry Fix to Partition_Wizard for shelly (#19056) 2023-07-06 20:59:50 +02:00
displaydesc Create GC9A01_display.ini (#19043) 2023-07-06 16:05:38 +02:00
energy_modbus_configs Add entry for Growatt 12KTL-3S (#18898) 2023-06-18 20:26:42 +02:00
html_compressed Fix broken js introduced in #15515 2022-05-05 10:05:01 +02:00
html_uncompressed Fix broken js introduced in #15515 2022-05-05 10:05:01 +02:00
include New DEEPSLEEP topic for HA + Battery Level % support (#19134) 2023-07-20 09:51:08 +02:00
language Update polish language (#18615) 2023-05-10 09:36:54 +02:00
lvgl_berry LVGL/HASPmota add tiny "pixel perfect" fonts for small screens 2022-10-08 14:20:52 +02:00
tasmota_support New DEEPSLEEP topic for HA + Battery Level % support (#19134) 2023-07-20 09:51:08 +02:00
tasmota_xdrv_driver New DEEPSLEEP topic for HA + Battery Level % support (#19134) 2023-07-20 09:51:08 +02:00
tasmota_xdsp_display Fix for aligment at displayfloat command (#18601) 2023-05-08 09:58:26 +02:00
tasmota_xlgt_light Fix berry scheme select 2023-05-27 12:33:50 +02:00
tasmota_xnrg_energy Add support for energy dummy relays 2023-07-01 14:25:05 +02:00
tasmota_xsns_sensor Zero-Cross Dimmer fixes (#19109) 2023-07-14 09:10:20 +02:00
tasmota_xx2c_global Fix #18737 2023-05-29 14:21:33 +02:00
zigbee Zigbee DIYRuZ_Geiger (#19151) 2023-07-19 20:41:49 +02:00
my_user_config.h Update change logs 2023-06-29 14:10:49 +02:00
tasmota.ino Implement deepsleep(0) 2023-07-03 21:07:45 +02:00
user_config_override_sample.h Support for second DNS server 2021-07-29 16:57:04 +02:00