Hi all,
Thanks for the good binding as described here
Background info:
OH version 2.5.11
Hardware RPI 3
OS: Raspbian Jessie
Network connection thru ETH0 / Cat 5E cable to (ziggo) cable modem.
My "Weather Company weather forecast " Thing reports “OFFLINE - COMMUNICATION_ERROR” TimeoutException: Call to Weather Company API timed out
in the PaperUI quite often.
My “Weather Company Observations” Thing is working stable though.
information:
My “Weather Company Account”
Weather Company Account
weathercompany:account:b374b76b
My “Weather Company Observations”
Weather Company Observations
weathercompany:weather-observations:3fb87345
Has the following config options:
Bridge Selection
Weather Company Account - weathercompany:account:b374b76b
Configuration Parameters
Configure parameters for the thing.
PWS Station ID
IZUIDHOL136
ID of your Personal Weather Station (e.g. KILCHICA52)
Refresh interval
30
Specifies the refresh interval in minutes
My “Weather Company Forecast” (with Status: OFFLINE - COMMUNICATION_ERROR TimeoutException: Call to Weather Company API timed out)
Weather Company Forecast
weathercompany:weather-forecast:b374b76b:local
Has the following config options:
Bridge Selection
Weather Company Account - weathercompany:account:b374b76b
Configuration Parameters
Configure parameters for the thing.
Location Type
Geocode
Location type (Postal Code, Geocode)
Postal code
Postal code of form postal:country (e.g. 10001:US)
Location
51.9101509,4.552702399999999
relevant piece of (debug) log:
2020-12-14 15:47:26.477 [DEBUG] [andler.WeatherCompanyForecastHandler] - Handler: Successfully parsed daypart forecast object
2020-12-14 15:47:26.479 [DEBUG] [andler.WeatherCompanyForecastHandler] - There are 1 daypart forecast entries
2020-12-14 15:47:26.482 [DEBUG] [andler.WeatherCompanyForecastHandler] - There are 12 daypartName entries in this forecast
2020-12-14 15:47:26.484 [DEBUG] [andler.WeatherCompanyForecastHandler] - Processing daypart forecast for 'null'
2020-12-14 15:47:26.679 [DEBUG] [andler.WeatherCompanyForecastHandler] - Processing daypart forecast for 'Vanavond'
2020-12-14 15:47:26.859 [DEBUG] [andler.WeatherCompanyForecastHandler] - Processing daypart forecast for 'Morgen'
2020-12-14 15:47:26.934 [DEBUG] [andler.WeatherCompanyForecastHandler] - Processing daypart forecast for 'Morgenavond'
2020-12-14 15:47:27.018 [DEBUG] [andler.WeatherCompanyForecastHandler] - Processing daypart forecast for 'Woensdag'
2020-12-14 15:47:27.100 [DEBUG] [andler.WeatherCompanyForecastHandler] - Processing daypart forecast for 'Woensdagnacht'
2020-12-14 15:47:27.185 [DEBUG] [andler.WeatherCompanyForecastHandler] - Processing daypart forecast for 'Donderdag'
2020-12-14 15:47:27.260 [DEBUG] [andler.WeatherCompanyForecastHandler] - Processing daypart forecast for 'Donderdagnacht'
2020-12-14 15:47:27.357 [DEBUG] [andler.WeatherCompanyForecastHandler] - Processing daypart forecast for 'Vrijdag'
2020-12-14 15:47:27.433 [DEBUG] [andler.WeatherCompanyForecastHandler] - Processing daypart forecast for 'Vrijdagnacht'
2020-12-14 15:47:27.517 [DEBUG] [andler.WeatherCompanyForecastHandler] - Processing daypart forecast for 'Zaterdag'
2020-12-14 15:47:27.582 [DEBUG] [andler.WeatherCompanyForecastHandler] - Processing daypart forecast for 'Zaterdagnacht'
2020-12-14 15:47:34.779 [DEBUG] [andler.WeatherCompanyAbstractHandler] - TimeoutException: Call to Weather Company API timed out
2020-12-14 16:17:27.646 [DEBUG] [andler.WeatherCompanyForecastHandler] - Handler: Requesting forecast from The Weather Company API
2020-12-14 16:17:27.649 [DEBUG] [andler.WeatherCompanyForecastHandler] - Forecast URL is https://api.weather.com/v3/wx/forecast/daily/5day?format=json&language=nl-NL&apiKey=XXXXXXXXXXXXXXXXXXXXX&units=s&geocode=51.9101509,4.552702399999999
2020-12-14 16:17:34.782 [DEBUG] [er.WeatherCompanyObservationsHandler] - Handler: Requesting PWS observations from The Weather Company API
2020-12-14 16:17:34.786 [DEBUG] [er.WeatherCompanyObservationsHandler] - PWS observations URL is https://api.weather.com/v2/pws/observations/current?units=e&numericPrecision=decimal&format=json&stationId=IZUIDHOL136&apiKey=XXXXXXXXXXXXXXXXXXXXX
2020-12-14 16:17:36.009 [DEBUG] [andler.WeatherCompanyAbstractHandler] - Cache-Control header is max-age=5
2020-12-14 16:17:36.012 [DEBUG] [er.WeatherCompanyObservationsHandler] - Handler: Parsing PWS observations response: {"observations":[{"stationID":"IZUIDHOL136","obsTimeUtc":"2020-12-14T15:17:27Z","obsTimeLocal":"2020-12-14 16:17:27","neighborhood":" Kralingseveer","softwareType":"EasyWeatherV1.5.0","country":"NL","solarRadiation":4.8,"lon":4.552876,"realtimeFrequency":null,"epoch":1607959047,"lat":51.910278,"uv":0.0,"winddir":206,"humidity":85.0,"qcStatus":1,"imperial":{"temp":52.0,"heatIndex":52.0,"dewpt":47.7,"windChill":52.0,"windSpeed":1.8,"windGust":2.2,"pressure":29.85,"precipRate":0.00,"precipTotal":0.15,"elev":-3.0}}]}
2020-12-14 16:17:36.017 [DEBUG] [er.WeatherCompanyObservationsHandler] - Handler: Successfully parsed PWS observations response object
2020-12-14 16:17:36.023 [DEBUG] [er.WeatherCompanyObservationsHandler] - Handler: Processing observations from station IZUIDHOL136 at 2020-12-14 16:17:27
2020-12-14 16:17:42.659 [DEBUG] [andler.WeatherCompanyAbstractHandler] - TimeoutException: Call to Weather Company API timed out
As you can see from the log the timeout occurred at 15:47:34.779 and 16:17:42.659 in this log.
ANY hints where to start of how to fix this?
Many thanks in advance,
André