markus-li/Hubitat

Additional light effects

Closed this issue · 0 comments

  • an effect that lets you set colors which it then fades between much like the random color fade only you get to pick the used colors. effect97(color1,color2,color3,...) color 1 would fade into 2 into 3 back into 1
  • an effect that lets you pick a single color, fade direction and time over which to execute the fade. Effect98(color,+-time) where +10 would fade up from 0 to 100 over 10 seconds, and - would fade down.
  • an effect that lets you pick a single color or string of colors, a time amount, and repeat option. which it then fades through the colors and levels in order from 0 to 100 and back to 0. effect99(color1,color2,15,0) would start color 1 at 0, fade up to 100, fade down to 0, over a total of 15 seconds then would change to color2 at 0 and fade up then back down again over 15 seconds. the light would stop and remain off. effect99(color1,color2,15,1) would repeat once then remain off, and effect99(color1,color2,15,#) would repeat until stopped by changing any light setting.