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/319ae247-e13a-4b4d-a6ce-45c3259f3b4dn%40googlegroups.com.