Hello,
my Philips RWL021 Hue dimmer is supposed to control other devices (I use CC2652P7 from cod.m as a ZigBee coordinator). I come from FHEM automation and am now impressed by the simplicity of Home Assistant.
Under FHEM I was able to evaluate all 4 buttons on the dimmer as well as long presses.
I simply tried automations. Of course I can also select the HUE dimmer as a device, but the automation just doesn’t work.
The whole thing also affects blueprints if I then specify the HUE device as a trigger for roller shutters, for example.
The HUE dimmer obviously doesn’t work so easily with non-lamps…
Oh, and I’m using RWL021 and RWL022. Thanks for the help!
I was able to use the Hue dimmer as a switch with other SmartHomeAutomations without any problems.
I would be happy if someone could help me to find out whether I can also link the HUE dimmer to other devices, such as switches or roller shutters (in my case, Homematic roller shutters). I have tried various blueprints. Unfortunately, without success.
There should be no problem using this device to control any other device in HA. Just create an automation for it (skip the blueprints). If you are having trouble creating an automation for this please show what you have tried (paste the yaml for the automation)
Thank you very much,
here is the yaml. The “On” button should simply raise a roller shutter (Homematic). Device IDs are used in the yaml… Not the correct names. Maybe that’s a problem.
I worked with the German solution Fhem for a long time… I’m still getting to grips with HA.
I think there is a difference in how HAT processes the events. Directly on the device, the incoming buttons are displayed like this: “Kitchen_HUE (Philips RWL021) On event was fired”.
As you know, the RWL021 has 4 buttons: on, dim+, dim- and off.
Each button has 4 modes: on_press, on_press_release, on_hold and on_hold_release.
Start the automation by ‘decoding’ the buttons that are pressed, so that you can use them later to control your lights, switches, screens, etc.
See the example below.
Hello,
thanks for all the help - but I can’t get it to work.
I can see that something is happening on the Hue device in HA. But my automation isn’t working.
I am guessing you worked out something else by now.
I am not sure why it is not working. I have both RWL21 and the newer RWL22 dimmers and I have both doing other things in Home Assistant. I just used the UI to do it, not YAML though. I went in, created an automation, Trigger type device, located the dimmer I wanted to use and selected the function from the drop down. It was pretty easy. One of my 4 button dimmers controls the power outlet for my washing machine and dishwasher, using the on button to turn on the washing machine. Dim up to turn on the dishwasher, Dim down is spare atm, and the Off button acknowledges when the Washing Machine or Dishwasher is emptied. I am in a small unit, so dishwasher and washing machine are side by side.
It just worked for me.
If you can’t get the YAML to work, just do it via the UI. All the functions for the triggers are available there, just set multiple triggers and use the Trigger ID as your condition on each action.
I also did some trying out few things on device level and automations myself. ZHA events ‘listening’ on dev tools helped a lot to figure out ‘triggering failures’.
In the end switched to Controller - Philips 324131092621 Hue Dimmer switch | Awesome HA Blueprints which is mostly working (except the double press, still looking if i find the time)