- Platform information:
- Hardware: Raspberry Pi
- OS: Raspbian
- openHAB version: 2.5
I’m using the OpenWeatherMap binding, and since it occasionally does not update, I started monitoring the binding itself. Usually when the binding goes offline, it recovers after a few minutes, and comes online again. But one case yesterday left the binding in the OFFLINE and then the UNINITIALIZED state about half an hour later.
2020-05-09 02:17:37.591 [hingStatusInfoChangedEvent] - ‘openweathermap:weather-and-forecast:home’ changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): java.io.EOFException: HttpConnectionOverHTTP@343e81::DecryptedEndPoint@893f2{api.openweathermap.org/37.139.20.5:443<->/192.168.0.35:57680,OPEN,fill=-,flush=-,to=1200299/0}
2020-05-09 02:17:37.599 [hingStatusInfoChangedEvent] - ‘openweathermap:weather-api:home’ changed from ONLINE to OFFLINE
2020-05-09 02:37:47.603 [hingStatusInfoChangedEvent] - ‘openweathermap:weather-and-forecast:home’ changed from OFFLINE (COMMUNICATION_ERROR): java.io.EOFException: HttpConnectionOverHTTP@343e81::DecryptedEndPoint@893f2{api.openweathermap.org/37.139.20.5:443<->/192.168.0.35:57680,OPEN,fill=-,flush=-,to=1200299/0} to OFFLINE (COMMUNICATION_ERROR): Total timeout 10000 ms elapsed
2020-05-09 03:15:16.041 [hingStatusInfoChangedEvent] - ‘openweathermap:weather-and-forecast:home’ changed from OFFLINE (COMMUNICATION_ERROR): Total timeout 10000 ms elapsed to UNINITIALIZED
2020-05-09 03:15:16.058 [hingStatusInfoChangedEvent] - ‘openweathermap:weather-and-forecast:home’ changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)
2020-05-09 03:15:16.061 [hingStatusInfoChangedEvent] - ‘openweathermap:weather-api:home’ changed from OFFLINE to UNINITIALIZED
2020-05-09 03:15:16.079 [hingStatusInfoChangedEvent] - ‘openweathermap:weather-api:home’ changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)
Got the alarm over night, and restarted the openHAB installation the next morning, after which the binding recovered and started providing data again.
Is there a way to force the binding to reconnect, without restarting the entire installation?