Hi all,
This blueprint is based @FunkeyFlo’s blueprint for the Robb smart 8-switch wall mount ROB_200-007-0 device. As FunkeyFlo noticed his blueprint works only with zigbee2mqqt, while this one works with ZHA (deCONZ). While not tested, it should also work with the 2 and 4 button variant (if not give me a notice) The 8 button variant should now also work for mode:
- ROB_200-025-0
- VES-ZB-WAL-012 (Vesternet Zigbee Wandcontroller)
- SR-ZG9001K8-DIM (Sunricher single color wall mounted 4 groups Zigbee)
As mulitple manufactors sell them with a different name, please send me the model name (found in the 3th column of the device tab) i will add those, and please confirm if they work.
Use this for the 4 button variant (ROB_200-008-0)
Use this for the 2 button variant (ROB_200-009-0)
There is also a 4 channel remote control available from ROBB SMARRT (ROB_200-024-0). Use this blueprint to enable all buttons (Should now also work with Versternet ZGRC-KEY-013)
There is also a RGWB colorwheel remote control available from ROBB SMARRT (ROB_200-016-0). Use this blueprint to enable all buttons
blueprint:
name: Robb smart 8-button switch
description: |
This blueprint is for the Robb smarrt 8-button switch panel (ROBB ROB_200-007-0) when used with zha.
It is for genral use so all buttons can be connected to any action of your choice. This remote supports short button clicks and long button presses (over 4 seconds)
Make sure to select the correct sensor for the remote.
domain: automation
input:
remote:
name: Remote
description: Switch remote to use
selector:
device:
integration: zha
manufacturer: "ROBB smarrt"
entity:
domain: sensor
device_class: battery
on_button_1_short:
name: On button 1 - short
default: []
selector:
action: {}
off_button_1_short:
name: Off button 1 - short
default: []
selector:
action: {}
on_button_1_long:
name: On button 1 - long press
default: []
selector:
action: {}
off_button_1_long:
name: Off button 1 - long press
default: []
selector:
action: {}
on_button_2_short:
name: On button 2 - short
default: []
selector:
action: {}
off_button_2_short:
name: Off button 2 - short
default: []
selector:
action: {}
on_button_2_long:
name: On button 2 - long press
default: []
selector:
action: {}
off_button_2_long:
name: Off button 2 - long press
default: []
selector:
action: {}
on_button_3_short:
name: On button 3 - short
default: []
selector:
action: {}
off_button_3_short:
name: Off button 3 - short
default: []
selector:
action: {}
on_button_3_long:
name: On button 3 - long press
default: []
selector:
action: {}
off_button_3_long:
name: Off button 3 - long press
default: []
selector:
action: {}
on_button_4_short:
name: On button 4 - short
default: []
selector:
action: {}
off_button_4_short:
name: Off button 4 - short
default: []
selector:
action: {}
on_button_4_long:
name: On button 4 - long press
default: []
selector:
action: {}
off_button_4_long:
name: Off button 4 - long press
default: []
selector:
action: {}
mode: restart
max_exceeded: silent
trigger:
- platform: event
event_type: zha_event
event_data:
device_id: !input "remote"
action:
- variables:
button: '{{ trigger.event.data.endpoint_id }}'
cmd: '{{ trigger.event.data.command }}'
args: '{{ trigger.event.data.args }}'
- choose:
- conditions:
- "{{ button == 1 and cmd == 'on' }}"
sequence: !input "on_button_1_short"
- conditions:
- "{{ button == 1 and cmd == 'off' }}"
sequence: !input "off_button_1_short"
- conditions:
- "{{ button == 1 and cmd == 'move_with_on_off' }}"
sequence:
- if:
- condition:
- '{{ args[11] == "U" }}'
then:
!input "on_button_1_long"
else:
!input "off_button_1_long"
- conditions:
- "{{ button == 2 and cmd == 'on' }}"
sequence: !input "on_button_2_short"
- conditions:
- "{{ button == 2 and cmd == 'off' }}"
sequence: !input "off_button_2_short"
- conditions:
- "{{ button == 2 and cmd == 'move_with_on_off' }}"
sequence:
- if:
- condition:
- '{{ args[11] == "U" }}'
then:
!input "on_button_2_long"
else:
!input "off_button_2_long"
- conditions:
- "{{ button == 3 and cmd == 'on' }}"
sequence: !input "on_button_3_short"
- conditions:
- "{{ button == 3 and cmd == 'off' }}"
sequence: !input "off_button_3_short"
- conditions:
- "{{ button == 3 and cmd == 'move_with_on_off' }}"
sequence:
- if:
- condition:
- '{{ args[11] == "U" }}'
then:
!input "on_button_3_long"
else:
!input "off_button_3_long"
- conditions:
- "{{ button == 4 and cmd == 'on' }}"
sequence: !input "on_button_4_short"
- conditions:
- "{{ button == 4 and cmd == 'off' }}"
sequence: !input "off_button_4_short"
- conditions:
- "{{ button == 4 and cmd == 'move_with_on_off' }}"
sequence:
- if:
- condition:
- '{{ args[11] == "U" }}'
then:
!input "on_button_4_long"
else:
!input "off_button_4_long"
Description
It’s a simple blueprint that just maps all the available actions for all 8 buttons.
The available actions are:
- short press (each button)
- long press (each button)
This allows you to map any of the button (events) to any action you choose.
Store link