This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

RGB Season lights
#1
Hello. Looking for a way to slowly change colors in the rbg spectre.

The lightdesigner has spesified changing lights as shown in attchment:



I'm hoping/assuming someone has done this before?

Attached Files Thumbnail(s)
   
Reply
#2
Create a table with RGB values for each day of the year, then create a scheduled script that will change the color once a day:
Code:
colors = {
  [1]  = 0xFF5700,
  ...
  [366] = 0xFF00FF,
}
yday = os.date('*t').yday -- day of the year from 1 to 366
color = colors[ yday ]
grp.write('1/1/1', color)
Reply
#3
Hello, I want to do something similar but every 'x' minutes. Christmas is approaching and customers are already beginning to claim these things.

Color changes can be progressively faded? so that the change is not noticed so fast.
Reply
#4
This script can be adapted for RGB use:
https://forum.logicmachine.net/showthrea...7#pid14257

Convert R/G/B to a single RGB value:
Code:
rgb = r * 0x10000 + g * 0x100 + b

Fading should be set-up on the end device.
Reply


Forum Jump: