pbkhrv / rtl_433-hass-addons

Collection of Home Assistant add-ons that use rtl_433
227 stars 105 forks source link

Failure in log "[rtl_433] No input driver for SoapySDR compiled in" #106

Closed atze09 closed 2 years ago

atze09 commented 2 years ago

Hello i wanted to integrate my rtl sensor in homeassistant. But get the following log:

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
/tmp/rtl_433_heredoc: line 18: warning: here-document at line 1 delimited by end-of-file (wanted `EOD')
Starting rtl_433 with rtl_433.conf...
[rtl_433] rtl_433 version 21.12-101-g9eec4611 branch  at 202204282249 inputs file rtl_tcp RTL-SDR
[rtl_433] Use -h for usage help and see https://triq.org/ for documentation.
[rtl_433] Publishing MQTT data to 192.168.17.7 port 1883
[rtl_433] Publishing device info to MQTT topic "rtl_433/9b13b3f4-rtl433/devices[/type][/model][/subtype][/channel][/id]".
[rtl_433] Publishing events info to MQTT topic "rtl_433/9b13b3f4-rtl433/events".
[rtl_433] Publishing states info to MQTT topic "rtl_433/9b13b3f4-rtl433/states".
[rtl_433] 
[rtl_433] New defaults active, use "-Y classic -s 250k" for the old defaults!
[rtl_433] 
[rtl_433] Registered 186 out of 218 device decoding protocols [ 1-4 8 11-12 15-17 19-23 25-26 29-36 38-60 63 67-71 73-100 102-105 108-116 119 121 124-128 130-149 151-161 163-168 170-175 177-197 199 201-215 217-218 ]
[rtl_433] No input driver for SoapySDR compiled in.
[cmd] /run.sh exited 2
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.

Did i need to install anything else:

My config file looks this:

# This is an empty template for configuring rtl_433. mqtt information will be
# automatically added. Create multiple files ending in '.conf.template' to
# manage multiple rtl_433 radios, being sure to set the 'device' setting.
# https://github.com/merbanan/rtl_433/blob/master/conf/rtl_433.example.conf

device        /dev/bus/usb/001/024
gain          0
#settings      antenna=A,bandwidth=4.5M
frequency     868.3M
hop_interval  600
ppm_error     0
sample_rate   250k
#protocol      119
convert     si
report_meta newmodel

edited to clean up codefencing

deviantintegral commented 2 years ago

device /dev/bus/usb/001/024

This is the problem - it needs to be an index like 0, 1, or you can omit it entirely if you only have one radio.

https://github.com/merbanan/rtl_433/blob/master/conf/rtl_433.example.conf#L33-L34