Hi @duzybako,
Thanks for the appreciation and welcome to the community forum
-is there some setting to speed up the color and brightness change when I hold the button?
-how can I make 3 quick clicks go 3 levels down/up. Now after 3 quick clicks, there is delay and then only one level goes down/up. I tried to play with action_delta but no lock.
You can use manual_steps
to define the steps done when pressing the button. So manual_steps: 2
means that you will go from minimum to half in one click, and from half to the maximum in the second one. The higher the number, the more steps and the more time it will take to go from min to max. You can also play with the delay
attribute (350 by default) to change the frequency that ControllerX calls HA to change the brightness/color_temp, the higher the slower it will be, but I donât recommend lowering this more than ~200.
Regarding the delay you see when pressing is because you have the multi-click activated for the presses. You have also configured multiple_click_delay: 1000
, meaning that it waits a whole second to identify if that was a single click or a double one.
can I define mutliple actions for a button in mappings? (example of 1002$2 mapping below)
No, it is not possible to define multiple predefined actions in a list, just call services. For this, you will need to split your configurations.
The following configuration does what I think you want to achieve:
livingroom_controller:
module: controllerx
class: E1810Controller
controller: tradfri_remote_control
integration: deconz
light: light.color_temperature_light_3
manual_steps: 2
merge_mapping:
1002$2: set_half_color_temp # setting the light to half temp or brightness already turns the light on.
4002$2: set_half_color_temp # click_arrow_left
5002$2: on_full_color_temp # click_arrow_right
3002$2: on_min_brightness # down
2002$2: on_full_brightness # up
livingroom_controller_half_brightness:
module: controllerx
class: E1810Controller
controller: tradfri_remote_control
integration: deconz
light: light.color_temperature_light_3
mapping:
1002$2: set_half_brightness
I would leave the multiple_click_delay
to the default (500) since you are using deCONZ and it is faster than other integrations. So, unless you have the conbee II and the controller far away, you donât need to change this setting, but if you have a slow network, then you an change this value to be higher. The higher the multiple_click_delay
the more time you need to wait to see the action be performed when clicking since the multiple_click_delay
is the time that ControllerX is waiting to receive another action from the controller to know how many times the button was clicked. Remember that this is done within ControllerX and it is not natively working from your controller.
Let me know if you have any questions
Regards,
Xavi M.