Hi All,
I’m struggling with the following problem with this binding.
I’m running openhab 4.2.1 and the binding is also 4.2.1. Sometimes the binding doesn’t see my Nvidia Shield Pro anymore. Last night the Shield was powered off but unresponsive, so I had to unplug it from the power, plug it back in and it was working again. But the binding wasn’t able to connect to it anymore:
The log is showing this at that moment:
2024-11-22 10:09:44.154 [INFO ] [openhab.event.ThingStatusInfoChangedEvent] - Thing 'androidtv:shieldtv:ShieldWoonkamer' changed from OFFLINE: GoogleTV: Error opening SSL connection. Check log. | ShieldTV: Initializing to OFFLINE: GoogleTV: Error opening SSL connection. Check log. | ShieldTV: Reconnecting
2024-11-22 10:09:44.156 [INFO ] [openhab.event.ThingStatusInfoChangedEvent] - Thing 'androidtv:shieldtv:ShieldWoonkamer' changed from OFFLINE: GoogleTV: Error opening SSL connection. Check log. | ShieldTV: Reconnecting to OFFLINE: GoogleTV: Error opening SSL connection. Check log. | ShieldTV: I/O Error
2024-11-22 10:09:44.268 [INFO ] [openhab.event.ThingStatusInfoChangedEvent] - Thing 'androidtv:shieldtv:ShieldWoonkamer' changed from OFFLINE: GoogleTV: Error opening SSL connection. Check log. | ShieldTV: I/O Error to OFFLINE: GoogleTV: Error opening SSL connection.
So I rebooted the shield, restarted the binding (via Karaf) but that doesn’t do anything. So I tried to get another pincode to force a new handshake.
openhab:androidtv androidtv:shieldtv:ShieldWoonkamer pincode REQUEST
I got very short the pincode on my screen, but it was about a second, so I couldn’t remember it. After that, the code never showed up again.
After that, the log shows a different error:
2024-11-22 10:24:54.983 [INFO ] [openhab.event.ThingStatusInfoChangedEvent] - Thing 'androidtv:shieldtv:ShieldWoonkamer' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to UNINITIALIZED (NOT_YET_READY)
2024-11-22 10:24:56.007 [INFO ] [openhab.event.ThingStatusInfoChangedEvent] - Thing 'androidtv:shieldtv:ShieldWoonkamer' changed from UNINITIALIZED (NOT_YET_READY) to INITIALIZING
2024-11-22 10:24:56.015 [INFO ] [openhab.event.ThingStatusInfoChangedEvent] - Thing 'androidtv:shieldtv:ShieldWoonkamer' changed from INITIALIZING to OFFLINE: Protocols Starting
2024-11-22 10:24:56.182 [INFO ] [openhab.event.ThingStatusInfoChangedEvent] - Thing 'androidtv:shieldtv:ShieldWoonkamer' changed from OFFLINE: Protocols Starting to OFFLINE: GoogleTV: Initializing | ShieldTV:
2024-11-22 10:24:56.192 [INFO ] [openhab.event.ThingStatusInfoChangedEvent] - Thing 'androidtv:shieldtv:ShieldWoonkamer' changed from OFFLINE: GoogleTV: Initializing | ShieldTV: to OFFLINE: GoogleTV: PIN Process Incomplete | ShieldTV:
2024-11-22 10:24:56.196 [INFO ] [openhab.event.ThingStatusInfoChangedEvent] - Thing 'androidtv:shieldtv:ShieldWoonkamer' changed from OFFLINE: GoogleTV: PIN Process Incomplete | ShieldTV: to OFFLINE: GoogleTV: PIN Process Incomplete | ShieldTV: Initializing
And after these errors, the log doesn’t show anything regarding to the binding. Not even when I stop and start it, the log stays clean. So i’m unable to fix anything regarding the connection. So I stopped the openhab service, cleaned it cache and restarted openhab again.
After this, certain items work / ShieldTV_APP and ShieldTV_APPNAME, but others don’t work: ShieldTV_PLAYER and ShieldTV_POWER, they stay NULL.
So I tried the pin process again, and now I got the screen with the pin code. Entered it, requested again and entered it (I think the manual isn’t clear about this, the second time looks necessary but I don’t see any pincode on the screen at a next request, and no confirmation after the second pin input).
The problem at my case is, it is impossible to force another pincode to force a new authentication if it is lost somehow, and unfortunately this does happen sometimes because of certain software bugs on the shield I guess.