There's Zoneminder (GPL license), that seems to work if you're not tryna do anything fancy and is sometimes criticized as clunky and cpu intensive
https://zoneminder.com/
For fancier stuff (MIT license) this Frigate NVR works with Home Assistant https://frigate.video/
People do build security systems using raspberry pis, such as described here: https://www.nabto.com/build-raspberry-pi-security-camera/
Wanna share more details about what you want for your system?
Discover how you can build and configure a Raspberry Pi security camera to practice your programming skills or enhance your home security system in four steps.
other than video surveillance, a little Lo-Ra sensor motion sensor mesh network could be useful, also for smart outdoor lightning (edited)
goldfishlaser#1337
There's Zoneminder (GPL license), that seems to work if you're not tryna do anything fancy and is sometimes criticized as clunky and cpu intensive
https://zoneminder.com/
For fancier stuff (MIT license) this Frigate NVR works with Home Assistant https://frigate.video/
People do build security systems using raspberry pis, such as described here: https://www.nabto.com/build-raspberry-pi-security-camera/
Wanna share more details about what you want for your system?