lprhodes / homebridge-apple-tv

Apple TV 4th & 5th gen plugin for homebridge: https://github.com/nfarina/homebridge
Apache License 2.0
105 stars 15 forks source link

What does this error mean? - HELP #25

Open jat80 opened 6 years ago

jat80 commented 6 years ago

Was working fine when I set it up. Then a couple of days later I pressed the accessories I set up in the home app and they turned on and off accordingly but no response from the apple tv (which was on)

This is the error I got:

[2018-4-17 09:39:53] [Apple TV] Freeview sendCommand (tv) [2018-4-17 09:39:55] [Apple TV] Freeview sendCommand (tv) (node:91865) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: ENOENT: no such file or directory, open '/usr/local/lib/node_modules/homebridge-apple-tv/node_modules/node-appletv/dist/lib/protos/DeviceInfoUpdate.proto' (node:91865) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. [2018-4-17 09:39:56] [Apple TV] Freeview sendCommand (right) [2018-4-17 09:39:56] [Apple TV] Freeview sendCommand (right) [2018-4-17 09:39:57] [Apple TV] Freeview sendCommand (right) [2018-4-17 09:39:57] [Apple TV] Freeview sendCommand (select) [2018-4-17 09:39:58] [Apple TV] Freeview setSwitchState: (automatically turn off in 0.1 seconds) [2018-4-17 09:39:58] [Apple TV] Freeview setSwitchState: false

Any help would be appreciated.

Thanks!

jat80 commented 6 years ago

Anyone?

jat80 commented 6 years ago

Has anyone actually got this working reliably with continued use?? @lprhodes It works initially when I reboot homebridge but will only work for a day then stop working. The accessories still fine in the home app and you can turn them on but it doesn't correspond on the Apple TV.

joshbish commented 6 years ago

The only thing this did for me was made me aware of the command line tool which I now use by itself. It’s a shame too because it looks like the author spent a lot of time on this. I guess it works for him and he’s not interested in making it any better.