-
Any MQTT/HomeAssistant users here? I am looking for a way to have an event in Home Assistant when a certain wireless signal is received. Starting from latest Home Assistant release, there is a promising Event entity, along with its MQTT counterpart. But I am not sure how to get this working and I did not find any infos on it. In my case, I added my Reolink doorbell to rtl433 as described here. Whenever I push the button, an MQTT message is generated which always looks like this: ![]() It has the usual time, mod, freq, rssi, snr, noise fields as well as some others like data and id which are fixed. Now I have created the following topic for auto discovery with Home Assistant:
Indeed, this now shows up as device in HomeAssistant and the Event entity is also there: ![]() But when I push the button, nothing happens ... but the MQTT message is definitely generated by rtl433. Any idea what's wrong here? If not, how do I otherwise get the doorbell button into Home Assistant? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
I think you are having a HA MQTT autodiscovery problem, not an rtl-433 problem. Within that, I think the problem is that while you created the event, you did not provide a mapping from any topic/json to the event, like you would have with autoconfguring a temperature sensor. Can you explain the big picture of this doorbell? It is said to be POE, which makes me think it is a camera also, and I would expect the button press to be available over the IP api. But I think you are decoding a signal sent from the doorbell to a chime, similar to how non-IP regular wireless doorbells work. Is that right? |
Beta Was this translation helpful? Give feedback.
-
You read the HA documentation about what kind of configuration is needed. I am pretty sure that invovles configuring an mqtt event entity with a topic and a value_template, just like you would do for a sensor or switch, and that you need to add that to what you are doing. if you are seeing the mqtt write when you push the button, the rtl_433 part is ok and your issue is just HA config. |
Beta Was this translation helpful? Give feedback.
-
See topic and value_template at https://www.home-assistant.io/integrations/event.mqtt |
Beta Was this translation helpful? Give feedback.
See topic and value_template at https://www.home-assistant.io/integrations/event.mqtt