After you’ve installed things for MQTT in Home Assistant, it’s time to make some settings.
1. Enable debug logs. I don’t actually have much insight into what this does, but whatever. It sounds good. I did it. It didn’t hurt.
In the configuration.yaml file (see previous post for information on how to edit files), add:
logger: default: warning logs: homeassistant.components.mqtt: debug … and then reload the settings by restarting. Configuration -> Server Controls -> Check Configuration.
MQTT on Home Assistant is one of the most annoying things to figure out. The documentation is extremely minimal, their forum is filled with links to the documentation when people ask about not being able to understand the documentation. I’m keeping notes & warnings here.
There are a few elements of MQTT that are important for this. You might already have some of this set up, if you followed some general Home Assistant getting started guides.