What you need
- Home Assistant with an MQTT broker. Most people use the Mosquitto broker add-on.
- A user name and password for the broker.
Connect it
- In Home Assistant, add a user for the broker under Settings › People › Users, or use one of the Mosquitto add-on’s logins.
- Open Settings › Deck › Home Assistant in Print Room HQ. Enter the Broker address (for example homeassistant.local), Port (1883), User name and Password.
- Check Send to Home Assistant, click Test (“The broker answered ✓”), then Save.
- In Home Assistant, open Settings › Devices & services › MQTT. Each printer and the room sensors are listed as devices.
What you get
- Per printer: status, progress, time left, finish time, job, layer, filament, temperatures, online and needs-attention sensors, and a Print event entity (started, finished, failed, cancelled, paused, resumed, error).
- Camera pictures: a printer camera picture every 30 seconds while printing.
- For the room: printers printing, plates to clear, humidity sensors and air quality.
- Pause, Resume and Stop buttons in Home Assistant, only if you turn them on. Anyone who can use your Home Assistant can then stop a print.
If something’s not right
“The broker didn’t accept the user name or password.”
Double-check both. With the Mosquitto add-on, a user you add in Home Assistant under Settings › People › Users can log in to the broker.
“Can’t reach (address):1883.”
Check the broker address and that the Mosquitto add-on is running.