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 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:
Zigbee2MQTT version: https://flows.nodered.org/flow/908b8dd4d4cc55f5e9c25f2e55bc518f
deCONZ version: https://flows.nodered.org/flow/c95d562d4858cbe1bf80fee95ba9815f#
Check out my other public automations/flows here: https://flows.nodered.org/user/DIYtechie
(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)


Leave a Reply