Page 1 of 1

Do set on for x minutes

Posted: Wednesday 22 November 2017 12:14
by JacquesMulders
Hi,

Does someone know if it is possible to switch a switch via the json api with do set for x minutes?

i have a bash script when a motion detector is activated than a bash script is launched.. the script has a sleep of 300 sec and domoticz would hang completely during the sleep... so the sleep in a script is not realy a sollution...

in other words, is this blockly possible via json api/bash script?

Image

Re: Do set on for x minutes

Posted: Wednesday 22 November 2017 15:25
by JacquesMulders
thats not realy wat im looking for, i like the system to be clean and not for every timing device a virtual double switch...

a json call with switch off after x min would be the best i think.. but i think this is not possible...:-(