Blueprint pour télécommande alarme Lexman LDSENK09

Bonsoir, je vous propose un blueprint pour réutiliser les télécommandes d’alarme Lexman LDSENK09.

Ces télécommandes Zigbee dispos chez Leroy Merlin sous la marque Lexman servent normalement à activer/désactiver l’alarme de l’écosystème Enki pour laquelle elles sont prévues mais peuvent également s’intégrer à Alarmo. Avec ce blueprint il est possible de leur donner un autre usage pour déclencher à peu près tout ce que vous voulez.

Le bouton SOS fonctionne sur appui prolongé, les 3 autres boutons sur un simple clic.

Ces télécommandes sont actuellement en solde chez Leroy Merlin à moins de 5€ les trois.

Grand merci à @arsthan pour l’inspiration !

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

blueprint:
  name: Adeo LDSENK09 buttons
  description: Control devices trough an Adeo LDSENK09
  source_url: https://gist.github.com/Chartreusito/bace65d3644543c4833deba88e799372
  domain: automation
  author: Chartreusito
  homeassistant:
    min_version: 2024.12.0
  input:
    section_keyfob:
      name: '## Key-Fob selection'
      icon: mdi:alarm-panel
      description: ''
      collapsed: false
      input:
        controller:
          name: Key-Fob
          description: The name of the key-fob in Zigbee2MQTT
          default: ''
        base_topic:
          name: Root/Base mqtt topic from Zigbee2MQTT
          description: The Root/base topic as configured in Zigbee2MQTT
          default: zigbee2mqtt
    section_alarm:
      name: '## Alarm configuration'
      icon: mdi:shield-home
      description: ''
      collapsed: false
      input:
        i_action_button_arm_partial_zones:
          name: Action for arm home button
          selector:
            action: {}
          default: []
        i_action_button_arm_all_zones:
          name: Action for arm away button
          selector:
            action: {}
          default: []
        i_action_button_disarm:
          name: Action for disarm button
          selector:
            action: {}
          default: []
        i_action_button_panic:
          name: Action for panic (SOS) button
          selector:
            action: {}
          default: []
mode: parallel
max_exceeded: silent
max: 2
trigger_variables:
  base_topic: !input base_topic
  controller: !input controller
trigger:
- platform: mqtt
  topic: '{{ base_topic ~ ''/'' ~ controller }}'
action:
- variables:
    command: '{{ trigger.payload_json.action }}'
- choose:
  - conditions: '{{ command == ''arm_day_zones'' }}'
    sequence: !input i_action_button_arm_partial_zones
  - conditions: '{{ command == ''arm_all_zones'' }}'
    sequence: !input i_action_button_arm_all_zones
  - conditions: '{{ command == ''disarm'' }}'
    sequence: !input i_action_button_disarm
  - conditions: '{{ command == ''panic'' }}'
    sequence: !input i_action_button_panic

1 « J'aime »