peter-murray / node-hue-api

Node.js Library for interacting with the Philips Hue Bridge and Lights
Apache License 2.0
1.19k stars 145 forks source link

Get current brightness for light. #117

Closed FozzieHi closed 6 years ago

FozzieHi commented 6 years ago

How would I get the current brightness for a light?

Thanks in advance.

peter-murray commented 6 years ago

See this documentation https://github.com/peter-murray/node-hue-api#getting-the-current-statusstate-for-a-light

The returned state object has a “bri” value that is the brightness.

FozzieHi commented 6 years ago

Thanks!