Hi,
I am looking for some advice - I have a CCTV system running in my garden workshop using approximately 11W, running from a small UPS connected to mains power.
On the roof I have a 19V 40W solar panel connected to a charge controller charging 12V battery. That is hardly being used so I want to use that to run the CCTV during the day and switch over to mains when the output on the solar panel drops to below threshold.
What I was thinking is to have NodeMCU ESP32 gpio pin connected to a relay and the UPS power supply connected to NO, mains connected to COM and solar inverter output to NC.
The relay I have in mind is this one: https://www.aliexpress.com/item/32649659086.html
Would that work?
Thanks
I am looking for some advice - I have a CCTV system running in my garden workshop using approximately 11W, running from a small UPS connected to mains power.
On the roof I have a 19V 40W solar panel connected to a charge controller charging 12V battery. That is hardly being used so I want to use that to run the CCTV during the day and switch over to mains when the output on the solar panel drops to below threshold.
What I was thinking is to have NodeMCU ESP32 gpio pin connected to a relay and the UPS power supply connected to NO, mains connected to COM and solar inverter output to NC.
The relay I have in mind is this one: https://www.aliexpress.com/item/32649659086.html
Would that work?
Thanks