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

Recurring connection error in Homebridge log despite everything works fine with the api #208

Open
maisun opened this issue Apr 30, 2023 · 0 comments

Comments

@maisun
Copy link

maisun commented Apr 30, 2023

Hi,
With Homebridge 1.6.1 and homebridge-bravia-tvos 5.0.8 I see lots of recurring connection errors in the log file after TV is turned off for some time:
[4/30/2023, 9:18:10 PM] [BraviaTVOS] Sony TV: An error occured during getting television state!
[4/30/2023, 9:18:10 PM] [BraviaTVOS] Error: Error: connect EHOSTUNREACH 192.168.x.xx:80
at ServiceProtocol.describe (/homebridge/node_modules/homebridge-bravia-tvos/node_modules/@seydx/bravia/lib/service.js:68:15)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at /homebridge/node_modules/homebridge-bravia-tvos/node_modules/@seydx/bravia/lib/bravia.js:257:22
at async Promise.all (index 0)
at Bravia.describe (/homebridge/node_modules/homebridge-bravia-tvos/node_modules/@seydx/bravia/lib/bravia.js:255:27)
at Bravia.exec (/homebridge/node_modules/homebridge-bravia-tvos/node_modules/@seydx/bravia/lib/bravia.js:289:28)
at Handler.getTelevisionState (/homebridge/node_modules/homebridge-bravia-tvos/src/accessories/accessory.handler.js:18:24)
at Handler.poll (/homebridge/node_modules/homebridge-bravia-tvos/src/accessories/accessory.handler.js:559:7)

I can still turn on TV with HomeKit, and after turning on the error disappears, but after a while it comes back. In my settings I don't select "Wake on LAN" so look to me like the plugin can perfectly turn on the TV with API. However it cannot poll OFF state due to connection error for some reason.
Appreciate any suggestion!

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