I just bought the Hue Tap Dial [Philips Link] as a pilot test if I could use it to start some flows (yes it does) and can change my speaker volume or dim lights with the added spinning dial/knob.
The latter is kinda confusing tbh. The flowcard that is available says “if the dial is turned left/right”, but is not registered as a linear input while spinning the dial. Instead it registers the input as a buttonpress, dimming or turning down volume with a single step. This means it wouldn’t even be possible to build the original intented automation (dim lights by spinning), and I have to start/stop the spin multiple times to get my dimming anywhere.
I don’t understand why the flow card was set up like this, am I doing something wrong?
I’d the same idea and issue. First I added the Tap Dial using Matter integration with Hue Bridge. But the Tap Dial features are not usable, only the button press cards are available.
Than I added the Tap Dial with Hue Bridge native integration (Hue app) and now I got the required cards for the dial. Here’s my advanced flow to control dimming lights in the room:
No, you have to stop the spin. As you can see, the card triggers when stopped and reports the steps (1000/turn). You can take this number value and calculate what you want.
Because Hue lights can be dimmed with values from 0 to 1, you have to calculate steps between that. And I mapped the steps to percent: 3 clicks = 3 percent = 0.03. The value is saved in a number variable. Second math is a decision to take care on min=0 or max=1. Don’t step beyond this boundary It’s up to you, which min/max you want to use.
My room has several lights, which are controlled by the tap dial. Only one light is different: the ceiling light. So I check the group and ceiling light and set dim value for both to prevent setting it if group is off and ceiling light is on.
Maybe this helps to understand the logic in my flow.
Thanks for taking the time to break it down! Will take some puzzling but this is certainly enough to get me going. So this does mean homey is able to count the steps/clicks while spinning and not just registers it as 0/1? And in your example that translates to ×% dimming by formula when you stop rotating. Correct?
@dferch sorry to disturb you once more, I’m almost there. But I cant get my head around the steps (1000/turn) variable as I cannot find that one setup by default. Did you generate this manually as a number value, and if so, how it that one getting the right amount of “turn clicks” send through by the button?