I built hass-remote-integration: a small container that runs one Home Assistant custom integration outside your main Home Assistant, and brings everything it produces back over MQTT: entities with MQTT discovery, services and a health signal.
Why? Custom integrations are often the fragile part of a setup. An HA upgrade breaks them, a library version conflicts, or a bug in one integration slows down the whole house. In its own container, the integration has its own HA Core and library versions, a crash stays isolated, and your main HA only sees MQTT.
What you get, all from a web UI (no HACS, no shell):
- Install any custom integration from GitHub releases, a branch, a commit or a local folder
- Preflight checks before changing anything, backups before every change, automatic rollback if a new version is unhealthy
- Switch the Home Assistant version inside the container, including safe downgrades
- Configure through the integration’s own config flow or YAML, or import settings and entity ids from a normal HA backup
- Shadow mode: run it next to your main HA, compare entity by entity, then enable discovery with one click (and undo with one click)
- Optional device in your main HA with update entities (integration, HA in the container, the manager itself) and memory / CPU / event-loop lag sensors
- Small fixes for an integration or its libraries as patches, with an editor that checks them against the running code
- Logs, a log file viewer, diagnostics, and an optional password for the UI
Quick start (image for amd64 and arm64: Raspberry Pi, Apple silicon, most NAS boxes)
mkdir hass-remote-integration && cd hass-remote-integration
curl -fsSLO https://github.com/trailro/hass-remote-integration/releases/latest/download/docker-compose.yml
docker compose up -d
Update later with docker compose pull && docker compose up -d.
Or build it from source (the latest release):
git clone https://github.com/trailro/hass-remote-integration.git && cd hass-remote-integration
git checkout "$(git describe --tags --abbrev=0)"
docker compose -f docker-compose.yml -f docker-compose.build.yml up -d --build
Then open http://<docker-host>:8087. You need Docker, an MQTT broker, and the MQTT integration on your main HA.
Good to know: it runs exactly one integration per container, and there is no HA frontend inside it. Keep it on a trusted network or set a password. I have been running it in shadow mode with a real integration next to my main HA.
Repository and full documentation: GitHub - trailro/hass-remote-integration: Run a Home Assistant integration in its own headless container and mirror it into the main HA over MQTT discovery · GitHub
Feedback, bug reports and ideas are very welcome. Issues and pull requests are open.





