So Iāve now got this working with the Light Hook as well and can control lights with dimming etc and it works great.
What Iām also trying to achieve is using the same dimmer switch when holding the on button for it to turn on a lamp, when I do this though it also detects the on press and runs the hook for the lights to they both turn on.
Is there anyway I can achieve what Iām after?
I am trying to use this blueprint with my V1 Hue dimmer but can get the brightness up/ down to work can someone give me a pointer on what I am missing?
I interpret the āCAUTION boxā as advice to create a helper for each device, even if you make use of the same blueprint. Just to avoid running into inconsistencies when two person push a button on different dimmers almost the same time.
Hello!
Thank you for this very nice blueprint. Just one thing isnāt working for me: Double Pressing a button does not work for me. Nothing happens, no matter the settings for it. Am I doing something wrong?
(I had the same issue ). This made the double on press work for me, but unfortunately it stopped the single press on from working. Maybe both can work for you?
Hi Matteo, thank you for your Awesome Blueprints. I am using one with an IKEA Styrbar, using both the hook and some custom actions for double presses.
I also implemented an automation for a Philips Hue Dimmer (I have both the older RWL021 and the newer RWL022 models, and tried both). I found that the double press actions do not work for these controllers. After some tinkering, I found out that these controllers natively support multiple presses, and send specific commands for double, triple, quadruple and quintuple presses, so the double presses are not caught by your automation. Is there any chance to incorporate the multiple press commands into the controller blueprints? That would be awesome. I found this blueprint: GitHub - Jessendelft/Hue-Dimmer-Switch-V3: Home Assistant Blueprint for the Hue Dimmer Switch. , which assigns specific actions to multiple presses up to triple. It was easily edited to include quadruple and quintuple, the command names are obvious.
I looked a bit into the commands that the controlller sends, and besides the double clicks I mentioned in my previous post, there is a problem with this blueprint and long presses too. When you do a short press, it sends a āshort_releasedā and a āshort_pressedā command (in that order!). When you do a long press, it first sends a āshort_pressedā, then a series of ālong_pressedā (about 1 per second) , and finally a ālong_releasedā. So if you want to use both long and short presses of the same button, and the long press is not just a repeat of the short press action, the event you should listen too for the short press action, is the short release.
So, in short, this blueprint collection is very nice for the IKEA buttons, but to work for the Philips dimmers it needs some adaptation.
This blueprint stopped working for me last night. Possibly after a HACS update of something (maybe the zha toolkit?) I can see the remote is still firing events. Any suggestions on how I should debug? Iām still on 2023.1.6 since 2023.2.x has screwed up ZHA Sonoff integration and I havenāt been brave enough to try 2023.3.1 yet
So I think I did what youāre describe, moving the short press action over to release, but Iām still not able to trigger thing with short press when I have double press turned on. Any other hints you can give as to how you fixed this? Thanks!
for my part is not working. really weird because I can see the integration in the device. The commands are ok in the log of z2mqtt and even the scripts is with the same commands. Any idea?
I love this blueprint.
Actually, one thing is missing for me.
It would be great to have a time or sun based condition in there.
For example, in my bath, when I press āonā I would like to have the light at 100% when the sun is up, but only 20% when the sun is down.
In the room of my childs, the light should be at 100% between 7 am and 7 pm, and 20% between 7 pm and 7 am.
I would have one automation for each time slot.
Do you think it would be possible to add this?