I’ve got two of those PTZ wifi cameras looking out the windows of my house as cheapo CCTV. They work pretty well – the software built into them is a load of crap though. I had to ‘modify’ mine to disable the IR LEDs because they reflected off the window and blinded the camera. On one disabling the LEDs involved unplugging the board they sit on, on the other I had to twist the legs of the light sensor together to short it out