Skip to main content

Home Assistant add-ons

Choose the add-on that matches your installation:

  • Toposync Full Application installs and runs Toposync inside Home Assistant, including processing and application data.
  • Toposync Remote Instance connects to Toposync already installed elsewhere. Processing and data stay on that instance, including when it runs in another virtual machine on the same physical host.

Both are in the same repository. The remote instance add-on does not require the full application add-on.

Connect to a remote instance​

Choose Toposync Remote Instance from the same add-on repository when Toposync runs on Ubuntu/Docker or another server. The proxy opens that instance through Home Assistant ingress; processing and application data stay on the external server.

Use Toposync 0.11.0 or newer, which includes /api/auth/ingress-proxy. The proxy checks this authenticated endpoint before forwarding requests and rejects builds without this support. It does not install or upgrade the external server. Published 0.9.0 packages and images do not include this contract.

Create a local owner account through protected direct access before enabling hybrid authentication, so recovery remains possible without Home Assistant. Generate a dedicated credential with python3 -c 'import secrets; print(secrets.token_urlsafe(48))', then configure the external server process or container:

environment:
TOPOSYNC_AUTH_MODE: home_assistant_hybrid
TOPOSYNC_AUTH_INGRESS_PROXY_TOKEN: "${TOPOSYNC_INGRESS_PROXY_TOKEN}"
TOPOSYNC_AUTH_INGRESS_TRUSTED_IPS: "${TOPOSYNC_INGRESS_PROXY_SOURCE}"
TOPOSYNC_STREAMING_HLS_PUBLIC_MODE: proxy
FORWARDED_ALLOW_IPS: ""

Set the token to the generated credential and the trusted source to the exact peer address observed by Toposync after Docker or an upstream HTTPS proxy. The token requires 32–256 letters, digits, underscores or hyphens. Explicit source addresses are mandatory; wildcard trust is rejected when a proxy token is set. The token is required even when multiple clients share that source address. Disabling Uvicorn's forwarded address trust preserves the connection's peer address for this check.

In Toposync Remote Instance, configure server_url with the server's HTTPS origin and proxy_token with the same credential. Certificate verification stays enabled. The allow_http option is only for an existing encrypted private tunnel. localhost in the add-on refers to its own container, including when the server and Home Assistant are virtual machines on the same host.

The panel is restricted to Home Assistant administrators. Ingress identities retain the existing default Toposync owner role; Home Assistant roles are not automatically mapped. Direct access still uses local Toposync authentication. HLS is the preferred video transport through ingress; RTSP and WebRTC media require separate network configuration. Configure the external Home Assistant extension and back up the external data separately.

Configuration fields are available in English and Brazilian Portuguese. The store and sidebar names remain in English. Both required fields start empty: use the address and credential of your own instance, save, then start the add-on. The sidebar entry appears as Toposync Remote.

See the remote instance setup guide or guia em português for installation, credential rotation and troubleshooting.

The following sections describe Toposync Full Application.

Who this is for​

Use this path when you want:

  • Toposync in the Home Assistant sidebar;
  • UI and API access through ingress;
  • supervised execution;
  • automatic access to the Home Assistant Core API;
  • integration with Home Assistant cameras and entities.

The add-on is CPU-only.

For architecture, HAOS, and Raspberry Pi support, see Compatibility.

Prerequisites​

  • Home Assistant OS or another Supervisor-based environment.
  • An administrator user in Home Assistant.
  • Access to the Add-on Store.

Installation​

In Home Assistant:

  1. Open Settings.
  2. Open Add-ons.
  3. Open Add-on Store.
  4. Open the repository menu.
  5. Add:
https://github.com/toposync/toposync-homeassistant-addon

Then:

  1. Open the Toposync Full Application add-on.
  2. Click Install.
  3. Click Start.
  4. Enable Start on boot if you want it to start with Home Assistant.
  5. Open Toposync Full Application from the sidebar.

How to run​

The Supervisor runs the add-on.

Use the add-on page to:

  • start;
  • stop;
  • restart;
  • view logs;
  • update.

How to access​

From the sidebar​

Open Toposync Full Application in the Home Assistant sidebar.

This is the default path. The UI and API go through Home Assistant ingress.

From the local network​

Direct access is disabled by default.

To enable direct access from a browser or mobile app, open the add-on Network section and map:

18756/tcp: 18756

Then open:

http://homeassistant.local:18756/

or:

http://<home-assistant-ip>:18756/

Direct access uses Toposync local authentication. In hybrid mode, the initial local user setup is not shown on the first direct access; create local users from inside Toposync through the sidebar.

How to verify​

From the sidebar:

  • the Toposync home screen should open;
  • Settings should load;
  • Home Assistant and camera extensions should appear when installed.

From the direct port, if enabled:

curl http://<home-assistant-ip>:18756/api/health

Expected result: 200.

Optional streaming​

HLS for the web UI and mobile app uses the Toposync direct port when that port is mapped:

18756/tcp

For RTSP or WebRTC/WHEP on the local network, map only the protocols you need:

18758/tcp: 18758 # RTSP
18760/tcp: 18760 # WebRTC/WHEP signaling
18762/udp: 18762 # WebRTC media transport

Notes:

  • 18757 is the internal ingress/backend port.
  • 18759 is the internal/diagnostic direct HLS port and is not part of the default public contract.
  • 18761 is the internal MediaMTX API and should not be published by default.

How to update​

In Home Assistant:

  1. Open Settings.
  2. Open Add-ons.
  3. Open Toposync Full Application.
  4. Click Update when available.
  5. Restart the add-on after the update.

If the update does not appear, open the Add-on Store menu and reload repositories.

How to uninstall​

In Home Assistant:

  1. Open Settings.
  2. Open Add-ons.
  3. Open Toposync Full Application.
  4. Stop the add-on.
  5. Click Uninstall.

Toposync data lives in /data inside the add-on container, managed by the Supervisor.

Troubleshooting​

The add-on does not appear​

Check that the repository was added exactly as:

https://github.com/toposync/toposync-homeassistant-addon

Then reload the Add-on Store.

Build or update fails​

Open the Supervisor logs and the add-on logs. The error usually appears during image build or during pip install inside the add-on.

The direct port refuses connections​

Confirm that 18756/tcp is mapped in the add-on Network section. Declaring the port in the add-on does not automatically publish it on the host.

Streaming does not open outside the sidebar​

Start with HLS through 18756/tcp. Enable RTSP or WebRTC only if you need those protocols.

Raspberry Pi is slow​

For multiple cameras, heavy OpenCV, or CPU vision workloads, use a remote processing server. See Compatibility for hardware guidance.