Rtlamr2mqtt help

Hello, I am brand new to MQTT as of yesterday. With that being said, I am attempting to get the rtlamr2mqtt add on working. I have purchased this: Nooelec NESDR Mini USB RTL-SDR & ADS-B Receiver

I have installed mqtt through mosquitto and the mqtt explorer add ons.

In the explorer I see rtlamr but it only has one topic and one message stating that it is online.

I have added rtlamr/debug topic to the explorer but I am not seeing it.

The logs of rtlamr2mqtt are here:

[2025-01-03 23:55:33] Shutdown detected, killing process.
[2025-01-03 23:55:33] Killing RTL_TCP...
[2025-01-03 23:55:38] Killed.
[2025-01-03 23:55:38] Killing RTLAMR...
[2025-01-03 23:55:38] Killed in the first attempt.
[2025-01-03 23:55:38] Graceful shutdown.
[2025-01-03 23:55:38] Sending message to MQTT:
[2025-01-03 23:55:38]  > topic => rtlamr/status
[2025-01-03 23:55:38]  > payload => offline
[2025-01-03 23:55:38]  > retain => True
[2025-01-03 23:55:41] Using "/data/options.json" config file
[2025-01-03 23:55:41] Fetching default MQTT configuration from http://supervisor/services/mqtt
[2025-01-03 23:55:41] RTLAMR2MQTT Starting...
[2025-01-03 23:55:41] RTL SDR Device 0bda:2838 found on USB port 002:003 - Index: 0
[2025-01-03 23:55:41] Configured MQTT sender:
[2025-01-03 23:55:41]  > hostname => core-mosquitto
[2025-01-03 23:55:41]  > port => 1883
[2025-01-03 23:55:41]  > username => addons
[2025-01-03 23:55:41]  > client_id => rtlamr2mqtt
[2025-01-03 23:55:41]  > base_topic => rtlamr
[2025-01-03 23:55:41]  > availability_topic => rtlamr/status
[2025-01-03 23:55:41]  > tls => None
[2025-01-03 23:55:41] Resetting USB device: /dev/bus/usb/002/003
[2025-01-03 23:55:42] Reset sucessful.
[2025-01-03 23:55:42] Sending message to MQTT:
[2025-01-03 23:55:42]  > topic => rtlamr/status
[2025-01-03 23:55:42]  > payload => online
[2025-01-03 23:55:42]  > retain => True
[2025-01-03 23:55:42] Trying to start RTL_TCP: /usr/bin/rtl_tcp -d 0 -s 2048000
[2025-01-03 23:55:42] RTL_TCP started with PID 10
[2025-01-03 23:55:47] RTL_TCP is ready to receive connections!
[2025-01-03 23:55:47] Trying to start RTLAMR: /usr/bin/rtlamr -msgtype=scm+ -format=json -filterid=210378624 -unique=true
[2025-01-03 23:55:47] RTLAMR started with PID 15
[2025-01-03 23:55:47] 23:55:47.038233 decode.go:45: CenterFreq: 912600155
[2025-01-03 23:55:47] 23:55:47.039822 decode.go:46: SampleRate: 2359296
[2025-01-03 23:55:47] 23:55:47.039865 decode.go:47: DataRate: 32768
[2025-01-03 23:55:47] 23:55:47.039880 decode.go:48: ChipLength: 72
[2025-01-03 23:55:47] 23:55:47.039893 decode.go:49: PreambleSymbols: 16
[2025-01-03 23:55:47] 23:55:47.039907 decode.go:50: PreambleLength: 2304
[2025-01-03 23:55:47] 23:55:47.039921 decode.go:51: PacketSymbols: 128
[2025-01-03 23:55:47] 23:55:47.039936 decode.go:52: PacketLength: 18432
[2025-01-03 23:55:47] 23:55:47.039959 decode.go:59: Protocols: scm+
[2025-01-03 23:55:47] 23:55:47.039975 decode.go:60: Preambles: 0001011010100011
[2025-01-03 23:55:47] 23:55:47.039990 main.go:124: GainCount: 29
[2025-01-04 13:22:07] Shutdown detected, killing process.
[2025-01-04 13:22:07] Killing RTL_TCP...
[2025-01-04 13:22:12] Killed.
[2025-01-04 13:22:12] Killing RTLAMR...
[2025-01-04 13:22:12] Killed in the first attempt.
[2025-01-04 13:22:12] Graceful shutdown.
[2025-01-04 13:22:12] Sending message to MQTT:
[2025-01-04 13:22:12]  > topic => rtlamr/status
[2025-01-04 13:22:12]  > payload => offline
[2025-01-04 13:22:12]  > retain => True
[2025-01-04 13:22:16] Using "/data/options.json" config file
[2025-01-04 13:22:16] Fetching default MQTT configuration from http://supervisor/services/mqtt
[2025-01-04 13:22:16] RTLAMR2MQTT Starting...
[2025-01-04 13:22:16] RTL SDR Device 0bda:2838 found on USB port 002:003 - Index: 0
[2025-01-04 13:22:16] Configured MQTT sender:
[2025-01-04 13:22:16]  > hostname => core-mosquitto
[2025-01-04 13:22:16]  > port => 1883
[2025-01-04 13:22:16]  > username => addons
[2025-01-04 13:22:16]  > client_id => rtlamr2mqtt
[2025-01-04 13:22:16]  > base_topic => rtlamr
[2025-01-04 13:22:16]  > availability_topic => rtlamr/status
[2025-01-04 13:22:16]  > tls => None
[2025-01-04 13:22:16] Resetting USB device: /dev/bus/usb/002/003
[2025-01-04 13:22:16] Reset sucessful.
[2025-01-04 13:22:16] Sending message to MQTT:
[2025-01-04 13:22:16]  > topic => rtlamr/status
[2025-01-04 13:22:16]  > payload => online
[2025-01-04 13:22:16]  > retain => True
[2025-01-04 13:22:17] Trying to start RTL_TCP: /usr/bin/rtl_tcp -d 0 -s 2048000
[2025-01-04 13:22:17] RTL_TCP started with PID 10
[2025-01-04 13:22:22] RTL_TCP is ready to receive connections!
[2025-01-04 13:22:22] Trying to start RTLAMR: /usr/bin/rtlamr -msgtype=scm+ -format=json -filterid=210378624 -unique=true
[2025-01-04 13:22:22] RTLAMR started with PID 15
[2025-01-04 13:22:22] 13:22:22.029609 decode.go:45: CenterFreq: 912600155
[2025-01-04 13:22:22] 13:22:22.030096 decode.go:46: SampleRate: 2359296
[2025-01-04 13:22:22] 13:22:22.030129 decode.go:47: DataRate: 32768
[2025-01-04 13:22:22] 13:22:22.030145 decode.go:48: ChipLength: 72
[2025-01-04 13:22:22] 13:22:22.030159 decode.go:49: PreambleSymbols: 16
[2025-01-04 13:22:22] 13:22:22.030175 decode.go:50: PreambleLength: 2304
[2025-01-04 13:22:22] 13:22:22.030190 decode.go:51: PacketSymbols: 128
[2025-01-04 13:22:22] 13:22:22.030205 decode.go:52: PacketLength: 18432
[2025-01-04 13:22:22] 13:22:22.030226 decode.go:59: Protocols: scm+
[2025-01-04 13:22:22] 13:22:22.030242 decode.go:60: Preambles: 0001011010100011
[2025-01-04 13:22:22] 13:22:22.030257 main.go:124: GainCount: 29

Can someone please tell me what I’ve done wrong?

I just set this up today and running in to the same issue as well.

Looks like my issue was in the config. In the configuration by default the protocol is set for scm+ but I needed just scm. I removed the + and restarted the add-on and then it published a lot more info in MQTT.

Any chance you could post your configuration? I tried changing mine to remove the plus but I’m still not getting anything.


Here is my config.

1 Like

Thank you! I’m starting to wonder if my receiver dongle is bad…

This was definitely helpful! Thank you again!

No problem, hope you get it working.

1 Like

image
I get the following error when trying to install from the Add On Store…any clue how to fix?