[arm-allstar] Wunderground now IBM and new API for wx_conditions.sh

David dvd at dalfonso.us
Sun Jan 12 00:33:48 EST 2020


Doug,

Using VNC on my LAN I connected to a Pi running Raspbian from my Win10 
computer.  From there I used Chromium browser to get the apiKey.  It was 
the same as the one I got using Firefox on Win10 machine.  That said, 
when I use curl in bash window on my hamvoip node it says  "Missing 
apiKey, generated error" and I get no observations.

-Dave

On 1/11/2020 6:06 PM, "Danny K5CG via ARM-allstar" wrote:
> I didn't know about it either. I now have my API key but there's not much I can do with it.
>
> If you open the URL with the key in a browser you get the data...
>
> {"observations":[{"stationID":"KTXPLANOXXX","obsTimeUtc":"2020-01-12T02:03:45Z","obsTimeLocal":"2020-01-11 20:03:45","neighborhood":"Hunters Glen","softwareType":"myAcuRite","country":"US","solarRadiation":null,"lon":-99.74350739,"realtimeFrequency":null,"epoch":1578794625,"lat":35.075737,"uv":null,"winddir":180,"humidity":97,"qcStatus":1,"imperial":{"temp":31,"heatIndex":31,"dewpt":30,"windChill":31,"windSpeed":0,"windGust":0,"pressure":29.60,"precipRate":0.00,"precipTotal":0.31,"elev":708}}]}
>
> +1 for me on this issue.
>
> Thanks
> Danny
> K5CG
>
> ----- Original Message -----
> From: "ARM Allstar" <arm-allstar at hamvoip.org>
> To: "ARM Allstar" <arm-allstar at hamvoip.org>
> Cc: "wa3dsp" <wa3dsp at gmail.com>
> Sent: Saturday, January 11, 2020 7:44:40 PM
> Subject: Re: [arm-allstar] Wunderground now IBM and new API for wx_conditions.sh
>
> David,
>
>   I had not been following this and I did not realize it had changed so I
> quickly looked at it. It would be easy to do and I will look at doing it
> but the problem is getting an API for the Pi.  API's are based on what you
> are using to ask for the data. I was able to bring up my data for my two
> weather stations in firefox but the API does not work on the Pi. So somehow
> yet to be determined I need to get the api code when using the Pi as the
> same code used with firefox in Ubuntu does not seem to work. If you have
> been able to get an API for the Pi let me know. It also is apparently
> limited to owners of attached weather stations.
>
> Current observations for my stations -
>
> observations
> 0
> stationID "KPARICHB3"
> obsTimeUtc "2020-01-12T01:37:16Z"
> obsTimeLocal "2020-01-11 20:37:16"
> neighborhood null
> softwareType "WH2600 V4.1.3"
> country "US"
> solarRadiation 0
> lon -75.00948334
> realtimeFrequency null
> epoch 1578793036
> lat 40.22302246
> uv 0
> winddir 241
> humidity 62
> qcStatus 1
> imperial
> temp 64
> heatIndex 64
> dewpt 51
> windChill 64
> windSpeed 2
> windGust 2
> pressure 30.01
> precipRate 0
> precipTotal 0
> elev 358
>
>
> *73 Doug*
>
> *WA3DSP*
>
> *http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
>
>
> On Sat, Jan 11, 2020 at 6:50 PM "David via ARM-allstar" <
> arm-allstar at hamvoip.org> wrote:
>
>> I recently tried to get the weather information from my personal weather
>> station (PWS) running again on my Hamvoip node. I had it working until
>> about a year ago but it seems things have changed since IBM bought
>> Wunderground.  The API has changed and now they only provide a free API
>> key if you contribute your PWS info to the system.  Has anyone revised
>> the script wx_condition.sh to collect the data using the new
>> api.weather.com URL?  The data format is now JSON.
>>
>> Dave k6dvd
>>
>> _______________________________________________
>>
>> ARM-allstar mailing list
>> ARM-allstar at hamvoip.org
>> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>>
>> Visit the BBB and RPi2/3/4 web page - http://hamvoip.org
> _______________________________________________
>
> ARM-allstar mailing list
> ARM-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>
> Visit the BBB and RPi2/3/4 web page - http://hamvoip.org
> _______________________________________________
>
> ARM-allstar mailing list
> ARM-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>
> Visit the BBB and RPi2/3/4 web page - http://hamvoip.org


More information about the ARM-allstar mailing list