w34realtime.txt which is your live data is updating correctly. I suspect you do not have the correct path set in the settings page: -
Assuming that you have set default home page for weewx to your webserver ROOT, I believe the path should be /var/www/html/weather34/serverdata Ian On Wednesday, March 2, 2022 at 7:36:20 PM UTC [email protected] wrote: > With weather 34 : www.meteo-champignyonne.fr/weather34 > > Le mercredi 2 mars 2022 à 20:35:52 UTC+1, Matthieu Devigne a écrit : > >> Hi, >> >> Yes, weewx is running. >> >> My URL : www.meteo-champignyonne.fr >> >> Le mercredi 2 mars 2022 à 12:19:33 UTC+1, [email protected] a écrit : >> >>> Also make sure that WeeWX is actually running after you issued the >>> restart command. >>> >>> On Tuesday, March 1, 2022 at 9:53:40 PM UTC Steeple Ian wrote: >>> >>>> Can you let me have your URL please, I need to check your realtime >>>> data. The situation in your screen shot indicates that the template is not >>>> getting live data from WeeWX. >>>> >>>> On Tuesday, March 1, 2022 at 7:28:01 PM UTC [email protected] >>>> wrote: >>>> >>>>> Yes, I will watch for the file service.txt. >>>>> >>>>> For weewx.conf I add [Services]] section in the [Engine] stanza. : , >>>>> *user.w34_db_backup.W34_DB_Backup* >>>>> And at the end : >>>>> [W34_DB_Backup] * # database path(s) seperated by , rename this/these >>>>> database(s) to match your own databases = >>>>> /home/weewx/archive/weewx.sdb,/home/weewx/archive/another.sdb # backup >>>>> path(s) comma seperated backups = >>>>> [your_backup_path]/weewx_backup.sdb,[your_backup_path]/home/pi/another_backup.sdb >>>>> >>>>> # set the daily time to backup comma seperated for multiple databases # >>>>> the >>>>> time must be set an to archive time so it runs immediately after the >>>>> archive interval processes are complete backup_times = 00:00,00:00* >>>>> >>>>> >>>>> Yes, sorry but the data for the pression, temperature, and windy for >>>>> weather34 are not correct. >>>>> Is not the real values >>>>> >>>>> What is the problem ? >>>>> Le lundi 28 février 2022 à 23:02:26 UTC+1, [email protected] a >>>>> écrit : >>>>> >>>>>> 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/e26b3f3b-61f2-49cc-b948-29142a6b6566n%40googlegroups.com.
