Have you checked out Foscams?
- They have I think 7 days free cloud storage but you don’t need to use that.
- It can directly record to a SDcard or upload it your FTP server (could be public or private). There you can download, view delete etc your recordings and it’s unlimited.
- It will require a custom integration with SmartThings that will give you
- motion notifications
- ability to program/remotely arm/disarm motion detection
- presets
- cruises/tilt/pan etc.
- The live view with ST can be a little tricky but works reasonably well for most, but you can also use the native Foscam app for that.
- The cameras themselves are pretty good and range from basic SD to high def with battery/wired/wifi/NVR options
- Night vision
- Couple of other features (like the R2 has human detection mode)
Worth checking out.