Rooms

Display and control the lights.

Get Rooms

Usage

openhue get room [roomId|roomName] [flags]

Aliases: room, rooms

Flags

Name
Shorthand
Default
Usage

json

j

false

Format output as JSON

Examples

# List all rooms as a table
openhue get room

# List all rooms as JSON
openhue get room --json

# Get details for a single room in JSON format
openhue get room aa31ba26-98a7-4830-8ae9-1b7caa8b5700 --json

# Get room by name
openhue get room Studio

Set Rooms

Usage

Aliases: room, rooms

Flags

Name
Shorthand
Default
Usage

on

false

Turn on the light(s)

off

false

Turn off the light(s)

brightness

b

Set the brightness [min=0, max=100]

color

c

Color name. See Rooms

rgb

RGB hexadecimal value (example #CCE5FF)

cie-x

x

X coordinate in the CIE color space

cie-y

y

Y coordinate in the CIE color space

temperature

t

Color temperature in Mirek [min=153, max=500]

Examples

Last updated

Was this helpful?