Hey Folks,
I'm trying to setup different alert actions based on the zones within a single camera.
Zone A (Street) - I want to play a sound
Zone B (My driveway) - I want to play a different sound
Zone B (My driveway) - I also want to execute a python script
(Eventually I might replace the Zone A sound with a different python script).
The problem I'm having is that the Python script will not execute when a vehicle travels from A to B. It will only execute when a vehicle travels from B to A (which is the least useful of the directions). I've tried a few different iterations, and moved the order of the events around, and it hasn't made a difference. It's a little hard to test, because my street, nor my driveway get much activity.
Any suggestions to send me in the right direction? Thanks!




I'm trying to setup different alert actions based on the zones within a single camera.
Zone A (Street) - I want to play a sound
Zone B (My driveway) - I want to play a different sound
Zone B (My driveway) - I also want to execute a python script
(Eventually I might replace the Zone A sound with a different python script).
The problem I'm having is that the Python script will not execute when a vehicle travels from A to B. It will only execute when a vehicle travels from B to A (which is the least useful of the directions). I've tried a few different iterations, and moved the order of the events around, and it hasn't made a difference. It's a little hard to test, because my street, nor my driveway get much activity.
Any suggestions to send me in the right direction? Thanks!




