Detected object increases by 1
Posted: Mon Feb 03, 2020 4:54 pm
Hi there,
Seem to now have my system firing on all cylinders and reporting correctly
I have a feeling this may be possible with the changes you made to MQTT, but how do I track the number of objects detected. I was previously using Deepstack and the JSON parsed to MQTT would be:
{
“Person” : “2”,
“Car” : “1”
}
Right now I have an issue / challenge where there is a car on the drive. So any motion occurring fires an alert indicating a car is detected (but obviously not a new car).
Previously I just added a global value of car in Node-Red, and if that value increased by 1 then fire the alert. This was useful as if 2 cars were there, it only fired when the new ones arrived the first time. Not every time any motion caused and alarm.
Any thoughts?
Seem to now have my system firing on all cylinders and reporting correctly

I have a feeling this may be possible with the changes you made to MQTT, but how do I track the number of objects detected. I was previously using Deepstack and the JSON parsed to MQTT would be:
{
“Person” : “2”,
“Car” : “1”
}
Right now I have an issue / challenge where there is a car on the drive. So any motion occurring fires an alert indicating a car is detected (but obviously not a new car).
Previously I just added a global value of car in Node-Red, and if that value increased by 1 then fire the alert. This was useful as if 2 cars were there, it only fired when the new ones arrived the first time. Not every time any motion caused and alarm.
Any thoughts?