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.

Wake up light
#1
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!
Reply


Messages In This Thread
Wake up light - by Mr.D - 05.04.2017, 07:07
RE: Wake up light - by admin - 05.04.2017, 07:37
RE: Wake up light - by Mr.D - 05.04.2017, 17:11
RE: Wake up light - by Mr.D - 03.05.2017, 10:39
RE: Wake up light - by Erwin van der Zwart - 03.05.2017, 14:49
RE: Wake up light - by admin - 03.05.2017, 11:21
RE: Wake up light - by Mr.D - 03.05.2017, 15:29
RE: Wake up light - by Mr.D - 04.05.2017, 16:15
RE: Wake up light - by Erwin van der Zwart - 04.05.2017, 17:56
RE: Wake up light - by admin - 04.05.2017, 18:00
RE: Wake up light - by Mr.D - 04.05.2017, 18:11
RE: Wake up light - by Erwin van der Zwart - 04.05.2017, 18:52
RE: Wake up light - by Mr.D - 04.05.2017, 19:22
RE: Wake up light - by Erwin van der Zwart - 04.05.2017, 19:44
RE: Wake up light - by Mr.D - 06.05.2017, 11:43
RE: Wake up light - by PassivPluss - 07.05.2017, 15:57
RE: Wake up light - by Mr.D - 07.05.2017, 17:43

Forum Jump: