05.04.2017, 07:07
Hi,
I am completely new to lua scripting and are hoping someone is able to help me out.
This is what i would like the script to do:
I have a scheduled event "Morning Wake-up" that is set to turn on every day at a certain time.
When this event happens i would like a script that dims the light up by 1% every 30th second.
It will dim the light up untill it reaches 30%. The script needs to be "while" based, since I would like the dimming up to stop if "Morning wake-up" is turned off.
Thanks for all help!
I am completely new to lua scripting and are hoping someone is able to help me out.
This is what i would like the script to do:
I have a scheduled event "Morning Wake-up" that is set to turn on every day at a certain time.
When this event happens i would like a script that dims the light up by 1% every 30th second.
It will dim the light up untill it reaches 30%. The script needs to be "while" based, since I would like the dimming up to stop if "Morning wake-up" is turned off.
Thanks for all help!