OpenWeatherMap or any other free solution please

Thanks! That works OK on my raspberry Pi.

Turning this to an idea.

1 Like

Open weather map is now supported.

Select OpenWeatherMap under the new Weather Device section.

Currently only querying by City Id is supported.

Click on List to and download the cities list file -

or csv/excel -

image

Click on TEST to check that the API Key and City Id is valid before saving.

4 Likes

Set it up about 30 minutes ago and it’s working although there does seem to be some lag before the temperature values are populated. My poll interval is set to 5 minutes.

Bob.

Just set mine up, working good so far.
To get my city id number just when to this address and found my city, THEN copied the city number from the IP address.
https://openweathermap.org/find

Thanks for the extra work to solve this.

1 Like

Hi @bankstownbloke,

When using OpenWeatherMap, where will the temp data go to? When using WU in the past, I had the temp set to v11 because I am using the regular temp for my SolarEdge inverter temp.

Thanks.

Not claiming to be an expert but, once you select OpenWeatherMap in the Weather Device option, you need only fill in API key, the City ID. There is no option for the “v numbers” and the temp data magically
shows up in your PVOUTput data.

You can see where mine started at 9am this morning once I set the API key and city ID.

https://pvoutput.org/intraday.jsp?id=45408&sid=41431&dt=20190315

Yes, I can now see that both temp from OpenWeatherMap and SolarEdge Inverter are going to the standard Temp, which causes one data overwriting the other.

@bankstownbloke, is it possible that the temp data from OpenWeatherMap can be implemented the same way as WU, so that it can be stored in the Extended Data (v7-v12)?

Thanks

I just set mine up and yep, the temp data just started appearing.

May I ask where you find the API key please?

Bazzle

edit:
Here after you make an account…
https://home.openweathermap.org/api_keys

edit 2: Working great after midnight turnover. Thanks for setting up the pvoutput side :slight_smile:

Working for me as well.
A quick way to identify your city number is to type in your city name to search for a location for weather. When the city info comes up, click on the link to jump to the city’s weather and you will see city id number at the end of the hyperlink address.

Nice job Bankstownbloke adding the additional weather resources, and thanks to all who provided the api info etc. to allow Bankstownbloke to set the alternatives up.

The city list in a more readable format below -

1 Like

OK, I have this working, but initially had an issue - I had the Primary Device set for my Efergy uploader, which does not upload temperature - in fact I’d deliberately mangled the Efergy key, so it should have had no readings at all in any field.
With the Primary Device set to Efergy (but key mangled), even after setting the OpenWeatherMap info the temperature field stayed stubbornly blank until after I changed the Primary Device to (none).

Now Primary Device appears to have been set by the system to ‘Weather’.

Which prompted me to look at the Secondary Device - which doesn’t have the Weather option, or some of the options that have been added to Primary Device over the years.

BB, any chance you could synchronise the selectable options for Primary Device into the Secondary Device drop-down menu at some stage? Then we could keep the Primary Device for whatever we’ve been using, and set Secondary Device to ‘Weather’, and have both systems operating.

Weather Device will work with Primary Device, but only if the primary is working i.e. the key from efergy must be valid otherwise both Efergy and Weather will be removed from downloading.

Not sure what’s going on, but I’m getting an error when testing my OWM API Key:

{“cod”:401, “message”: “Invalid API key. Please see http://openweathermap.org/faq#error401 for more info.”}

I’ve triple checked the City ID and API key are correct. Even generated a new API key just to be sure.

Oh wait… just noticed in the ‘welcome’ email that they say that the API key “Within the next couple of hours, it will be activated and ready to use”

Would be nice if they said that on the website when you create it!!!

Disabling main temperature v5 for all weather devices and extended parameters for openweathermap will be available soon.

1 Like

cheers i have added it. hopefully it starts working overnight.
the city selection is a bit poor. i had to select something over 100km away

I do the test button and it shows the city id and appears to be working but nothing getting graphed

So I’ve deleted WU info in my pvoutput settings and now put my new openweather info in place. The issue I’m having is even though the free OW account api says you can have 60 requests an hour, when PV asks for my local town’s temperature every 5 minutes, it does not send it ( on average it updates every 15 minutes). So my temperature trace on my PV account cycles between displaying the town temperature and the temperature the EnviR is measuring (ie the temperature of the room that the device is located in).
https://www.pvoutput.org/intraday.jsp?id=7553&sid=6080
Does anyone know how to stop this cycling and only display the town temperature?