Hello community I'm working on a macro that will record stills and email photos when motion is detected and stop when motion ceases. I presently have 2 cameras and 2 motion detectors that are listed in AHP and working. 3 more of each on its way. I can see when the motion is detected and i can see when the cameras are on. i can even pull up the video feed. I am running AHP version 3.296 with all the add ons and all working. I am trying to get 1 camera to work as described and will duplicate the process for the others. this is what i got.
Bedroom and motion detector on B2. I have a cheap dell laptop running the program and it has a tendency to cut off for no reason that's why the same code. anyway here is the setup so far.
Bedroom
Camera B2/motion detector B2
Macro1
Trigger B2 on
set flag 2 (not a condition)
P1 on
P2 off
Macro2
Trigger B2 off
P1 off
P2 on
Control room Phantom room
Phantom switches simple on/off switches
Macro
Capture start
Trigger P1 on
flag status 2 on
Start auto stills
Email photos
Macro
P2 capture off
Trigger P2 off
Condition Flag status off
Stop auto stills
The problem with it. It won't stop running P2 doesn't come on when B2 stops. Any help would be appreciated.