Hue Tap Dial Switch - use rotating bezel

Hi !

I bought one of the new Philips Tab Dial Switches

The integration of the four buttons in openHAB has worked well and equivalent to a normal dimmer switch (Dimmer Switch State channel goes 1002,2002, etc.)
Unfortunately, I do not manage to integrate the status of the rotating ring in openHAB. By default, there is no channel in which the rotation information is transmitted to openHAB.

Does anyone know this problem, has a solution or at least a workaround?

Best regards Michael

Doesn’t a dimmer work??

What do you mean by a dimmer?
My goal is to receive the rotating bezel information in openHAB and then do the dimming of lights (or whatever) by an openHAB rule.

Best Regards Michael

A dimmer is a device that you can adjust to increase or reduce something. Volume, brightness, speed. So on.
That “rotating” device is a dimmer. So when you rotate to one side, it reduces the brightness, and to the other, it increases.
So I would create a dimmer channel in openHAB to receive the values from the rotation knob.

So you suggest adding a dimmer point manually that is linked to a channel … but what is the name of the channel?

Why… are you using the text gui… anyway. Nevermind, show me that first channel you have first, the dimmer switch. What does that one do?

The Dimmer Switch State gives the state of pressed buttons according to the Table given in Philips Hue - Bindings | openHAB (1000,1001,1002 and so on)
but is not affected by the rotation knob.

Okay so the clicks work. Got it.
Check the logs - when you rotate what command is being sent?

Hi, I observe the same behaviour. Interestingly, pushing the buttons, I get entries in the event log as e.g.

2022-11-25 18:25:46.523 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘Hue_Dial_Marcus_DimmerSchalter’ changed from 2000.0 to 2002.0

However, turning the dial, no entry is shown in the event log.

@MRathmair / @Marcus111 we may be able to learn more if one of you could use a ‘curl’ command to query your Hue Bridge via the new CLIP 2 interface concerning its supported device resources.

// get the list of `device` resources
curl --insecure -H 'hue-application-key: [your_username]' -X GET 'https://[your_ipaddress]/clip/v2/resource/device'

This command should produce a JSON list of all devices in your systems. It should contain (among others) your Tap Dial Switch, so please post the JSON for that one. The Tap Dial Switch device element will contain a list of services comprising rid and rtype which will tells all its supported services. You will certainly see the obvious rtypes – namely device_power, zigbee_connectivity, and 4x button. And the open question is what other rtypes does it have in its services list?

It took me a while to sort out: that’s the content for one (1) Hue dial:

"sensors": {
	"5": {
		"state": {
			"rotaryevent": 1,
			"expectedrotation": -15,
			"expectedeventduration": 400,
			"lastupdated": "2022-12-23T20:53:45"
		},
		"swupdate": {
			"state": "noupdates",
			"lastinstall": "2022-11-24T19:17:54"
		},
		"config": {
			"on": true,
			"battery": 100,
			"reachable": true,
			"pending": []
		},
		"name": "Hue tap dial switch 1",
		"type": "ZLLRelativeRotary",
		"modelid": "RDM002",
		"manufacturername": "Signify Netherlands B.V.",
		"productname": "Hue tap dial switch",
		"diversityid": "XXXXXXXXXXXXXX",
		"swversion": "2.59.25",
		"uniqueid": "XXXXXXXXXXXXXX",
		"capabilities": {
			"certified": true,
			"primary": true,
			"inputs": [
				{
					"repeatintervals": [
						400
					],
					"events": [
						{
							"rotaryevent": 1,
							"eventtype": "start"
						},
						{
							"rotaryevent": 2,
							"eventtype": "repeat"
						}
					]
				}
			]
		}
	},
	"6": {
		"state": {
			"buttonevent": 4002,
			"lastupdated": "2022-12-23T21:00:45"
		},
		"swupdate": {
			"state": "noupdates",
			"lastinstall": "2022-11-24T19:17:54"
		},
		"config": {
			"on": true,
			"battery": 100,
			"reachable": true,
			"pending": []
		},
		"name": "Hue tap dial switch 2",
		"type": "ZLLSwitch",
		"modelid": "RDM002",
		"manufacturername": "Signify Netherlands B.V.",
		"productname": "Hue tap dial switch",
		"diversityid": "XXXXXXXXXXXXXX",
		"swversion": "2.59.25",
		"uniqueid": "XXXXXXXXXXXXXX",
		"capabilities": {
			"certified": true,
			"primary": false,
			"inputs": [
				{
					"repeatintervals": [
						800
					],
					"events": [
						{
							"buttonevent": 1000,
							"eventtype": "initial_press"
						},
						{
							"buttonevent": 1001,
							"eventtype": "repeat"
						},
						{
							"buttonevent": 1002,
							"eventtype": "short_release"
						},
						{
							"buttonevent": 1003,
							"eventtype": "long_release"
						},
						{
							"buttonevent": 1010,
							"eventtype": "long_press"
						}
					]
				},
				{
					"repeatintervals": [
						800
					],
					"events": [
						{
							"buttonevent": 2000,
							"eventtype": "initial_press"
						},
						{
							"buttonevent": 2001,
							"eventtype": "repeat"
						},
						{
							"buttonevent": 2002,
							"eventtype": "short_release"
						},
						{
							"buttonevent": 2003,
							"eventtype": "long_release"
						},
						{
							"buttonevent": 2010,
							"eventtype": "long_press"
						}
					]
				},
				{
					"repeatintervals": [
						800
					],
					"events": [
						{
							"buttonevent": 3000,
							"eventtype": "initial_press"
						},
						{
							"buttonevent": 3001,
							"eventtype": "repeat"
						},
						{
							"buttonevent": 3002,
							"eventtype": "short_release"
						},
						{
							"buttonevent": 3003,
							"eventtype": "long_release"
						},
						{
							"buttonevent": 3010,
							"eventtype": "long_press"
						}
					]
				},
				{
					"repeatintervals": [
						800
					],
					"events": [
						{
							"buttonevent": 4000,
							"eventtype": "initial_press"
						},
						{
							"buttonevent": 4001,
							"eventtype": "repeat"
						},
						{
							"buttonevent": 4002,
							"eventtype": "short_release"
						},
						{
							"buttonevent": 4003,
							"eventtype": "long_release"
						},
						{
							"buttonevent": 4010,
							"eventtype": "long_press"
						}
					]
				}
			]
		}
	}
},

@Marcus111 many thanks. However I think the data you showed is too far down the tree to be useful. Do you have something containing’rid’ ‘rtype’ and ‘services’ elements?

Just for info: The Hue API v2 supports the dial, but the API v1 does not. I am currently working on an extension to the OH binding to implement API v2.