ebaauw / homebridge-deconz

Homebridge plugin for deCONZ
Apache License 2.0
135 stars 7 forks source link

support for rotary sensor of new hue tap dial #72

Closed AlexAhrens closed 2 years ago

AlexAhrens commented 2 years ago

are there any plans to add the support of the rotary sensor of the new hue tap dial switch to be used via deconz/phoscon and home bridge for dimming ##e.g. purposes?

ebaauw commented 2 years ago

No plans. Support was added in v0.0.18, exactly a month ago today.

AlexAhrens commented 2 years ago

okay, thanks for the info, than it's just me that I don't know how to expose it and make it useable within homebridge/homekit

ebaauw commented 2 years ago

The tap dial switch is exposed to HomeKit as six buttons, where button 5 (right turn)and 6 (left turn) are for the dial. They issue Single Press events every 400ms while rotating.

AlexAhrens commented 2 years ago

I see, that’s what I was looking for as info. Sadly,my setup only shows the 4 dotted buttons. (See attached screenshot from HomeKit, unfortunately in german.

I‘m running HomeBridge v1.50, deconz/phoscon v2.17.1 & HomeBridge-deconz v0.0.22

any idea where I might have a look to exposure the mentioned zwei rotary switches?

CD449C00-76EE-4207-A65C-39238A5D2D4A

ebaauw commented 2 years ago

The deCONZ REST API should expose two /sensors resources for the Hue tap dial switch: a ZHASwitch for the buttons, and a ZHARelativeRotary for the dial. It would seem the latter is missing; it was introduced in v2.18.0-beta, see https://github.com/dresden-elektronik/deconz-rest-plugin/pull/6164. I am surprised the ZHASwitch resource is exposed by v2.17.1. Did you copy the DDF file yourself?

AlexAhrens commented 2 years ago

Thanks for the info, will look into it once 2.18. releases.

I didn't copy any updates by myself nor did I ever switched to the beta update channel, I was surprised also. It even exposed the 4 buttons on v2.16.1 out of the box.

Bildschirmfoto 2022-09-18 um 16 41 16