@Vince, great questions. Keeping in mind, this whole build was heavily AI-assisted, i used claude to answer some of your questions, but i think the responses are reasonable. Please challenge if they are slop!
1. Two reasons: changed >APWEE5,TCPIP*: to >APRS: so CWOP packets appear on findu, and added a 2-second sleep after login before sending the packet so the CWOP server has time to process the login before receiving data. Both are bugs/limitations in the stock weewx CWOP implementation. 2. src.tgz contains the *rtldavis Go binary source* and the *weewx extension; *librtlsdr is the *C library* for the RTL-SDR USB dongle hardware. librtlsdr is a separate C library that must be compiled, it wouldn't be bundled in the weewx extension tarball. 3.* Why copy .py files into the venv?* weewx-data/bin/user/ should work since weewx adds it to the Python path. We copy into the venv because the Docker image doesn't mount weewx-data at build time — it's a runtime volume. So anything that needs to exist before the volume is mounted must be baked into the image. If you always mount the volume with the files pre-populated, you could skip the copies. 4. *Why syslogd?* Synology DSM doesn't have systemd journald inside Docker containers, so syslog is needed to capture log output from weewx which uses the standard Python logging → syslog handler. Without it the logs go nowhere. The entrypoint.sh starts syslogd before weewxd. 5. I have no good answers here and dislike Claude's response. I think the current version is fine for now, but it probably should be updated. I hope to keep adding to this (I already have later plans to build a complementary sensor suite for lightning and air quality, plus a non WL console-based barometer), so as time goes on and I extend this I hope to update it. Even now, I have plans to push to the repos, since I've added some other services and found a few issues in how weewx communicates with them that I've fixed and want to update. For the record, Claude says Ubuntu 26.04 doesn't exist, which isn't true, it's just stuck in the past. Also thinks Python 3.14 is alpha/beta, which is news to even me. Maybe I am missing something. On Wednesday, May 20, 2026 at 1:24:08 PM UTC-4 Vince Skahan wrote: > A few questions/comments: > > - why are you altering restx.py ? > > > - no need to git clone librtlsdr sources - they are in the src.tgz > bundle you're already downloading and extracting to /tmp > > > - no need to copy anything into the venv at all, having the .py files > in weewx-data/bin/user will work > > > - why are you running syslogd ? Is it a NAS nuance ? > - You can add a few lines to weewx.conf to get it to log to stdout > and then 'docker logs' will show them, although the host will need to > handle rotation > - See > https://www.weewx.com/docs/5.3/usersguide/monitoring/#logging-on-macos > for what'll work in Docker too > > > - you might want to think about using ubuntu:26.04 to get the current > os rather than a 4-year old 22.04 > > I got it to build just fine with ubuntu:26.04 as-is once I changed the > python version references to match that os using python3.14 > > Don't have any gear I can test it on that's free, but dockerizing this > thing is pretty slick. Nice. > > > On Tuesday, May 19, 2026 at 10:57:31 PM UTC-7 WeatheredScientist wrote: > >> I have a nice powered breadboard to test that out on, did see the BME280 >> and they are cheap. It is dockerizable as well, but that is a future >> project. >> >> On Wednesday, May 20, 2026 at 12:35:18 AM UTC-4 Vince Skahan wrote: >> >>> I added a bme280 or bme380 on a little breadboard when I did my >>> non-docker setup a while ago. I'll have to dig that up when I get a chance, >>> but no idea if that can be dockerized too >>> >>> On Tuesday, May 19, 2026 at 9:06:36 PM UTC-7 John Smith wrote: >>> >>>> I ran into issues with the dewpoint and pressure due to how those are >>>>> calculated >>>> >>>> >>>> I vaguely remember way back when I was considering a Meteostick I >>>> didn't go ahead because, at the time, it lacked a pressure sensor and the >>>> ISS doesn't have one either. >>>> >>>> On Wed, 20 May 2026 at 12:53, WeatheredScientist <[email protected]> >>>> wrote: >>>> >>>>> I got it working on the Mac, tried it on a PC, ran into issues with >>>>> USB and the need to frequency hop (vague, I know, but bottom line didn't >>>>> work) and then went for the NAS. >>>>> >>>>> Created a github repo: >>>>> https://github.com/weatheredscientist/weewx-rtldavis >>>>> >>>>> and a docker image >>>>> https://hub.docker.com/r/weatheredscientist/weewx-rtldavis >>>>> >>>>> I ran into issues with the dewpoint and pressure due to how those are >>>>> calculated, where and when. Long story short, to avoid null values being >>>>> displayed, I had to prevent weewx from updating those fields, instead >>>>> relying on WLL to supply those. That leaves pwsweather without pressure, >>>>> but that is pretty minor unless you aboslutely rely on that for anything. >>>>> I >>>>> rely on it for nothing, but for giggles I might force my orbit b-hyve to >>>>> do >>>>> smartwatering based off my weather station and it's hyperlocal rainfall. >>>>> >>>>> Please let me know if I've done anything wrong with the github and >>>>> docker links and their content. I'm hoping to make it easier for anyone >>>>> else looking to do this sort of thing. I get the sense that this is super >>>>> specific to just me, but I'm guessing that as more people upgrade to the >>>>> new console, this will become more of an issue. >>>>> >>>>> Cheers! >>>>> Mike >>>>> On Tuesday, May 19, 2026 at 12:03:30 PM UTC-4 Vince Skahan wrote: >>>>> >>>>>> A vagrant/virtualbox VM or dockerized equivalent should be doable on >>>>>> either x86-64 or raspi platforms since they support accessing the >>>>>> physical RTLSDR >>>>>> stick attached to the host platform. >>>>>> >>>>>> Passing a device to docker is easy. I do it for a zwave antenna into >>>>>> home assistant running into docker on a x86-64 box here. I don’t >>>>>> remember >>>>>> if I have tried it on virtualbox. >>>>>> >>>>>> I have no idea how to pass the device through to a vm or container on >>>>>> a mac but perhaps parallels or fusion support that now on m-series >>>>>> macs. Virtualbox might still be limited on mac. Macs can be weird. Zero >>>>>> idea on anything NAS. Never used one, >>>>>> >>>>>> On Tuesday, May 19, 2026 at 7:35:33 AM UTC-7 John Smith wrote: >>>>>> >>>>>>> Or too outside of what most users here are interested in doing? >>>>>>> >>>>>>> >>>>>>> The internet is a big place, someone somewhere will eventually >>>>>>> stumble upon it appreciate it saving many hours repeating what you can >>>>>>> short cut for them. >>>>>>> >>>>>>> Above all it would be a handy reference for yourself when you need >>>>>>> to revisit in future and can't quite remember exactly what you did the >>>>>>> first time :) >>>>>>> >>>>>>> On Tue, 19 May 2026 at 20:56, WeatheredScientist <[email protected]> >>>>>>> wrote: >>>>>>> >>>>>>>> That's brilliant advice: I learned from Vince that his repo is >>>>>>>> built for Raspberry Pi, and (correct my words if wrong) >>>>>>>> assumes/prefers a >>>>>>>> Debian distro. I was planning on using container manager in the >>>>>>>> Synology >>>>>>>> OS, but perhaps the VMM solution is a better one for no other reason >>>>>>>> than >>>>>>>> permitting a simple Debian environment. TBH, I am not sure what >>>>>>>> container >>>>>>>> manager is using. >>>>>>>> >>>>>>>> What would be useful for the community re: the mac? Is it worth >>>>>>>> trying to write-up what I did for future reference? Or too one-off to >>>>>>>> be >>>>>>>> worth it? >>>>>>>> Next up before the Syno is my PC. I am hoping it will be quicker >>>>>>>> based on previous experience, though I did set up Ubuntu over Debian >>>>>>>> in >>>>>>>> WSL. If successful on the Win11, PC, again, worth a write-up? Or too >>>>>>>> outside of what most users here are interested in doing? >>>>>>>> >>>>>>>> Thanks to all, especially Vince, for the immense help, guidance, >>>>>>>> and above all, patience. >>>>>>>> >>>>>>>> -Mike >>>>>>>> >>>>>>>> On Tuesday, May 19, 2026 at 4:19:32 AM UTC-4 [email protected] >>>>>>>> wrote: >>>>>>>> >>>>>>>>> Hi, >>>>>>>>> >>>>>>>>> I suggest you to use Virtual Machine Manager and install there >>>>>>>>> simple basic Debian linux with weewx and passthrough the RTL-SDR usb >>>>>>>>> device >>>>>>>>> there. There has been problems with docker and usb devices in >>>>>>>>> Synology >>>>>>>>> NAS:es lately. >>>>>>>>> >>>>>>>>> lauantai 2. toukokuuta 2026 klo 23.39.41 UTC+3 WeatheredScientist >>>>>>>>> kirjoitti: >>>>>>>>> >>>>>>>>>> Hello to all! >>>>>>>>>> >>>>>>>>>> I have a Davis Vantage Pro2 Plus weather station that is up and >>>>>>>>>> running. This is a new system, so it comes with the iPad-like >>>>>>>>>> Weatherlink >>>>>>>>>> Live console. >>>>>>>>>> >>>>>>>>>> I have tried using ChatGPT and Claude to get an instance of weewx >>>>>>>>>> running in a Docker container on my Synology NAS. I have not had >>>>>>>>>> much luck, >>>>>>>>>> which seems to be a common experience with this approach. I'm adept >>>>>>>>>> with >>>>>>>>>> technology and computers, but I am not a programmer, even though I >>>>>>>>>> have >>>>>>>>>> programmed a bit in the past. >>>>>>>>>> >>>>>>>>>> *Can this group provide steps to getting weewx set up in a >>>>>>>>>> container on the NAS, connecting to services like Weather >>>>>>>>>> Underground? *I >>>>>>>>>> feel like I got close, but I am not even sure how to describe what >>>>>>>>>> the LLMs >>>>>>>>>> guided me to do. Largely, I was able to get weewx "installed", but >>>>>>>>>> seemed >>>>>>>>>> to be having problems with the config file. I did see at one point >>>>>>>>>> weewx >>>>>>>>>> outputing data, but it wasn't able to connect to wunderground, even >>>>>>>>>> though >>>>>>>>>> I had provided my station name and key in the right section (so >>>>>>>>>> maybe no >>>>>>>>>> using the right config file). >>>>>>>>>> >>>>>>>>>> Happy to provide much more info, just need guidance on what. >>>>>>>>> >>>>>>>>> -- >>>>>>>> >>>>>>> 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 visit >>>>>>>> https://groups.google.com/d/msgid/weewx-user/7747bb27-ddf1-4159-841b-e941b245d44an%40googlegroups.com >>>>>>>> >>>>>>>> <https://groups.google.com/d/msgid/weewx-user/7747bb27-ddf1-4159-841b-e941b245d44an%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>>>> . >>>>>>>> >>>>>>> -- >>>>> 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 visit >>>>> https://groups.google.com/d/msgid/weewx-user/6fcd78fd-e838-4082-8a10-aa3562134f0en%40googlegroups.com >>>>> >>>>> <https://groups.google.com/d/msgid/weewx-user/6fcd78fd-e838-4082-8a10-aa3562134f0en%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> >>>> -- 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 visit https://groups.google.com/d/msgid/weewx-user/835c2b9f-5dab-45c2-8a0b-aab5026b8735n%40googlegroups.com.
