I am glad the template is now running for you.
Regarding the two errors: -
1. Metar, it looks as though you did not add your X-API-Key or Metar
airport code when you generated your services.txt. Did you follow the
instructions to obtain a key and find your nearest airport?
The three relevant lines in the web services section of weewx.conf should
look something like this (ABCD represents the airport code and 123456789
represents the API Key: -
me_url = https://api.checkwx.com/metar/ABCD/decoded
me_header = X-API-Key:123456789
me_interval = 3600
2. The file should already be in place, all you need to do is edit
weewx.conf and restart as in the instructions. I have updated the install
instructions to make this clearer>
Ian
On Monday, February 28, 2022 at 5:25:50 PM UTC [email protected]
wrote:
> Thanks !
> Weather34 is running with weewx and debian ! :)
>
> But, I have a message error :
>
> Feb 28 16:56:38 raspberrypi weewx[2897] ERROR user.weather34: Failed
> getting web service data. URL: https://api.checkwx.com/metar//decoded
> Header: {'X-API-Key': ''}, Error: HTTP Error 404: Not Found
> Feb 28 16:56:38 raspberrypi weewx[2897] ERROR user.weather34: Error
> Invalid Webservice Data: None, {'User-Agent': 'Mozilla/5.0 (Macintosh; U;
> Intel Mac OS X 10_6_4; en-US) AppleWebKit/534.3 (KHTML, like Gecko)
> Chrome/51.0.2704.103 Safari/534.3'}
>
> And, I don't find a w34_db_backup.py file for put in /home/weewx/bin/user
> Where is he ?
>
>
>
>
>
> Le dimanche 27 février 2022 à 23:31:13 UTC+1, [email protected] a écrit :
>
>> Vince is correct, it is looking for services.txt one level up from the
>> install folder.
>>
>> Assuming you downloaded the zip file from the repository into your
>> /home/pi folder and un zipped it, the install folder is
>> weewx-Weather34-main. The services.txt file should also be in your /home/pi
>> folder.
>>
>> Therefore you should: -
>>
>> cd weewx-Weather34-main
>> sudo python3 ./w34_installer.py
>>
>> On Sunday, February 27, 2022 at 8:44:58 PM UTC vince wrote:
>>
>>> On Sunday, February 27, 2022 at 12:02:05 PM UTC-8
>>> [email protected] wrote:
>>>
>>>> When i use sudo python3 /home/pi/weewx-Weather34/w34_installer.py
>>>
>>>
>>>> *Cannot find ../services.txt file INSTALL ABORTED*
>>>>
>>>
>>>> Whereas my file service.txt is in /home/pi
>>>>
>>>>
>>> It is trying to find services.txt using a relative path one level up
>>> from the directory you are running the command in.
>>>
>>> Try:
>>>
>>> - cd /home/pi/weewx-Weather34
>>> - sudo python3 /home/pi/weewx-Weather34/w34_installer.py
>>>
>>>
>>>
--
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/7cfbb042-d5fc-41cf-b25f-b4745cb86469n%40googlegroups.com.