I have RTL433 to listen out for a Oil Sensor. This works fine when running as the log is showing the messages it receives…
It seems to not post anything to MQTT. I have rtl_433 MQTT Auto Discovery which says it is listening for messages but doesn’t receive anything.
There is an error in the rtl433 log which points to an error connecting to MQTT.
[rtl_433] [MQTT] MQTT connect error: Connection refused
My conf (saved in /homeassistant/rtl_433/rtl_433.conf.template) is
Using this as the output line for mqtt seems to fix it - this is from the rtl433 next documenation. Basically you put in the template and it enters the correct values for your system.
My MQTT uses the username homeassistant configured in its UI, visible on the reconfigure option. I don’t have a user configured with that username so not sure what that should match to. It works so I’m not changing it!
What I was pointing out with that 2nd link is add a password in the Mosquitto config and use that.
It works better for me.
You don’t have to use secrets, plain text there is fine.