I didnāt manage to upload/fix the code to be in code format, I will read more and when I will know, I will come back with the error again.
nick
I didnāt manage to upload/fix the code to be in code format, I will read more and when I will know, I will come back with the error again.
nick
Hey, this blueprint is not working anymore because of the problem with regex. @lsismeiro @LewisSpring I think I saw somewhere that you tried to keep the blueprints repo up-to-date ? I created a pull request here to fix that problem for E1743, could you accept it ? Thx !
Edit: Forgot to say it but I tested locally and it works fine after the fix.
Hi, thanks for the pull request. I havenāt got write access to the repository, but @lsismeiro will see it in due course
Hello,
this looks great. Usinf deCONZ and unfortunately I cannot make the double press working. I tried several times, all the rest works, I activated the double press options and also added the helper as required.
I tried to extend the delay between double press and also added a debouncer, but nothing changes.
no matter how fast or slow I do the double tap, this gets not detected.
Any ideas please?
Is there any progress here?
As of today, the long press and hold still doesnāt work.
Setting:
Blueprint: Version 2022.08.08
Ikea E1743 with FW 24.4.6
HA Core: 2023.11.3
ZHA + Skyconnect
Hi @Vanessa
Have you tried this version of the blueprint?
awesome-ha-blueprints/blueprints/controllers/ikea_e1743/ikea_e1743.yaml at main Ā· lsismeiro/awesome-ha-blueprints (github.com)
We do have an issue open ( E1743 long press still doesnāt work with latest pull Ā· Issue #4 Ā· lsismeiro/awesome-ha-blueprints (github.com)) Re Long press but I am unable to verify it as I donāt have the device.
Yes, i tried the fork. Unfortunately still unsuccessful.
It turns out I have an E1743
I will test this and get back to you!!
Seeing the same issue, Please check the issue I linked above and will continue there.
Hey everyone!
Thanks to SandaleZ and Rofo.
I finally read this topic to the end and with your help I managed to get this blueprint to work with ZHA with IKEA E1743 button.
config/blueprints/automation/EPMatt/ikea_e1743.yaml
By file editor
Afterwords create a new text helper by UI and extent the maximum letters to 255
At the end, refresh your automation.
For me it was lines between 216 - 228
zha:
button_up_short:
- 'on'
button_up_long:
- move_with_on_off_MoveMode.Up_83
button_up_release:
- stop_with_on_off
button_down_short:
- 'off'
button_down_long:
- move_MoveMode.Down_83_0_0
button_down_release:
- stop_with_on_off
trigger_delta: '{{ (as_timestamp(now()) - ((states(helper_last_controller_event)
| from_json).t if helper_last_controller_event is not none and (states(helper_last_controller_event)
| regex_match("^\{((\"a\":\".*\"|\"t\":\d+\.\d+)(,)?){2}\}$")) else as_timestamp("1970-01-01
00:00:00"))) * 1000 }}'
last_controller_event: '{{ (states(helper_last_controller_event) | from_json).a
if helper_last_controller_event is not none and (states(helper_last_controller_event)
| regex_match("^\{((\"a\":\".*\"|\"t\":\d+\.\d+)(,)?){2}\}$")) else "" }}'
Hey @Hari_Hari
These work, thank you!
Will contribute these to GitHub - lsismeiro/awesome-ha-blueprints: A curated collection of automation blueprints for Home Assistant. with credit to you
cc @Vanessa
Please test if possible by importing and switching your automations: raw.githubusercontent.com/lsismeiro/awesome-ha-blueprints/69707d91de11a3317d9276216e3c28c4f2e95f41/blueprints/controllers/ikea_e1743/ikea_e1743.yaml
Hey @LewisSpring
I downloaded your blueprint and ran my automation on it. Everything works great. Single, double and long presses work perfectly.
Sweet. I will look at merging this now
@LewisSpring Thanks for this plugin! I have a question. I got 3 GU10 LEDs together in one light.
Hi @viezevis
You should set up the Hook Blueprint alongside your controller blueprint, ensuring that the hold and press actions wonāt clash.
Hope that helps
PS: If you want to override or supplement a hook action, like āup single clickā, it might work to add a 10ms or so delay and then your action; and theyāll work together.
Just a note for anyone looking for support from me with ZHA specifically going forward, I have now moved to Zigbee2MQTT. I intend to keep my old coordinator that I can do ZHA specific tests with if needed.
Ah, Iāve missed that. Is there like an instruction to basically set the default settings of IKEA into the controller and Light Hook Blueprint?
On and Off is working perfect. But once I start dimming the light it just turns off, no matter how long I ālong holdā the button down. Theres no āfast stopā. Do I have to setup something in the controller for Up/Down Up button long press?
(Optional) Up button long press - loop until release = off
Maximum loop repeats = 250 (default, but I tried 3 also)
Minimum brightness = 3 (tried in light-specific Z2M config)
In logs I can see it keeps spamming anyways. Hope theres some documentation about this? Or can you help me out?
EPMattās documentation should help you with this: Awesome HA Blueprints | Awesome HA Blueprints (epmatt.github.io)
There could be a conflict with the controller automation and the hook - if you are using the hook, you donāt need to use the Loop until release settings.
To begin with, you should:
What you describe is basically what I did based on documentation. Thats probably why I messed a little with the settings without needed to.
I setup a Controller with no other configurations then Controller Entity and Last Controller Event. In Z2M I can see On/Of/Brightness Up/Down events.
I installed the Light Hook. Set te device + entity, controller module and set the light group which to control.
When testing, on/off works fine. Dimming works, but the dimming does not stop whatsoever. If I dim the lights, it keeps dimming untill its off somehow.
I can upload a video?
Im seeing the same behaviour while trying to setup my Ikea Styrbar remote and Ikea 1100 lumen colour temp bulbs. Loading the controller and light hook automations works fine for on and off but brightness results in a loop of the command until an short button up or down command which is evident in the z2m logs. Itās as if it needs a āstopā command when releasing the long press.