LIFX Built-in drivers - questions and discussion

Hmm so even using the lifx strip driver to turn on switch via motion lighting - it worked yesterday but now it's not longer working.

I think i'll go back to robs driver for now. and check lifx strip out later it is not working for me.

I changed over my c4 hub to use the new integration and I have to double tap the on or off button most times to get it to work. Sometimes a single tap works but most times I have to click the on or off button twice quickly (two successive clicks slowly doesnโ€™t work). Anyone else having that issue? Wanted to try it out on my older hub before implementing on my c7 hub that has a community driver.

Is there plans to support groups out of the box? I actually do see pop corning (although it is so fast that it is totally acceptable... but stilll ... perfection is the name of the game!)

Also see the same Unhandled Command: StateLightPower(level: xxxxx) from color bulbs, is the fix generic? My personal my experience/suspicion is that it is tied closely with the double-tap behavior others have reported (this workaround seems to be reliable for me as well).

Being nosy now - should this be available in an upcoming hot-fix on 2.3.0, or should we expect to wait for 2.3.1?

StateLightPower messages will be gone in the next hot-fix.. I am researching a reason why some are having on/off issues, I am not able to replicate currently so I may sneak in some extra debug logging before the next hot fix

Would it be possible to get some transition time options between ASAP and 1 second? Previously i used .25 or .5 seconds for my lights. Those provided nice, smooth looking but still quick transitions.

@bcopeland I am having the same issue except the model is 31. I am running 2.3.0.113. I have 2 sets of strips. The other set is reporting as model 32 correctly loaded as strips.

additionally, I cant find a way to add the child zones when the app misidentifies it. Switching the driver does not create the children.

Related, but more of a feature request: If I rename the parent, it would be nice for all the children to get renamed as well. Even if it was a button press to sync names that would work.
right now I have to remove the device and re-add as the fast way to sync all the names.

Model 31 is the only one that doesn't support extended liner zones which is what the current driver was written around... I don't yet have a driver that supports linear zones as I didn't have a device to test with. So it won't be able to detect the zones and use them properly..

Yes... But it will probably need to wait until the next release as this is all currently based on integers and would require a good bit of change that I am not comfortable making this late in the release cycle..

2 Likes

@bcopeland FYI all strips devices can use the legacy/older linear zones packets - so you could theoretically test a driver for the older model using a newer strip.

Likewise I believe the model 32 strip may or may not support the extended linear zones packets, depending on the firmware version (>= 2.77).

2 Likes

Ha.. Good point.. Not sure why I didn't think of that.. Thanks..

2 Likes

Perfectly reasonable, thanks!

Started the process of switching over from Rob's drivers to the Built-in ones.

If I understand correctly I have to add the lamps 1 by 1? Is there a way to do this automatically? (90+ Lights)

@bcopeland I'm having problems with my Lifx Color 1000 bulbs since I switched over to the built-in drivers. These bulbs have been working fine for over a year with rob's drivers. Firmware is up to date and WiFi strength is good. Problems I'm seeing are:

  1. They don't reliably turn on and off. Sometimes they work, but sometimes they don't.
  2. Transitioning from on to off over 3 seconds does not work smoothly. The behavior looks like the driver is changing the level every second. Not smooth at all. Rob's drivers always worked great for transitions. In fact, sometimes a light will get stuck at some low level and I have to turn it off again to really get it to off.
  3. A group of bulbs being turned on or off seems to be slower than with rob's drivers and I see the popcorning effect.

What I'm doing in my webCoRE automation to turn a group of bulbs on is:
a. Turn on the bulb
b. Set the Color Temperature
c. Fade level to 100% in 3 seconds

Turning off the group:
a. Fade level to 0% in 3 seconds
b. Turn of the bulbs

I'd be happy to provide logs if that's helpful or run a specific scenario with logs.

Yes.. please turn on debug logging when you do a fade to level

Okay, will do. Logs coming your way in a little while.

@bcopeland Okay, started with the group on and did a fade to 0% over 3 seconds. One of the lights is stuck at a low level, not off. I will do a fade on next. Here's the log for fade to off:

dev:13092021-12-02 10:13:52.596 am debugLightState(hue: 7209, saturation: 19661, brightness: 0, kelvin: 3000, power: 65534, label: TV Floor Lamp)

dev:13092021-12-02 10:13:52.592 am debugparse:lifx device: D073D51100A90000, command: 107, payload: 291CCD4C0000B80B0000FEFF545620466C6F6F72204C616D70000000000000000000000000000000000000000000000000000000, isBroadcast: false

dev:13062021-12-02 10:13:52.556 am debugLightState(hue: 7209, saturation: 19661, brightness: 0, kelvin: 3000, power: 0, label: Table Lamp 2)

