IKEA RODRET Dimmer + SOMRIG Remotes - ZHA/Z2M - Control Light

@damru : THANK YOU.

If I can assist improving Documentation, UX/UI … just let me know by pm/pn. “I’m the normal one.”

Credits to Simon42 (German !!!):

Simon gave me the final kick in my … to leave ZHA and jump over the cliff to Zigbee2MQTT.

I went with ZHA due to the name and the expectation that ZHA would prosper and integrate better in HASSIO. Mistake … Big Mistake.

Zigbee2MQTT is by far best choice.

@damru
How does your Hold on / Off selections look like on yours?
I tried different things and nothing seems to happen when I hold down the on and off button on my RODRET.

The same goes for the double and triple click :confused:

The pairing went fine and it looks like correctly exposed in Z2M.
But so far I have only been able to get the turn on and off feature to work.

Thanks for this. Love the simplicity. I would LOVE it though if you could choose the color temp too. I want the on function to always turn to a set brightness, and set temp (not the last color used)

Thanks for this! Generally it’s working fine for me, but there is a bug.
If I press the off button while my light is off, the light will turn on. Pressing the off button again will do nothing. I then have to press the on button before the off button will turn off the light.
It’s not a big problem for me because I know it, but guests could be confused if they accidentally turn on the light using the off button.

Hi @all,

first thank you for the great work.
Is it possible to integrate deCONZ integration?

I can only find Blueprints with ZHA or Z2M support …

Many thanks

New release of the blueprint is here.
The code is now available in github.

v2.0.0

:bomb: BREAKING CHANGE

  • when using Zigbee2MQTT, device must be reselected in the automation as the device selector was merged with ZHA instead of having a plain text input.

What’s Changed

  • feat: add IKEA SOMRIG support
  • chore: change syntax from platform to trigger
  • chore(z2m): move from mqtt topic to device action

:blue_book: Import the blueprint from first message

@damru great work! Only problem I’m having is when holding off button, it is dimming directly to 1% and dimming up goes very fast. Possible to slow down dimming speed? Using somrig.

Hey,

I increased the timing between 2 steps from 0.05s to 0.1s. With the 5% brightness step, it should take ~2sec from 100% to 1%.
I could have exposed these 2 parameters, but I’d prefer to keep this blueprint as simple as possible.
If you want more flexibility, you could check my other blueprint IKEA RODRET Dimmer + SOMRIG Remotes - ZHA/Z2M - Control anything

v2.1.0

  • chore: use new yaml syntax
  • fix: turn off in control_light for zha e2201 by @leahoswald
  • feat(CL): increase dimming step delay from 0.05s to 0.1s

:blue_book: Import blueprint from first message

Thank you, this helped.

When holding down off button, dimming down starts but does not stop when releasing the button like it does when dimming up. I have to press down button again for it to stop. Is this on purpose?

This should not happen. What integration are you using: ZHA or Zigbee2MQTT ?

I’m using ZHA

I tested now with another SOMRIG connected to a different light and it is doing the same.

Sorry I cannot debug ZHA at the moment.
Could you check your automation execution history, see if it is triggered when you release the button ? Basically it should be triggered and do nothing besides interrupting the previous execution (when holding down the button).
Also, do you have the same behaviour when holding down on button ?

When dimming up, command: long_release is registered in the execution history and the lights stop dimming up when releasing the ON button. When doing the same with the OFF button it does not trigger a command: long_release and the lights continue to dim down after releasing the button.

I pushed a fix but I’m in the dark as I dont have access to my zha setup.
Can you try to refresh the blueprint and check again please?

Sorry, now it immediately goes down to 1% without dimming step by step.

It should be ok now.
You can refresh the blueprint :crossed_fingers:t2:

1 Like

That did the trick. Thank you

Hi everyone,

I’m using an IKEA Tradfri power supply connected to a smart outlet that operates on a schedule. The outlet powers my computer, monitors, and other equipment, including spotlights. It’s set to turn on at 7:30 AM and off at 4:30 PM daily.

The Tradfri power supply controls my spotlights using this blueprint and a Somrig remote. However, I’ve noticed that the spotlights always turn on automatically when the power is restored in the morning. I’d like to prevent this from happening and keep the spotlights off when the outlet turns on.

Does anyone have a suggestion on how to stop the spotlights from turning on automatically? Could this be something added to the code to prevent the spotlights from powering up when the outlet is restored each morning?

Thanks in advance!