Skip to content

Documentation

Home Assistant (optional)

Avistio can switch an external alarm siren on and off through Home Assistant. You don't need Home Assistant for cameras, events, recordings, or Avistio Cloud.

•

What it does

  • Shows a siren control in Avistio's camera monitors. On Edge, signed-in users (administrators and viewers) can switch the siren on and off.
  • Shows whether the siren is currently active, based on the state of the Home Assistant entity.
  • With Avistio Cloud, the site's account owner can control the siren remotely, and users can receive Alarm alerts when the siren activates.

The integration controls exactly one Home Assistant entity using the two services you configure. It does not show Home Assistant dashboards, control other devices, or give remote access to Home Assistant.

•

Before you start

  • The Home Assistant address as reachable from the Edge container, for example http://192.168.1.30:8123. As with Frigate, localhost means the Edge container itself.
  • A long-lived access token. In Home Assistant, open your user profile, go to the Security tab, and create a long-lived access token. See the Home Assistant authentication documentation. The token acts with the permissions of the Home Assistant user who created it. Consider a dedicated user for Avistio and check that the connection test and siren control work with it.
  • The siren entity and its services, for example the entity switch.street_siren in the domain switch, with the services turn_on and turn_off. Check them in Home Assistant under Developer tools.
•

Configure the siren

During first setup this is step 3 of 3, Connect Home Assistant. Later, open the user and settings menu → Alarm settings.

  1. Enter the settings

    Home Assistant alarm settings
    FieldExampleNotes
    Enable Home Assistant alarm controlOnIn Alarm settings. Makes the siren available in camera monitors.
    Home Assistant URLhttp://192.168.1.30:8123Address only, with no path. http:// or https://.
    Home Assistant access tokenYour long-lived access tokenStored encrypted. Leave blank later to keep it.
    DomainswitchLowercase letters, numbers, and underscores.
    Entity IDswitch.street_sirenThe entity Avistio reads and switches.
    Activate serviceturn_onCalled to switch the siren on.
    Deactivate serviceturn_offCalled to switch the siren off.
  2. Choose Test connection

    The test reads the entity's state. It does not activate the siren.

    Expected result: Connected. The entity is currently inactive. (or active)

  3. Save

    During setup choose Save and finish setup; in Alarm settings choose Save settings.

  4. Try the siren

    Only if it is safe to sound the siren: open a camera monitor, use the siren control, and switch it off again.

Avistio treats the states on, active, triggered, and playing as active, and unknown or unavailable as unavailable.

•

Skip now, set up later

In first setup, choose Skip and finish setup. Avistio works fully without Home Assistant, and the siren control stays hidden from camera monitors. Add it later under Alarm settings.

•

Troubleshooting

Authentication failed

The token is wrong, expired, or was deleted in Home Assistant. Create a new long-lived access token and enter it again.

The entity was not found

Check the entity ID in Home Assistant, including the domain prefix, for example switch.. The token's user must be able to see the entity.

Cannot reach Home Assistant, or no response in time

Use an address the Edge container can reach, not localhost, and check the port (usually 8123) and firewalls. HTTPS addresses must have a valid, trusted certificate.

For other problems see Troubleshooting.