-
Notifications
You must be signed in to change notification settings - Fork 6
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
check online status first #8
Comments
Good input. Does homebridge lock up while waiting for a reply from Plex or is it just constantly retrying and thus blocking homebridge? |
I think the problem occurs when I open the Homebridge-App and it automatically checks the status after selecting the room with the Plex-Server in it. I will look in the log-files later when I am at home. |
That would certainly help fixing the ussue. |
Now I can't trigger it anymore! Your code became self aware and fixed itself. 🤪
… Am 05.02.2018 um 17:18 schrieb Michael Burri ***@***.***>:
That would certainly help fixing the ussue.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Feel free to reopen the issue when my code decides to act up again 😉 |
Oh. Wrong github-repository!! I am testing too many projects at once. Then after a while: |
That still does not really answer my question:
A slow request should not block the whole homebridge, because these requests are asynchronous which means homebridge should just go on working while it waits for the Plex server to reply. Also it should not retry more quickly than it checks for the status anyways. |
Ok. I try to describe it as well as possible: |
This looks like a platform limitation: homebridge/homebridge#948 I'm not sure what to do about it. While I agree, that a non-reachable Plex should not block the whole homebridge, I'll have to think of an elegant solution for that problem. Feel free to comment with any good ideas. |
Has anyone came up with a solition for this? My homebridge also completely locks up if my plex server is not running and in Home app I navigate to the room which contains this plex sensor. If plex server is running, everything is fast. |
Think there isn´t a solution!? To avoid this i´ve made an extra room (like homecinema) in my home with only this device and when my plex server is off i don´t navigate to this room... not perfect but better than nothing... |
Is it possible to add a status check by pinging the server first?
At the moment the whole Homebridge gets nearly locked when the server is not online.
The text was updated successfully, but these errors were encountered: