Nice.

Looking at the dockerfile you could maybe shrink the size and reduce the 
number of layers by doing multistage builds,  chaining all your RUN steps 
into fewer steps with && and doing the copying a little differently if you 
wanted to try that.

But disk is cheap and it's easy to squash the layers I guess.  If it works 
that's fabulous.

Only thing I'd suggest adding might be a docker compose file with examples 
of how to pass the USB device through on a non-NAS typical box.

Very cool.  Victory beer worthy !

On Tuesday, May 19, 2026 at 7:53:22 PM UTC-7 WeatheredScientist 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/235bb94b-e3f1-4d2f-bb0a-d3cd9a084359n%40googlegroups.com.

Reply via email to