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