Sorry for the obvious question: Is the toggle switch for double press turned on?
What Firmware version is your Styrbar? You can find it under the device via the Settings > Devices & Services > ZHA Integration â Devices > {Remote}.
I am running Firmware 0x00010024 with no issues (with the Double Press Down, at least.)
You might need to set up ZHA Firmware Updates to upgrade.
Also make sure your signal strengths are strong, and your Zigbee stick is separated from the host device (using USB extensions) and WiFi Access Points.
Thanks for the tip! The double press switch toggle is turned on. Signal strength is strong with no issues on double press on the left and right buttons.
Iâm also running a later 2.4.5 firmware (which was manually installed, see here Ikea Styrbar Force OTA if on V1.0.024). The double press wasnât working on 1.024 firmware either.
Thanks for sharing. Based on this, zha_event captures 2 successive clicks on the Left and Right buttons, but captures only 1 click on the Top and Down buttons, even when I clicked twice.
So not sure whatâs at fault here - the remote, the quirk, or the blueprintâŚ
Well it would seem that my remote works as yours. There is no other event fired based on single/double click.
yet my BP with double-tap works but I canât hit the buttons to fast then double-click wont register.
Since the code is not picking up any special codes but seems to rely on timing and the last_press helper Iâd advise you to use the debounce at 100 and try to find the right timing between your presses.
@borez
The timing can be a bit precise at times, and often itâs slower than you think.
Using a stopwatch might help you get used to it; that helped for me.
Thanks all! I did manage to get double presses to work - and yes, the timing needs to be precise.
Itâs a bit too slow for my taste (almost 0.5-0.75s delay between presses), and I often get accidental single clicks.
No worries!
I think itâs just how it is unfortunately. The hardware doesnât support double clicks - itâs all being done in software, so any delays caused by interference, CPU load, cosmic radiation can trip it up. I think thatâs why the delay needs to be so high.
I share your problems!
Thanks for creating this blueprint.
I installed the latest version from @lsismeiro (dropbox), figured out the double click delay and debounce on the up button. Works beautifully.
Then I enabled double left and right click, which seemed to have broken single left/right click
Can anyone reproduce/fix?
Is it possible in some way to toggle through a few preset color settings with this blueprint?
I would like to assign click-up to on/2700K/x%brightness and if already on toggle between that setting and 4200K/100%Brightness.
It would also be nice to be able to use left/right to toggle between around 10 preset colors/brightness settingsâŚ
I saw there is a link in documentation to Hook - Light blueprint, but I donât really understand how to use it or what it does⌠and in itâs comments it looks to have issues with Styrbar E2001, E2002âŚ
I use a list of colors and step through in a similar way. I think a list of âprofilesâ will do the trick for you. (You create a list in your version of âhomeassistant.local:8123/config/helpersâ). For your first issue, simply have a list of two profiles (and make sure you set âcycle: trueââŚ)
hmmmâŚI see there is some opportunityâŚbut I donât really understandâŚ
Profiles looks to be one csv-file )light_profiles.csv in the config folder that is supposed to have a header with the info used, e.g. profile,color_x,color_y,brightness,transition
One profile entry can be marked as default by adding â.defaultâ after the profile name
âŚbut how to handle it with profiles for several lights or as if I want one list with two color temperatures and another list with a set of colorsâŚ?
Those color profiles, isnât that something else than using helpers?
If using helpers, what kind of helper is that? Text or dropdown or which one to select.
In your example, does input_select.janyc_light_color refer to the helper and light.janyc_roof to the entity?
Feels like Iâm close to the solution nowâŚmight have to buy some toys soon and start testingâŚ(but too much else going on now, so might have to wait 2 weeksâŚeven though it will be difficultâŚ)
âŚbut how to handle it with profiles for several lights or as if I want one list with two color temperatures and another list with a set of colorsâŚ?
First some clarification: By colors I mean: green, blue, red, etc⌠I have that in the list âinput_select.janyc_light_colorâ. The automation reads the selected color by the use of the template: "{{ âstates(âinput_select.janyc_light_colorâ) }}â
Those color profiles, isnât that something else than using helpers?
No, can define the profiles you want in the âlight_profiles.csvâ.
If using helpers, what kind of helper is that? Text or dropdown or which one to select.
Dropdown, with names of profiles.
In your example, does input_select.janyc_light_color refer to the helper and light.janyc_roof to the entity?
Yes.
Feels like Iâm close to the solution nowâŚmight have to buy some toys soon and start testingâŚ(but too much else going on now, so might have to wait 2 weeksâŚeven though it will be difficultâŚ)
Hi is there a way to set a light to every button, and with toggle set on/off, with long press dim up/down with a cycle, and do something else with the double press.
Till now no luck getting it to work but when, I have no clue howto start the dim up/down cycle.
Yesterday I installed 2023.5.0. For some reason, the double click function doesnât work anymore. But Iâm not sure if thatâs it, because recently there was an update for Zigbee2Mqtt too.
Anyone else has the same experience? (using 2022-12-10 version, but also tested the original). I have set the optional double click switches to enable.
Yes, only after updating to 2023.5 the double click stopped working. I tested it right after i updated the core version. Right now my double functions are not working.