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

Attribute update even absent a change of value #1068

Open
bkoblenz opened this issue Feb 6, 2025 · 4 comments
Open

Attribute update even absent a change of value #1068

bkoblenz opened this issue Feb 6, 2025 · 4 comments

Comments

@bkoblenz
Copy link

bkoblenz commented Feb 6, 2025

I am not sure if this is a feature request or bug (likely feature request).

I am interested in being able to differentiate between a node being offline and one whose attribute is not changing.

In particular, I would like an ATTRIBUTE_UPDATED event even when the attribute has not changed if a certain amount of time (ie 5min) has gone by.
I thought the min/max interval might provide this.

I work around this by polling the attribute every 5min and I know if I fail to get a response there is a problem while if I get a response all is good.

So, should I expect an ATTRIBUTE_UPDATED event based on the interval, or only when the value has changed?

-brian

@Apollon77
Copy link

Matter specification wise when the interval has passed it just sends a "ping" to proof that the connection is still active, so that the controller knows when he needs to reconnect. That said: No not all attributes are "pushed agaiN" after the interval, that would be way to much traffic. So because the python server just pushs through subscriptions updates from my knowledge, you should only expect events when there are changes to the attribute.

@bkoblenz
Copy link
Author

bkoblenz commented Feb 6, 2025 via email

@marcelveldt
Copy link
Contributor

The node will be marked as unavailable. You will see a "node event" in that case.

@bkoblenz
Copy link
Author

bkoblenz commented Feb 8, 2025 via email

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

No branches or pull requests

3 participants