Something new every day from the WeatherUnderground.


On Tue, Jun 23, 2020 at 3:01 PM Ernest Jillson <[email protected]> wrote:

> In weewx.conf:  For the password, instead of entering your site password,
> try the key there.  It's NOT the api key. It's under "My Devices" in your
> member settings on WU.
>
> [StdRestful]
>     [[Wunderground]]
>         enable = true
>         station = KCASANFRA11
>         password = XXXXXXXX
>         rapidfire = True
>         api_key = xxxxxxxxxxxxxxxxxxxxxx
>
>
> On Tue, Jun 23, 2020 at 5:46 PM David Barto <[email protected]> wrote:
>
>> Where (what field) did you plug the key into?
>>
>> David
>>
>> On Jun 23, 2020, at 2:15 PM, Ernest Jillson <[email protected]> wrote:
>>
>> Ok. This IS strange.
>>
>> I'm running weewx 3.9x and have my data going to wunderground with
>> station ID and site password. The person I was helping is using weewx 4.1
>> and station ID and password was failing as mentioned in this thread. Today,
>> just for the heck of it, he decided to try using the "key" associated with
>> his account. Bingo! Not sure if it's a difference between 3.9x and 4.1 or
>> maybe that he has a vue and I have vp2?  At least we got it working. Maybe
>> that will work for the OP too!
>>
>> <WU_PWS_Key.JPG>
>>
>> On Mon, Jun 22, 2020 at 4:29 PM Ernest Jillson <[email protected]>
>> wrote:
>>
>>> I'm helping someone set up a brand new pi with weewx and vantage vue. We
>>> are getting the same thing in the logs. Failed to publish record. This is
>>> using python 3 and weewx 4.x (latest). It says it's adding records to
>>> database, but fails upload to WU. He even tried changing the password.
>>> Meanwhile I've been running fine with 3.9.2 and python 2.
>>>
>>> I'll be following this thread to see what the resolution might end up
>>> being.
>>>
>>>
>>> On Sun, Jun 21, 2020 at 4:27 PM Tom Keffer <[email protected]> wrote:
>>>
>>>> I don't blame you.
>>>>
>>>> On Sun, Jun 21, 2020 at 12:23 PM David Barto <[email protected]> wrote:
>>>>
>>>>> Perhaps I should just give up on the WU. PWSweather takes my data just
>>>>> fine, and I'll add the NWS and a couple of others in the near
>>>>> future.
>>>>>
>>>>> David
>>>>>
>>>>> On Jun 21, 2020, at 12:18 PM, Tom Keffer <[email protected]> wrote:
>>>>>
>>>>> Sounds like yet another WU SNAFU.
>>>>>
>>>>> You could try disabling RapidFire and just use regular postings. RF
>>>>> has always been unreliable.
>>>>>
>>>>> -tk
>>>>>
>>>>> On Sun, Jun 21, 2020 at 12:16 PM David Barto <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> Enclosing with quotes didn=E2=80=99t change anything and I logged
>>>>>> out/in
>>>>>> from Wunderground and explicitly typed in the password. That worked.
>>>>>>
>>>>>>        enable = true
>>>>>>        station = KCAPOWAY177
>>>>>>        password ="AlphaNumericDataH3Re"
>>>>>>        # Set the following to True to have weewx use the WU
>>>>>> "Rapidfire"
>>>>>>        # protocol. Not all hardware can support it. See the User's
>>>>>> Guide.
>>>>>>        rapidfire = True
>>>>>>
>>>>>> Still failing. Debug is set to 1, is there anything else that could be
>>>>>> useful?
>>>>>>
>>>>>> David
>>>>>>
>>>>>> On Jun 21, 2020, at 11:42 AM, Tom Keffer <[email protected]> wrote:
>>>>>>
>>>>>> OK, now you have an *upload* problem, which suggests a password
>>>>>> problem. Make sure you're using the right password. Does it have any
>>>>>> special characters in it? If so, enclose with quotes in weewx.conf.
>>>>>>
>>>>>> -tk
>>>>>>
>>>>>> On Sun, Jun 21, 2020 at 11:32 AM David Barto <[email protected]>
>>>>>> wrote:
>>>>>>
>>>>>>> Curl gets a 204. So my configuration ’should’ be working.
>>>>>>>
>>>>>>> password is set to the password I login with.
>>>>>>>
>>>>>>> Wunderfixer still returning a 503, so that is unusual.
>>>>>>>
>>>>>>> I’m now seeing.
>>>>>>>
>>>>>>> Jun 21 11:26:19 Magrathea weewx[23591]: restx: Wunderground-RF:
>>>>>>> Failed to publish record 2020-06-21 11:26:15 PDT (1592763975): Failed
>>>>>>> upload after 1 tries
>>>>>>> Jun 21 11:26:24 Magrathea weewx[23591]: restx: Wunderground-RF:
>>>>>>> Failed to publish record 2020-06-21 11:26:19 PDT (1592763979): Failed
>>>>>>> upload after 1 tries
>>>>>>> Jun 21 11:26:30 Magrathea weewx[23591]: restx: Wunderground-RF:
>>>>>>> Failed to publish record 2020-06-21 11:26:25 PDT (1592763985): Failed
>>>>>>> upload after 1 tries
>>>>>>> Jun 21 11:26:35 Magrathea weewx[23591]: restx: Wunderground-RF:
>>>>>>> Failed to publish record 2020-06-21 11:26:29 PDT (1592763989): Failed
>>>>>>> upload after 1 tries
>>>>>>> Jun 21 11:26:40 Magrathea weewx[23591]: restx: Wunderground-RF:
>>>>>>> Failed to publish record 2020-06-21 11:26:35 PDT (1592763995): Failed
>>>>>>> upload after 1 tries
>>>>>>> Jun 21 11:26:45 Magrathea weewx[23591]: restx: Wunderground-RF:
>>>>>>> Failed to publish record 2020-06-21 11:26:39 PDT (1592763999): Failed
>>>>>>> upload after 1 tries
>>>>>>> Jun 21 11:26:50 Magrathea weewx[23591]: restx: Wunderground-RF:
>>>>>>> Failed to publish record 2020-06-21 11:26:45 PDT (1592764005): Failed
>>>>>>> upload after 1 tries
>>>>>>> Jun 21 11:26:55 Magrathea weewx[23591]: restx: Wunderground-RF:
>>>>>>> Failed to publish record 2020-06-21 11:26:49 PDT (1592764009): Failed
>>>>>>> upload after 1 tries
>>>>>>> Jun 21 11:27:00 Magrathea weewx[23591]: restx: Wunderground-RF:
>>>>>>> Failed to publish record 2020-06-21 11:26:55 PDT (1592764015): Failed
>>>>>>> upload after 1 tries
>>>>>>> Jun 21 11:27:05 Magrathea weewx[23591]: restx: Wunderground-RF:
>>>>>>> Failed to publish record 2020-06-21 11:27:01 PDT (1592764021): Failed
>>>>>>> upload after 1 tries
>>>>>>>
>>>>>>> And https://www.wunderground.com/dashboard/pws/KCAPOWAY177 still
>>>>>>> reports ‘offline’.
>>>>>>>
>>>>>>> I’ve got ‘debug = 1’ in my configuration, so what else would be
>>>>>>> useful to include to finish this up?
>>>>>>>
>>>>>>> David
>>>>>>>
>>>>>>> On Jun 21, 2020, at 10:48 AM, Tom Keffer <[email protected]> wrote:
>>>>>>>
>>>>>>> Blank page is probably good, and hopefully means that it's accepting
>>>>>>> the API key. To be sure, try curl:
>>>>>>>
>>>>>>> curl -i '
>>>>>>> https://api.weather.com/v2/pws/observations/all/1day?stationId=KCAPOWAY177&format=json&units=m&apiKey=XXXXX
>>>>>>> '
>>>>>>>
>>>>>>>
>>>>>>> where, again, XXXXX is your API key. This will give you the returned
>>>>>>> status code. I would expect 204.
>>>>>>>
>>>>>>> NB: the API key is necessary to *download* data, the password is
>>>>>>> necessary to *upload* data. So, you want the API key.
>>>>>>>
>>>>>>> -tk
>>>>>>>
>>>>>>> On Sun, Jun 21, 2020 at 9:48 AM David Barto <[email protected]>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Weird, when presented my very long API key I get back a blank page.
>>>>>>>> I’ll assume that is good. When I give it the short key I get back
>>>>>>>>
>>>>>>>> {"metadata":{"transaction_id":"##############"},"success":false,"errors":[{"error":{"code":"CDN-0001","message":"Invalid
>>>>>>>> apiKey."}}]}
>>>>>>>>
>>>>>>>> What debugging do I need to turn on (and where to look on the Mac)
>>>>>>>> to see the URL being sent when I’m using wunderfixer to see what it is
>>>>>>>> sending?
>>>>>>>>
>>>>>>>> David
>>>>>>>>
>>>>>>>>
>>>>>>>> On Jun 21, 2020, at 9:25 AM, Tom Keffer <[email protected]> wrote:
>>>>>>>>
>>>>>>>> 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 <[email protected]>
>>>>>>>> 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 <[email protected]> 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 <[email protected]>
>>>>>>>>> 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 [email protected].
>>>>>>>>>> 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 [email protected].
>>>>>>>>> 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 [email protected].
>>>>>>>>> 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 [email protected].
>>>>>>>> To view this discussion on the web visit
>>>>>>>> https://groups.google.com/d/msgid/weewx-user/CAPq0zEBq5qNWc7JBW8bJijbmCCmhDTKNoOYEondU7EOSmiduVA%40mail.gmail.com
>>>>>>>> <https://groups.google.com/d/msgid/weewx-user/CAPq0zEBq5qNWc7JBW8bJijbmCCmhDTKNoOYEondU7EOSmiduVA%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 [email protected].
>>>>>>>> To view this discussion on the web visit
>>>>>>>> https://groups.google.com/d/msgid/weewx-user/EA981147-7FDC-40F5-B1BA-4BC55769D48A%40kdbarto.org
>>>>>>>> <https://groups.google.com/d/msgid/weewx-user/EA981147-7FDC-40F5-B1BA-4BC55769D48A%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 [email protected].
>>>>>>> To view this discussion on the web visit
>>>>>>> https://groups.google.com/d/msgid/weewx-user/CAPq0zEC0NLVriMbOUNLs8JP%3DHic4ybUOnqfGSPL2De1CjnGPOQ%40mail.gmail.com
>>>>>>> <https://groups.google.com/d/msgid/weewx-user/CAPq0zEC0NLVriMbOUNLs8JP%3DHic4ybUOnqfGSPL2De1CjnGPOQ%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 [email protected].
>>>>>>> To view this discussion on the web visit
>>>>>>> https://groups.google.com/d/msgid/weewx-user/5D0D970D-B82F-46C1-A947-A353F81B0E2C%40kdbarto.org
>>>>>>> <https://groups.google.com/d/msgid/weewx-user/5D0D970D-B82F-46C1-A947-A353F81B0E2C%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 [email protected].
>>>>>> To view this discussion on the web visit
>>>>>> https://groups.google.com/d/msgid/weewx-user/CAPq0zEBstfSSwpuZGcjjT1Q02u%2BJpw%3DaLgf90f%3Dx4OMyQkze8A%40mail.gmail.com
>>>>>> <https://groups.google.com/d/msgid/weewx-user/CAPq0zEBstfSSwpuZGcjjT1Q02u%2BJpw%3DaLgf90f%3Dx4OMyQkze8A%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 [email protected].
>>>>>> To view this discussion on the web visit
>>>>>> https://groups.google.com/d/msgid/weewx-user/39383749-1A52-4013-A7E2-D04992998AE6%40kdbarto.org
>>>>>> <https://groups.google.com/d/msgid/weewx-user/39383749-1A52-4013-A7E2-D04992998AE6%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 [email protected].
>>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/weewx-user/CAPq0zEBCxskczAfeCFZ7y24gN8cxF__Zk5cN-ytap6DoYDYOfw%40mail.gmail.com
>>>>> <https://groups.google.com/d/msgid/weewx-user/CAPq0zEBCxskczAfeCFZ7y24gN8cxF__Zk5cN-ytap6DoYDYOfw%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 [email protected].
>>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/weewx-user/6F0A35B0-85BE-460F-9FCF-CB8E910AC221%40kdbarto.org
>>>>> <https://groups.google.com/d/msgid/weewx-user/6F0A35B0-85BE-460F-9FCF-CB8E910AC221%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 [email protected].
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/weewx-user/CAPq0zECfYqhhGditY6StTz97cpKCw5zf-MVKNw9bkeOm37ubhg%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/weewx-user/CAPq0zECfYqhhGditY6StTz97cpKCw5zf-MVKNw9bkeOm37ubhg%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 [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/weewx-user/CAC5oUmP%2Bx%3DGjt7biNO0GydMDkuteLmuNrZkRq1Hv0FprWDHw4g%40mail.gmail.com
>> <https://groups.google.com/d/msgid/weewx-user/CAC5oUmP%2Bx%3DGjt7biNO0GydMDkuteLmuNrZkRq1Hv0FprWDHw4g%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 [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/weewx-user/8E9BF786-E505-4840-AFB7-E5E7D58D11BF%40kdbarto.org
>> <https://groups.google.com/d/msgid/weewx-user/8E9BF786-E505-4840-AFB7-E5E7D58D11BF%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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/CAC5oUmMANEfUb0abLm50mrkFsY5WWgrXZ6LhWsgGvRMwAEViUQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/weewx-user/CAC5oUmMANEfUb0abLm50mrkFsY5WWgrXZ6LhWsgGvRMwAEViUQ%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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zECP5r3eT8AWyo0yCDn1aun1d%3DpahVDEjAg6eQKyCZN_1A%40mail.gmail.com.

Reply via email to