keshavdv / unifi-cam-proxy

Enable non-Ubiquiti cameras to work with Unifi NVR
MIT License
1.6k stars 226 forks source link

Frigate smart detections never finish #173

Closed Praetorian-hub closed 2 years ago

Praetorian-hub commented 2 years ago

Previously working correctly, I think the only thing I changed was upgrading both protect and unifi-cam-proxy Protect version: 1.20.3 unifi-cam-proxy version: keshavdv/unifi-cam-proxy:sha-d8e6cc25

Smart detections start but just come up as ongoing and never finish, also the snapshot is no longer downloading correctly from frigate. The unifi-cam-proxy logs appear show it processing the event correctly from frigate and I see the following in the logs.

Is there an issue with protect 1.20.3 ?

2022-01-30 23:34:01 c720508daac8 FrigateCam[1] INFO Processing [NetworkStatus] message 2022-01-30 23:34:01 c720508daac8 FrigateCam[1] INFO Processing [GetSystemStats] message 2022-01-30 23:34:01 c720508daac8 FrigateCam[1] INFO Starting car motion event (id: 1643585641.250147-tkgqi9) 2022-01-30 23:34:01 c720508daac8 FrigateCam[1] INFO Triggering motion start (idx: 2) 2022-01-30 23:34:06 c720508daac8 FrigateCam[1] INFO Awaiting snapshot (id: 1643585641.250147-tkgqi9) 2022-01-30 23:34:07 c720508daac8 FrigateCam[1] INFO Ending car motion event (id: 1643585641.250147-tkgqi9) 2022-01-30 23:34:07 c720508daac8 FrigateCam[1] INFO Triggering motion stop (idx: 2) 2022-01-30 23:34:11 c720508daac8 FrigateCam[1] INFO Processing [NetworkStatus] message 2022-01-30 23:34:11 c720508daac8 FrigateCam[1] INFO Processing [GetSystemStats] message

Praetorian-hub commented 2 years ago

I think it may possibly be an issue with the current release, I've rolled back to sha-a4c5a6fd and frigate smart detections are working correctly again.

keshavdv commented 2 years ago

Fixed in 70a5f81, can you try it out?

Praetorian-hub commented 2 years ago

That fixed it, thankyou!