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
#11
Thanks you guys!
It works perfectly now Smile

Final script:
for val = 0, 10 do
  value = grp.getvalue(event.dst)
  if value == true then
     grp.write('Lys - Settverdi - 2 etg - Master Bedroom', val)
     os.sleep(30)
  else
     break
  end
end

Thanks!
Mr.D
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: