Andrew,
I have followed this thread and trying to do the same as teh_zuul and using two different receivers for two different frequencies without hopping between them on a single receiver. I have attempted to make this work over the past couple of weeks with no success. Any assistance or advice would be greatly appreciated to get the add-on to recognize the separate conf.template files and run each on a different device would be helpful.
-
Intel machine i7-10700 with 32GB RAM and 500GB USB SSD (running Home Assistant OS from this directly, not in a VM via windows or other OS)
-
Home Assistant with latest OS, Core, and Supervisor updates
-
rtl_433 add-on running from rtl_433-hass-addons/rtl_433 at main · pbkhrv/rtl_433-hass-addons · GitHub
-
I have also made sensors/binary sensors for each of the door/window contacts so that I can include the timestamp, battery_ok, open/close switch, and tamper switch. I have also created binary sensors for the doorbell pushbuttons to differentiate from the normal and secret knocks.
-
Radio information:
- I have 3 separate Nooelec NESDR Mini 2+ 0.5PPM TCXO RTL-SDR & ADS-B USB Receiver Set w/Antenna, Suction Mount & Female SMA Adapter. RTL2832U & R820T2 Tuner.
- These are all plugged into a Powered USB 3.0 Hub (Atolla brand) that is plugged into a single USB port on the machine
- 1 that is being used by RTLAMR for smart meter information without issue
- 2 that I am trying to use for rtl_433 to be able to monitor
- Interlogix door and window sensors on 319.508MHz
- Honeywell Home Series 9 wireless doorbell system with wireless push buttons on 916.8MHz
from System Hardware:
1-9.1.3
Subsystem: usb
Device path: /dev/bus/usb/001/009
Attributes:
BUSNUM: ‘001’
DEVNAME: /dev/bus/usb/001/009
DEVNUM: ‘009’
DEVPATH: /devices/pci0000:00/0000:00:14.0/usb1/1-9/1-9.1/1-9.1.3
DEVTYPE: usb_device
DRIVER: usb
ID_BUS: usb
ID_FOR_SEAT: usb-pci-0000_00_14_0-usb-0_9_1_3
ID_MODEL: RTL2838UHIDIR
ID_MODEL_ENC: RTL2838UHIDIR
ID_MODEL_ID: ‘2838’
ID_PATH: pci-0000:00:14.0-usb-0:9.1.3
ID_PATH_TAG: pci-0000_00_14_0-usb-0_9_1_3
ID_REVISION: ‘0100’
ID_SERIAL: Realtek_RTL2838UHIDIR_00000003
ID_SERIAL_SHORT: ‘00000003’
ID_USB_INTERFACES: ‘:ffffff:’
ID_VENDOR: Realtek
ID_VENDOR_ENC: Realtek
ID_VENDOR_ID: 0bda
MAJOR: ‘189’
MINOR: ‘8’
PRODUCT: bda/2838/100
SUBSYSTEM: usb
TAGS: ‘’
TYPE: 0/0/0
USEC_INITIALIZED: ‘2936877’
1-9.2
Subsystem: usb
Device path: /dev/bus/usb/001/007
Attributes:
BUSNUM: ‘001’
DEVNAME: /dev/bus/usb/001/007
DEVNUM: ‘007’
DEVPATH: /devices/pci0000:00/0000:00:14.0/usb1/1-9/1-9.2
DEVTYPE: usb_device
DRIVER: usb
ID_BUS: usb
ID_FOR_SEAT: usb-pci-0000_00_14_0-usb-0_9_2
ID_MODEL: RTL2838UHIDIR
ID_MODEL_ENC: RTL2838UHIDIR
ID_MODEL_ID: ‘2838’
ID_PATH: pci-0000:00:14.0-usb-0:9.2
ID_PATH_TAG: pci-0000_00_14_0-usb-0_9_2
ID_REVISION: ‘0100’
ID_SERIAL: Realtek_RTL2838UHIDIR_00000002
ID_SERIAL_SHORT: ‘00000002’
ID_USB_INTERFACES: ‘:ffffff:’
ID_VENDOR: Realtek
ID_VENDOR_ENC: Realtek
ID_VENDOR_ID: 0bda
MAJOR: ‘189’
MINOR: ‘6’
PRODUCT: bda/2838/100
SUBSYSTEM: usb
TAGS: ‘’
TYPE: 0/0/0
USEC_INITIALIZED: ‘2575075’
1-9.4
Subsystem: usb
Device path: /dev/bus/usb/001/008
Attributes:
BUSNUM: ‘001’
DEVNAME: /dev/bus/usb/001/008
DEVNUM: ‘008’
DEVPATH: /devices/pci0000:00/0000:00:14.0/usb1/1-9/1-9.4
DEVTYPE: usb_device
DRIVER: usb
ID_BUS: usb
ID_FOR_SEAT: usb-pci-0000_00_14_0-usb-0_9_4
ID_MODEL: RTL2838UHIDIR
ID_MODEL_ENC: RTL2838UHIDIR
ID_MODEL_ID: ‘2838’
ID_PATH: pci-0000:00:14.0-usb-0:9.4
ID_PATH_TAG: pci-0000_00_14_0-usb-0_9_4
ID_REVISION: ‘0100’
ID_SERIAL: Realtek_RTL2838UHIDIR_00000001
ID_SERIAL_SHORT: ‘00000001’
ID_USB_INTERFACES: ‘:ffffff:’
ID_VENDOR: Realtek
ID_VENDOR_ENC: Realtek
ID_VENDOR_ID: 0bda
MAJOR: ‘189’
MINOR: ‘7’
PRODUCT: bda/2838/100
SUBSYSTEM: usb
TAGS: ‘’
TYPE: 0/0/0
USEC_INITIALIZED: ‘2616854’
File
/config/rtl_433/rtl_433.conf.template:
config_file /config/rtl_433/alarm.conf.template
config_file /config/rtl_433/doorbell.conf.template
File
/config/rtl_433/alarm.conf.template
device :00000003
frequency 319.508M
protocol 100
gain 28
convert si
report_meta newmodel
report_meta time:utc
output mqtt://<IPADDRESS>:<PORT>,user=USER,pass=PASS,retain=1,devices=rtl_433/<HOSTNAME>/devices[/model][/subtype][/id],events=rtl_433/<HOSTNAME>/events[/id],states=rtl_433/<HOSTNAME>/states
output json
verbose 1
File
/config/rtl_433/doorbell.conf.template
device :00000002
frequency 916.8M
protocol 116
gain 28
convert si
report_meta newmodel
report_meta time:utc
output mqtt://<IPADDRESS>:<PORT>,user=<USER>,pass=<PASS>,retain=1,devices=rtl_433/<HOSTNAME>/devices[/model][/subtype][/id],events=rtl_433/<HOSTNAME>/events[/id],states=rtl_433/<HOSTNAME>/states
output json
verbose 1
Logs of rtl_433 after starting:
[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.
[17:14:07] WARNING: rtl_433 now supports automatic configuration and multiple radios. The rtl_433_conf_file option is deprecated. See the documentation for migration instructions.
Starting rtl_433 -c /config/rtl_433/rtl_433.conf.template
rtl_433 version 21.12-51-g2b49b81a branch at 202201311039 inputs file rtl_tcp RTL-SDR
Use -h for usage help and see https://triq.org/ for documentation.
Publishing MQTT data to port
Publishing device info to MQTT topic “rtl_433//devices[/model][/subtype][/id]”.
Publishing events info to MQTT topic “rtl_433//events[/id]”.
Publishing states info to MQTT topic “rtl_433//states”.
New defaults active, use “-Y classic -s 250k” for the old defaults!
Registering protocol [116] “Honeywell ActivLink, Wireless Doorbell (FSK)”
Publishing MQTT data to port
Publishing device info to MQTT topic “rtl_433//devices[/model][/subtype][/id]”.
Publishing events info to MQTT topic “rtl_433//events[/id]”.
Publishing states info to MQTT topic “rtl_433//states”.
Registered 2 out of 212 device decoding protocols
Found 3 device(s)
trying device 1: Realtek, RTL2838UHIDIR, SN: 00000002
Found Rafael Micro R820T tuner
Using device 1: Generic RTL2832U OEM
Exact sample rate is: 1000000.026491 Hz
[R82XX] PLL not locked!
Sample rate set to 1000000 S/s.
Bit detection level set to 0.0 (Auto).
Tuner gain set to 28.000000 dB.
Reading samples in async mode…
Tuned to 319.508MHz.
Allocating 15 zero-copy buffers
MQTT Connected…
MQTT Connected…
baseband_demod_FM: low pass filter for 1000000 Hz at cutoff 100000 Hz, 10.0 us
MQTT Connection established.
MQTT Connection established.
After this I begin to see the JSON messages and can also see MQTT messages using MQTT Explorer.
Sorry for the long post but hopefully the details help give sufficient information needed to advise on this.
Best regards,
Bill