-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Different colors of several lights in the same scene. #34
Comments
What do you mean by not synchronized? One thing I've settled on doing is setting up an animation as a script. For example: alias: Start Spooky
sequence:
- service: animated_scenes.start_animation
data:
priority: 0
transition: 2
change_frequency: 5
change_amount: all
ignore_off: true
restore: true
restore_power: true
change_sequence: false
animate_brightness: true
animate_color: true
name: "{{ identifier }}"
lights: "{{ lights }}"
colors:
- color_type: rgb_color
color:
- 247
- 95
- 28
one_change_per_tick: true
nearby_colors: 5
- color_type: rgb_color
color:
- 255
- 154
- 0
one_change_per_tick: true
nearby_colors: 5
- color_type: rgb_color
color:
- 136
- 30
- 228
one_change_per_tick: true
nearby_colors: 5
- color_type: rgb_color
color:
- 133
- 226
- 31
one_change_per_tick: true
nearby_colors: 5
- color_type: rgb_color
color:
- 148
- 0
- 211
one_change_per_tick: true
nearby_colors: 5
- color_type: rgb_color
color:
- 200
- 10
- 10
one_change_per_tick: true
nearby_colors: 5
- color_type: rgb_color
color:
- 135
- 169
- 107
one_change_per_tick: true
nearby_colors: 5
- color_type: rgb_color
color:
- 103
- 76
- 71
one_change_per_tick: true
nearby_colors: 5
mode: single Now I have my scene and it accepts two params,
This will start the scene in the living room. And if I want it to do another room at the same time:
Technically now I'm running the same scene in two places, but they are running independent of one another. Is that what you mean? |
@chazzu , thanks for the quick reply, perhaps I expressed myself badly. When I create a scene with your integration, all the lights always get the same color at the same time. So all the specified lamps light up with the same color. You know what I mean? |
As long as you have Using my example from before, I have Given the example above, I specified 8 colors, so it will go through that list 3 times (1 for each light) and choose randomly. So there's a pretty good chance each will be different, but it's not guaranteed since it's totally random. |
@chazzu , thanks, I'll give that a try. I've tested it and understood it so far. If I set "change_sequence" to false, a random color is selected and if it is set to true, the colors are run through in sequence. But if I set it to "false", the transition no longer works "smoothly". Is there any way to adjust this? |
Hello @chazzu , I have another question about stopping the animations. With the script it works great but unfortunately I have no idea about scripting. But if I still have an animation running in the kitchen, I don't want it to be switched off as well. Greetings |
@chazzu, super project and also works great.
One question, is it possible to run several lights of the same scene not synchronized?
The text was updated successfully, but these errors were encountered: