Hello,
I would like to turn a switch off for 30 seconds then back on (to reset a computer device in the basement). I hope to trigger this via Domotics Pad.
(The computer device is my Internet modem and Wi-Fi router. Once I turn off the switch, my router power goes off, I lose Wi-Fi, and the ability to turn the switchback on unless it's turned on via Z-Wave from an already running script)
I'm not quite sure the best way to attack this – but I am thinking something like:
Write a Python script executed by Indigo which turns the switch off, waits 30 seconds, then turns the switchback on.
I'm not sure how to trigger the execution of this script. I'd like to do it from Domotics Pad, if possible. Is there a way?
I believe I once read that executing a Python script that contains a long sleep() will not affect Indigo if the script is run from a file. Is this true?
Thanks,
Barry.