One last thing to try, although it's a long shot. Set debug=2. This will
log extra debugging information, including the URL used to post to the WU.
It will also obfuscate your password, so it won't help there, but at least
we can see if the URL is well formed.

But, I doubt it will reveal anything.

-tk

On Mon, Sep 14, 2020 at 12:27 PM Ken Waters <[email protected]> wrote:

> I tried it with both of them and still got rejected.
>
> Ken
>
> On Mon, Sep 14, 2020 at 4:02 AM Tom Keffer <[email protected]> wrote:
>
>> Pablo: as per Ken's suggestion, straighten out your station ID
>>
>> Both: The WU has taken the station ID plus user password in the past, and
>> that's what my station is using right now. But, now I see in the upload
>> protocol notes
>> <https://support.weather.com/s/article/PWS-Upload-Protocol?language=en_US> 
>> that
>> we should use the "Station Key registered with this PWS ID, case
>> sensitive." Have you both tried the field "Key"?
>>
>> -tk
>>
>> On Sun, Sep 13, 2020 at 9:44 PM Ken Waters <[email protected]> wrote:
>>
>>> Hi Pablo,
>>>
>>> I just noticed your conf file shows station ID:  KCASANJO1246 whereas
>>> your WUnderground devices shows KCASANJO1247.  Could that be the issue?
>>>
>>> Ken
>>>
>>> On Sun, Sep 13, 2020 at 3:33 PM Pablo Revilla <[email protected]>
>>> wrote:
>>>
>>>> Tom, thank you for your reply.
>>>>
>>>> I am using the "ID" and the "Key", do I need a special membership to
>>>> upload my data to WU?
>>>>
>>>> [image: image.png]
>>>>
>>>> On Sun, Sep 13, 2020 at 6:00 AM Tom Keffer <[email protected]> wrote:
>>>>
>>>>> Things to try:
>>>>>
>>>>> 1. Double check your password. Did you get it correct?
>>>>> 2. Does your password include the pound ('#') character? If so,
>>>>> ConfigObj will interpret it as a comment. Put the password in quotes.
>>>>> 3. Does it contain the single quote ("'") character? If so, the
>>>>> password will need to be put in double quotes.
>>>>> 4. Same with the double quote ('"') character. Put the password in
>>>>> single quotes.
>>>>>
>>>>> -tk
>>>>>
>>>>> On Sat, Sep 12, 2020 at 9:21 PM Pablo Revilla <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> I am trying to update wunderground but it is not letting me.
>>>>>> I am also attaching the config section.
>>>>>>
>>>>>> Any ideas?
>>>>>>
>>>>>> Sep 12 21:15:23 plex weewx[4240] DEBUG weewx.restx: Wunderground-PWS:
>>>>>> Failed upload attempt 1: HTTP Error 401: Unauthorized
>>>>>> Sep 12 21:15:29 plex weewx[4240] DEBUG weewx.restx: Wunderground-PWS:
>>>>>> Failed upload attempt 2: HTTP Error 401: Unauthorized
>>>>>> Sep 12 21:15:34 plex weewx[4240] DEBUG weewx.restx: Wunderground-PWS:
>>>>>> Failed upload attempt 3: HTTP Error 401: Unauthorized
>>>>>> Sep 12 21:15:34 plex weewx[4240] ERROR weewx.restx: Wunderground-PWS:
>>>>>> Failed to publish record 2020-09-12 21:15:00 PDT (1599970500): Failed
>>>>>> upload after 3 tries
>>>>>>
>>>>>>
>>>>>>   [[Wunderground]]
>>>>>>         # This section is for configuring posts to the Weather
>>>>>> Underground.
>>>>>>
>>>>>>         # If you wish to do this, set the option 'enable' to true,
>>>>>>         # and specify a station (e.g., 'KORHOODR3') and password.
>>>>>>         # To guard against parsing errors, put the password in quotes.
>>>>>>         enable = True
>>>>>>         station =KCASANJO1246
>>>>>>         password ='mywundergroundpassword'
>>>>>>
>>>>>>         # If you plan on using wunderfixer, set the following
>>>>>>         # to your API key:
>>>>>>         api_key ="myapikey"
>>>>>>
>>>>>>         # 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 = False
>>>>>>
>>>>>>
>>>>>> ##############################################################################
>>>>>>
>>>>>> --
>>>>>> 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/a4a42717-c626-4077-98f9-15ed3d2d9d1cn%40googlegroups.com
>>>>>> <https://groups.google.com/d/msgid/weewx-user/a4a42717-c626-4077-98f9-15ed3d2d9d1cn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>> .
>>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to a topic in the
>>>>> Google Groups "weewx-user" group.
>>>>> To unsubscribe from this topic, visit
>>>>> https://groups.google.com/d/topic/weewx-user/ktAx0U5qias/unsubscribe.
>>>>> To unsubscribe from this group and all its topics, send an email to
>>>>> [email protected].
>>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/weewx-user/CAPq0zEAPLTAGUqGJz%2BPXgOfswA6e3j3JEA9wfNXfMc%2BNfe0Lkw%40mail.gmail.com
>>>>> <https://groups.google.com/d/msgid/weewx-user/CAPq0zEAPLTAGUqGJz%2BPXgOfswA6e3j3JEA9wfNXfMc%2BNfe0Lkw%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/CAN6nb9wNN68gN3tfcaGMAQg%2BJoC3XEkNkCkOq-zowPAaOOnAEA%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/weewx-user/CAN6nb9wNN68gN3tfcaGMAQg%2BJoC3XEkNkCkOq-zowPAaOOnAEA%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/CACZLRFoDjOEE8AekVtL-U_TjwxsStqM3jJnYvLiN16J%3DoX%2Bafw%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/weewx-user/CACZLRFoDjOEE8AekVtL-U_TjwxsStqM3jJnYvLiN16J%3DoX%2Bafw%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/CAPq0zEBWEa8DtJaXBHxmECSG2tVrHjXvgdLwTNCbbZ-ZfuZtSQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/weewx-user/CAPq0zEBWEa8DtJaXBHxmECSG2tVrHjXvgdLwTNCbbZ-ZfuZtSQ%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/CACZLRFrg4tNd4vUFBHOCpXvk0%3DqQCpzhCZhMM%2Bn52jOYJsCSMw%40mail.gmail.com
> <https://groups.google.com/d/msgid/weewx-user/CACZLRFrg4tNd4vUFBHOCpXvk0%3DqQCpzhCZhMM%2Bn52jOYJsCSMw%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/CAPq0zEA%2B_s68YvCU9MVxF0JCE%2Bc2hnoOLQhLs4vdpTm7JGruzA%40mail.gmail.com.

Reply via email to