2021-03-21 15:30:05 +01:00

3.1 KiB

title, description, ha_category, ha_release, ha_iot_class, ha_domain, ha_codeowners, ha_platforms, ha_config_flow, ha_dhcp
title description ha_category ha_release ha_iot_class ha_domain ha_codeowners ha_platforms ha_config_flow ha_dhcp
Verisure Instructions on how to setup Verisure devices within Home Assistant.
Hub
Alarm
Binary Sensor
Camera
Lock
Sensor
Switch
pre 0.7 Cloud Polling verisure
@frenck
alarm_control_panel
binary_sensor
camera
lock
sensor
switch
true true

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)

{% include integrations/config_flow.md %}

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.

{% raw %}

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 }}

{% endraw %}

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.