LIFX Driver Code

Just to piggyback on another thread.. but are the CT mode on the color bulbs just slightly “off”, especially when compared to hue bulbs? I swapped out a hue bulb for one of the Lifx bulbs for testing purposes and the CT whites are just feel slightly red down in the 2700 range that I was using previously.

1 Like

I have noticed a difference.. but I would argue that the LIFX CT is more accurate..

1 Like

Moved this public.. I will also be updating docs.hubitat.com with all the developer related LIFX stuff..

3 Likes

Making progress here..

https://docs.hubitat.com/index.php?title=LIFX_Classes

2 Likes

@bcopeland Firstly just wanted to say thank you for making this integration officially! been waiting for it for ages and I'm so glad it's finally on Hubitat.

I have noticed some strange behaviour: I have 28 A19s - if I want to turn them on or off using the on / off control straight from the admin - I've noticed I have to double tap/click the on or off command button for it to work - any ideas on this?

1 Like

@bcopeland I am having the same issue re: double tapping that I posted here yesterday: LIFX Built-in drivers - questions and discussion - #48 by dario_rossi

Any advice would be appreciated!

Can you turn on debug logging and screenshot the logs when this happens?

Light was on at 5:26pm (started as on). I pressed off at 5:26:31.252 but light did not turn off. Waited until 5:30:30.668 and double clicked the off button and light turned off and you can see the info message that light was off. Clip of logs is below. I redacted info that looked like it could be identifiable. If you need more specific info, can we communicate outside of this thread?

@bcopeland Also worth mentioning this double tapping issue is actually more than just from the admin. If I set a button to turn on an LIFX light when it is pushed using a simple rule, it won't work (or at least 8 times out of 10 it won't work) unless the command is issued twice one after another in the rule script.

I agree with @AdamV I just used the device page as an example but the behavior is same regardless of where used: dashboard, device page, rules, etc…

Last thing from me - @bcopeland did .115 address this potential issue in trying to send commands to many devices that are off from a power source: LIFX Driver Code - #9 by csteele

The code does not currently attempt any re-transmitting.. So there should be no issue if a bulb has no power

1 Like

Does the lifx API support "start raising/lowering" and "stop changing"? Use case: Lutron Pico working as expected with Hubitat via lutron integration. Using Button Controller to assign commands to buttons produces no results when assigning a button to "start raising" a lifx bulb when held and to "stop changing" when released. Assigning on/off/toggle or even increment by a set % works as expected when pressed/held/released, but holding to dim or brighten in either direction does not work.

2 Likes

It doesn't support it in the firmware on the device.. But I am looking into possibly adding it as a driver feature..

3 Likes

It would be a welcome addition. I use my picos in this fashion to control existing dimmers, so if I swap a plug in lamp dimmer for a lifx bulb and the pico doesn't work as expected then the whole universe will come crashing down. :slight_smile: I assume others would like to avoid the apocalypse as well.

Well.. We wouldn’t want that :wink:

Just to +1 to this feature - definitely something that I could use

Another +1. I replaced a couple of Sengleds with Lifix on my kitchen island. I have been controlling those with an Inovelli Red SN as a button controller. "Adjust" is a work around but not really. Raising and lower is smooth and natural.

As a long time Lifx owner, since the very first few bulb models, I have been testing the integration and found some disappointing results with these older models. I have about 80 bulbs and the majority are still the early models, namely:

Lifx Color 1000 - firmware v1.22 (latest and no further dev from Lifx on these) LIFX Color 1000 Review | PCMag
Lifx Color 650 (orginal brown downlights) - firmware v2.1 (latest for these also) https://techau.com.au/review-lifx-color-650-downlights/

The control has been hit and miss. The Color 1000 can turn on using Hubitat, but that it. Can’t turn off, change color or dim. If you turn it off using the Lifx App, the state remains on in Hubitat.
The Color 650 is similar. Can turn on, can Dim but nothing else. No turning off and no color changing.

Its simply too costly to replace them all with say A19 bulbs.

On older bulbs switch to the “LIFX Color Legacy” driver, you will get much better results.