Garage Door Hormann Installation

Introduction
The aim of this documentation is to describe how to command an Hormann garage door by home assistant over zigbee2mqtt.

Garage door device
It is Procom 7-2
The documentation gives the figures 11 and 13

Zibgbee switch
The device used is NOUS В1Z

https://nous.technology/product/pdf?slug=b1z&alias=FR+-+Manuel+De+L'Utilisateur

Schema

Pictures
Procom



** Garage door position contact**
SONOFF SNZB-04P Zigbee Door Window Sensor

Door Hinge


Home assistant integration



Template

  • cover:
    - name: “Porte Garage”
    unique_id: porte_garage_cover
    device_class: garage
    state: >
    {% if is_state(‘binary_sensor.detecteur_ouverture_garage_contact’, ‘off’) %}
    closed
    {% else %}
    open
    {% endif %}
    open_cover:
    - action: switch.turn_on
    target:
    entity_id: switch.cmd_porte_garage
    - delay:
    seconds: 2
    - action: switch.turn_off
    target:
    entity_id: switch.cmd_porte_garage
    close_cover:
    - action: switch.turn_on
    target:
    entity_id: switch.cmd_porte_garage
    - delay:
    seconds: 2
    - action: switch.turn_off
    target:
    entity_id: switch.cmd_porte_garage
    stop_cover:
    - action: switch.turn_on
    target:
    entity_id: switch.cmd_porte_garage
    - delay:
    seconds: 2
    - action: switch.turn_off
    target:
    entity_id: switch.cmd_porte_garage
    availability: “{{ states(‘binary_sensor.detecteur_ouverture_garage_contact’) not in [‘unavailable’, ‘unknown’] }}”

image

Dashboard