Home Assistant Mqtt Installation

MQTT Broker and the configuration file I used

MQTT

Mosquitto Broker is an opensource project to help broker messeages between entites in Home Assistant. I am sure there is a much better explanation on the internet, but I am not filling this page on how to use Google. I am confident you can do that on your own.

Install/Configure

  1. I used the supervisor to install the MQTT broker project
  2. Add the options configuration
  3. Yah, you might want to use SSL unlike me…
  4. Take note of the logins information. This is used later with other projects like ESPHome.
logins:
  - username: espuser
    password: superSecretThingHere
anonymous: true
customize:
  active: false
  folder: mosquitto
certfile: fullchain.pem
keyfile: privkey.pem
require_certificate: false

Save and start the service!

Aaron Addleman
Aaron Addleman
Principal Automation Engineer

Fun with programming and infrastructure