I have a covered front porch that protects my cam-pan which is mounted on top of my porch light with a bendable wire mount (Amazon). It draws it’s power via the light socket using a very flat USB adapter (Amazon) plugged into an electrical outlet-light bulb adapter (Home Depot) screwed into the light socket. I use a Smart Light Bulb, thus allowing the light switch to be permanently turned ON, but I am able to turn the light ON and OFF independently via Alexa or the Smart Life App.
I use IFTT and WU Apps for turning the Wyse motion sensor of the camera ON at Sunset and OFF at Sunrise. Even with the human sensing, which was a welcomed feature, daytime tree shadows and blowing limbs trigger a lot of alerts. Always being home during the day negated the need for day time motion sensing.
When motion is sensed at night, I then use IFTT and the Smart Life App to turn on all the outside front lights, hoping to scare the intruder. The lights only remain ON for 3 minutes and then turn themselves back OFF. I also use an identical routine with the same Apps to turn on Key lamps in a Red color within the house. Red not harming my night vision but warning me, allows me to tell Alexa to Show Me The Front Door either via the TV Cube or the Echo Show 5. I have Alexa commands to Reset the In-House lights.