-
Notifications
You must be signed in to change notification settings - Fork 170
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
Give a option to make on_level ATTRIBUTE_FLAG_NONVOLATILE (CON-1431) #1169
Comments
@Haerteleric We cannot change the quality of an attribute; doing so would violate the Matter spec.
@jonsmirl We will look into this. |
@jonsmirl Light Demo example has the |
i am not talking about the "CurrentLevel" (0x0000) but the "OnLevel" (0x0011) created in
|
Yes, as I said in the above comments. We cannot change the quality of an attribute, doing so would violate the Matter spec. |
why should OnLevel be Volatile ? That does not make sense. If a user sets a TurnOn Brigthness (not startup brightness) it should not default to Max Brightness everytime the device gets power cycled. That would blind people. |
see 1.6.4.1.1. Effect of On/Off Commands on the CurrentLevel Attribute Matter Application Cluster |
@Haerteleric I think you should be using
|
@Haerteleric any update on the issue? |
The The |
@Haerteleric That is correct, and you should use Is there still a problem? If not can you please close the issue. |
|
the stack resets the |
That is expected, as per the specification, esp-matter/components/esp_matter/esp_matter_attribute.cpp Lines 1195 to 1200 in cb21664
NOTE: I won't recommend you to make that change, but if you want to break the specification compliance, please go ahead. |
Could you please refer me to the specification sections where this is defined? Cause i can't find it. |
the code section you linked is about the node_label ?!?
|
Sorry for the cut-paste mistake, I have updated the link in the comment above. Please check Matter Application Cluster Specification Section 1.6.6. Attributes. Do check the Quality Column, |
You are right. I was in the wrong. I would like to apologize for my tone. |
Is your feature request related to a problem? Please describe.
On Level Attribute (Level Control Cluster) is reset to init values after each power cycle.
Describe the solution you'd like
allow ATTRIBUTE_FLAG_NONVOLATILE for that attribute.
Describe alternatives you've considered
give us a esp_matter func to manually set the ATTRIBUTE_FLAG_NONVOLATILE of a Attribute
Additional context
...
The text was updated successfully, but these errors were encountered: