Hi Apple Home Team,
We are facing an unexpected behavior when controlling our Matter-enabled fan device through Apple Home. We would like your assistance in understanding why Apple Home sends an additional FanMode attribute update before applying the requested Auto mode.
When Apple Home is used as the Matter controller/client and we change the fan mode from Off to Auto, our device receives an unexpected intermediate FanMode attribute update for High mode before receiving the actual Auto mode update.
However, when performing the same operation using other Matter ecosystems/controllers, we receive only one FanMode attribute update for Auto mode, which is the expected behavior.
We would like to understand why Apple Home generates this additional High mode attribute update and whether this is an expected behavior of the Apple Home controller.
- Commission the Matter-enabled fan device into Apple Home.
- Ensure that the current fan mode is set to Off.
- Open the Apple Home application.
- Change the fan mode from Off to Auto.
- Monitor the Matter logs on the device side, particularly the
PostAttributeChangeCallbackfor the Fan Control cluster.
When switching from Off to Auto, we observe the following callbacks:
- First callback: FanMode = 3 (High)
- Second callback: PercentSetting = 100
- Third callback: FanMode = 5 (Auto)
Device Logs:
I (411460) chip[EM]: >>> [E:56842r S:5361 M:221676031] (S) Msg RX from 1:000000001E49905D [6346] to 00000000AA6A3321 --- Type 0001:06 (IM:WriteRequest) (B:62)
I (411470) airPurifier-callbacks: PostAttributeChangeCallback - Cluster ID: '0x202', EndPoint ID: '0x1', Attribute ID: '0x0'
I (411470) FanControlApp: ^^^ Fan Mode: 3(High)
I (411470) airPurifier-callbacks: PostAttributeChangeCallback - Cluster ID: '0x202', EndPoint ID: '0x2'
I (411470) chip[ZCL]: Matter Fabric Write: PercentSetting changed to 100
I (411470) FanControlApp: ^^^ Fan Mode: 3(High)
I (411500) airPurifier-callbacks: PostAttributeChangeCallback - Cluster ID: '0x202', EndPoint ID: '0x1', Attribute ID: '0x0'
I (411500) FanControlApp: ^^^ Fan Mode: 5(Auto)
When the user selects Auto mode from Apple Home, we expect the device to receive only the requested FanMode update:
- FanMode = 5 (Auto)
We do not expect an intermediate FanMode update for High mode unless it is an intentional part of the controller's operation.
We have performed the same Off-to-Auto operation using other Matter ecosystems.
In those cases, we receive only one FanMode attribute callback for Auto mode, without any intermediate High mode callback.
This suggests that the additional update may be related to how Apple Home handles Fan Control cluster attribute writes.
- Matter SDK Version: 1.6.1
- ESP-IDF Version: 6.0.2
- Matter Cluster: Fan Control Cluster (0x0202)
- Attribute: FanMode (0x0000)
- Controller: Apple Home
We would appreciate your guidance on the following questions:
- Why does Apple Home generate an intermediate FanMode update with the value High (3) before applying the requested Auto mode (5)?
- Is this an expected behavior of the Apple Home controller when transitioning from Off to Auto?
- Is Apple Home intentionally writing High mode and subsequently Auto mode as part of an internal transition or attribute synchronization process?
- Is there any specific Matter specification requirement or Apple Home implementation guideline that explains this behavior?
- Should the device application handle this intermediate High mode update, or is there a recommended approach to avoid unnecessary application-level state transitions?
We would appreciate it if you could investigate this behavior and provide clarification on the expected controller-side operation and any recommended implementation guidelines.
Please let us know if you require additional Matter protocol logs or any other information from our side.
Thank you for your support.
Best regards,
Parthiv Kheni