Odds are it's a WU thing.

If you're comfortable manipulating URLs, you can try a GET request
directly. Use the URL

https://api.weather.com/v2/pws/observations/all/1day?stationId=KCAPOWAY177&format=json&units=m&apiKey=XXXXX


where XXXXX is your API key. Sometimes this will give you additional detail.

Interestingly, when I try the above with my own API key, I get a 204 ("No
Content") error, not a 403.

-tk



On Sun, Jun 21, 2020 at 8:58 AM David Barto <ba...@kdbarto.org> wrote:

> The key, password, and API all match with the station name.
>
> When I look at the station under
> https://www.wunderground.com/member/devices -> My Devices, it shows
> Offline.
>
> I’m assuming that is because I’m not sending data rather than some other
> step in the setup process that I’m not able to discern. Web searches don’t
> show any registration steps that I’ve missed.
>
> Is it just a WU thing, or am I really just missing something obvious?
>
> David
>
> On Jun 20, 2020, at 5:59 PM, Tom Keffer <tkef...@gmail.com> wrote:
>
> Normally, if you give the wrong API key, you get a 401 error. You are
> getting a 403 error, which implies that the key may be right, but you do
> not have authorization to access the data. Are you sure you have the right
> station?
>
> Also, double check the API key. You can find it here
> <https://www.wunderground.com/member/api-keys>. Does it match what you
> have in weewx.conf?
>
> -tk
>
> On Sat, Jun 20, 2020 at 5:39 PM David Barto <ba...@kdbarto.org> wrote:
>
>> I’ve got a new Station KCAPOWAY177
>>
>> I’ve got an API key <very long string> and a ‘key’ <8 alpha numeric key>
>> and my password to log into the site.
>>
>> No matter which of the 3 I choose for my password, the response to
>> wunderfixer is always the same.
>>
>> $ ./bin/wunderfixer --test --config=$(pwd)/weewx.conf
>> --station=KCAPOWAY177 —password=<pick any one> --verbose
>> Using configuration file /Users/Shared/weewx/weewx.conf.
>> Using database binding 'wx_binding', which is bound to database
>> 'archive_sqlite'
>> Weather Underground Station:   KCAPOWAY177
>> Date to check:                 2020-06-20
>> Number of archive records:     1055
>> Unable to open Weather Underground station KCAPOWAY177  or  HTTP Error
>> 403: Forbidden
>> Could not get Weather Underground data. Exiting.
>>
>>
>> Any idea of where to go now?
>>
>> David
>>
>>
>> --
>> 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 weewx-user+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/weewx-user/4DA82895-538B-4EC3-9D85-4E148E4CFB29%40kdbarto.org
>> <https://groups.google.com/d/msgid/weewx-user/4DA82895-538B-4EC3-9D85-4E148E4CFB29%40kdbarto.org?utm_medium=email&utm_source=footer>
>> .
>>
>
> --
> 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 weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/CAPq0zEAE940H%3DAuHD30LC_Zx2oC1Myv041LbRGGv5hVshaxWQg%40mail.gmail.com
> <https://groups.google.com/d/msgid/weewx-user/CAPq0zEAE940H%3DAuHD30LC_Zx2oC1Myv041LbRGGv5hVshaxWQg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
>
> --
> 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 weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/ECC4C459-B688-49DD-B5E0-63EF36ED6DC6%40kdbarto.org
> <https://groups.google.com/d/msgid/weewx-user/ECC4C459-B688-49DD-B5E0-63EF36ED6DC6%40kdbarto.org?utm_medium=email&utm_source=footer>
> .
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEBq5qNWc7JBW8bJijbmCCmhDTKNoOYEondU7EOSmiduVA%40mail.gmail.com.

Reply via email to