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

IKEA LED2003G10 with IKEA E2001/E2002 Styrbar remote / Zigbee2MQTT

Open monsterflo opened this issue 1 year ago • 9 comments

Blueprint name

Hook - Light

Home Assistant Core Version

2023.11.2

Home Assistant Installation Type

Home Assistant Supervised

Description

Hello, my Ikea bulbs misbehave for a while now and since it's getting darker outside this issue starts to annoy me again. When dimming or brightening the lights they just keep on going instead of stopping when the remote button is released. I don't know if this connected with an update of Zigbee2MQTT and if the behavour of Z2M changed.

Any help is appreciated.

Thanks in advance Florian

Automation YAML config

alias: Wandlampe Fernbedienung AN-AUS-Helligkeit-Farbe
description: ""
use_blueprint:
  path: EPMatt/ikea_e2001_e2002.yaml
  input:
    integration: Zigbee2MQTT
    controller_device: 21124e381ab0840918bef480453a2c8c
    controller_entity: sensor.zb_remote_eg_kz1_action
    helper_last_controller_event: input_text.zb_remote_kz1_helper


alias: Wandlampe Fernbedienung
description: ""
use_blueprint:
  path: EPMatt/light.yaml
  input:
    controller_device: 21124e381ab0840918bef480453a2c8c
    controller_entity: sensor.zb_remote_eg_kz1_action
    controller_model: IKEA E2001/E2002 STYRBAR Remote control
    light: light.kinderzimmer_wandlampe
    min_brightness: 2
    force_brightness: true
    on_brightness: 5

To Reproduce

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

Expected behavior

stop dimming/brightening when remote button is released

Actual Behaviour

dimming/brightening doesn't stop

Additional Details

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

Screenshots

No response

Additional context

No response

monsterflo avatar Nov 15 '23 08:11 monsterflo

I have the same issue. Hopefully any help comes soon :)

vasylievd avatar Nov 22 '23 15:11 vasylievd

Yeah, i'm having the same issue

SvenBuis avatar Dec 06 '23 09:12 SvenBuis

Hello, I had the same issue and was looking at what could go wrong. I found that one condition to check the previous value of the button pressed does not work as expected. Unfortunately, I don't know why this is happening, but deleting the condition fixes the issue, or at least I did not encounter any side behavior. Basically detection of last last pressed button for triggering the correct "release" action is now disabled. Feel free to try my fix and propose a better solution https://github.com/EPMatt/awesome-ha-blueprints/pull/584.

jiridostal avatar Dec 07 '23 21:12 jiridostal

I have the same issue. Tested you're solution and it work's. Thanks!

Nelus2311 avatar Dec 08 '23 15:12 Nelus2311

Had the same issue. Solution provided by @jiridostal worked for me, too. Thank you.

peyn avatar Jan 02 '24 11:01 peyn

The proposed solution works for me too, thanks!

FredericG-BE avatar Jan 03 '24 14:01 FredericG-BE

Same issue here - and the fix indeed works ❤️ Thank you!

klimeryk avatar Jan 08 '24 20:01 klimeryk

Worked for me too, thanks!

Sab3rRid3r avatar Jan 19 '24 21:01 Sab3rRid3r

@jiridostal Same issue here, I was struggling with it for 3 days until I found the solution here. THANK YOU! ❤️ ❤️ ❤️

return666evil avatar Feb 07 '24 19:02 return666evil