Skip to content

withmaia/maia-hue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

maia-hue

Maia service for Philips Hue lights. Mostly a wrapper around node-hue-api

Methods

maia:hue.{
    lights
    fullState
    getState
    setState
    pulseState
    turnOn
    turnOff
    setRGB
    pulseRGB
}

lights

List of all lights.

fullState

Full available Hue hub state: all lights, group, config, schedules, scenes, rules, and sensors. See relevant node-hue-api documentation for more details.

getState [n]

Returns a JSON object representing the state of light n.

setState [n] [state]

Set the state of light n as a JSON object. See the output of getState for values you can set.

pulseState [n] [state] [t]

Apply setState for t milliseconds

turnOn [n]

Turn on light n.

turnOff [n]

Turn off light n.

setRGB [n] [r] [g] [b]

Set RGB value of light n.

pulseRGB [n] [r] [g] [b] [t]

Set RGB value of light n for t milliseconds.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published