Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

send MQTT heartbeat immediately on EMS-ESP boot so it can be detected by HA #1628

Closed
proddy opened this issue Feb 21, 2024 · 1 comment
Closed
Labels
enhancement New feature or request
Milestone

Comments

@proddy
Copy link
Contributor

proddy commented Feb 21, 2024

There's an example HA automation script that checks the MQTT info topic to determine if EMS-ESP has booted. Problem is that it's a retained message on the MQTT broker so every time HA or the MQTT Server restarts it will be triggered.

I've update the automation script example to use the heartbeat and the key called bus_status is checked for a value called connecting which is only set once when EMS-ESP starts.

@proddy proddy added the enhancement New feature or request label Feb 21, 2024
@proddy proddy added this to the v3.6.5 milestone Feb 21, 2024
@proddy
Copy link
Contributor Author

proddy commented Feb 21, 2024

in 3.6.5-dev14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant