awesome-ha-blueprints icon indicating copy to clipboard operation
awesome-ha-blueprints copied to clipboard

Bug - IKEA E1744 to Light Hook no action

Open TiSDStudios opened this issue 2 years ago • 9 comments

Blueprint name

IKEA E1744 to Light Hook

Home Assistant Core Version

core-2021.11.1

Home Assistant Installation Type

Home Assistant Core

Description

I am using Zigbee2MQTT with a IKEA E1744. I've imported both blueprints and made automations pointing at the E1774. The controller automation shows it is being triggered but the hook is never triggered. Am I missing some part of the configuration to connect the controller and hook?

Automation YAML config

alias: A Rotary New
description: ''
use_blueprint:
  path: EPMatt/ikea_e1744.yaml
  input:
    integration: Zigbee2MQTT
    controller_device: 7348d0cb86c0f788d4fd188d210f8c27
    controller_entity: sensor.a_client_dimmer_action
    helper_last_controller_event: input_text.a_client_dimmer_input
    action_click_double: []
    action_rotate_left: []


alias: A Rotary Hook
description: ''
use_blueprint:
  path: EPMatt/light.yaml
  input:
    light_color_mode: Auto
    controller_device: 7348d0cb86c0f788d4fd188d210f8c27
    controller_entity: sensor.a_client_dimmer_action
    controller_model: IKEA E1744 SYMFONISK Rotary Remote
    light: light.a_back_r




To Reproduce

  1. Go to '...'
  2. Click on '....'
  3. Trigger the automation '....'
  4. See error

Expected behavior

Rotate dimmer knob and light dims

Actual Behaviour

Controller shows trigger but light hook shows no action

Additional Details

  • [ ] I'd like to help developing a fix for this issue.

Screenshots

No response

Additional context

No response

TiSDStudios avatar Nov 06 '21 22:11 TiSDStudios

Hi @TiSDStudios,

thank you for reporting here. You are not required to provide a value for the controller_device inputs if you're using Zigbee2MQTT, as reported in the docs for the E1744 and the Light Hook. This might be what causes the Light Hook not to detect controller events.

Please let me know if removing the controller_device input for both of your automations solves your issue. :)

Thanks!

EPMatt avatar Nov 07 '21 14:11 EPMatt

I remade the automations without the control device inputs, still doesn't seem to be functioning. Any other ideas?

- id: '1636404513127'
  alias: A Knob New
  description: ''
  use_blueprint:
    path: EPMatt/ikea_e1744.yaml
    input:
      integration: Zigbee2MQTT
      controller_entity: sensor.a_client_dimmer_action
      helper_last_controller_event: input_text.a_client_dimmer_input
- id: '1636404570526'
  alias: Light Hook A
  description: ''
  use_blueprint:
    path: EPMatt/light.yaml
    input:
      light_color_mode: Auto
      controller_entity: sensor.a_client_dimmer_action
      controller_model: IKEA E1744 SYMFONISK Rotary Remote
      light: light.a_room

TiSDStudios avatar Nov 09 '21 00:11 TiSDStudios

Hi @TiSDStudios,

thank you for your feedback. The YAML for your automations now looks good to me. I think we need to debug this issue a little more in detail.

Could you please check whether the controller automation is firing events as expected? You can do this by navigating to Developer Tools -> Events and typing in ahb_controller_event in the "Listen for events" form. Then, click on "Start listening" and rotate your controller. You should see a list of events appearing on the web page; please copy and paste them here.

Thank you for your help!

EPMatt avatar Nov 14 '21 23:11 EPMatt

Hi, I don't know if it is okay to reply in this issue. But I've got the same problem just with the Phillips 324131092621 remote. The automation says its triggered but the "ahb_controller_event" does nothing. So the light hook isnt executing.

I've got one automation running with an Ikea E1524/E1810 remote. This behaves normally and the "ahb_controller_event" does fire as expected. I'm also using Zigbee2MQTT.

Mugga6315 avatar Nov 21 '21 13:11 Mugga6315

Hi @Mugga6315,

thank you for reporting here. Would you mind opening a new issue for this?

Thanks!

EPMatt avatar Nov 21 '21 14:11 EPMatt

Hi @TiSDStudios,

I've an update regarding your issue. Other users reported having problems with controller blueprints not firing events when using HA Core < 2021.11.4. It seems that there's some kind of bug with event management in Home Assistant, which should have been fixed in 2021.11.4.

Could you please update your instance to the latest version (2021.11.5) and check whether the issue is still present?

Thanks again!

EPMatt avatar Nov 21 '21 14:11 EPMatt

Hi @EPMatt, I have the same issue with Version 2021.11.5 - only with the symfonisk controller, others are working as expected.

Edit: Listener does not show events from symfonisk controller - E1743 is showing events. My Setup: Z2M

tuffelh avatar Nov 25 '21 09:11 tuffelh

Hi @tuffelh, thank you for reporting.

@tuffelh @TiSDStudios are you using the non-legacy integration for the E1744 controller? This is required for the blueprint to work for such device when using Zigbee2MQTT, as reported in the E1744 blueprint requirements:

If you plan to integrate the with Zigbee2MQTT, you must have this integration set up. Installation methods differ between different installation types. Check out the documentation for full details on the required hardware and how to set up Zigbee2MQTT on your system.

When configuring the remote with Zigbee2MQTT make sure to disable the legacy integration for it, as reported here. This blueprint won't work with controllers with a legacy integration due to their instability and fundamental problems.

Thanks! :)

EPMatt avatar Nov 25 '21 13:11 EPMatt

Hi @tuffelh, thank you for reporting.

@tuffelh @TiSDStudios are you using the non-legacy integration for the E1744 controller? This is required for the blueprint to work for such device when using Zigbee2MQTT, as reported in the E1744 blueprint requirements:

If you plan to integrate the with Zigbee2MQTT, you must have this integration set up. Installation methods differ between different installation types. Check out the documentation for full details on the required hardware and how to set up Zigbee2MQTT on your system. When configuring the remote with Zigbee2MQTT make sure to disable the legacy integration for it, as reported here. This blueprint won't work with controllers with a legacy integration due to their instability and fundamental problems.

Thanks! :)

That did the trick - sorry I have overseen this requirement Thanks for your support!

tuffelh avatar Nov 25 '21 15:11 tuffelh