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