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

Raspbian speed #70

Closed
soundprojects opened this issue Aug 10, 2022 · 2 comments
Closed

Raspbian speed #70

soundprojects opened this issue Aug 10, 2022 · 2 comments

Comments

@soundprojects
Copy link
Contributor

Hi

Did you get this managed to work on a fresh raspbian installation on a pi 3?
I am running one of your examples but there is much lag in the responses when pairing it seems, both in debug and release...

Any ideas?

@ewilken
Copy link
Owner

ewilken commented Aug 11, 2022

Since you closed, what was the resolution to this?

@soundprojects
Copy link
Contributor Author

I closed this because I ran into some things I mentioned in the other issues. Now that I have unique configurations for both my development Mac and the raspberry (By generating a unique hostname and unique ID) the adding accesory behavior works correct. However: There is general instability in the TCP connections on both machines. Sometimes things work perfectly in the first go. But mostly when adding the accessory, I see in the debug: 'TCP reading stream' but controlling hap-rs using the Homekit app gives no response.

Then close and restart IOS Home app a few times and suddenly the controls do work. Then, randomly, it stops working after some time.

Do you have any approach on how to debug this further? My Dnssd discovery shows the services as correct all the time, except for the part that the libmdns doesn't send goodbye packets, so services linger on a bit longer than they have to.

But that does not explain the instable connection behavior I experience...

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