I pushed the pairing button 4 times, let it do its thing for 5 or so seconds(long enough to stall but not long enough to time out) then pulled the battery and plugged it back in after 1-2 seconds. no additional button presses.
Iāve spent about 3 hours trying to get the RODRET remote to connect to HA. Tried the 4 button thing, holding the button, rebooting, pulling battery out, but nothing. Iāve got 2 and they both get stuck at Configuring, and even if I get them to connect (so they show the battery percentage), I canāt get them to work with any automations. I have patience like many have sugessted, but Iām thinking I might give up. (Iām using ZHA, rPi3, and a Sonoff 3.0 Plus thing)
I notice in my logs that this blueprint is trying to use zigbee2mqtt even when the device is set as a ZHA - I see a lot of these error messages:
Logger: homeassistant.components.automation.controller_hallway_dimmer_3
Source: components/automation/__init__.py:842
integration: Automation (documentation, issues)
First occurred: 16:23:43 (5 occurrences)
Last logged: 16:23:43
Got error 'Cannot subscribe to topic 'zigbee2mqtt//action', make sure MQTT is set up correctly' when setting up triggers for Controller - Hallway Dimmer 3
I use a similar blueprint for Styrbar remote controls where one of the settings is which Integration to use - ZHA, Zigbee2MQTT or Deconz. Perhaps that would work better.
That blueprint suggests it can also work for Rodret, but I have not been successful, so sticking with this one for now
Thanks, this worked effortlessly!
Is there any way to control the steps when using it for dimming (hold). It goes in too big steps on my setup.
Like many I had massive issues getting these RODRETās to pair. What worked for me was doing the initial pairing which stalls at configuring but the device shows with no battery or events firing. I then pulled out the battery, held the pairing button and kept it held whilst I inserted the battery. After about 10 seconds of still holding the pairing button after the battery was inserted I released it and all button events were now firing, battery was showing and this blueprint worked.
Iām using ZHA on 2024.8.1 with a Sonoff Zigbee 3.0 USB Dongle
@Maart3n It seems like we could do this. I found this guy on Youtube:
I was able to replicate this using the SOMRIG shortcut button (itās the same thing as the RODRET but has the double pressed event by default). It seems like all we need for this to work is to be able to select the already defined triggers and for the script to be set to ārestartā instead of single. It seems that @damru already has the ārelease from holdā trigger set which would have been the 3rd requirement.
Cantāt upload a screenshot since iām new ! [hass|690x371](upload:// ncv4c3YBFMVDnx4eqhpeKJJNTUW.png)
Hello,
Thank you for this blueprint. I succeed to use single on/off & hold press buttons but i absolutely donāt understand how to activate double/triple press actions ?
You talk about activate with expose ? How i manage to do this ? Iām running under Z2M.
Excuse me if this is a noob question
Following setting āexposeā/activate the double press action:
If it is still not working care to share your yaml and a printscreen of yours?
Itās strange because i donāt see the ādouble press eventā like yours :
the yaml:
alias: IKEA Rodret Dimmer (Zigbee2MQTT)
description: ""
use_blueprint:
path: Grateful-J/ikea-rodret_E2201_ZHA-Z2M_control-light.yaml
input:
remote_name: Telecommande Chambre
on_click_action:
- action: light.turn_on
metadata: {}
data:
transition: 2
brightness_pct: 20
target:
area_id: chambre
off_click_action:
- action: light.turn_off
metadata: {}
data:
transition: 2
target:
area_id: chambre
off_hold_action:
- sequence:
- action: light.turn_off
metadata: {}
data: {}
target:
area_id:
- salon
- meuble_tv
- type: turn_on
device_id: 8ff4668a7f07565e792896e4d9efc407
entity_id: d20be2967b1c097d308651fcac051733
domain: light
brightness_pct: 20
flash: short
off_double_click_action:
- type: turn_off
device_id: 6e480e775d43c511d43167b731ecbc14
entity_id: 2a0eb7b72d6563907f7e3c1614a9de4e
domain: light
helper_multi_click_delay: 250
off_triple_click_action: []
on_double_click_action:
- type: turn_on
device_id: 6e480e775d43c511d43167b731ecbc14
entity_id: 2a0eb7b72d6563907f7e3c1614a9de4e
domain: light
brightness_pct: 50
Ohh God , i guess what is false : reading my yaml title, i saw that i use the wrong blueprint "light & not the anything blueprint
Edit : @MrBearPresident : thanks for the help
New release of the blueprint is here.
The code is now available in github.
v2.0.0
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
Hey, I also use this blueprint.
Any reason for existing automations to do the change?
Iāve copied alot of your code. (see IKEA STYRBAR Dimmer Remote (E2001/E2002) - ZHA/Z2M - Control anything) do you advice me to change this?
If you dont own a Somrig remote thereās no real need so far.
Other than that, the thing is that the v1 trigger syntax (ie using platform: event
for ZHA or platform: mqtt
for Zigbee2MQTT) might become unsupported at some point.
Iāve switched from ādirectā connection between Rodret and TRĆ DFRI (IKEA LED driver for kitchen under-cabinet lights) to HA integration and this blueprint because I wanted to control the lights not only with the remote but also automations and so on.
But, after I switched I experience the same two issues that others reported here earlier (but I couldnāt find a solution):
-
Brightness change steps are too ābigā (10%), especially if you compare with the ādirectā integration (it was completely smooth and you could not notice a step).
Is there a way to improve this and make changes more smooth? -
If I hold a dim button too long - lights go to 0%. It was mentioned here that they should go to 5% (or something) and stop, but itās not a case for me.
Am I doing anything wrong?
I think youāre mistaking with this other blueprint IKEA RODRET Dimmer + SOMRIG Remotes - ZHA/Z2M - Control Light ?
This one does nothing to the lights, you have to implement it yourself.
The other one, however, does handle a light. The steps are 5% brightness every 0.1s until 1%
The fact that it sometimes go to 0% is because the template does not pick up the correct brightness in real time. Iām trying to fix that but Iām not sure I can as itās probably related to the entity refresh rate.
Also, it will probably never be as smooth as direct ZigBee connection because of the extra processing time within HA.
Hi,
First of all thank you for this blueprint is very helpful.
What Sergey means is that when the lights are dimming, the process is not smooth like when you would connect an ikea light directly to the RODRET switch, but when the lights are getting dimmed, you can see every dimm step.
I have modified the blueprint to dimm it 1% for every step, and itās still not smooth but rather noticeable.
Do you know if there is a way to dim the lights and not notice a sudden increase in the brightness? I am using the ligh control bluepring
@Serega and @iamnewtoautomations and all others that not know this.
You can connect the rodret directly to hass/z2mqtt AND directly to the desired lamp.
You have to link them in de config minder bindings.
Example for z2mqtt
Did you also bind the levelCtrl?
I have this working for me.