On Tue, Apr 27, 2021 at 4:27 AM gjr80 <[email protected]> wrote: > Hi, > > I think you need to take a step back and work through this carefully and > methodically. The weewx.conf you posted a couple of posts ago is for a > setup.py install, ie WeeWX is installed in /home/weewx. The syslog extract > you provided is for a WeeWX install that was installed as a package (ie not > installed via setup.py) where weewx.conf is located in /etc/weewx. This > makes it impossible to reconcile one against the other (and in this case > determine if you have any obvious issues in weewx.conf). >
I just looked back in the syslog I shared overnight (4-27-2021) and did not see any references to /etc/weewx. I initially installed the weewx system using Ubuntu 20 dpkg files. (weewx, weewx-sdr, rtl_433) That system did not work, due to rtl_433 in the Ubuntu 20 dpkg repo being too old to have support for the Acurite Atlas. While trying to troubleshoot the various configuration files, I found it very messy and confusing to have weewx files scattered all over the system, so I did "sudo apt remove weewx', and reinstalled with the setup.py method, so all the weewx files got put in one place - the /home/weewx directory. Since I did not use 'sudo apt purge weewx', there were files left over in /etc/weewx and /usr/share/weewx/user. To keep people from being confused, I just manually removed all the contents of /etc/weewx and /usr/share/weewx/user. You need to forget about index.html and wee_reports for the time being, you > have a fundamental config problem with the sdr driver that is preventing > WeeWX from receiving data. No data in means no data to the database which > means no WeeWX output. So wee_reports will not do anything mainingful and > index.html will not be produced. > OK, understood. I see 3 main pieces to using the SDR to gather the weather sensor data: 1. weewx-sdr I followed the install instructions from the weewx-sdr readme file. As long as those instructions are up to date, it is likely working right. I will have to post in the github issues list to see if they can help determine if it is working right. 2. rtl_433 Since the rtl_433 in the Ubuntu 20 dpkg repo was too old, I had to remove the dpkg and compile current rtl_433 source code. I know that rtl_433 is working, because the weather sensor data appears in the syslog every 10-20 seconds. 3. the Sensor Map section of the weewx.conf file I suspect the Sensor Map section in the weewx.conf file may be the problem. I copied that Atlas-specific Sensor Map section from a post in the rtl_433 Google Group. I changed the ID number and variable names to fit the Acurite Atlas, but am not 100% sure of all the needed modifications. > When obtaining a log extract you should edit weewx.conf, set debug = 1, > save weewx.conf and restart WeeWX. Let WeeWX run for at least two archive > periods (in you case 10 minutes) and then take a copy of the log showing > the full WeeWX startup and the 10 minutes of log activity. Post the log > extract here, no zips or compressed files, just plain text (far easier for > us to read on mobile devices etc). Don’t restart WeeWX multiple times or > post excessively long log extracts (unless expressly asked for), again far > easier for us to read if your log extract is not excessively long. > I found that Google Groups would not let me attach a file to my post unless it was a zip file....so I attached a zip file. If I have to post a 10 minute syslog extract in the message body, it is going to be long. In terms of your sdr problem, I would sort out your WeeWX install (is it > setup.py or a package install ?). > This is a "setup.py" installation. I would then work through the ‘Configuration’ and ‘How to diagnose > problems‘ sections (in order) of the sdr driver readme > <https://github.com/matthewwall/weewx-sdr#readme> to make sure you have > the sdr driver properly configured. If you are still stuck, come back here > and post a sanitised copy of (the correct) weewx.conf (the wee_debug > <http://weewx.com/docs/utilities.htm#wee_debug_utility> utility can do > this for you) as well as a log extract as I described above. > I copied the [SDR] section of the weewx.conf file directly from that weewx-sdr readme file. The command calls and structures should be correct. The details in the variable names are not 100% clear. This is difficult to troubleshoot with the system functionality spread across multiple groups of developers! Eric -- 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/CADh_orgps_4S3J%2BrhsU_nsPf-5BmvxYTK7DE%3DvCOMKKP7QZeag%40mail.gmail.com.
