Search found 1 match

by beffin
Friday 23 November 2018 17:29
Forum: LUA
Topic: Timer didn't start correct
Replies: 0
Views: 302

Timer didn't start correct

I have a problem with a script.
When I am in bed, my bedsensor gives the signal 'Open'. When I leave, it gives the signal 'Closed'. I would like to delay the closed signal by 15 min.
I'm trying to do this with the following script:

function timedifference(timestamp)
y, m, d, H, M, S = timestamp ...