- 20180324, V0.9.2
- Added MetarWeatherTimeBased device to obtain weather data at the same time of day
in the target timezone as the local time of day - Added observationTime attribute
- Updated Dependencies
- Added MetarWeatherTimeBased device to obtain weather data at the same time of day
-
Released pimatic-metar-weather@0.9.2
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
Since updating, i regularly get this:
error [pimatic-metar-weather]: [MetarWeather#metar-1] Error: Response does not contain metar
-
@fregger Same here. In my case it is not regular and I see different type of error messages. Some requests worked today but most of them failed Possibly, a temporary problem with the site.
I’ll keep an eye on this and think about better strategy for mitigating error, e.g. retrying the request rather than waiting for 30 minutes for the next update cycle
08:52:14.164 [pimatic-metar-weather] [MetarWeatherTimeBased#vietnam-weather] Using observation data record 9 filed at 2018-03-26T02:00:00Z 09:22:19.569 [pimatic-metar-weather] [MetarWeatherTimeBased#vietnam-weather] Error: read ECONNRESET 10:35:42.924 [pimatic-metar-weather] [MetarWeatherTimeBased#vietnam-weather] Error: getaddrinfo ENOTFOUND aviationweather.gov aviationweather.gov:443 11:05:48.865 [pimatic-metar-weather] [MetarWeatherTimeBased#vietnam-weather] Error: read ECONNRESET 11:35:57.428 [pimatic-metar-weather] [MetarWeatherTimeBased#vietnam-weather] Error: read ECONNRESET 12:07:58.120 [pimatic-metar-weather] [MetarWeatherTimeBased#vietnam-weather] Error: read ECONNRESET 12:39:59.082 [pimatic-metar-weather] [MetarWeatherTimeBased#vietnam-weather] Error: read ECONNRESET 13:10:27.061 [pimatic-metar-weather] [MetarWeatherTimeBased#vietnam-weather] Error: Bad Gateway (502) 13:40:27.865 [pimatic-metar-weather] [MetarWeatherTimeBased#vietnam-weather] Using observation data record 1 filed at 2018-03-26T06:30:00Z 14:12:47.043 [pimatic-metar-weather] [MetarWeatherTimeBased#vietnam-weather] Error: read ECONNRESET 14:42:47.924 [pimatic-metar-weather] [MetarWeatherTimeBased#vietnam-weather] Using observation data record 0 filed at 2018-03-26T07:00:00Z 15:12:48.501 [pimatic-metar-weather] [MetarWeatherTimeBased#vietnam-weather] Using observation data record 0 filed at 2018-03-26T07:00:00Z 15:42:49.077 [pimatic-metar-weather] [MetarWeatherTimeBased#vietnam-weather] Using observation data record 0 filed at 2018-03-26T07:00:00Z 16:12:49.857 [pimatic-metar-weather] [MetarWeatherTimeBased#vietnam-weather] Error: Response does not contain metar 16:42:50.448 [pimatic-metar-weather] [MetarWeatherTimeBased#vietnam-weather] Error: Response does not contain metar 17:12:51.029 [pimatic-metar-weather] [MetarWeatherTimeBased#vietnam-weather] Error: Response does not contain metar 17:42:51.616 [pimatic-metar-weather] [MetarWeatherTimeBased#vietnam-weather] Error: Response does not contain metar 18:12:52.200 [pimatic-metar-weather] [MetarWeatherTimeBased#vietnam-weather] Error: Response does not contain metar
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law