Hello,

Thanks for your help, I had put the password in my wd.conf file instead of 
the api key  

Seb

Le lundi 18 janvier 2021 à 00:27:53 UTC+1, gjr80 a écrit :

> I should also add can you double check your API key in /var/tmp/wu.conf 
> is correct by confirming it against the API key listed under the 'API Keys' 
> tab of 'Member Settings' when you login to your WU account.
>
> Gary
>
> On Monday, 18 January 2021 at 09:20:23 UTC+10 gjr80 wrote:
>
>> Thank you. It would appear the credentials you are using to access WU are 
>> not being accepted by WU. Currently there are three distinct pieces of 
>> information you will use in WeeWX to access WU. To post WeeWX data to WU 
>> you will use station ID or name and a password. These are defined in 
>> weewx.conf under [StdRESTful] [[Wunderground]]. If WeeWX is successfully 
>> uploading data to WU then these two parameters are correctly set.
>>
>> When using wee_import to download data from WU you need to use station 
>> ID or name again but his time you need an API key rather than a password. 
>> The API key must be obtained from WU separately is a hexadecimal string 32 
>> characters in length. You must define your station ID or name and API key 
>> in your import config file, in your case /var/tmp/wu.conf.
>>
>> Can you confirm that you have the correct API key against the api_key 
>> setting in /var/tmp/wu.conf and is it 32 hexadecimal characters in 
>> length?
>>
>> Also, could you please post future console output as text rather than as 
>> an image/screenshot, screenshots make life difficult for us, particularly 
>> when using mobile devices. There are a number of ways to do this, if you 
>> are unsure how you will find some guidance in the Help! posting to 
>> weewx-user 
>> <https://github.com/weewx/weewx/wiki/Help!-Posting-to-weewx-user> wiki 
>> article.
>>
>> Gary
>> On Sunday, 17 January 2021 at 06:24:49 UTC+10 [email protected] wrote:
>>
>>> Hello,
>>>
>>> [image: error401.jpg]
>>>
>>>
>>> My version Weewx is : 4.3.0
>>>
>>> Thanks
>>>
>>> Sebastien - F4GQK 
>>>
>>> Le mardi 12 janvier 2021 à 20:30:37 UTC+1, gjr80 a écrit :
>>>
>>>> Hi,
>>>>
>>>> Can you please post the exact output you are seeing when wee_import 
>>>> fails. Also what version of WeeWX are you running?
>>>>
>>>> Gary
>>>> On Wednesday, 13 January 2021 at 03:52:44 UTC+10 [email protected] wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> I am going to the following command:
>>>>>
>>>>>
>>>>>
>>>>> * wee_import --config=/etc/weewx/weewx.conf 
>>>>> --import-config=/var/tmp/wu.conf  *
>>>>>
>>>>> and I have a 401 error.
>>>>>
>>>>> *HTTP Error 401, Unauthorized*
>>>>>
>>>>> My station ID is OK on wunderground and my password is OK too.
>>>>>
>>>>> Does anyone have the same problem?
>>>>>
>>>>> Thank you and happy new year
>>>>>
>>>>> Sebastien 
>>>>>
>>>>>
>>>>>

-- 
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/b0d81718-1293-4e1f-99b3-0ea3d69c08ean%40googlegroups.com.

Reply via email to