LIFX / lifx-protocol-docs

LIFX LAN protocol V2 documentation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lamp Power?

autolog opened this issue · comments

commented

The documentation states:

The power level can be either standby (0) or enabled (65535).

I note that when I brighten or dim a lamp over say 10 seconds and query the lamp every second (via a Get - 101) that the Power Level is coming back as a slowly increasing (or decreasing) value.

The documentation states:

There are a duplicate set of device power related messages, Device::GetPower, Device::StatePower and Device::SetPower, which are extended for lights by adding a duration field to Light::SetPower.

This implies there have been changes in this area. Passing back a variable value for Power Level is actually quite useful - is the documentation out of date or is this an unsupported feature?

commented

It seems the Power Level (from 0% - 100%) represents the percentage of the actual brightness selected. For example, if you set the brightness level to 80%, then when the Power Level = 50% (32,768) this equates to a brightness level of 40%.