dev:13062021-12-02 10:13:52.553 am debugparse:lifx device: D073D5116EE00000, command: 107, payload: 291CCD4C0000B80B000000005461626C65204C616D70203200000000000000000000000000000000000000000000000000000000, isBroadcast: false

dev:13082021-12-02 10:13:52.462 am debugLightState(hue: 7209, saturation: 19661, brightness: 8520, kelvin: 3000, power: 65042, label: Table Lamp 1)

dev:13082021-12-02 10:13:52.459 am debugparse:lifx device: D073D5119E640000, command: 107, payload: 291CCD4C4821B80B000012FE5461626C65204C616D70203100000000000000000000000000000000000000000000000000000000, isBroadcast: false

dev:13092021-12-02 10:13:51.572 am debugUnhandled Command: StateLightPower(level: 65535)

dev:13092021-12-02 10:13:51.569 am debugparse:lifx device: D073D51100A90000, command: 118, payload: FFFF, isBroadcast: false

dev:13092021-12-02 10:13:51.538 am debugoff()

dev:13062021-12-02 10:13:51.531 am debugUnhandled Command: StateLightPower(level: 65535)

dev:13062021-12-02 10:13:51.528 am debugparse:lifx device: D073D5116EE00000, command: 118, payload: FFFF, isBroadcast: false

dev:13062021-12-02 10:13:51.510 am debugoff()

dev:13082021-12-02 10:13:51.508 am debugUnhandled Command: StateLightPower(level: 65042)

dev:13082021-12-02 10:13:51.442 am debugparse:lifx device: D073D5119E640000, command: 118, payload: 12FE, isBroadcast: false

dev:13082021-12-02 10:13:51.416 am debugoff()

dev:13062021-12-02 10:13:51.312 am debugLightState(hue: 7209, saturation: 19661, brightness: 0, kelvin: 3000, power: 65535, label: Table Lamp 2)

dev:13062021-12-02 10:13:51.309 am debugparse:lifx device: D073D5116EE00000, command: 107, payload: 291CCD4C0000B80B0000FFFF5461626C65204C616D70203200000000000000000000000000000000000000000000000000000000, isBroadcast: false

dev:13062021-12-02 10:13:51.282 am debugsetLevel(0)

dev:13092021-12-02 10:13:51.218 am debugLightState(hue: 7209, saturation: 19661, brightness: 43908, kelvin: 3000, power: 65535, label: TV Floor Lamp)

dev:13092021-12-02 10:13:51.215 am debugparse:lifx device: D073D51100A90000, command: 107, payload: 291CCD4C84ABB80B0000FFFF545620466C6F6F72204C616D70000000000000000000000000000000000000000000000000000000, isBroadcast: false

dev:13092021-12-02 10:13:51.184 am debugsetLevel(0)

dev:13062021-12-02 10:13:51.107 am debugLightState(hue: 7209, saturation: 19661, brightness: 8520, kelvin: 3000, power: 65535, label: Table Lamp 2)

dev:13062021-12-02 10:13:51.104 am debugparse:lifx device: D073D5116EE00000, command: 107, payload: 291CCD4C4821B80B0000FFFF5461626C65204C616D70203200000000000000000000000000000000000000000000000000000000, isBroadcast: false

dev:13062021-12-02 10:13:51.066 am debugsetLevel(0)

dev:13062021-12-02 10:13:50.686 am debugLightState(hue: 7209, saturation: 19661, brightness: 17694, kelvin: 3000, power: 65535, label: Table Lamp 2)

dev:13062021-12-02 10:13:50.673 am debugparse:lifx device: D073D5116EE00000, command: 107, payload: 291CCD4C1E45B80B0000FFFF5461626C65204C616D70203200000000000000000000000000000000000000000000000000000000, isBroadcast: false

dev:13062021-12-02 10:13:50.654 am debugsetLevel(13)

dev:13082021-12-02 10:13:50.607 am debugLightState(hue: 7209, saturation: 19661, brightness: 17694, kelvin: 3000, power: 65042, label: Table Lamp 1)

dev:13082021-12-02 10:13:50.594 am debugparse:lifx device: D073D5119E640000, command: 107, payload: 291CCD4C1E45B80B000012FE5461626C65204C616D70203100000000000000000000000000000000000000000000000000000000, isBroadcast: false

dev:13082021-12-02 10:13:50.554 am debugsetLevel(13)

dev:13062021-12-02 10:13:50.211 am debugLightState(hue: 7209, saturation: 19661, brightness: 26214, kelvin: 3000, power: 65535, label: Table Lamp 2)

