One more feature that would be nice in Indigo would be to be able to program the SynchroLinc's sensitivity and delay since this can only be done in software. What happens is somebody pushes the button to start the dryer, but it does not make complete contact to start the cycle, it only rev's it up but when the person let's go it doesn't start because it wasn't pushed hard enough...unfortunately this is enough for the SynchroLinc to send an on/off
For now here is my trigger for when the dryer is done:
Trigger:
Type: Device State Changed
Device: Laundry Dryer
On/Off State
Becomes Off
Condition: Always
Actions:
1) Type: Execute Script Embedded AS:
- Code: Select all
tell application "Airfoil"
connect to every speaker
end tell
2) Type: Plugin
Plugin: iTunes Plugin
Action: Pause Playback and Speak Text
Device: iTunes Server
Action Setting: itunes: pause and say "excuse me, the dryer is done."
3) Type: Execute Script Embedded AS:
- Code: Select all
property emailAddress : "1234567890@mms.att.net"
tell application "IndigoServer"
set lastChanged to last changed of device "Laundry Dryer"
set runTime to ((current date) - lastChanged) div minutes
if runTime > 1 then
set emailBody to "The dryer is done after drying since " & time string of lastChanged & " for " & runTime & " minutes!"
send email to emailAddress with body emailBody
end if
end tell