Hue tap dial switch as media player remote using Node-RED and Home Assistant (flic twist killer?)

  Рет қаралды 2,981

DIY techie

DIY techie

Күн бұрын

Turning the Philips Hue Tap Dial Switch into the perfect media player remote.
In the Hue app the dial switch can only control lights, but using Home Assistant and Node-RED, I made a great automation/flow that turns the dial switch into the perfect media player remote (much better than the IKEA Symfonisk and Sonos remotes). And it still controls the lights as well. Check out the video below to see it in action.
When the volume is 0 % the music will auto-pause, and when the volume is turned up, the music will auto-play. To avoid any unpleasant surprises, the volume will always start at 8 % if you twist the dial while no music is playing. For the same reason, the maximum volume increase on a single twist is set to 9 % (percentage points).
When the remote is in "brightness mode" it will auto-revert to volume mode after 3 seconds with no adjustment.
*Please note that the dial click sounds in the video are vastly exaggerated because the camera is right next to the remote and far away from the Sonos speaker being controlled.
The Node-RED flow can be found and downloaded here:
deCONZ version: flows.nodered....
Zigbee2MQTT version: flows.nodered....
Check out my other public automations/flows here: flows.nodered....
(the single button deCONZ dimmer flow gives you the smoothest dimming possible and the single button multi-press flows gives you the fastest reacting multi-press actions)
***
Music credits:
Full track by Todd Stucky / Levitate
( • Todd Stucky - Levitate... )
Free download here: spinninrecords...
Full track by WIN WIN, FAME Sounds, Lola K / Make It Right
( • WIN WIN, FAME Sounds, ... )
Free download here: spinninrecords...
Full track by Matisso / Falling Into Space
( • Matisso - Falling Into... )
Free download here: inninrecords.com/releases/falling-into-space
For more Copyright free music subscribe to spinnin.lnk.to/...

