Create a guest link
vomehome_create_guest_linkCreate a revocable guest login link for a Vome-hosted Home Assistant instance, generating a non-admin user and one-click URL that expires automatically.
Instructions
Create a non-admin (unless admin=true) Home Assistant user for this instance, plus a one-click login URL for it — self-serve, revocable sharing without handing out the owner's own login. Only works for Vome-hosted instances (not self-hosted/relay ones): minting a token for someone other than the owner needs direct network access to the VM.
Home Assistant's permission model is coarse. A non-admin guest is locked out of Settings and Developer Tools, but can still call services on any entity the dashboard shows them — there is no per-entity guest scoping in Home Assistant itself. This is safe on a dedicated demo/sandbox instance built to be poked at. It is not a substitute for real access control on somebody's actual house — do not point a guest link at one.
The link expires automatically (default 24h, max 30 days) and can be revoked early with vomehome_revoke_guest_link. Treat the returned URL as a secret; do not log it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| admin | No | Grant full admin access instead of a restricted account. Default false — choose true deliberately. | |
| dashboard | No | Lovelace url_path to land the guest on after sign-in, instead of the default dashboard. | |
| expires_in | No | Seconds until this link is auto-revoked. Default 24h (86400), capped at 30 days. | |
| instance_id | Yes | VomeHome instance id (UUID) to create the guest user on. |