I really don't support nor use that repo. I was just putting it up on github for safekeeping since I had (momentary) interest in seeing if I could hear my vp2 ISS over the air a while ago.
I did just run a five-minute test using debian:11 as a base image where I downloaded the script, changed all the "/home/pi" to "/root" therein, and turned off the NGINX and run weewx at boot flags at the top of the file. Also removed the "sudo" part of a couple commands. It seeeeeeeeemed to install and compile everything, but I have no idea if the result would work. Threw some expected errors in the udev stuff inside the container, but at least things compiled. The weewx.conf there undoubted has rtldavis path errors too. As I said, it was literally a five-minute see if it compiles quick test. Way back when it 'did' work on a pi using the deb11 based 32bit raspios, FWIW. On Wednesday, November 29, 2023 at 2:20:46 PM UTC-8 Mitchell Knight wrote: > Thanks for getting in touch Vince. It seems like there may be a few > challenges to overcome before I get there. I was just scratching around > your repo when you messaged so good timing. A couple quick questions while > I have you: > > - What would be a good base container to start building on top of? Should > I use one of the existing weewx containers (mitct02, jgoerzen, felddy etc) > and modify the Dockerfile or start with something like fresh like alpine or > Debian? > - I would like to avoid a privilege container to access the SDR/usb. > Would it be possible to serve the SDR up remotely via ser2net and the > container access and consume via TCP? I wasn’t sure if there was a weewx > plugin that could consume Davis packets via TCP. This could make life > simpler and a more secure container. > > Thanks again. > > On 30 Nov 2023, at 8:10 am, vince <[email protected]> wrote: > > You're in deep deep trouble if you think that :-) > > I did at one time reach success and put up a repo at > https://github.com/vinceskahan/weewx-rtldavis that might help you get > started, but it's written assuming you are setting up a VM rather than a > docker container for runtime. You might be able to skip the nginx stuff > therein and run the script in a debian11 container and see how far you get > (untested). as a starting point. I have no idea what to do about the udev > stuff running in a container so that the SDR can hear something, but the > script is at least commented re: what it's doing and why. > > > On Wednesday, November 29, 2023 at 12:40:00 PM UTC-8 Tom Keffer wrote: > >> Vince is the local docker whiz. Look around his github repositories: >> https://github.com/vinceskahan >> >> On Tue, Nov 28, 2023 at 7:08 PM Rexyboy AU <[email protected]> >> wrote: >> >>> Hi, >>> I am keen to start playing around with weewx and want to run it all >>> inside a docker container (linux/ubuntu). My station is a Davis Vantage >>> Pro2 with US ISS frequencies. I hoped that I could use a RTL-SDR to >>> intercept and decode the packets with rtldavis. >>> >>> From what I have read this all seems doable but I just wan't sure how to >>> setup and configure the container. I haven't been able to locate anything >>> on dockerhub that seems close to what I am after. >>> >>> Can anyone give me some starting points? Maybe a similar build? A >>> docker-compose or Dockerfile sample would be a good start. >>> Thanks in advance. >>> >>> -- >>> 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 on the web visit >>> https://groups.google.com/d/msgid/weewx-user/a4c9af86-2b52-4e0b-9aab-a50f7e500241n%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/weewx-user/a4c9af86-2b52-4e0b-9aab-a50f7e500241n%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> > -- > > You received this message because you are subscribed to a topic in the > Google Groups "weewx-user" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/weewx-user/Uvavn_2gn98/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/2c2f89e6-cd93-4192-96f6-a0c7f9c5c686n%40googlegroups.com > > <https://groups.google.com/d/msgid/weewx-user/2c2f89e6-cd93-4192-96f6-a0c7f9c5c686n%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 on the web visit https://groups.google.com/d/msgid/weewx-user/a7340ca9-657f-44c1-a77d-e0cfbb4a9234n%40googlegroups.com.
