tim-hellhake / chromecast-adapter

Chromecast device adapter for WebThings Gateway
MIT License
6 stars 2 forks source link

Turning off the TV should not lead to errors. #9

Closed rshadow closed 4 years ago

rshadow commented 4 years ago

Now when the TV is turned off, I see errors in the log. It seems that you just need to write that the TV was not found. For example, with the level of INFO.

2020-05-26 16:02:58.704 ERROR  : Failed to get property volume: getProperty: device: globe-675aabd2b12ef90f71df12efdb405ad3._googlecast._tcp.local. not found.
2020-05-26 16:02:58.705 ERROR  : Failed to get property on: getProperty: device: globe-675aabd2b12ef90f71df12efdb405ad3._googlecast._tcp.local. not found.
2020-05-26 16:02:58.705 ERROR  : Failed to get property playing: getProperty: device: globe-675aabd2b12ef90f71df12efdb405ad3._googlecast._tcp.local. not found.
2020-05-26 16:02:58.706 ERROR  : Failed to get property muted: getProperty: device: globe-675aabd2b12ef90f71df12efdb405ad3._googlecast._tcp.local. not found.
2020-05-26 16:02:58.706 ERROR  : Failed to get property app: getProperty: device: globe-675aabd2b12ef90f71df12efdb405ad3._googlecast._tcp.local. not found.
mrstegeman commented 4 years ago

This is actually caused by the gateway, not the adapter, and it should only be seen when the gateway is (re)started while the Chromecast is powered off. It should then go away once the Chromecast is powered on. Is that correct?

rshadow commented 4 years ago

I think yes.

mrstegeman commented 4 years ago

Ok. I'm going to close this since there's really nothing to be done.