Smart Home & IoTDocumentedScanned

openhue

Control Philips Hue lights/scenes via the OpenHue.

Share:

Installation

npx clawhub@latest install openhue

View the full skill documentation and source below.

Documentation

OpenHue CLI

Use openhue to control Hue lights and scenes via a Hue Bridge.

Setup

  • Discover bridges: openhue discover

  • Guided setup: openhue setup


Read
  • openhue get light --json

  • openhue get room --json

  • openhue get scene --json


Write
  • Turn on: openhue set light --on

  • Turn off: openhue set light --off

  • Brightness: openhue set light --on --brightness 50

  • Color: openhue set light --on --rgb #3399FF

  • Scene: openhue set scene


Notes
  • You may need to press the Hue Bridge button during setup.

  • Use --room "Room Name" when light names are ambiguous.