You may also want to take a look at Arlo Pro cameras. They are completely wireless and cordless, weatherproof, and only record video when triggered by motion. I installed several of these around my house (and one inside), and the rechargeable batteries in each one lasts for months and months before needing a recharge. They can be configured to turn on and off (i.e., start and stop motion detection) when your cell phone reaches a certain distance from your house. I love this feature, since it assures me that my house is being watched whenever I'm away. My cell phone receives an alert any time motion is detected, and I can easily view the 30-second clip of whatever triggered the alert. These video clips are saved in the cloud for 7 days, and this level of video storage is free. Motion detection sensitivity can be customized so that it won't trigger, for example, if a bee flies in front of the camera.
https://www.amazon.com/Arlo-NETGEAR-Add-Security-Camera/dp/B01MDIYVI9/