rtlamr2mqtt
rtlamr2mqtt copied to clipboard
Device found but returning blank device info
trafficstars
This was running fine for me but it recently stopped working. It looks like it's finding the device,
rtlamr2mqtt | [2024-08-26 19:24:56] RTL SDR Device 0bda:2838 found on USB port 001:003 - Index: 0
but then returning blank data:
rtlamr2mqtt | [2024-08-26 19:25:01] RTL_TCP: Found 1 device(s):
rtlamr2mqtt | 0: , , SN:
which then appears to lead to the following (not sure if that's the reason):
rtlamr2mqtt | Using device 0: Generic RTL2832U OEM
rtlamr2mqtt | usb_open error -4
rtlamr2mqtt | Failed to open rtlsdr device #0.
The error code appears to correspond to LIBUSB_ERROR_NO_DEVICE.
rtlamr works fine for me if I run it outside the docker container, so I'm not sure what is going wrong here.
Here is my rtlamr2mqtt.yaml:
general:
sleep_for: 5
verbosity: debug
mqtt:
host: localhost
user:
password:
ha_autodiscovery: true
ha_autodiscovery_topic: homeassistant
meters:
- id: <redacted>
protocol: scm+
name: meter_water
format: "#####"
unit_of_measurement: "ft³"
device_class: water
state_class: total_increasing
Any advice is much appreciated!