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 whether you accept or reject these cookies being set.

Rgb turn colors with script.
#1
I am controlling an dmx controller from Elka via knx. 

Added to Mosaic for turning colors. Working like a charm. 
Now i want to create something that turns the colors during the day. 
Scheduler would work, but i guess thats a little bit 1980. 
Anyone have a good way to change the colors randomly..  Smile
Reply
#2
something like this would do
Code:
math.randomseed(os.time())
value = math.random(0,16777215)
grp.update('RGB', value)
Reply
#3
Of course i did not get this going on my first try.
Added to a script, but nothing happened to the GA.
Where do i put in the transsision time between the random value calculates.
Reply
#4
This script just generate a random RBB value each time it runs, nothing more. It use the 3byte RGB object.
Reply


Forum Jump: