šŸ’” Awesome HA Blueprints: A curated list of blueprints + easily create controller-based automations (remotes, switches,...) for controlling lights, media players, and more

What is everyone using these days for their IKEA buttons, dimmers and controllers?

It seems the original author is no longer maintaining the repository, possibly due to other commitments in life (as indicated by the status message on the GitHub profile). I respect that.

Given that there have been some changes to ZHA and HA that make changes to the blueprints necessary and pull requests not being merged I am looking for either a maintained fork or some simpler blueprints that are easier to keep up to date myself.

I only use two remotes, so Iā€™m not sure how well it works for more extensive setups, but so far I like the switch manager integration a lot.

If you use ZHA, the IKEA strybar remote isnā€™t set up for that integration yet, however it did not take me long to write a functioning blueprint for it. It stills needs some finetuning though, but for thatā€™s more on the way events are passed down in ZHA for the remotes.

Can you share your STYRBAR blueprint for Switch Manager please?

name: Ikea Styrbar ZHA
service: ZHA
event_type: zha_event
identifier_key: device_id
buttons:
  ## Not sure why the buttons are back to front and illogical by their numbers??
  - x: 247
    y: 61
    width: 50
    actions:
      - title: press
        conditions:
          - key: command
            value: 'on'
      - title: hold
        conditions:
          - key: command
            value: move_with_on_off
      - title: hold_release
        conditions:
          - key: command
            value: stop_with_on_off

  - x: 442
    y: 248
    width: 50
    actions:
      - title: press
        conditions:
          - key: command
            value: press
          - key: params.param1
            value: '256'
      - title: hold
        conditions:
          - key: command
            value: hold
          - key: params.param1
            value: '3328'
      - title: hold (released)
        conditions:
          - key: command
            value: release
          - key: params.param1
            value: '-7258'
  - x: 245
    y: 434
    width: 50
    actions:
      - title: press
        conditions:
          - key: command
            value: 'off'
      - title: hold
        conditions:
          - key: command
            value: move
      - title: hold_release
        conditions:
          - key: command
            value: stop_with_on_off
  - x: 52
    y: 248
    width: 50
    actions:
      - title: press
        conditions:
          - key: command
            value: press
          - key: params.param1
            value: '257'
      - title: hold
        conditions:
          - key: command
            value: hold
          - key: params.param1
            value: '3329'
      - title: hold (released)
        conditions:
          - key: command
            value: release
          - key: params.param1
            value: '1675'

Has updates to the website stopped? There is a minute amount of blueprints listed on the site.

Hi!

Iā€™m using the IKEA E2001/E2002 STYRBAR Remote control Controller Blueprint.
It looks like the double press is not longer working. Does anyone made this work?

  path: EPMatt/ikea_e2001_e2002.yaml
  input:
    integration: Zigbee2MQTT
    controller_entity: sensor.button_table_action
    helper_last_controller_event: input_text.helper_controller_button_table
    action_button_left_short:
      - service: light.toggle
        data: {}
        target:
          entity_id: light.diningtable
    action_button_left_double:
      - service: light.toggle
        data: {}
        target:
          device_id: 97abd439d9e1d98dab582da402ce840b
    action_button_right_double:
      - type: toggle
        device_id: 97abd439d9e1d98dab582da402ce840b
        entity_id: 10db7e0fb3826b63372f7d40cb48024a
        domain: light
    button_right_double_press: true
    button_left_double_press: false
    helper_double_press_delay: 500
    button_up_double_press: false

Looks like the double click is not working.

Thereā€™s a good handful of issues and pull requests addressing that issue in the authorsā€™ repository. One example: remove spaces to match new helper format in 2023.5 by LordSushiPhoenix Ā· Pull Request #545 Ā· EPMatt/awesome-ha-blueprints Ā· GitHub

Unfortunately the project is abandoned at this point, so no PRs are merged and no new releases are made right now.

Thats a shame. Did you ever happen to get the double press working again on remotes?

Hey folks!

Maybe Iā€™m too stupid, but Iā€™ve read the description up and down for a few times now and I guess, Iā€™m missing somethingā€¦ I created 2 automations, 1 controller and 1 hook - I cannot relly ā€œconnectā€ them, as they should be connected just by using the same device/entity (of the hardware-controller).
The controller automation gets triggered and fired, fills the input helper, but the hook automation never gets fired, so my lights stay outā€¦ :frowning:

hope for a quick tip

Go into Zigbee2mqtt web ui. select your hue dimmer device. then settings (specific). set Legacy to True.

Hi every one,

Iā€™d like to control 2 switches (on/off) with rwl021 hue remote. I have following setup:

  1. ha on a VM as haos.
  2. MQTT as containeraized app outside od HAOS vm
  3. Both switches work fine when toggled directly in ha.
  4. Remote seems fine as well, I have tried toggling legacy on/off in z2m

I set-up the controller blueprint only with following settings and short/long ON press actions:

In the automationā€™s log I see it fails on 2nd step, can anyone help figuring out whatā€™s the logic here?

condition: and
conditions:
  - >-
    {%- set trigger_action -%} {%- if integration_id == "zigbee2mqtt" -%} {{
    trigger.event.data.new_state.state }} {%- elif integration_id == "deconz"
    -%} {{ trigger.event.data.event }} {%- elif integration_id == "zha" -%} {{
    trigger.event.data.command }} {%- endif -%} {%- endset -%} {{ trigger_action
    not in ["","None"] }}
  - >-
    {{ integration_id != "zigbee2mqtt" or trigger.event.data.new_state.state !=
    trigger.event.data.old_state.state }}

