Home Assistant add-on
The add-on runs the appliance on Home Assistant OS and uses the host's network, so apps can get a port each.
Install
- Settings → Add-ons → Add-on Store.
- ⋮ (top right) → Repositories.
- Add
https://github.com/poesterlin/AppCrumband close. - Install Hamstr, then Start.
- Click Hamstr in the sidebar, then Open Hamstr.
That is the whole setup in home mode: you are the owner, and there is no sign-in.
The panel is a small page with links to Hamstr on the box's own addresses (homeassistant.local, its IPs, or the TLS hostname). Hamstr cannot open inside the panel: home mode is plain HTTP and Home Assistant's page is HTTPS, so the panel opens a new tab instead.
Home mode is the default
The add-on starts with auth: none:
- Anyone who can reach the box is the owner, including guests on your Wi-Fi.
- Plain HTTP. Browsers mark it "not secure".
- Passkeys, the clipboard, the camera and microphone, and installing apps to a home screen do not work.
- Each crumb gets a port from
20000up.
Read Home mode for the trade-offs before putting anything important in it.
Options
| Option | Values | Meaning |
|---|---|---|
store | URL | The AppCrumb URL to get apps from. Without it there is nothing to install. |
auth | none, required | none is home mode. required adds sign-in and needs tls_mode. |
tls_mode | off, names, domain | off only makes sense with auth: none. |
domain | hostname | domain mode: the domain with a *. record pointing at this box. |
dns_provider | lego provider id | e.g. cloudflare, hetzner, route53. See lego dnshelp. |
env | NAME=value list | Provider credentials, e.g. CF_DNS_API_TOKEN=..., and any appliance setting. |
name_service_url | URL | names mode: an HTTPS names service. |
address | IP | names mode: the address to publish. Found from Tailscale when empty. |
acme_email | Contact address for the certificate account. | |
hamstr_host, crumb_domain | hostnames | Override the hostname and the domain crumbs live under. |
oidc_name, oidc_issuer, oidc_client_id, oidc_client_secret | The first sign-in provider. |
Sign-in and HTTPS
Set
auth: required.Set
tls_mode: domain,domain: example.com,dns_provider: cloudflare, and add the token underenv:yaml- CF_DNS_API_TOKEN=...Point
example.comand*.example.comat the Home Assistant box. The add-on uses the host network, so the addresses are the box's own.Register an OIDC client at your provider. The redirect URI is:
https://example.com/auth/callback/<provider name in lowercase>For
oidc_name: Tailscalethat is/auth/callback/tailscale.Set
oidc_issuer,oidc_client_idandoidc_client_secret, then restart the add-on.
HTTP stays on port 8000 and redirects to HTTPS on 8443. The first certificate is issued on first start and can take a minute.
USB and network storage
The add-on's data lives in Home Assistant's add-on data folder and is included in Home Assistant backups. If you move it to network storage, make sure the folder is writable by uid 10001; the entrypoint fixes ownership only when it starts as root.
Updating
Update the add-on like any other. The version in the add-on repository decides which image tag is used. Your data survives the update; take a Home Assistant backup first anyway.
More
- HTTPS and domains — how DNS-01 works and what the records must be.
- Sign-in — OIDC, the first owner and invites.
- Data and backups — what to copy.