Remote battery switch for Wyze camera --Controlled by web request

I develop code for ESP32 Microcontrollers and LoRa devices. Powering my Wyze CAM v3 by a 10,000 mAH power bank; continuously only lasted ~ 24 hours. Had the thought to use a remote battery switch controlled by a web link on my domain hosted web site. Way it worked a web site visitor would click link that made a web request to web server running on ESP32, same microcontroller that was feeding BME280 data to the domain hosted web site. The web request turned on the battery switch and started a two minute countdown timer; which when expired turned off the battery switch. Between web requests the eSP32 and the LoRa modules radio were in deep sleep and radio sleep to conserve battery power. Battery switch was a KY002S MOSFET, Bi-stable latching switch; meaning it held the state (on or off) without being powered.

Project can be found on GitHub: E220-WOR with Dual-Core FreeRTOS System

Unfortunately had to move and take down the wetland pond, Wyze camera; link on the website now take user to a “static” photo of the wetland pond.

My web site with video feed link: Wetland pond, click videofeed link

William