emontnemery / hatasmota

MIT License
24 stars 20 forks source link

#263 observe deep sleep and keep sensors always available #264

Open fra-orolo opened 10 months ago

fra-orolo commented 10 months ago

This is a first part to keep deep-sleep sensors alive. Seems to work for me, need to figure out timers...

emontnemery commented 10 months ago

@fra-orolo This is for sure wanted functionality, thanks for the PR! @stefanbode also started working on this functionality, he created this PR on tasmota: https://github.com/arendst/Tasmota/pull/19134 Note that the PR description is not correct, setting LWT message to DeepSleep was reverted.

If you want, you can contact me, @emontnemery, on discord to discuss the details.

stefanbode commented 10 months ago

Yes, but we can see battery operated in telemetry and deepsleep. The on/off detection in hatasmoto has to be changed. This was more complicated than expected.