Has anyone made a reliable automation that charges a home battery from the grid when that makes sense? It has to take electricity prices and weather forecast into consideration, as well as when the battery will be used. If so I’d be happy to have a copy or some good tips.
If you want a comprehensive solution for managing your demand, battery charging, etc., look at EMHASS.
It is for advanced users; I had difficulty with it myself. But a number of users are seeing a major benefit.