https://www.vueville.com/home-security/cctv/ip-cameras/ultim...
I have a Synology NAS and their free security camera software is pretty easy to set-up and use with ONVIF cameras.
The cameras are nothing special, but great for the price point. They support locally writing all video or just motion to an installed SD card. By default they'll upload 10 seconds of motion to the cloud but you can disable that. Or to be really sure, after setting up the SD card you can deprive it of internet access (block it or remove the wifi SSID you used for setup), and then you can be very confident it's not uploading anything. With this approach you'll need to physically take out the SD card to access the video.
There's certainly better local storage options out there. But for a single camera it's a pretty dead simple local storage setup.
Very good advice when it comes to Wyze products. Sadly they're just the tip of the security/privacy nightmare iceberg.