- Posted on
Wed Jan 02, 2013 6:40 pm
-
berkinet
offline
-
- Posts: 3297
- Joined: Nov 18, 2008
- Location: Berkeley, CA, USA & Mougins, France
As far as I can think (which isn't very far... bad new years cold) you can do what you want, but you will need to do some scripting (AppleScript or Python). The logic would go like:
First, create an indigo variable for each light you want to store the value of.
Temp falls below -12C triggering an Indigo Trigger
- You'd probably store the temp in a variable and trigger of that variable becoming < -12
Then, in the script, read the on state or brightness of every light you are interested in and,
save that value in the appropriate variable.
You'd need similar, but reversed, logic to reset everything when the temperature went above -12. You might want to leave yourself a small dead-band to avoid thrashing: like <-12 and >-11.5
EDIT: ACtually, with the Action Collection plugin, you might be able to store the on state values without scripting. But, going the other way would probably stuill require scripting