I have two SDL-RTL devices on my ubuntu server
I'm using RTL_433.service and RTL_433_1.service.
I am unable to see a status on RTL_433_1
"$ sudo rtl_433_1 status
sudo: rtl_433_1: command not found"
Although it appears to be running.
If i disable the service I can manually start from the CLI but I get rapid MQTT connect disconnect between the two instances of RTL_433.
"time" : "2022-04-17 22:36:32", "model" : "Acurite-Tower", "id" : 16269, "channel" : "A", "battery_ok" : 1, "temperature_C" : 4.800, "humidity" : 28, "mic" : "CHECKSUM"}
MQTT Connection failed...
MQTT Connected...
MQTT Connection established.
MQTT Connection failed...
MQTT Connected...
MQTT Connection established.
MQTT Connection failed...
MQTT Connected...
Here is an example of my .service
[Unit]
Description=RTL_433 service script
#StartLimitIntervalSec=5
Documentation=
https://github.com/merbanan/rtl_433/README.mdAfter=syslog.target network.target
[Service]
Type=exec
User=thepad
#Original is top that was working
#ExecStart=/usr/bin/rtl_433 -c /etc/rtl_433/service.conf
ExecStart=/usr/bin/rtl_433 -F json -M edt -F mqtt://
192.168.1.144:1883,user=xxxx,pass=yyyy,retain=0,events=rtl_433[/model][/id] -d0 -f 345M
# Restart script if stopped
Restart=always
# Wait 30s before restart
RestartSec=30s
## Added belwo
RemainAfterExit=no
Any ideas here, is there a better way to do this?