Disaggregated SDR and WeeWX installations

110 views
Skip to first unread message

Will Marcus

unread,
Aug 21, 2024, 4:32:34 PM8/21/24
to weewx-user
Anyone know if it's possible to run the SDR capture on a seperate device from the WeeWX Server? I want to run the RTL433 code on a raspberry pi closer to the sensors and then push that to a seperate installation of WeeWX housed on a more stable / beefy platform. I dont fully understand the message bus between the two technologies I guess. 

I've set everything up on the same device before using Mathew Wall's weewx-sdr package but I'm not sure how the driver actually moves the data.

Thanks in advance,
Will

storm...@gmail.com

unread,
Aug 21, 2024, 6:56:36 PM8/21/24
to weewx-user
You can publish the sensor data using MQTT using "rtl_433 -F json -M utc | mosquitto_pub -t home/rtl_433 -l"  on one  raspberry pi  and subscribe to the topic on the raspberry pi running Weewx using "WeeWX-MQTTSubscribe".

bell...@gmail.com

unread,
Aug 21, 2024, 7:22:36 PM8/21/24
to weewx-user
I do something similar. But I use the rtl_433 built in MQTT integration and run it as a systemd service.The invocation of rtl_433 looks like this.
‘ExecStart=/usr/local/bin/rtl_433 -M utc -F mqtt://localhost:1883,retain=0,devices=rtl_433[/host]/devices[/type][/model][/subtype][/channel][/id]’

Here is an example of subscribing to one of the sensors that I am monitoring.
][[topics]]
ignore = True
    [[[message]]]
        type = individual
    # Freezer
    [[[rtl_433/weather-data/devices/Acurite-606TX/77/temperature_C]]]
        ignore = False
        unit_system = METRIC
        name = extraTemp8

- rich

michael.k...@gmx.at

unread,
Aug 22, 2024, 5:18:07 AM8/22/24
to weewx-user
I've posted these links some days ago, if I understand it correctly, with such devices you should be able to receive you sensor signals and forward them using MQTT an let weewx receive them with MQTTSubscribe:


Which sounds much more reasonable to me than letting an extra Pi do the job, especially if you also take maintenance into account.

Reply all
Reply to author
Forward
0 new messages