project-chip / connectedhomeip

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.
https://buildwithmatter.com
Apache License 2.0
7.22k stars 1.91k forks source link

[1.2] Thermostat not working with Apple Home when it's on the same node as a bridge #30481

Open WOLEN6914183 opened 8 months ago

WOLEN6914183 commented 8 months ago

Reproduction steps

"I added a non-bridged thermostat to endpoint 2 in the 'zap' file under 'example/bridge-app'. I can read the content of the thermostat on the Raspberry Pi, and it also appears on Google Home as an accessory. However, when I add it to Apple HomeKit, the thermostat accessory is not discovered. Is this an issue on Apple's side or a matter SDK problem? Please note that the thermostat's properties in the 'zap' file are correct, and the same configuration works fine in another example, 'light-switch-app'."

Bug prevalence

1-2 times week

GitHub hash of the SDK that was being used

181b0cb14ff007ec912f2ba6627e05dfb066c008

Platform

esp32

Platform Version(s)

Homekit

Type

Platform Issue

Anything else?

![Uploading WechatIMG190.jpg…]()

bzbarsky-apple commented 8 months ago

@WOLEN6914183 Not enough information to answer the question.

I suggest filing a Feedback Assistant ticket per the instructions below. Please put the ticket id in this issue, and I will see about checking what goes wrong in the Apple Home interaction.

Feedback assistant ticket:

WOLEN6914183 commented 8 months ago

Dear Boris Zbarsky 

Thank you for taking time out of your busy schedule to reply to my question.I am currently working on a product. The code of connectedhomeip/example/bridge-app is used,My device is ESP32。The following are the steps I developed   First modify the ZAP file in the code。The picture below is a screenshot of me modifying the zap file.

  In the CAS Matter document, it is mentioned that a bridge device can also be used as a medium to connect Zigbee/ble mash. And it can be used as a Matter device. 

 The above Endpoint3 is used as a bridge node, and Endpoint2 is used as a Matter device. The screenshot of the original document is as follows

I modified the  ZAP file according to the above configurationand finally added the device to HomeKit. In HomeKit.

I only see the devices under the bridge node-For example four switches. But the thermostat accessory under 

Endpoint2 is not displayed in HomeKit. I can use Raspberry Pi to read Endpoint2 properties and verify that Matter1.2 test projects can pass.This problem has been bothering me for a long time. 

If you know the solution, I look forward to your reply, thank you very much        

------------------ 原始邮件 ------------------ 发件人: "project-chip/connectedhomeip" @.>; 发送时间: 2023年11月17日(星期五) 凌晨2:56 @.>; @.**@.>; 主题: Re: [project-chip/connectedhomeip] [1.2] (Issue #30481)

@WOLEN6914183 Not enough information to answer the question.

I suggest filing a Feedback Assistant ticket per the instructions below. Please put the ticket id in this issue, and I will see about checking what goes wrong in the Apple Home interaction.

Feedback assistant ticket:

File a feedback assistant ticket. https://developer.apple.com/bug-reporting/#feedback-assistant

Click on the link below using your account: https://feedbackassistant.apple.com/new-form-response

Choose iOS/iPadOS to file an issue

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.

iOS:

https://developer.apple.com/bug-reporting/profiles-and-logs/?platform=ios&name=homekit

https://developer.apple.com/bug-reporting/profiles-and-logs/?platform=ios&name=network

https://developer.apple.com/bug-reporting/profiles-and-logs/?platform=ios&name=mdns

tvOS:

https://developer.apple.com/bug-reporting/profiles-and-logs/?platform=tvos&name=homekit

https://developer.apple.com/bug-reporting/profiles-and-logs/?platform=tvos&name=network

https://developer.apple.com/bug-reporting/profiles-and-logs/?platform=tvos&name=mdns For installation instructions, refer to https://developer.apple.com/bug-reporting/profiles-and-logs. Note: Once you have the profile on the iPhone, it will ask you if you want to install it on other devices. Follow the prompts to install on the HomePod, Apple TV, etc., where you have the described issue and reproduce it.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

bzbarsky-apple commented 8 months ago

@WOLEN6914183 I am happy to try to help, but see above for the information I will need.