Questions about the scripts and waitmotion #261
guarddog13
started this conversation in
General
Replies: 2 comments
-
When i test this. The else side never fires. It just stops once motion stops I put echos in on that side and nothing, nothing at all. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Seems doing it like this makes it very reliable. Just let it check every 1 second for 10 seconds, it continues while you leave the room and triggers things correctly.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So I have a script that I'm running to detect motion which sends curl posts to AgentDVR with Deepstack built in. (See below).
Turning on the "motion (person) sensor" is nearly perfect. However, turning it off is very unreliable. What I noticed is that the else side happens while your in the room moving about. It doesn't fire again when I walk out of the room. Is there something I'm doing wrong? I've tried adding sleeps on both sides of the "if." Am I doing something wrong. What I want to happen is have the else side fire when motion stops on the camera and wait and send the post requests.
Any help would be greatly appreaciated as I'm at a loss.
Beta Was this translation helpful? Give feedback.
All reactions