Hauppauge Capture

MotionDetected(MotionSensorName)

 

The simplest way to use this method is to have an event (with a one-liner script) defined for a motion sensor so that when motion is detected, it calls the MotionDetected method of the Capture plugin. As an alternative, the MotionDetected method can be called from another plugin or script that manages motion sensors.

 

 

This method requires one parameter, the name of the motion sensor that detected motion.  If the motion sensor name passed to the method does not exist or does not have a security zone defined, a message will logged in the HS log (if the log message is set to 1 or level 2).  The motion sensor name parameter uses the HomeSeer convention of ‘Location Devicename’.

 

Example:  HS Device definition for a motion sensor located in the basement:

The one-line script would be (note the & at the start of the line):

 

&hs.plugin("Hauppauge Capture").MotionDetected("Basement Motion Sensor")

 

The above line could also be contained in a script (file with txt file type) in the HomeSeer\scripts folder but in that case you must omit the &.

 

If the Capture Main Alarm is Disarmed , control returns back to HomeSeer.  If the Capture Main Alarm is Armed , the alarm for the motion sensor’s zone is checked.  If the zone is Disarmed , again control is returned back to HomeSeer.  If the zone is Armed , the TakePicture method is automatically called using the assigned camera for that zone.

 

Back