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

websocket connection gets closed after a few days #15

Open
bartekpacia opened this issue Mar 11, 2023 · 2 comments
Open

websocket connection gets closed after a few days #15

bartekpacia opened this issue Mar 11, 2023 · 2 comments

Comments

@bartekpacia
Copy link
Owner

bartekpacia commented Mar 11, 2023

Apparently F&Home server kills the connection after it's been running for a few days (~5 in my case).

The error is the thrown here.

@bartekpacia
Copy link
Owner Author

Maybe I should be sending "ping" and waiting for "pong"? FHome API seems to be doing it every minute or so

Screenshot 2024-07-25 at 22 46 17

@bartekpacia
Copy link
Owner Author

As of now, I work around this by running fhomed as a systems service and auto-restarting it when it dies. link

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

1 participant