esphome / esphome/feature-requests

Method to ensure sensor data has been published for battery powered devices

Open
#855 0 comments 5 reactions 0 assignees View on GitHub
component: deep_sleep component: sensor enhancement
Dominant language
No language data
Stars
450
Forks
29
PR merge metrics
No merged PRs in 30d

Description

**Describe the problem you have/What new integration you would like**

Battery powered devices need to go back to sleep as soon as possible. But they need to make sure the data has been sent. Currently there is no way to know, so you have to wait long enough that you hope it's been sent.

**Please describe your use case for this integration and alternatives you've tried:**

Waiting for a long time or checking that the communication method is up and then forcing an update.

**Additional context**

Needs to work for api, mqtt, and (when it's added) esp-now.
Particularly needed for Tuya devices since the MCU will turn off the power when the data is acknowledged or if it takes too long. See https://github.com/esphome/issues/issues/1389

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.