I have two handfulls of Hue lamps. I want to build a flow which randomly selects a specific color. Not from too many, maybe just 6 different ones and then applies this color to all Hue lamps. After 10 minutes or so, this color is changed to another one from the six. Any idea, how I could do this in a nice way? Not a difficult task to program at all, but as Homey has some limitations (no offence ;-)), it might be more tricky
Create 6 flows
1st start every 10 min
Continue with change of 100/6 %
Then color 1 else start 2nd flow
2nd flow this one is started
Continue with change of 100/5 %
Then color 2 else start 3rd flow
[…] 6 flows just calculate the percentages for the number of flows 16.6 %, 20% , 25%, 33.3% 50%, 100%
Or add a < groups > app RGB Light connect it to the RGB lights but this makes it full random
With the Athom Philips Hue App (with Bridge) you can set scenes (add cart -> apps / Philips Hue -> Set a scene)
In the original Philips Hue App (or in 3rd party apps) you can choose the lamps you like and the wanted color, e.g. green. Save this scene.
Then you choose another color and save this scene also. And so on…
Build your flow:
This flow is started
Set scene GREEN
Set scene RED with 10 min delay
Set scene BLUE with 20 min delay
Start this flow with xx min delay (it starts again with the scene GREEN)
To protect that the loop never stops use e.g. a virtual button in the „And…“ section.
I have a similar question so i post it here instead of a new topic.
I also want to change a lamp to 5 or 6 random colors. Except i just want one color when i turn it on. Then it should change the next time i turn it on to one of the other colors.
lamps is off
i press a button > lamp turns on in red
After time the lamp goes off due to some other flow or a button press.
I press the button again > lamp turns on in green.
You have to use a mathematical variable which is added up by 1 each time it is switched on or off. In the last flow the variable must then be set to the start number again, e.g. to 1.
In the german forum I created such flows for changing radio stations.
For translating (if necessary) you can use e.g. deepl.com. If you don’t get along with it, just let me know.
For Info: When changing color of lamps it is probably that the last set color is visible for a short time before the new color becomes active. As far as I know, changing the color (or other settings) in the background (when the lamp is off) is not possible.
It worked and quite easily as well, once I chosen the correct led .
My only minor complaint is that once I used about 6 different colors, so 6 different flows linking each other. The 6th color seems to take quite long. It seems to me the more flows connected to each other the longer it takes before the “thinking” process is done and the light goes on.
But these are now only two color changes. But you wanted 6 color changes? Can you please share the remaining flows, you said that there are problems with the sixth color. So it would be good to see all flows.
Maybe there is some noticeable delay because all flows are executed one after the other. I have not checked it myself yet.
Maybe it is better to start the flows parallel. From the logic point of view simultaneous started flows should stress homey more, but I have myself flows in use which start 4 flows in parallel and have not noticed any problems.