LUA inìdentifer onTimer event
Posted: Tuesday 29 November 2016 12:26
Ciao
Is it possible to identify if a devicechanged event has been triggered by an OnTimer or a user/manual activation?
in the log I can see:
and for the same device......
If domoticz understand the timer vs manual activation, my intention is to define the same in LUA...
...but how?!
ciao
M
Is it possible to identify if a devicechanged event has been triggered by an OnTimer or a user/manual activation?
in the log I can see:
Code: Select all
2016-11-29 12:21:57.782 User: marco initiated a switch command (740/NET_SpeedTest/On)
Code: Select all
2016-11-29 12:20:01.634 Schedule item started! Name: NET_SpeedTest, Type: On Time, DevID: 740, Time: 2016-11-29 12:20:01
...but how?!

ciao
M