openweather plugin ?
-
@akbooer the openWeather plugin didn't work 'cause it's use Dark Weather instead of openWeather as the plugin name
Multi Provider Weather Station should work with openWeather but it's giving some error when installed in openLuup. I would need to dig a little bit more on that.
-
@DesT said in openweather plugin ?:
it's use Dark Weather instead of openWeather
I think that's meant to read "..it uses "Wunderground Weather" instead of "openWeather"
-
I also update openLuup for the latest "development" version
-
It's working but the data I got, is not very useful as I was having back with DarkSky Weather
-
Yeah, DarkSky was providing more data indeed. I'll have a look at the error message.
-
Yes, I was surprised. It turns out that there’s far fewer stations which record hourly data, which is what you need. I can’t remember now how I found the one I use, I’m not in front of my development system at this time.
The device panel on openLuup should give a nice brief text summary of current conditions.
-
Yes. Struggling to find one that's close. They seem to fail silently and I can't see much in the details to indicate which ones might work
I'll crack on. Thanks for the pointer
C
-
Did you find what you needed in the end?
This query: (along with your API key)
datapoint.metoffice.gov.uk/public/data/val/wxobs/all/T/sitelist?key=...
Gives the relatively short list of stations (140 or so, IIRC) with hourly data, from which it's easy to pick the nearest.
I should build this link directly into the app...
-
Ooooh thanks!
C
-
-
OpenWeatherMap's API changes: Some time back OpenWeatherMap decided to change their API billing practices. The old "One Call API" arrangements (1,000 API calls per day free) have now ended.
You now have to provide your credit card details, so if you exceed the free 1,000 API calls per day you can be charged. The provided API keys don't work unless you provide these details. Returned error message:
{ "cod": 401, "message": "Invalid API key. Please see https://openweathermap.org/faq#error401 for more info." }
However, if you just want current weather with no forecasts, you can use the "weather" call:
https://api.openweathermap.org/data/2.5/weather?lat=%s&lon=%s&units=%s&lang=%s&appid=%s
It's possible the Multi Station Weather plugin could be modified to fall back to this call, if it fails on the first call. As suggested here.
In my case, I've hacked the MultiStationWeather plugin code to use the "weather" URL at all times, as I don't use forecasts.
-
Hi, it is on my to-do list to make the change. Might be this week, no promises.