Is it possible to know if a switch has been activated with a timing condition?
Posted: Wednesday 26 October 2016 12:52
Hello,
I would like to know if a switch has been activated with a timing condition.
For example if I use " commandArray['anydevice'] = 'On FOR 5' " I can check the status = On, but I can't know if there is a timing condition.
I have checked the JSON status fields for the device, but I have not found any difference if I activate it with 'On' or with 'On FOR 5'
Is it possible? Using LUA? Using JSON?
Thanks in advance !
Civi
I would like to know if a switch has been activated with a timing condition.
For example if I use " commandArray['anydevice'] = 'On FOR 5' " I can check the status = On, but I can't know if there is a timing condition.
I have checked the JSON status fields for the device, but I have not found any difference if I activate it with 'On' or with 'On FOR 5'
Is it possible? Using LUA? Using JSON?
Thanks in advance !
Civi