Soldato
- Joined
- 27 Oct 2006
- Posts
- 7,769
- Location
- London
Weird! I literally just ordered an RTL-SDR stick to grab the broadcasts from my Kalawen weather station remote temp/humdiity sensors!
Was trying to convince the wife about this (rather than transcribing everything out of the family google calendar onto a paper calendar) but she was super resistant, until about three weeks ago I freed up a Pi4 and made a little dashboard for myself on an old Fire HD8 which I've got on my desk. So now I've repurposed an old 10" android based photo frame (after finding it in the garage three days after picking up a Fire HD10 for £20!) to be the kitchen based family calendar and looking around for other things to drop into my HA server.
So the old method is to push rtl_433 data to mqtt and HA consumes it.
I just pulled up my notes and I see that I had issues with Ubuntu's bundled rtl_433 version so compiled my own
- Compile rtl_433
Bash:git clone https://github.com/merbanan/rtl_433/ cd rtl_433/ git checkout 23.11 sudo apt-get install libtool libusb-1.0-0-dev librtlsdr-dev rtl-sdr build-essential cmake pkg-config cmake -B build cmake --build build --target install
- Add service to systemd
Code:cat /etc/systemd/system/rtl433.service [Unit] Description=433MHz receiver on DVB stick After=network.target [Service] Type=simple User=root ExecStart=/usr/local/bin/rtl_433 -R 22 -R 44 -R 162 -C si -F "mqtt://10.0.0.171:1883,retain=1,events=rtl_433[/model][/id][/channel],devices,user=root,pass=pass" RestartSec=3 Restart=always RemainAfterExit=no [Install] WantedBy=multi-user.target
- Fire up Mqtt explorer and inspect the devices you want HA to monitor. You'll find a heck of a lot of data from weather stations, power clamps, old X10 events(!), key fobs even TPM tire pressures show up
- Add to HA
Code:mqtt: sensor: - name: "Porch Probe" unit_of_measurement: °C device_class: temperature state_topic: "rtl_433/+/devices/Thermopro-TX2/9/1/+/temperature_C" # expire_after: 18000 # 5 hours - name: "Porch Humidity" unit_of_measurement: "%" state_topic: "rtl_433/+/devices/Thermopro-TX2/9/1/+/humidity" # expire_after: 18000 # 5 hours - name: "CC Power" state_topic: "rtl_433/+/devices/CurrentCost-TX/77/power0_W" unit_of_measurement: W device_class: power - etc binary_sensor: - name: "X10 Motion Sensor" # Also see automation Startup: Reset X10 motion sensor as this sensor only sends the 'on' value # otherwise it has an unknown status on HA restart state_topic: "rtl_433/+/devices/X10-RF/A/6/state" off_delay: 60 device_class: motion - name: "X10 Light Sensor" state_topic: "rtl_433/+/devices/X10-RF/A/7/state" payload_on: "OFF" payload_off: "ON" device_class: light # expire_after: 72000 # 20 hours - name: "X10 A1" state_topic: "rtl_433/+/devices/X10-RF/A/1/state" device_class: plug
- BONUS
If you're pushing HA data to an external database like influxdb you can use Grafana to create nifty dashboards of historical data over many years if that floats your boat
For me I was hoping that with 2026.5 I could remove part 1 and 2 and have that process encapsulated within HA rather than being an external dependency
ps Check out the HA community surely they'll be able to help https://community.home-assistant.io...me-basic-help-needed-coffeee-anyone/863091/21
Last edited:


