ZHA ROBB Smart 8-Button Switch (ROB_200-007-0) blueprint

Hi all,

This blueprint is based @FunkeyFlo’s blueprint for the Robb smart 8-switch wallmount 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)

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

c0004a9032f94da2a3aace2235fbfc4faed6f53b

blueprint:
  name: Robb smart 8-button switch
  description:  |
    This blueprint is for the  Robb smart 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'] }}"
      params: "{{ trigger.event.data['params'] }}"
  - 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: template
                value_template: "{{ params['move_mode'] == 0 }}"
            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: template
                value_template: "{{ params['move_mode'] == 0 }}"
            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: template
                value_template: "{{ params['move_mode'] == 0 }}"
            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: template
                value_template: "{{ params['move_mode'] == 0 }}"
            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

2 Likes

Having just written a similar blueprint this device is also sold as Vesternet VES-ZB-WAL-012 and it identifies as the Sunricher ZG2833K8_EU05.

Hopefully this will help someone find this blueprint for those devices.

Hi,
I have tested your blueprint. The short press buttons works. The long press button’s wont work. The move_mode is not reacting. Both buttons (on and off) react to the else command.

if:
  - condition: template
    value_template: '{{ params[''move_mode''] == 0 }}'
then:
else:
1 Like

(The same problem occurs with the blueprint this one is based on.)

The long press does work, but for some reason the action ID’s are swapped, meaning brightness_move_up_1 correlates to button 4, 2 to 3, 3 to 2 and 4 to 1.

I dunno why but the quick fix is to modify the blueprint to swap these numbers. This fixed it for me.

Hi,
I am new with the blueprints but i have one of those 8 button switches from Robb connected to HAOS.
When i try to use the blueprint it asks me to give the name of the remote device but i am not able to select any device:

I can see it’s actually added as a device via deCONZ. What can i do? A reboot did not work :slight_smile:
Thanks

Hi Stephan,

i have same problem. I added this button to Hue (no confirmation unfortanly).
Downloaded this blueprint, but also no entity or remote visable. Did you find a solution?
How did you use deConz?

Greetings!

Thanks for your reply. I did some research and it seems that ZHA also needs to be installed as an integration but i get unknown errors when adding it with my conbee 2 stick.

I also tried to add it to my HUE controller but gave me the same result.

i see the events in the log:
e.g. 8-knoppen fired event ‘3002’
In the automation script selection it states on selecting: “No matching devices found”
i’m running a Zigbee using Deconz 2 USB integration. Seeing the events are entering H.A. this should work, but somehow they do not link.
Same applies for the battery… keeps signal 0%. While the battery is fully charged. Replacing with the new one makes no difference.
Any clue … Where is the missing link?

Did anyone manage to get this device working? seeing only questions it looks like this device is of no use for automation. sorry for the money spend on it :frowning: .
Connectivity seems to be there as events appear in the log, but the data is of no use seeing battery level of 0 while still working and the events pop into H.A. but no scripts want to use these incoming events. Looks like something is missing but i’ve really no clue which component is malfunction. And my coding knowledge is limited in this world…

For such a button switch; is there a way to set the LED Indicator to stay on?
Use case: Short clicks make blinds go up or down. Long Click put the Blinds in “Auto mode”, where the LED indicator is the feedback that the ‘AUTO mode’ is on. ‘Auto Mode’ could be the blinds go down when sun shines strongly. The LED indicator ‘on’ is the feedback to the user that the blinds are in Automode.