2024-12-18 06:23 PM
Hi,
When the device is first added to Apple HomePod, pressing button 2 can trigger automation, and it is always effective no matter how many times it is triggered. But once the device restarts, pressing button 2 again is almost always ineffective. Guess the problem is related to device restart. I pressed button 1 according to the instructions before restarting the device, but it still had no effect.
I have provided the log of the development board in the attachment.
Development board: STM32WB5MM-DK
Firmware: STM32CubeExpansion_MATTER_V1.1.0\Projects\STM32WB5MM-DK\Applications\Matter\Generic-Switch-App
Test environment: One iPhone, one Apple HomePod
Test process: 1. After the device is turned on, add accessories on the iPhone and select "Matter". 2. Enter the device pairing code and complete the device addition on iPhone. 3. Press button 2 and confirm that it can trigger automation on the iPhone. 4. Press button 1, wait for the save to complete, and then restart the device. 5. Wait for the device to start until it no longer prints logs. 6. Press button 2 to confirm that the automation on the iPhone has not been triggered.
Thanks,
DL_Weng
2025-02-05 01:34 AM
Hi,
The project in "en.x-cube-matter-v1-1-1" has same problem.
Thanks,
DL_Weng
2025-02-05 02:50 AM
Hello,
this is more of an issue with the HomePod, which acts as Switch server. The WB device, acting as client, updates the messages / state. The server needs to be subscribed to it. When WB resets, the subscription is lost but the server does not re-initialize it (it would do so by default after some time).
So you need to manually restart the Homepod after the WB is reset.