dev:13062021-12-02 10:13:50.205 am debugparse:lifx device: D073D5116EE00000, command: 107, payload: 291CCD4C6666B80B0000FFFF5461626C65204C616D70203200000000000000000000000000000000000000000000000000000000, isBroadcast: false

dev:13062021-12-02 10:13:50.176 am debugsetLevel(27)

dev:13082021-12-02 10:13:50.095 am debugLightState(hue: 7209, saturation: 19661, brightness: 26214, kelvin: 3000, power: 65042, label: Table Lamp 1)

dev:13082021-12-02 10:13:50.088 am debugparse:lifx device: D073D5119E640000, command: 107, payload: 291CCD4C6666B80B000012FE5461626C65204C616D70203100000000000000000000000000000000000000000000000000000000, isBroadcast: false

dev:13082021-12-02 10:13:50.054 am debugsetLevel(27)

dev:13092021-12-02 10:13:49.881 am debugLightState(hue: 7209, saturation: 19661, brightness: 43908, kelvin: 3000, power: 65535, label: TV Floor Lamp)

dev:13092021-12-02 10:13:49.856 am debugparse:lifx device: D073D51100A90000, command: 107, payload: 291CCD4C84ABB80B0000FFFF545620466C6F6F72204C616D70000000000000000000000000000000000000000000000000000000, isBroadcast: false

dev:13062021-12-02 10:13:49.712 am debugLightState(hue: 7209, saturation: 19661, brightness: 34734, kelvin: 3000, power: 65535, label: Table Lamp 2)

dev:13062021-12-02 10:13:49.697 am debugparse:lifx device: D073D5116EE00000, command: 107, payload: 291CCD4CAE87B80B0000FFFF5461626C65204C616D70203200000000000000000000000000000000000000000000000000000000, isBroadcast: false

dev:13062021-12-02 10:13:49.666 am debugsetLevel(40)

dev:13082021-12-02 10:13:49.591 am debugLightState(hue: 7209, saturation: 19661, brightness: 43908, kelvin: 3000, power: 65042, label: Table Lamp 1)

dev:13082021-12-02 10:13:49.584 am debugparse:lifx device: D073D5119E640000, command: 107, payload: 291CCD4C84ABB80B000012FE5461626C65204C616D70203100000000000000000000000000000000000000000000000000000000, isBroadcast: false

dev:13082021-12-02 10:13:49.554 am debugsetLevel(40)

dev:1672021-12-02 10:13:49.305 am infoLiving Room Scene Controller battery is 30%

dev:13062021-12-02 10:13:49.106 am debugLightState(hue: 7209, saturation: 19661, brightness: 52428, kelvin: 3000, power: 65535, label: Table Lamp 2)

dev:13062021-12-02 10:13:49.099 am debugparse:lifx device: D073D5116EE00000, command: 107, payload: 291CCD4CCCCCB80B0000FFFF5461626C65204C616D70203200000000000000000000000000000000000000000000000000000000, isBroadcast: false

dev:13062021-12-02 10:13:49.066 am debugsetLevel(53)

dev:13092021-12-02 10:13:48.844 am debugLightState(hue: 7209, saturation: 19661, brightness: 52428, kelvin: 3000, power: 65535, label: TV Floor Lamp)

dev:13092021-12-02 10:13:48.836 am debugparse:lifx device: D073D51100A90000, command: 107, payload: 291CCD4CCCCCB80B0000FFFF545620466C6F6F72204C616D70000000000000000000000000000000000000000000000000000000, isBroadcast: false

dev:13082021-12-02 10:13:48.803 am debugLightState(hue: 7209, saturation: 19661, brightness: 52428, kelvin: 3000, power: 65042, label: Table Lamp 1)

dev:13092021-12-02 10:13:48.800 am debugsetLevel(67)

dev:13082021-12-02 10:13:48.758 am debugparse:lifx device: D073D5119E640000, command: 107, payload: 291CCD4CCCCCB80B000012FE5461626C65204C616D70203100000000000000000000000000000000000000000000000000000000, isBroadcast: false

dev:13082021-12-02 10:13:48.642 am debugsetLevel(67)

dev:1672021-12-02 10:13:47.874 am infoLiving Room Scene Controller button 4 was pushed

Why is webCoRE sending a setLevel every few steps?? .. This would have been perfectly smooth if it would have sent setLevel(100, 3) instead of setLevel(x) every few ms

1 Like
setLevel(level, duration)
level required (NUMBER) - Level to set (0 to 100)
duration optional (NUMBER) - Transition duration in seconds

If it would have sent duration the transition would have been handled in the firmware of the bulb

1 Like