I’m stumped. I have rtl_433 running on my linux desktop sending messages to broker, HA subscribed to topic set up here:
# /config/mqtt.yaml included in /config/configuration.yaml like this:
# mqtt: !include mqtt.yaml
sensor:
- state_topic: "rtl_433/Oregon-THGR122N/7"
name: "Front Porch Temp"
unique_id: "oregon_122n_temp"
unit_of_measurement: '°C'
value_template: "{{ value_json.temperature_C }}"
device_class: temperature
- state_topic: "rtl_433/Oregon-THGR122N/7"
name: "Front Porch Humidity"
unique_id: "oregon_122n_humidity"
unit_of_measurement: '%'
value_template: "{{ value_json.humidity }}"
device_class: humidity
- state_topic: "rtl_433/Oregon-v1/4"
name: "Oregon_v1"
unique_id: "oregon_v1_4_temp"
unit_of_measurement: '°C'
value_template: "{{ value_json.temperature_C }}"
device_class: temperature
- state_topic: "rtl_433/Acurite-609TXC/20"
name: "Crawlspace Acurite Temp"
unique_id: "acurite_609txc_temp"
unit_of_measurement: '°C'
value_template: "{{ value_json.temperature_C }}"
device_class: temperature
- state_topic: "rtl_433/Acurite-609TXC/20"
name: "Crawlspace Acurite Humidity"
unique_id: "acurite_609txc_humidity"
unit_of_measurement: '%'
value_template: "{{ value_json.humidity }}"
device_class: humidity
…
There are a dozen or so various other sensors defined here as well. All work just fine except the Oregon-THGR122N.
Looking at the logs, HA is subscribed and receiving messages:
2022-06-16 10:59:14 DEBUG (MainThread) [homeassistant.components.mqtt.client] Subscribing to rtl_433/Oregon-THGR122N/7, mid: 5
2022-06-16 10:59:43 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on rtl_433/Oregon-THGR122N/7: b'{"time":"2022-06-16 14:59:42","model":"Oregon-THGR122N","id":7,"channel":1,"battery_ok":1,"temperature_C":28.3,"humidity":30}'
2022-06-16 10:59:43 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on rtl_433/Oregon-THGR122N/7: b'{"time":"2022-06-16 14:59:42","model":"Oregon-THGR122N","id":7,"channel":1,"battery_ok":1,"temperature_C":28.3,"humidity":30}'
2022-06-16 11:00:22 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on rtl_433/Oregon-THGR122N/7: b'{"time":"2022-06-16 15:00:21","model":"Oregon-THGR122N","id":7,"channel":1,"battery_ok":1,"temperature_C":28.3,"humidity":30}'
But the entities do not show up in HA. There are no ‘oregon_122n_xxxx’ entities. All other sensors work just fine.
Running HA OS on a RaspberryPi 4.
Anyone have a clue as to what I’m missing here?