-
I am running rtl_433 without any protocol specified and receiveing various sensors that I would like to integrate in Home Assistant. As most sensors received has multiple data (e.g. temperature, humidity, etc.) I would like it to show up as one sensor with multiple attributes in Home Assistant. Apparently, the Home Assistant MQTT Sensor template relies on the state topic, or at least the documentation focuses on the word state. But rtl_433 does not appear to ever send anything with the state topic even it informs that the state topic is configured. Has anyone sucessfully configured both rtl_433 and the HA MQTT Sensor template to receive for example the Cotech weather station shown below into one HA device? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This is not about rtl_433 but you should be clear on main/diagnostic/attribute in the HA sensor model. Look at rtl_433's examples dir, specifically at |
Beta Was this translation helpful? Give feedback.
This is not about rtl_433 but you should be clear on main/diagnostic/attribute in the HA sensor model. Look at rtl_433's examples dir, specifically at
rtl_433_mqtt_relay.py
andrtl_433_mqtt_hass.py
, which together post mqtt and then json to the autoconfig topic to instantiate devices and sensors. Not saying it will do what you want, but it is perhaps close.