Skip to content

Device status updates #578

Answered by tsightler
s0129 asked this question in Support Q&A
Mar 7, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

There are no status updates unless state changes. I've considered using retain only for status messages but, honestly, it doesn't help much since you still wouldn't know the current state and using retain for state messages is a mess. Retain just caused so many problems with users in the early days of this project that I just swore it off completely.

During startup all state updates, including online/offline state, are sent every 30 seconds for 3 minutes. This is mostly to work around the fact that HA sometimes sends its online message before it's really ready to accept device discovery and state update information.

There's no direct way to request a state update, but the code does listen…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@s0129
Comment options

Answer selected by s0129
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants