Issues related to Matter over Thread product interfaces for reporting brightness changes to the APP

We are developing a light product that features a built-in button. A single click of this button toggles the light on/off, while a long press adjusts the brightness level.

If we manually adjust the brightness and then report the new brightness level via the Clusters::LevelControl::Attributes::CurrentLevel::Set() interface, this action triggers the MatterPostAttributeChangeCallback() command to set the brightness (which involves receiving commands for the transition from the current value to the target value).

Since our intent is solely to report the new brightness to the app without triggering a control command, this creates a conflict.

Is there an interface that allows us to only report the brightness state without subsequently receiving a dimming/setting command?

Parents Reply
  • When the internal dimming ramp time is set to 10 seconds, I need to notify the mobile app that the target brightness has reached 254. However, after the device reports this brightness update, it receives a series of brightness callbacks (transitioning from 0 to 254) during the fade process. These intermediate values then unexpectedly modify the device's target brightness again, creating an undesirable control loop.

Children
No Data
Related