here is the answer :
t1 = os.time()
s = otherdevices_lastupdate['eclairage_SDB']
-- returns a date time like 2013-07-11 17:23:12
year = string.sub(s, 1, 4)
month = string.sub(s, 6, 7)
day = string.sub(s, 9, 10)
hour = string.sub(s, 12, 13)
minutes = string.sub(s, 15, 16)
seconds = string.sub(s ...
Search found 2 matches
- Thursday 24 December 2015 0:04
- Forum: LUA
- Topic: delay before tripping
- Replies: 1
- Views: 860
- Tuesday 08 December 2015 0:39
- Forum: LUA
- Topic: delay before tripping
- Replies: 1
- Views: 860
delay before tripping
hello
sorry i am french so its goole translation
Hello
here I was trying to do in the events so what blocky call (if I understood everything ... sorry I started ) that I scored in the title.
IF my bathroom light is on for at least 15 seconds while I turn on the heating.
I ask because I have a ...
sorry i am french so its goole translation
Hello
here I was trying to do in the events so what blocky call (if I understood everything ... sorry I started ) that I scored in the title.
IF my bathroom light is on for at least 15 seconds while I turn on the heating.
I ask because I have a ...