Scripted installation of weewx using rtldavis driver - can't indownlaod support file

112 views
Skip to first unread message

Ian Hardcastle

unread,
Jan 2, 2026, 6:47:00 PMJan 2
to weewx-user
I thought my long struggle to make weex-rtldavis was over when at last I came across vince skahan's scripted installation. However, I quickly discovered that, while I was able to download the installation script itself from Github, I got a 404 "Page not found" error when I tried to download the support file . . . src.tgz from:
To get the UR of the support file, I copied the link on the Readme page of the Scripted Install at 

Is there an updated URL for the support file that won't produce a 404 error - or is there something else I need to do to diownload the support file successfully?. 

John Smith

unread,
Jan 2, 2026, 7:58:48 PMJan 2
to weewx...@googlegroups.com
I pulled this link from history, it looks like it was removed from the latest commit.


--
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.

vince

unread,
Jan 2, 2026, 8:27:52 PMJan 2
to weewx-user
Oh geez sorry about that guys.  Let me fix that pronto.

vince

unread,
Jan 2, 2026, 8:34:13 PMJan 2
to weewx-user
Fixed, I think.  Thanks.

Ian Hardcastle

unread,
Jan 3, 2026, 8:21:16 PMJan 3
to weewx-user
No more 404 error - thanks vince

Ian Hardcastle

unread,
Jan 11, 2026, 9:13:10 PMJan 11
to weewx-user

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?

Vince Skahan

unread,
Jan 12, 2026, 12:15:39 PMJan 12
to weewx-user
Glad it's working for you.

I'm going to decline to make the changes you asked.  It is assumed that when you install a new driver you know that you need to edit weewx.conf to match your setup and reset weewx afterward.

I'm also going to decline to include the updated crc16.py or any associated instructions since that comes with weewx itself and will be included in the next release of weewx.  Eventually that one will go away when Tom releases weewx 5.next at some point in the future.

Reply all
Reply to author
Forward
0 new messages