Zoneminder is a pretty solid setup for IP security cameras, and the zmninja app is really nice too. I had tried it years ago but got back to it recently with some sketchy IP cameras. I just put them in their own VLAN, no Internet access, Zoneminder does motion detection and event recording, and so far I’m quite pleased with it.
I’m a big fan of scrypted. I moved to that from Frigate. Not regrets, easier to setup and use.
While frigate is every bit as capable, I got tired of tinkering with it or it breaking with my install when I updated it.
No issues this far with scrypted.