Verisure


Home Assistant has support to integrate your Verisure devices.

There is currently support for the following device types within Home Assistant:

  • Alarm
  • Camera
  • Switch (Smartplug)
  • Sensor (Thermometers, Hygrometers and Mouse detectors)
  • Lock
  • Binary Sensor (Door & Window)

Configuration

Adding Verisure to your Home Assistant instance can be done via the user interface, by taking the following steps:

  • Browse to your Home Assistant instance.
  • In the sidebar click on Configuration.
  • From the configuration menu select: Integrations.

Verisure can be auto-discovered by Home Assistant. If an instance was found, it will be shown in the top of the list of integrations as “Discovered”. If that is the case click on the Configure button to start setting up the discovered instance.

If there wasn’t any discovered automatically, don’t worry! You can set up a manual integration entry:

  • In the bottom right, click on the Add Integration button.
  • From the list, search and select “Verisure”.
  • Follow the instruction on screen to complete the set up.

After completing, the Verisure integration will be immediately available for use.

2 Factor Authentication Prerequisite

Verisure added 2FA rules to Verisure My Pages that aren’t supported through their third-party API integration. If you have 2FA enabled, which is forced by default, you might not be able to use this integration. Here is the suggested way to deactivate 2FA (if it’s allowed in your region).

You can deactivate 2FA for your admin account and use that for Home Assistant but this isn’t recommended. The steps below sets up a specific Home Assistant user and gives it restricted access.

  1. Log in to Verisure My Pages as your admin user and create a new admin user for Home Assistant.
  2. Log in as your newly created Home Assistant user, you’ll be prompted to set up 2FA, do that and then log out. This will make sure the options below are available.
  3. Log in as the Home Assistant user, browse to Account and subscription -> Account -> Login Credentials -> Disable 2FA.
    This will only be available if the user is admin and has logged in once with 2FA, logged out and in again.
  4. Log in as your administrator again and change the Home Assistant user to a restricted user.
  5. Change Home Assistant Verisure config to the new user credentials in Home Assistant.
  6. Restart Home Assistant.

Alarm Control Panel

The Verisure alarm control panel platform allows you to control your Verisure Alarms.

The requirement is that you have setup your Verisure hub first, with the instruction above.

The changed_by attribute enables one to be able to take different actions depending on who armed/disarmed the alarm in automation.

automation:
  - alias: "Alarm status changed"
    trigger:
      - platform: state
        entity_id: alarm_control_panel.alarm_1
    action:
      - service: notify.notify
        data:
          message: >
            Alarm changed from {{ trigger.from_state.state }}
            to {{ trigger.to_state.state }}
            by {{ trigger.to_state.attributes.changed_by }}

Services

Service Description
disable_autolock Disables autolock function for a specific lock.
enable_autolock Enables autolock function for a specific lock.
smartcam_capture Capture a new image from a specific smartcam.