Nvm on above, issue rwaolved: I guess I simply had to post here and it got scaredā€¦ legacy setting on the remote in z2m is true, I also dziś few ha restarts in between, so maybe thatā€™s it.

Thanks for the blueprint!

Hey there, I recently got a Hue Dimmer switch v2 and wanted to use your automation. I also used the light-hook, to control the minimum brightness, which works really good. However, it seems like I canā€™t change the default settings with the blueprint. If I say, for example, that the on switch should turn the light on but also off (if itā€™s already on) it just doesnā€™t change and still executes only the default settings. What am I doing wrong?

I have created and properly configured automatons based on these blueprints:
Controller: Styrbar;
Hook: Light &
Hook: Mediaplayer.

Now I want to do the following:
assign

  • button press left_long to media player: volume up
  • button left_double to media player: previous track &
  • up_long to light: brightness up

and so on.

I am also thinking about using custom actions for the short presses. I know I can put the custom actions into the responding button presses in the controller, but I can not figure out how to call a specific action within a specific hook.

I read the documentation several times but somehow I missed what I was searching for.

Your Awesome blue prints areā€¦ awesome. Could you add sunrise/sunset with offset (random offset option would be even better) to the start/stop times? Thanks for considering.

I have an impression that @epmatt abandoned his collection, but somebody else took over: GitHub - lsismeiro/awesome-ha-blueprints: A curated collection of automation blueprints for Home Assistant.

3 Likes

Hi all,

I have created a new threads for support with the @lsismeiro blueprints:

:repeat: ZHA, deCONZ, Zigbee2MQTT - IKEA E2001/E2002 STYRBAR Remote control Universal blueprint (Redux) - Blueprints Exchange - Home Assistant Community (home-assistant.io)
:repeat: ZHA, deCONZ, Zigbee2MQTT - Ikea 5-button Remote Universal blueprint (Redux) - Blueprints Exchange - Home Assistant Community (home-assistant.io)
:repeat: ZHA, deCONZ, Zigbee2MQTT - Ikea E1743 On/Off Switch & Dimmer Universal blueprint - all actions + double click events - control lights, media players and more with Hooks - Blueprints Exchange - Home Assistant Community (home-assistant.io)

For now I have only done the most popular blueprints, but I will keep an eye on the others for activity that would benefit a new thread.

1 Like

Hey Everyone,

I need some help recreating my light automations using the Controller and Light Hook blueprints ^^"

I had to reinstall Home Assistant from scratch with a new coordinator (long story, but I had backups). Now, Iā€™m struggling to set up my Hue Dimmer Switch automations.

Iā€™ve imported the following blueprints:

I configured two automations based on these blueprints:
Controller Automation:

alias: PC Lichtschalter
description: ""
use_blueprint:
  path: EPMatt/philips_324131092621.yaml
  input:
    integration: Zigbee2MQTT
    button_up_long_loop: true
    button_down_long_loop: true
    helper_last_controller_event: input_text.pc_lichtschalter_last_controll_event
    action_button_on_short: []
    action_button_off_short: []
    helper_debounce_delay: 100
    action_button_off_release: []
    action_button_off_long: []
    action_button_off_double: []
    controller_entity: sensor.pc_lichtschalter_action
    controller_device: 8f8022d5a4772b26d508d0238806f6f1

Hook Automation:

alias: PC Lichtschalter Hook
description: ""
use_blueprint:
  path: EPMatt/light.yaml
  input:
    controller_model: Philips 929002398602 Hue Dimmer switch v2
    light: light.0x0017880109626498
    controller_entity: sensor.pc_lichtschalter_action
    controller_device: 8f8022d5a4772b26d508d0238806f6f1

Hereā€™s the data I retrieved from the Zigbee2MQTT page for the Hue Dimmer Switch (translated from German):

Device Name:        PC Lichtschalter
Description:
Last Seen:          N/A
Availability:       Disabled
Device Type:        EndDevice
Zigbee Model:       RWL022
Zigbee Manufacturer: Signify Netherlands B.V.
Description:        Hue Dimmer Switch
Support Status:     Supported
IEEE Address:       0x001788010bdc7d62
Network Address:    0x1950 / 6480
Firmware Date:      20210729
Firmware Version:   2.45.2_hF4400CA
Manufacturer:       Philips
Model:              929002398602
Power Supply:       Battery 44%
Interview Successful: Yes
Description:
Last Seen:          N/A
Availability:       Disabled
Device Type:        EndDevice
Zigbee Model:       RWL022
Zigbee Manufacturer: Signify Netherlands B.V.
Description:        Hue Dimmer Switch

However, I canā€™t get these automations to work. Iā€™ve tried debugging with traces but havenā€™t made much progress. It seems like the button press packets from the Dimmer Switch are named differently since I reinstalled Home Assistant and paired everything with the new coordinator.

Here are some screenshots for reference:


Iā€™d really appreciate it if someone could point me in the right direction ^^"

Kind regards,
MarvinMynx

well i fixed it, i used the Wrong Controller, and i switched to ļølsismeiro Updates Versionā€™s for the Controller and the Hook. Itā€™s working now.
Thanks @KrzysztofHajdamowicz for the Notice on that:

Hi guys.

Are you aware of the removal of the legacy ā€œactionā€ payload in the upcoming Z2M 2.0.0?

See here: Z2M 2.0.0, legacy triggers, _action entity's and hue dimmer blueprints Ā· Koenkk/zigbee2mqtt Ā· Discussion #24997 Ā· GitHub
I am using also this blueprints (slightly modified/fixed) and they will not work anymore.

What do you use now instead?

2 Likes