Support for the buttons of the Philips Hue Tap Dial Switch (Zigbee2MQTT)

Hi @curing,

Thanks for the diagnosis, it was spot on: Gladys didn’t recognize any of the Tap Dial actions, so the « Button Click » feature never received any status.

I opened a PR to fix this: fix(zigbee2mqtt): support Hue Tap Dial switch (RDM002) button actions by cicoub13 · Pull Request #3282 · GladysAssistant/Gladys · GitHub

What is covered, for the 4 buttons:

  • short press (button_N_press_release) → « Button N single click »
  • long press (button_N_hold_release) → « Button N long click »

In your scene, you’ll just need to choose for example « Button 1 single click » as the trigger.

Gladys only reads button releases. A short press sends press then press_release. A long press sends press, then hold (possibly several times as long as you hold the button), then hold_release. By only reading the releases, each press triggers the scene once, and a long press doesn’t also trigger the short press.

What is not covered: the wheel. It sends a message for each notch, so a scene linked to the rotation would start several times with each gesture. To vary the brightness, the genLevelCtrl binding you’ve already set up in Z2M remains the best solution, as it is much more responsive than a scene.

The fix will be available once the PR has been reviewed and merged into a future version of Gladys. I’ll keep you posted!