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.

Script with last updated event
#1
Hi,

I am trying to write a event-script that includes a check if a certain object has been changed/updated within the last 16 hours.

For example:
If a certain door has been opened/changed status within the last 16 hours, and someone sets the house in night mode, then a certain action should be performed.

value = event.getvalue
value1 = 1/1/1 (if door opened within 16 hours == true it not false)

if value == true and value1 == true then
grp.write('3/3/3', 50)
end

Thanks,
Mr.D
Reply


Messages In This Thread
Script with last updated event - by Mr.D - 06.05.2017, 12:03
RE: Script with last updated event - by Mr.D - 06.05.2017, 22:17
RE: Script with last updated event - by Mr.D - 11.05.2017, 19:57
RE: Script with last updated event - by Jørn - 11.05.2017, 20:56
RE: Script with last updated event - by Mr.D - 13.05.2017, 20:56
RE: Script with last updated event - by Mr.D - 16.05.2017, 11:34
RE: Script with last updated event - by Mr.D - 18.05.2017, 07:40

Forum Jump: