bcrawfo2 Posted January 3, 2011 Posted January 3, 2011 I'm just started configuring my motion sensors and want an email notification when they detect motion. I have the motion sensor timeout at 1min....I'd like to see when it's over (maybe in the GUI). I don't, however, want email after email after email while there is motion. I tried then send notification wait 10 but I believe the off event interrupts the wait. A solution I just came up with (and haven't yet tested) was to have the "on notification" program disable itself after the email. Then have the "off notification" enable the "on notification". But that seems a little convoluted. Cool product by the way. Glad I got the ISY.
oskrypuch Posted January 3, 2011 Posted January 3, 2011 I have a 2420M PIR inside the house in the entrance foyer to turn the light on in the evening in that area for activity. The PIR is fully controlled by ISY (#5 pins bridged) and I have it set to occupancy mode, with a 30sec timer and ON only op. (v2.8.4+) Here is the routine for the lights .... If Control 'entrance / ENT - PIR-Sensor' is switched On And Program 'var civil day' is False Then Set 'entrance / ENT - Pots' Fast On Set 'front hallway / FH - Pots' 70% Wait 1 minute and 30 seconds Set 'entrance / ENT - Pots' Off Else - No Actions - (To add one, press 'Action') And the notification code ..... If Control 'entrance / ENT - PIR-Sensor' is switched On Then Wait 2 minutes Send Notification to 'xxxxxxxxxxxxxl' Else - No Actions - (To add one, press 'Action') The Set 'entrance / ENT - Pots' Off and the Send notification to 'xxx' will only occur once ... Each time there is further motion sensed, both of the above routines will cycle back and reevaluate (while in their respective wait loops). Finally with no motion for 2 min, the routines will finish, one will turn off the ENT Pots lights, the other routine will send the notification. Also, note that in general a WAIT statement as the last line in a group, and not followed by an action, will be ignored. * Orest
Recommended Posts