-
Notifications
You must be signed in to change notification settings - Fork 8
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
Dropping devices #17
Comments
Did you find a solution? I also made an issue in the cast-web-api project: |
I couldn’t nail down what was causing it but I think you nailed it. All my
devices were asleep just now, but opening the Smartthings app woke them all
up.
I don’t think this library is being maintained anymore so we’re on our own.
I’m going to check the code this weekend to see if we can keep them awake
somehow.
…On Wed, Feb 16, 2022 at 1:18 PM Jon Harald Øymyr ***@***.***> wrote:
Did you find a solution?
For me it seems like all devices is dropped when all devices in our house
is sleeping. If a phone wakes up the devices is added again within a few
seconds. I've tried pinging the devices and opening the ip:port with telnet
to see if I could trigger something, but nothing happens until I unlock my
phone.
I also made an issue in the cast-web-api project:
vervallsweg/cast-web-api#155
<vervallsweg/cast-web-api#155>
—
Reply to this email directly, view it on GitHub
<#17 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAYCXBH5ZRWPDZZOALSYIMTU3QBBNANCNFSM5KZP7IYA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I actually don't need to open any app. I think it's because Android phones pulls the status of all Google devices and shows it as notifications. |
The issue looks complex. The problem might be in the project mdns-cast-browser by the same author. In here there's a timeout which seems to trigger the device disconnection: https://github.com/vervallsweg/mdns-cast-browser/blob/master/ttl.js |
I'm running the API using the CLI. Its intermittently keeps dropping all devices. The server is always running when this happens (reports OK and 1.2.1 version), but the /device endpoint returns an empty array. The device list will become populated again with all devices intermittently. Any thoughts on what I should check in logs or what might be causing this?
Thanks
The text was updated successfully, but these errors were encountered: