-
Notifications
You must be signed in to change notification settings - Fork 179
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
Hard to reconnect back to HomePod when power cycle (CON-825) #679
Comments
The error is earlier in the log. It is saying it can't find the Homepod after 45s. It will print the node id earlier, something like AF67F99EAFC7087E-34C96337C2457B88 then it should be visible on the network. My MDNS knowledge is minimal, but I believe when it boots it sends out a message asking all of the MDNS devices to identify. It should be able to get the address of the node at that time. Use an MDNS app on your phone or command line to make sure it is advertising.
|
Could you please check whether your HomePod has operational advertisement with this command |
How do I know which device is HomePod?
|
avahi-browse -a -r Will give you more info. Find the homepod IP address. avahi-browse _matter._tcp --resolve This is mine:
|
@law-ko Are you still encountering this problem? |
I am having the same issue, the CASE session is lost on restart and I need to send 2-3 commands to the device before the HomePod will negotiate a new CASE session, then the esp32 can communicate again. esp-matter/releasev1.3, IDF v5.2.3 |
I had the same problem, and even when on standby, homepod would disconnect from time to time esp-matter: (HEAD -> release/v1.2, origin/release/v1.2) |
[src/lib/address_resolve/AddressResolve_DefaultImpl.cpp][52]I (34237) chip[DIS]: UDP:192.168.5.42%st1:64506: new best score: 2 |
|
That is normal Matter behavior. I don't like how it works either. The node you are trying to access is receiving those messages but the session number has been changed. If you look at the console of the receiving device it will be printing messages about ignoring packet from an old session. So the first node just continues sending them until it times out, then it establishes a new session. This would be much more efficient if the receiving node sent a NACK type response triggering an immediate new session instead of discarding the packets and causing a timeout. But that is not part of the Matter protocol. |
After commissioning the device and perform a power cycle (power off/power on), sometimes ESP32 cannot automatically connect back to HomePod, with the following error:
What is the issue with this?
Environment
release/v1.1
branchESP-IDF v5.0.1-dirty
Any additional details
We are using Espressif mDNS instead of Matter's own minimal mDNS
The text was updated successfully, but these errors were encountered: