2020-04-12 22:25:10 +02:00

3.4 KiB

title, description, ha_category, ha_release, ha_iot_class, ha_domain
title description ha_category ha_release ha_iot_class ha_domain
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

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

To integrate Verisure with Home Assistant, add the following section to your configuration.yaml file:

# Example configuration.yaml entry
verisure:
  username: USERNAME
  password: PASSWORD

{% configuration %} username: description: The username to Verisure mypages. required: true type: string password: description: The password to Verisure mypages. required: true type: string alarm: description: Set to true to show alarm, false to disable. required: false type: boolean default: true hygrometers: description: Set to true to show hygrometers, false to disable. required: false type: boolean default: true smartplugs: description: Set to true to show smartplugs, false to disable. required: false type: boolean default: true locks: description: Set to true to show locks, false to disable. required: false type: boolean default: true default_lock_code: description: Code that will be used to lock or unlock, if none is supplied. required: false type: string thermometers: description: Set to true to show thermometers, false to disable. required: false type: boolean default: true mouse: description: Set to true to show mouse detectors, false to disable. required: false type: boolean default: true door_window: description: Set to true to show mouse detectors, false to disable. required: false type: boolean default: true code_digits: description: Number of digits in PIN code. required: false type: integer default: 4 giid: description: The GIID of your installation (If you have more then one alarm system). To find the GIID for your systems run python verisure.py EMAIL PASSWORD installations'. required: false type: string {% endconfiguration %}

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_template:
          message: >
            {% raw %}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.