--
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 weewx-user+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/weewx-user/6dc0fc31-0ada-46d1-b2ab-0fb75c6053d3n%40googlegroups.com.
The scripted installation is now happily working in my Pi5. Thank you, Vince, for greatly simplifying the installation process. I have a few questions.
As suggested, I performed the installation module by module. After running the Build Rtldavis module, I tried to run $GOPATH/bin/rtldavis -tf US to see if the SDR was actually receiving something. This gave a “no such file or directory” error. I fixed this error by running /usr/local/bin/rtldavis -tf US . The SDR started up OK but didn’t receive any data. I then remembered that my ISS is on channel 2, so I added -tr 2 to the run command. The SDR then began to receive data from the ISS.
Can install-weewx-rtldavis.sh be amended to show the correct path to rtldavis and also to add the -tr if the user’s ISS is not on channel 1 ?
Since $PATH includes /usr/local/bin, running rtldavis -tf US <-tr (channel dependent) if necessary> works just as well.
I then installed the rtldavis driver. Before running rtldavis, I used the Text Editor to edit /weewx-data/weewx.conf to add details of my weather station in the [Station] section and my iss_channel in the [Rtldavis] section.
Can install-weewx-rtldavis.sh be amended to add an instruction to edit weewx.conf before the instruction to run systemctl start weewx ?
I ran sudo systemctl start weewx in one tab and sudo tail -f /var/log/syslog in another. Rtldavis ran briefly, but as soon as it received data from the ISS, it indicated an unrecoverable error in CRC16.py. I managed to find information about this issue on line and found another version of CRC16.py at raw.githubusercontent.com/weewx/weewx/refs/heads/master/src/weewx.crc16.py.
I substituted this version for crc16.py in
/home/pi/weewx-venv/lib/python3.13/site-packages/weewx
After I made this substitution, there were no more crc16,py errors and rtldavis has been running happily ever since.
Can this amended version of CRC16.py be included in src.tgz and install-weewx-rtldavis.sh be amended to perform the substitution or to include instructions for the user to perform the substitution?