I'm looking for get one script like in the wiki http://wiki.indigodomo.com/doku.php?id=iolinc_garage_door_alert working with DSC alarm plugin for get an alert by mail or prowl if garage door stay open for more than xx minutes?
In the wiki the script look like that :
- Code: Select all
dev = indigo.devices[IOLINCID] # "IO Linc"
if not dev.states["binaryInput1"]:
indigo.server.sendEmailTo("ADDRESSHERE", subject="The garage door is OPEN!!")
No need to explain you I'm a noob in phyton script