Home Assistant Integration
BunkerM is available as a native Home Assistant add-on. It runs the complete BunkerM stack - Mosquitto broker, web dashboard, and all backend services - managed by the HA supervisor. This is the recommended approach if you are already running Home Assistant OS or Supervised.
Prerequisites
- Home Assistant OS or Home Assistant Supervised (Supervisor support required)
- Internet access from the HA host (to download the add-on)
- Access to the Home Assistant web interface
Step 1: Add the BunkerM Repository
Third-party add-on repositories must be added manually:
- In Home Assistant, go to Settings > Add-ons.
- Click Add-on Store in the bottom-right corner.
- Click the three-dot menu (top-right) and select Repositories.
- Enter the following URL and click Add:
https://github.com/bunkeriot/bunkerm-ha-addons Click Close. The BunkerM add-on now appears in your Add-on Store.
Step 2: Install BunkerM
- In the Add-on Store, search for BunkerM.
- Click the BunkerM add-on card.
- Click Install and wait for the download to complete (a few minutes depending on your connection).
Step 3: Configure the Add-On
Before starting, set your credentials in the Configuration tab:
mqtt_username- username for MQTT broker connections (default:bunker)mqtt_password- password for MQTT connections (default:bunker)admin_email- login email for the BunkerM web UI (default:admin@bunker.local)admin_password- login password for the web UI (default:admin123)
Click Save after updating the options.
Step 4: Start the Add-On
- Go to the Info tab of the BunkerM add-on.
- Click Start.
- Optionally enable Start on boot and Watchdog for automatic startup and crash recovery.
Step 5: Open the BunkerM Web UI
Once running, access the web interface at:
http://homeassistant.local:2000 Or using your HA host's IP address:
http://192.168.1.x:2000 You can also click Open Web UI from the add-on info page.
Step 6: Connect Home Assistant's MQTT Integration
- In Home Assistant, go to Settings > Devices & Services.
- Click Add Integration and search for MQTT.
- Enter the broker connection details:
- Broker:
homeassistant.localor your HA IP - Port:
1883 - Username: the
mqtt_usernamefrom your add-on config - Password: the
mqtt_passwordfrom your add-on config
- Broker:
- Click Submit, then Finish.
1883 (not 1900 as in the standalone Docker deployment) so that HA integrations and devices connect without extra configuration.
Persistence
All BunkerM data is stored in Home Assistant's /data directory for the add-on. MQTT clients, ACLs, web UI accounts, and BunkerAI settings all persist across add-on restarts and are included in Home Assistant snapshots/backups.
Troubleshooting
- Add-on does not start - check the Log tab. Common cause: port conflict on 2000 or 1883.
- Cannot access the web UI - verify the add-on is running (green status). Check that port 2000 is not blocked by a firewall.
- HA MQTT cannot connect - verify the username and password match the add-on configuration. Check the BunkerM ACL Clients page to confirm the account is enabled.