There is a driver released for Amcrest and Dahua camera to use with Hubitat hub home automation. It all local using no cloud.
It’ll support events on push button, human detection, region detection or tripline detection etc.
Here the link to driver if you use hubitat hub home automation...