RTL_433 Docker¶
Requirements, you will need to have a SDR dongle for you to be able to use RTL. I've tested this with a RTL2838
Make sure you can see your receiver by running lsusb
$ lsusb
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Before starting the container please install RTL_433 from the native installs menu. This will setup your environment with the correct variables and programs. It is also advised to run RTL_433 to verify that it is working correctly on your system.
The container is designed to send all detected messages over mqtt
Edit the IOTstack/services/rtl_433/rtl_433.env file with your relevant settings for your mqtt server:
MQTT_ADDRESS=mosquitto
MQTT_PORT=1833
#MQTT_USER=myuser
#MQTT_PASSWORD=mypassword
MQTT_TOPIC=RTL_433
the container starts with the command rtl_433 -F mqtt:....
currently it does not filter any packets, you will need to do this in Node-RED