deCONZ - icasa Pulse S8 Keypad remote

This is a blueprint for the icasa Pulse S8 Keypad remote, specifically for use with deCONZ .

Available Actions (10 Actions):

  • On-Button
  • Long press On-Button
  • Off-Button
  • Long press Off-Button
  • Press on Button S1
  • Press on Button S2
  • Press on Button S3
  • Press on Button S4
  • Press on Button S5
  • Press on Button S6

Blueprint

blueprint:
  name: deCONZ - icasa PULSE 8S keypad
  description: |
    Control anything using icasa Pulse 8S keypad

  domain: automation
  input:
    remote:
      name: Keypad
      description: Keypad to use
      selector:
        device:
          integration: deconz
          manufacturer: icasa
    button_on:
      name: On Button
      description: Action to run on press on On button
      default: []
      selector:
        action:
    button_on_long:
      name: On Long Press
      description: Action to run on press on On long button
      default: []
      selector:
        action:
    button_off:
      name: Off Button
      description: Action to run on press on Off button
      default: []
      selector:
        action:
    button_off_long:
      name: Off Long Press
      description: Action to run on press on Off long button
      default: []
      selector:
        action:
    button_1:
      name: Button S1
      description: Action to run on Button S1
      default: []
      selector:
        action:
    button_2:
      name: Button S2
      description: Action to run on Button S2
      default: []
      selector:
        action:
    button_3:
      name: Button S3
      description: Action to run on Button S3
      default: []
      selector:
        action:
    button_4:
      name: Button S4
      description: Action to run on Button S4
      default: []
      selector:
        action:
    button_5:
      name: Button S5
      description: Action to run on Button S5
      default: []
      selector:
        action:
    button_6:
      name: Button S6
      description: Action to run on Button S6
      default: []
      selector:
        action:

mode: restart
max_exceeded: silent

trigger:
  - platform: event
    event_type: deconz_event
    event_data:
      device_id: !input "remote"

action:
  - variables:
      event: "{{ trigger.event.data.event }}"
  - choose:
      - conditions:
          - "{{ event == 1001 }}"
        sequence: !input button_off_long
      - conditions:
          - "{{ event == 1002 }}"
        sequence: !input button_off
      - conditions:
          - "{{ event == 2001 }}"
        sequence: !input button_on_long
      - conditions:
          - "{{ event == 2002 }}"
        sequence: !input button_on
      - conditions:
          - "{{ event == 3002 }}"
        sequence: !input button_1
      - conditions:
          - "{{ event == 4002 }}"
        sequence: !input button_2
      - conditions:
          - "{{ event == 5002 }}"
        sequence: !input button_3
      - conditions:
          - "{{ event == 6002 }}"
        sequence: !input button_4
      - conditions:
          - "{{ event == 7002 }}"
        sequence: !input button_5
      - conditions:
          - "{{ event == 8002 }}"
        sequence: !input button_6
2 Likes

Hi @daniel.baer Daniel,

I came across this blueprint topic looking for a way to use my s8 switch for automations, yeah! However i quickly see you configured it for DeCONZ, and i’m running my zigbee via ZHA. Is there a way you could make this for the ZHA integration too? I do not have the tools nor the knowledge on how to do this, and the device appears to have a small audience so far.

Let me know, thanks!

@mesjvdw look here:

@Sebastian_Lotz absolute hero! Thanks!

Hi @daniel.baer thanks for sharing the blueprint it’s working great! For volume control i would like to repeat the volume command while the on/off button is pressed. Do you you have any tips on getting this to work?

Hello Daniël is There a wat to get this in blueprint via copy url

DearSebastian,

Great blueplint, thanks for that.
I seem to have troubles importing your blueprint into an automation.
When saving it keeps returning the following error:

Message malformed: required key not provided @ data[‘action’]

Can you help me out here?

thanks in advance

rgrd

Leonard

Goodmorning,
I’am trying to use this blueprint and i’am getting an error:
Error: UndefinedError: ‘dict object’ has no attribute ‘event’

The next config is giving the error:
1 variables:
2 event: {{ trigger.event.data.event }}

What can i do to make the blueprint work?

Thanks

Getting the same error as @ArminH - any hints to get this fixed?

Hi, I’m new to Home Assistant and wonder if someone can help me how to put this blueprint in action. I’ve used a blueprint before but then there was a bueprint button. I don’t see one here, or am I missing something? Do I just have to copy the script in my configuration.yaml file?

All information on saving blueprints on you instance are described online, you may need to manually create a yaml file:

https://www.home-assistant.io/docs/automation/using_blueprints/

1 Like