Skip to content

Instantly share code, notes, and snippets.

View ashishdevasia's full-sized avatar

Ashish ashishdevasia

  • Earth
View GitHub Profile
blueprint:
name: ZHA - Moes Smart Knob for lights, fans and media control (Advanced)
description: >
Control lights, fans and/or media player with a Moes Smart Knob.
You can set separate controls for normal rotation and press-and-rotate actions.
Rotating left/right will change the brightness of the selected light, the speed of the selected fan, media volume or track smoothly.
Press-and-rotate allows for controlling a different device or the same device with different steps.
You can set a function for a single press, e.g., to activate a scene.
Not all functionality of the device is available at time of writing, e.g. double press and long press.
Original blueprint by seamus65, improved by GonzaloAlbito and amrutprabhu.