Hi Andrew,

Thanks for the reply, my friend! I really appreciate it.

The reason for wanting to get my data up to OpenWeatherMap was so that 
another system that I'm hooked up with, pvoutput.org could access it. 
Specifically the solar and temp values. Unfortunately the requirement from 
pvoutput means that you need to pass in a city_id. 

>From what you're saying this is simply not going to be possible. Bugger.

Back to the drawing board then. At the moment, I've got weewx pumping to 
WU. All good there.

Additionally, what I need to do now, is to intercept the Davis Vantage data 
in weewx and send directly to pvoutput via it's api endpoint. Time to check 
some source code out. Geezzz, I haven't coded in quite some time now! hahaha

Thanks Again,
Benjamin


On Thursday, March 21, 2019 at 1:36:11 PM UTC+9:30, Andrew Milner wrote:
>
> Unfortunately there is no way you can see your weather station data other 
> than by using the API.  They say they will be providing direct access in 
> the future.  Yes, it seems you are uploading correctly - but you need to 
> use the API to get the data back again.
>
> They do not even have my town in their database (you can download the 
> cities database) so I have to use a town 3km away to view the weather!!  
> Not as good as WU in this regard!!!!
>
>
>
>
> On Thursday, 21 March 2019 05:00:16 UTC+2, [email protected] wrote:
>>
>> Hi Everyone,
>>
>> Lovely to say hello to you :-)
>>
>> A fast question in regards to getting weewx talking with OpenWeatherMap.
>>
>> I'm almost there, but want to clarify a few things,
>>
>> I followed the instructions here:
>> https://github.com/weewx/weewx/wiki/openweathermap
>>
>> Ok, here's what's been successful so far.
>>
>> 1. Created an account with OpenWeatherMap
>> 2. Created my API key
>> 3. Via POSTMAN generated a station by utilising 
>> http://api.openweathermap.org/data/3.0/stations?appid=<MY-APP-KEY> and 
>> also pushing in the raw dat
>> { "external_id": "HOWARD_SPRINGS", "name": "Howard Springs Updated 
>> Station", "latitude": -12.491170, "longitude": 131.073288, "altitude": 10 }
>>
>>
>> This is the 201 response I'm getting back.
>> {
>>     "ID": "5c92fa926c634e000131b6c2",
>>     "updated_at": "2019-03-21T02:44:34.153306891Z",
>>     "created_at": "2019-03-21T02:44:34.153306865Z",
>>     "user_id": "5c921de6a90c4e0007e54189",
>>     "external_id": "HOWARD_SPRINGS",
>>     "name": "Howard Springs Updated Station",
>>     "latitude": -12.49117,
>>     "longitude": 131.073288,
>>     "altitude": 10,
>>     "rank": 10,
>>     "source_type": 5
>> }
>>
>>
>> My question is, what values should I be using in the weewx.conf file?
>>
>> [StdRESTful]
>>     [[OpenWeatherMap]]
>>         appid = OWM_APPID
>>         station_id = STATION_ID
>>
>>
>> *appid*, I'm presuming is the API key that I generated via the 
>> OpenWeatherMap website?
>>
>> and looking at the doco it states this:
>>
>> *"Copy that ID in to your weewx config, along with your API key, as shown 
>> in step 2 under "Installation" above."*
>>
>> Sorry, but which ID am I meant to be utilising? Is it *ID*, *user_id?*
>>
>> --------
>>
>> Also of note is that I've utilised the 
>> http://api.openweathermap.org/data/3.0/stations API call a few times now 
>> and its returning a different ID (which makes sense).
>>
>> In checking the logs, I do see this entry:
>>
>> Mar 21 12:25:17 raspberrypi weewx[20585]: restx: OWM: Published record 
>> 2019-03-21 12:25:00 ACST (1553136900)
>>
>> So it looks like it's published something to OWM??? Or is that totally 
>> unrelated?
>>
>> I obviously want to see if my data has been successfully exported to 
>> OpenWeatherMap - but how can I do this?
>>
>> Finally, how do I find my city id? that has now been associated with this 
>> station?
>>
>> Sorry for the basic questions here. I really appreciate your time in 
>> reviewing this post!
>>
>> Take Care. Benjamin
>>
>>
>>
>>
>>
>>
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to