Exploring Solar Battery Automation for Energy Efficiency

As I delve into the world of smart home automation, one of my most exciting projects revolves around optimizing energy usage at my warehouse. I’ve recently invested in a solar battery system and want to minimize utility power consumption while ensuring the battery stays charged efficiently. Here’s what I’m thinking:

At 8 PM, I plan to check the State of Charge (SOC) percentage of my solar battery. If it’s below 75%, I want to automatically switch on the power utility to start charging. The goal is to let it charge until it reaches 85%, at which point the utility should switch off. The challenge is setting up this automation in a way that ensures the system only switches off when it’s reached the 85% threshold, especially if the automation itself initiated the charging process.

I’ve got all the necessary hardware in place, but the automation part is proving tricky. I’ve heard about platforms like Home Assistant and Vera that might help, but I’m not entirely sure how to configure this specific logic. Has anyone successfully implemented a similar system? I’d love to hear about your experiences or any tips on how to structure this automation effectively.

One thing I’m particularly curious about is whether there’s a way to ensure the system doesn’t overshoot the 85% mark or, worse, fail to switch off at all. Precision here is key to both energy efficiency and avoiding potential wear on the battery. I’m also wondering if there are any edge cases I should consider, like unexpected dips in solar power or fluctuations in utility availability.

If anyone has tackled a similar project or has insights into the best tools or methods for this kind of automation, I’d be thrilled to hear from you. Let’s collaborate and make this a reality!