LIFX random colors


#1

Any way to set a parameter for random colors?


#2

use the system variable $randomColor?


#3

wow…Worked perfectly…like magic…thanks :slight_smile:


#4

glad to hear that solved it.


#5

This is like another language, once you speak it, I’m sure it’s easier.


#6

yeah, like any language its just familiarity over time.


#7

Related question, can you give that command prior to having the light slowly turn on or should the turn on…over time…be first, and then the random color?


#8

$randomColor works for the Lifx. But I have yet to make the “fade $randomhue” work with Lifx. I have mostly Lifx bulbs, 25 currently. And fade to random never seems to work on them. But “color” settings work fine. I’m also extremely new at this. So I know exactly where you’re coming from. Haha

As far as your last question goes. I really don’t know. But am curious. I’m out town for a couple days so I can’t test. But would love to find out.


#9

I guess I should have tested and saved bandwidth.hahah…I’m testing it now…I’ll report shortly


#10

So far, it doesn’t work as intended, as if I put the random color first, it brings it to it’s last level first, then starts over and counts down to the set fade… I also see, now, that there is a preset 'random color."


#11

Have you seen this? It looks like a device handler for LIFX…haven’t tried this…but look at all the notes on the things this is supposed to fix…


#12

Interesting. I do t use the groups of groups app. But wonder if I could still use this DT. Hmmmm


#13

His Github website also has another DH called Better LIFX bulb…Maybe either of those will work? It appears he has two different DH and a Smart App, which you might not need…but he seems to address various issues…you might even want to reach out to him? He is aware of WebCoRE, as some of his enhancements appear to address issues with LIFX on WebCoRE…

And please let me know if you figure out how to change the color before the fade begins…As of now, it turns the light on the new color, then back down for the gradual fade…I guess better than nothing? Lol


#14

I’ll probably test out that DHT and stuff this weekend. Hopefully We can figure out how to make these bulbs do what we want!


#15

So I have loaded up the alternative handler, and no change whatsoever. Quiet honestly i don’t see any difference in this and the original ST one…


#16

I am finding out it is more complicated than that…you can also reach out to the writer of the DHT, he is very nice…You not only have to load the DHT into the IDE, you have to then get the API code (if I am saying this correctly) from LIFX and enter that and the exact name of the device you want to duplicate into a “new” device that you make via the IDE…he has instructions in the ST forum…For the most part, WebCoRE does the limited stuff I need it for with LIFX, so I probably don’t even need the DHT, but it is always nice to have everything report properly. He did say you would have duplicates of all your devices, so you can delete the “original” ones and use the ones you make through his instructions…


#17

Yeah I loaded up the API and all that. It works fine. Just doesn’t seem to effect or improve the specific issues I’m having. I’ll reach out to him and see if he has any ideas.


#18

That’s cool…I couldn’t even get it to work, have to give it another try, I guess…