|
The Issue
When motion is detected, the MS12A (or similar motion sensor) sends an ON command.
This causes the device status in HomeSeer to show "On". If you'd rather have it show
"Motion Detected", and "No Motion" when there is no motion, you can use these scripts.
Just create an event for A1 ON and another for A1 OFF. For each event, have it run the
corresponding script below. These scripts are very simple and very small. You can obviously
add more code in there if you want the motion to trigger other events.
motion.txt (1Kb)
nomotion.txt (1Kb)
There is also a related script available on the HomeSeer scripts page
that was written by Nicolas Riendeau. That script is a little more complex, but it should work great
if you have many motion sensors, and you want to be able to use the same script for all of them.
|