Just configured temperature readings and utility meter readings using the SDR tool rtl_433 (note: need later version which has mqtt, I’m using 20.11) with a cheap USB tuner (I have a Terratec Cinergy ~ $10) which is a huge improvement over my prior config using rtl_sdr.
I simply run on either my router or raspberry pi:
rtl_433 -R 149 -R 41 -f 433920000 -f 912600155 -H 420 -F "mqtt://192.168.1.101:1883,user=homeassistant,pass=password,retain=0,devices=rtl_433[/id]"
which hops frequencies at the interval of 420 s to collect both signals and sends readings to HA via MQTT.
Then have sensor in HA collected with:
- platform: mqtt
state_topic: "rtl_433/40000573/consumption_data"
name: "Gas Meter"
unit_of_measurement: CCF
value_template: "{{ (value | float)/100 }}"
- platform: mqtt
state_topic: "rtl_433/52140/temperature_F"
name: "Fridge Sensor1"
unit_of_measurement: F
Very satisfying