Пікірлер: 25
@DIYtechie
@DIYtechie 3 ай бұрын
Zigbee2MQTT version of this flow can now be downloaded here: flows.nodered.org/flow/908b8dd4d4cc55f5e9c25f2e55bc518f
@user-cy8vl4zn2m
@user-cy8vl4zn2m 9 ай бұрын
Great! Thank you 🙏👍
@erbartlett
@erbartlett 4 ай бұрын
I bought the tap dial based on this video!! It’s really a great device. I’m using Sonos in home assistant and the dial works but the buttons didn’t. Any idea on how I can get the buttons working?
@DIYtechie
@DIYtechie 4 ай бұрын
Depends on the integration. Did you use the flow in the link?
@erbartlett
@erbartlett 4 ай бұрын
@@DIYtechieyep, I used your flow. I can post a link to the screenshots if that helps. The dial works beautifully! The tap buttons just don’t register anything at all. Using Deconz / Conbee II / Sonos integration
@erbartlett
@erbartlett 4 ай бұрын
@@DIYtechie I tried to send you a link to a screenshot of the flow, but KZbin keeps blocking it.
@DIYtechie
@DIYtechie 3 ай бұрын
As discussed elsewhere, the solution is to set output payload to “button event” instead of “complete payload” for the ZHASwitch. Happy you got it working 😊👍🏻
@nghtrdr
@nghtrdr 9 ай бұрын
Awsome, well done
@wise3p460
@wise3p460 3 ай бұрын
Hello thanks for your flow. Possible adding a possibility for a double clic, triple clic?
@DIYtechie
@DIYtechie 3 ай бұрын
If you add a debug node to the ZHASwitch node and double press any of the buttons you should see what events are sent (1002, 2003 etc). Simply add that number to the “sort input” switch node. I recently switched to Zigbee2MQTT so won’t be updating my deCONZ flows. But they should all still work perfectly.
@wise3p460
@wise3p460 3 ай бұрын
​​@@DIYtechieperfect I m on zigbee2mqtt and not deconz :-) I adapt your flow with many chance because I m a newbee :-) At this point I can use your flow for control music(play pause(3),previous track(1),next track(2), change source(4 hold), volume with dial), light (4) then if I dial after press 4 -> increase or decrease brightness.if I press (2 hold) -> then dial left right -> change température light. There are again some bug... Want to find a way of double clic triple clic. Also if for example some button press in an order between a time defined (4 4 then 1 for example) then a contexte variable is send then if dial left or right leading to an output of the switch.. I read this is possible with trigger delaycand a function of debounce but it s to much complicated for my knowledge :-( For the control of température I arrive with help of chatgpt :-( If I can share my flow to you, but don t know how. Don t hesitate Again thanks for this flow which is GENIAL :-) and happy you pass to z2m :-) Impatient reading you
@rmckrick3261
@rmckrick3261 9 ай бұрын
genius !! many thanks 😀
@janstergaard703
@janstergaard703 6 ай бұрын
Altså jamen ffs. Nu bliver jeg jo nødt til at købe endnu en smart dims. :)
@DIYtechie
@DIYtechie 6 ай бұрын
Sorry 😅
@janstergaard703
@janstergaard703 6 ай бұрын
@@DIYtechie Det må du nok sige, havde lige overset du ikke brugte ZHA... Men nu den i hus, så bordet binder. Men så må jeg jo bare dykke ned og bliver klogere på det også, det jo dejligt nørderi sådan noget. Men flot arbejde og ikke mindst præsentation!
@valarie1990
@valarie1990 5 ай бұрын
@@janstergaard703 hi i have made it working with zha, if you want i can show it to you
@DCJona
@DCJona 7 ай бұрын
wonderfull !
@wise3p460
@wise3p460 7 ай бұрын
Hello, wonderfull. I try to convert From Deconz To Mqtt but i don't be able to do this because i'm a newbie. Possible having help? Tks
@user-pq2wk2fq6r
@user-pq2wk2fq6r 5 ай бұрын
I also would be interested for a how to convert one to the other.
@DIYtechie
@DIYtechie 3 ай бұрын
I actually switched to Zigbee2MQTT recently, so will be sharing an mqtt-version soon 😊🙌
@wise3p460
@wise3p460 3 ай бұрын
@@DIYtechie Hello DIYtechnie. Have you got an idea when you share your mqtt-version? :-) I broke my key "F5" as i multiple Refresh my screen many time by day 🙂 I imagine it takes many time to update all info in your blog. Hope you read soon :-) I follow to spend my evening searching all info 🙂
@DIYtechie
@DIYtechie 3 ай бұрын
@@wise3p460 Busy with work, so can’t say when exactly, but I will try to respond to this comment when I share it, so you are notified.
@wise3p460
@wise3p460 3 ай бұрын
@@DIYtechie Thanks a lot, i understand. Good work to you :-)
Automatic smart light brightness and color based on the sun
8:37
Home Automation Guy
Рет қаралды 47 М.
Or is Harriet Quinn good? #cosplay#joker #Harriet Quinn
00:20
佐助与鸣人
Рет қаралды 48 МЛН
Violet Beauregarde Doll🫐
00:58
PIRANKA
Рет қаралды 50 МЛН
Blue Food VS Red Food Emoji Mukbang
00:33
MOOMOO STUDIO [무무 스튜디오]
Рет қаралды 34 МЛН
Protect Your Home with New Security Devices From Philips Hue
13:02
George Langabeer
Рет қаралды 30 М.
Smart Motion Lights: AVOID these mistakes!
8:04
Smart Home Solver
Рет қаралды 332 М.
PHILIPS HUE DIMMER - Control Hue and Other HomeKit Accessories
7:52
The Brad Lloyd
Рет қаралды 54 М.
RIP Philips Hue & Govee
16:28
Zac Builds
Рет қаралды 707 М.
Node-RED Advanced für Home Assistant
15:44
Tristan's Smartes Heim
Рет қаралды 11 М.
Home Assistant Wall Panels
19:31
Home Automation Guy
Рет қаралды 204 М.
Or is Harriet Quinn good? #cosplay#joker #Harriet Quinn
00:20
佐助与鸣人
Рет қаралды 48 МЛН