Okay, let me start by saying I'm sorry. I just do not have the time to "soak" in Python or Applescript long enough to learn it, so I really do rely on the fantastic community built around Indigo....
I have used Berkinet's awesome plugin to integrate my AD2USB device into my Indigo setup. Indigo accurately reflects the state of all my alarm sensors now - just fantastic. I also have my Venstar thermostat integrated into Indigo - it's working flawlessly. So now, with spring coming on (rather, already here!) I want to coordinate the two. So, if I open a window or door (alarm faults) and leave it open for more than thirty seconds, I want the thermostat to turn off any heating or cooling mode. If all the windows and doors close (fault clears), HVAC comes back on.
Jay wrote a great Python script for me that involves a similar action for my bathroom exhaust fan - light stays on for one minute, exhaust fan turns on. I tried to modify that script to turn off the HVAC based on the alarm state...but I made a mess of it. Mainly, I don't know how to refer to the device state in Python, and I don't know how to communicate to the thermostat. If someone has time, you can give me a fish or teach me to fish - I'll be happy either way.
Appreciate the support in advance.
(Moved this post from the Applescript forum - oops).