snowzach / doods2

API for detecting objects in images and video streams using Tensorflow
MIT License
232 stars 30 forks source link

Change MQTT keepalive to 0 #58

Closed MarkStephan89 closed 1 year ago

MarkStephan89 commented 1 year ago

Changed keepalive to 0 so that the MQTT connection is no longer interrupted.

snowzach commented 1 year ago

Thanks for the contribution... That really seems pretty unusual for it to fix your issue though. That's the keepalive parameter and you're basically saying don't worry about keepalives. Have you tried maybe increasing the timeout parameter? Are you detections taking a long time?

MarkStephan89 commented 1 year ago

Hi, I use doods2 for person detection on a cctv cam. It may be that e.g. no "movement" is detected for hours ;)