-
-
Notifications
You must be signed in to change notification settings - Fork 258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug - Ikea E2002 Styrbar Brightness/Up,Down Hold action doesn't work #399
Comments
Please see these HASS Fourm posts with suggested fix |
Hi. I had the same issue and it seems that your proposal here is working fine. I'm going to run some more tests to confirm. Do you want to open a PR to help fix the issue for everyone using this repo ? Otherwise I could do it. |
I will open a pull request, no worries. Edit: I wasn't entirely sure how to implement the release action fix, I've not made that change. Please feel free to have a go. |
EPMatt#399 Made fixes for long pressing the up and down buttons. Does NOT include release action fixes as detailed here: https://community.home-assistant.io/t/zha-deconz-zigbee2mqtt-ikea-e2001-e2002-styrbar-remote-control-universal-blueprint-all-actions-double-click-events-control-lights-media-players-and-more-with-hooks/354176/19#:~:text=The%20fix%20is%20getting%20the%20substring%20release%20from%20the%20zha_event%3A If someone could work out how to implement that would be appreciated.
I am having the same issue with an e1810. Any ideas on how to fix it? |
You can try doing the action on the remote and viewing the content of the helper associated to the automation. Then check the automation and see if the value of the action and the value of the helper match. If they don't, change it in the .yaml. You can upload your changes into a gist and try it in HASS. |
Fixed the release action in my fork but works only on ZHA and probably breaks the other integrations: Direct link to file if you want to try the blueprint: Credit to Luis Sismeiro for figuring it out in: |
@klemmari1 |
Thank you for this temp fix. I have been fighting this for over an hour. |
After testing and fiddling with the brightness change steps, I'm happy that these changes fix the issue with the Up/Down hold actions. I didn't mention it on this issue, but I am having issues with the left/right hold actions - same issue, it doesn't stop if you release. If anybody else experiences this, I can create a second issue to report this - or we can continue it here. |
I bought some of these Styrbars last night and have been fighting this all morning! Finally thought to check the GitHub issues. Could you advise on what the current best solution is, and how to implement it? Thanks! |
Hmm, for me the left/right hold actions work without issues. What's your config on the controller blueprint? Do you have the "Last Controller Event" helper input defined? Do you use double tap actions? Do you have the optional button long press toggles checked (for example "Left button long press - loop until release")? You can check what the controller outputs if you go to "Logbook" in HA and look for the "Last Controller Event" (the helper input) values. For me it shows this when holding right button:
|
What's your issue exactly? If you want to try out the blueprint, just go to blueprints in HA and click "Import Blueprint" and paste the link. For example https://github.com/klemmari1/awesome-ha-blueprints/blob/fix-holding/blueprints/controllers/ikea_e2001_e2002/ikea_e2001_e2002.yaml |
Hi klemmari1, The helper values for holding right is:
Seems normal to me. |
FYI for the benefit of people watching this issue: Update from Luis Sismeiro. I've not tested this yet, please give feedback if you do. |
@LewisSpring Let's see if someone test it also, is working fine for me. By the way, I created a new file because the current blueprint version has a helper size optimization that was not in the file I made available before. I updated the previous post with the link to the new file. |
Tested it (the updated version from @lsismeiro), works fine for me 👍 Thank you :) |
Good to know that is working fine for you and the hours (I'm not a developer) I invested in it are helpful for someone else. Besides myself I don't know anyone who has used it, thank you for testing it. |
Yep, Can concur! Thanks Luis. |
I'm glad it works for more people than me. Please update the pull request with my code so everybody can benefit from the fix. |
The long presses "got stuck" again for me. Eventually I got it working again by increasing the max length of the last controller event helper to 255. By default it is 100 characters which was not enough to store the hold up or down button text so it failed to save it. |
Still having issues with this, with my Zigbee2MQTT setup and the latest fix version from the forum (https://community.home-assistant.io/t/zha-deconz-zigbee2mqtt-ikea-e2001-e2002-styrbar-remote-control-universal-blueprint-all-actions-double-click-events-control-lights-media-players-and-more-with-hooks/354176/35) and max helper length set to 255. Long press actions do loop, but show huge delays, not matter the step size or call-type (brightness change for device directly or light-service). It is not smooth at all. Does someone have it up and running smoothly at the moment? |
I also have loop issue on long press for up/down button. |
Ok I think this is the solution: #546 |
Hi, How can I solve this issue? |
@LewisSpring where can I find the full path to the yaml? in (#411) fix I cannot find the code. |
The path to the latest PR#411 YAML is github.com/LewisSpring/awesome-ha-blueprints. This might be the last 2023.4.x compatible version. |
Hi. Thanks for your work on this. I'm definitely seeing an improvement. However I have a strange issue. I'm just using a standard hold action (not loop) and while the up hold is now working (it wasn't originally) the down hold still does nothing. i'm calling service light.turn_off - the same call is working if i assign it to the right button. I'm running the E2002 version of the styrbar Any clues or any information I can give you to help you to advise please? HA: 2023.7.1 EDIT: Seems to be working after an update to 2023.7.3. hopefully it remains so Thanks again |
Tested Ikea e2002 in ZHA and working as it should (incl. long press UP/DOWN) https://my.home-assistant.io/redirect/blueprint_import/?blueprint_url=https%3A%2F%2Fgithub.com%2Flsismeiro%2Fawesome-ha-blueprints%2Fblob%2Fmain%2Fblueprints%2Fcontrollers%2Fikea_e2001_e2002%2Fikea_e2001_e2002.yaml |
Hi @eugeugov Glad it works. Apologies to any followers of the issue for lack of updates - the link above will let you install the latest version of the blueprint from @lsismeiro 's repository where the latest changes are being added. |
Blueprint name
Controller - IKEA E2001/E2002 STYRBAR Remote control
Home Assistant Core Version
2022.8.7
Home Assistant Installation Type
Home Assistant Container
Description
The remote works perfectly using both the hook and automation blueprints, except for the up and down button hold action, which does not do anything.
Automation YAML config
To Reproduce
Press and hold either up or down button.
Expected behavior
Hook automation controls the brightness of the bulb.
Actual Behaviour
No changes to the bulb brightness.
Additional Details
Screenshots
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: