As far as getting the Acurite and barometer data from the pi to the VM, I’d run two ’rtl_433 services’ on the pi. Note, I have only run a single ‘rtl_433 service’, but I see posts on the web describing methods to accomplish it. Each service would publish directly to MQTT. I do this via this invocation, ‘ExecStart=/usr/local/bin/rtl_433 -M utc -F mqtt://localhost:1883,retain=0,devices=rtl_433[/host]/devices[/type][/model][/subtype][/channel][/id]’. Then on the VM run MQTTSubscribe to get the data. Note, this does have multiple points of failure. If any one of the following, the ‘rtl_433 service’, the MQTT broker, or WeeWX, you will lose data during that time. rich
On Friday, 13 January 2023 at 13:14:45 UTC-5 [email protected] wrote: > Hello everyone! I'm very new to Weewx and so far love the software. I do > have some questions though that I cannot seem to find the answers to or I > just don't understand the terminology being used. So here goes.... > > So I just recently purchased an Acurite Atlas 7 in 1 weather station and I > liked the idea of having the console/display having wifi think it would be > simple to forward everything to Weewx. Boy was I wrong! I found out quickly > how "not open" Acurite is on their products so I started looking how to > gather the send the weather data in different ways. The one technology I > selected was using an SDR to pick up the data from the station and put it > into Weewx via RF. So I put together my Raspberry Pi, installed Weewx and > it's working as I expected. But I don't want to use the PI as my Weewx > instance as I have a virtual system already running Weewx where I want to > put everything and run the reporting because it has the resources to do so. > > So my 1st question is: > > How do I setup my Raspberry PI to forward it's weather data to the > instance I want to run the reports on. All the Raspberry PI will be used > for is the SDR RF and forward on. Can this be done with a plugin somehow? > I've seen posts about MQTT but I don't know anything about it and I don't > know if it's the proper method to get the data into the instance I want the > reports to run on. Can someone help answer this question? > > Raspberry PI (with Multiple SDR's running Weewx) ---> Virtual Machine > (Running Weewx with reporting) --> Posting to Weather Undergroud (if I want > to) > > My 2nd question is: > > Using my Raspberry PI with SDR's to gather the data from my weather > station, I found it does not have a barometer as that's derived on > console/display. So I want to gather that data too so I have everything. My > question is (and I think I know the answer), can the SDR plugin scan > multiple frequencies? The reason I ask it the weather station transmit on > 433Mhz and the barometer transmits on 915Mhz. Can I have the one driver > looks at both frequencies at one time? Or must I have multiple SDR's to > accomplish this. I'm also looking to include a AQ monitor in the future. > Don't know what they transmit on but I'm sure it's one of those. > > My 3rd question is: > > I have read when you have multiple data sources such as I have, the best > way to get the data in is to setup a service in Weewx and have the service > called. While I see this in the Wiki I'm unclear how I would apply this to > the rtl_* executable to read in the RF from the SDR. Can someone explain or > point me into the right direction? Maybe provide an example config? > > Thanks so much. Looking forward to getting into the fun. > > Thanks > > Glen > > > > -- 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/c173cc9f-3651-4d2d-a90e-47ae02a53989n%40googlegroups.com.
