Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bridged Device Basic Information cluster is not displayed properly in Apple HomeKit (CON-1418) #1156

Open
jzwyssig opened this issue Nov 17, 2024 · 5 comments

Comments

@jzwyssig
Copy link

jzwyssig commented Nov 17, 2024

This issue is likely not related to esp-matter or connectedhomeip and was already discussed in the past (see #415). However, I would appreciate it if someone could confirm this issue.

On iOS 18.1, the Bridged Device Basic Information Cluster is not displayed correctly in Apple HomeKit. While the basic information is correctly recognized on the bridge itself, the bridged devices in Apple HomeKit always show "Unknown."

Apple Home

Using chip-tool, I am able to read the bridged device's basic information successfully, and everything is displayed correctly in Google Home as well. I also tried adding the Basic Information Cluster in addition to the Bridged Device Basic Information Cluster for each bridged device, thinking that HomeKit might be referencing the wrong cluster, but this did not resolve the issue either.

@github-actions github-actions bot changed the title Bridged Device Basic Information cluster is not displayed properly in Apple HomeKit Bridged Device Basic Information cluster is not displayed properly in Apple HomeKit (CON-1418) Nov 17, 2024
@jonsmirl
Copy link
Contributor

jonsmirl commented Nov 17, 2024

there are two different clusters: BasicInfo and BridgedBasicInfo, you are reading the BasicInfo one with chip-tool. If you click on Bidge-> it is visible in Apple Home. To see what you are looking for, you need to add these attributes

        bridged_device_basic_information::attribute::create_vendor_name(cluster, LOWPAN_VENDOR_NAME, strlen(LOWPAN_VENDOR_NAME));
        bridged_device_basic_information::attribute::create_vendor_id(cluster, LOWPAN_VENDOR_ID);
        bridged_device_basic_information::attribute::create_serial_number(cluster, "12345ABCDEF", strlen("12345ABCDEF"));
        bridged_device_basic_information::attribute::create_reachable(cluster, true);

@jzwyssig
Copy link
Author

jzwyssig commented Nov 17, 2024

Thanks, @jonsmirl, for the fast response. However, this is exactly what I did. Each bridged device has the Bridged Device Basic Information cluster, and I can confirm that I am able to read all attributes on every endpoint using chip-tool. Additionally, the Bridged Device Basic Information cluster is displayed correctly in Google Home. Only in in Apple Home it shows "Unknown".

The "normal" Basic Information cluster is working just fine. If I tap on the bridge in Apple Home, the data is displayed correctly.

For example:

  • basicinformation read vendor-name 0x1 0 : Works with chip-tool, Apple Home, Google Home
  • bridgeddevicebasicinformation read vendor-name 0x1 2: Works with chip-tool and in Google Home but Apple Home shows "Unknown".

@jonsmirl
Copy link
Contributor

That works for me, I see all of the fields I set in Apple Home. I am on IOS 17.7 on iPad.

@jonsmirl
Copy link
Contributor

Did you try removing the device and recommissioning it on Apple Home? Apple might only read this info once and not expect it to change.

@jzwyssig
Copy link
Author

Thank you for the confirmation. I am currently using iOS 18.1, and I believe this feature worked in the past. That’s why I’m curious if the issue might be related to iOS 18.1. I’ve already reset the device and re-paired it multiple times, but unfortunately, it still doesn’t work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants