ZHA - Philips Hue Tap Switch Mini - Custom Controls (RDM002)

Important Note: RMD002 support is added to the November 2024 release of Home Assistant. This blueprint will not work with earlier versions.

This blueprint enables complete automation of a Philips Hue Tap Dial/Switch (RMD002) control. This includes support for rotation events as well as long press and single, double, triple, and quadruple presses of all buttons.

I’ve made another blueprint which is pre-configured for control of a “Media Player” device such as Sonos, Roon, and others. That blueprint can be found here: ZHA - Philips Hue Tap Switch Media Controls (RDM002)

How To:

  • Install the blueprint
  • Select your RDM002 controller
  • Follow the detailed description in the blueprint to customize all actions

This blueprint support velocity-sensitive control of the dial which means that you can provide different actions depending on how quickly the dial is rotated. Complete instructions are provided within the blueprint.

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

This illustrates the blueprint’s support for rotation controls. The first section is used to tweak how “small”, “medium”, and “large” rotations are determined. Below that are the automations you want to occur for each direction and size of rotation. Logbook support is available to help debug and tweak how this works for your individual setup.

This illustrates the blueprint’s support for all of the various types of button events for a specific button. The customizations exist for buttons 1, 2, 3, and 4.

Blueprint code is available at this gist.

2 Likes

Hi! Thanks for this BP this is exactly what I was looking for a while now. :slight_smile: Slight notice, somehow the double and multiple press doesn’t work. If I check it in the traces, it shows me that it somehow completely passes the code lines on the side and comes nothing out. Press or hold works as intended.

1 Like

Hello and thank you very much. Looks like zha is reognizing the different press typees now, which is great.

fyi. I had to adapt the command for all buttons in your blueprint like from “button_1_double” to “button_1_double_press”.

Thanks for this info. I’m sorry about the bugs. I’m traveling now but will be home in a week and will fix the issues in an update.

Loving this blueprint! It is working beautifully in the kitchen to control the music.

Question for you… Is there any way to have it control the volume of a group of speakers? I currently have this configured to control the Sonos speaker in my Kitchen. But we fairly regularly group the Living Room, Office, and/or Living Room (also all Sonos). It could be any permutation of those four zones, so unfortunately, I can’t set it up to always be the the same 2 or 3 combined as it regularly changes. As it stands right now, it will just control the Kitchen when they are grouped.

Appreciate the work on this! Thank you!

The blueprint has been updated to fix multi-press events. You can re-install with the installation button in the first post. Sorry for the issues.

Thank you to @LightBringer81 and @Schurki for reporting the issue.

2 Likes

Is there a good way to set this up in a way for the dial to control dimming of an area?

Most definitely.

You just need to provide behaviors for the three clockwise and three counter clockwise rotation events.

For each, just choose “Add Action”, then “Light”. Then choose the specific light device or the area that contains the lights you want to control and set the brightness step. You can play with what you want the brightness step to be for small, medium, and large rotations. You can make them all the same or give them different values based on the behavior you like.

It’s pretty straightforward.

Thanks for the idea, I’ll try it out! I was hoping it the brightness could be automatically proportional to how much the dial has been turned, but I will try my had at advanced automation one of these days

It will be proportional to how much it’s turned if you automate it the way I described.

A small turn of the dial will change the light a little bit. A medium turn of the dial will change it more. A large turn will change it even more.