Matter (formerly Project CHIP) creates more connections between more objects, simplifying development for manufacturers and increasing compatibility for consumers, guided by the Connectivity Standards Alliance.
For a few recent months, I can't not commissioning my Matter device with an iPhone 8 (iOS 16.x) and an Apple TV 4K 2022.
In my Matter device's log, it often showed "Fail-safe timer expired" in CASE session of Fabric 2, maybe right after "Sent Sigma2 msg" (sometimes after Receive Sigma3 msg, sometimes before Receive Sigma1 msg):
The full logs is below, and it show "Fail-safe timer expired" in line 1699:
log_20231223 Commissioning iPhone Keychain Failed.txt
It's a little coincidence that this error occur after the day iOS 17 published. Before that, my iPhone 8 still be able to commission Matter devices as normal.
And for now, my Matter device still be able to be commissioned by other iPhones.
My Matter device is built on module RealTek BW16. And another Matter device built on ESP32C3 has the same issue.
I did commissioning in usual way:
Step 1: Add Apple TV to my Apple Home app on iPhone
Step 2: Use iPhone to scan QR Code of my Matter device
Bug prevalence
Whenever I commissioning my Matter device with an iPhone 8 (iOS 16.x).
Matter device: RealTek BW16, ESP32C3Matter commissioner: iPhone 8 (iOS 16.x) with Apple TV 4K 2022, iPhone 8 (iOS 16.x) with Apple HomePod
Anything else?
I tried turning on "Passwords and Keychain" in iCloud Settings, but it didn't work
I also tried update iOS 16 everytime it has new version, but it didn't work too
Choose the area as Home App and fill in the details of the type of issue and the description
Technical Information
Please provide the following
a) Sysdiagnose logs for iPhone / iPad with the timestamp / timeframe of the issue
b) Sysdiagnose logs for all the Home Hubs (HomePod mini / HomePod / Apple TV) with the timestamp / timeframe of the issue
c) Accessory logs with the timestamp / timeframe of the issue
d) mDNS network logs with timestamp / timeframe of the issue
e) Video or screenshot describing the issue (optional but beneficial)
Please make sure you download and install the profiles for iOS and tvOS as provided here. The instructions are also in these links.
Reproduction steps
For a few recent months, I can't not commissioning my Matter device with an iPhone 8 (iOS 16.x) and an Apple TV 4K 2022. In my Matter device's log, it often showed "Fail-safe timer expired" in CASE session of Fabric 2, maybe right after "Sent Sigma2 msg" (sometimes after Receive Sigma3 msg, sometimes before Receive Sigma1 msg): The full logs is below, and it show "Fail-safe timer expired" in line 1699: log_20231223 Commissioning iPhone Keychain Failed.txt It's a little coincidence that this error occur after the day iOS 17 published. Before that, my iPhone 8 still be able to commission Matter devices as normal. And for now, my Matter device still be able to be commissioned by other iPhones. My Matter device is built on module RealTek BW16. And another Matter device built on ESP32C3 has the same issue. I did commissioning in usual way:
Bug prevalence
Whenever I commissioning my Matter device with an iPhone 8 (iOS 16.x).
GitHub hash of the SDK that was being used
connectedhomeip (branch v1.1-branch), ambd_matter (branch v1.1-branch)
Platform
ameba, esp32
Platform Version(s)
Matter device: RealTek BW16, ESP32C3Matter commissioner: iPhone 8 (iOS 16.x) with Apple TV 4K 2022, iPhone 8 (iOS 16.x) with Apple HomePod
Anything else?
I tried turning on "Passwords and Keychain" in iCloud Settings, but it didn't work I also tried update iOS 16 everytime it has new version, but it didn't work too
So does anybody has ideas why?