The solar cluster here has grown in size since I last put an energy meter on it… a few years back I had a Landis Gyr meter on it as I was writing a comms driver for said meter, and needed a load to be able to know if the load profiles were correctly scaled.
At the time, it was a consistent 80W load.
Since I recommissioned old boards, my cluster has grown and now draws >300W continuous.
The solar controller is a Redarc Manager 30. It'll use solar in preference, but will power everything off mains if the sun isn't producing. It keeps the batteries charged at all times.
I want to make better use of the batteries, so the way forward is to switch the mains off. We have a 240V SSR in a box that's driven with 3-24V DC input… and the TS-7670 has a GPIO-controlled MOSFET output. It also knows the battery voltage.
Perfect… a little bash scripting, and the rest is just `cron`. Job done.
https://gist.github.com/sjlongland/a277159d5dec468201cbf711c2e4f97a