diy solar

diy solar

Home Assistant and automating based on SOC

Crowz

Solar Wizard
Joined
Dec 24, 2022
Messages
3,240
Location
Alabama
Making automations with home assistant can be a loooong process when your testing them based on SOC. Waiting for the % to go up or down 1% to see if what you setup actually works can take FOREVER at times :)

Its still super fun though!
 
Making automations with home assistant can be a loooong process when your testing them based on SOC. Waiting for the % to go up or down 1% to see if what you setup actually works can take FOREVER at times :)

Its still super fun though!

Sounds to me like you're just bragging about your battery capacity and how big it is... :p
 
Solar Assistant and Home Assistant is how I managed my old Growatt using JK BMS or Victron shunt for SOC. It did take a while to tune it. The best party was API integration to open weather map, if my SOC was under 50% and a code from the API signaled a storm, grid would charge me up before it hit.
 
Making automations with home assistant can be a loooong process when your testing them based on SOC. Waiting for the % to go up or down 1% to see if what you setup actually works can take FOREVER at times :)

Its still super fun though!
hmm
why don't use a temporary variable/entity for testing?
 
hmm
why don't use a temporary variable/entity for testing?
When it comes to using data from solar assistant, smart plugs and all kinds of wandering entity naming conventions I'll stick with live testing if I'm going to half trust it. Just because it says "will do this" or data is coming from "this" it doesn't always fire off based on it.
 
It works well, I have various HA automations for battery and system management. My favourite is using PV forecasting to determine if/when supplemental charging from my grid-tied PV is required and then ramping up/down charge rate to stay within our excess available PV capacity. Another is making full use of our utility's free energy periods.
 
Thought I'd share another tip so to speak on using HA to automate stuff.

I found an ir blaster I had bought last year but never used. Its a Broadlink rm4 mini :


$26 so not to bad.

With this you can use it to control any infrared remote controlled device. I used it to control the window ac in the bedroom.

Normally that thing eats 18kw or more a day. I programmed home assistant to turn the temperature up to 72 at 8am everyday and then it lowers the temp to 66 at 8pm. Knocked 13kw off the daily usage. THAT'S worth doing :)
 
Thought I'd share another tip so to speak on using HA to automate stuff.

I found an ir blaster I had bought last year but never used. Its a Broadlink rm4 mini :


$26 so not to bad.

With this you can use it to control any infrared remote controlled device. I used it to control the window ac in the bedroom.

Normally that thing eats 18kw or more a day. I programmed home assistant to turn the temperature up to 72 at 8am everyday and then it lowers the temp to 66 at 8pm. Knocked 13kw off the daily usage. THAT'S worth doing :)
Does this device require cloud services or can HA control it locally? Most rely on HA integration with some other api/service to control.
 
Does this device require cloud services or can HA control it locally? Most rely on HA integration with some other api/service to control.
It needs the cloud long enough to set it to be controllable by other programs. After that it will work with just offline wifi.
 
It needs the cloud long enough to set it to be controllable by other programs. After that it will work with just offline wifi.
Nice! I’m looking for HA to turn off devices when sensors say grid is down to conserve battery after a certain SOC. Everything I’ve tied need internet and I want local control.
 
Nice! I’m looking for HA to turn off devices when sensors say grid is down to conserve battery after a certain SOC. Everything I’ve tied need internet and I want local control.
Same here as far as making sure the internet isn't required to use the stuff in HA.
 
When it comes to using data from solar assistant, smart plugs and all kinds of wandering entity naming conventions I'll stick with live testing if I'm going to half trust it. Just because it says "will do this" or data is coming from "this" it doesn't always fire off based on it.
Totally support this. I went away just before our heat dome hit. I had an automation that said "If my bedroom is > 75 & battery is > 80%, start the AC". Worked GREAT!!

But.

My rule to shut it down when the battery hit 55% didn't read the right variable and just drained it all.

And when I got home I chewed through 35 kWh of grid, and the house was a meat locker. 🤦‍♂️ A$7 learning experience. I'll take it.
 
The temp humidity I added to the mini using the replacement usb cable that has the sensor built in. Was $9
 
Same here as far as making sure the internet isn't required to use the stuff in HA.
HA and Hubitat are both internet-less home automation solutions. I am a big Hubitat user and no internet needed to control devices that are in the home using Z-Wave, Zigbee or WiFi. But… if you wanna use voice control like The Goog nor Amazonia, then internet link required. Also things like your thermostat, add-on for a mini-split like Cielo and many other WiFi enabled devices do require talking to the mother ship over the internet. Generally if it is Z-Wave or Zigbee, no internet needed and you can use your phone or iPad on local WiFi to control it with a dashboard as I do with Hubitat. We had a 4 day power outage and my smart home was still smart once I got the generator going… minus internet needed things. HA does have a voice option, but it is immature at this point.
 
I solved the internet issue by going with Starlink for my WiFi. All my devices are WiFi based and I have never given a second thought to “mother ship” connections. It’s an unfounded fear imho. One house in Vegas and another one in Costa Rica. I can control everything in both from anywhere’s in the world. The best investment I made was the $400 Flo water meter/valve.
 
I solved the internet issue by going with Starlink for my WiFi. All my devices are WiFi based and I have never given a second thought to “mother ship” connections. It’s an unfounded fear imho. One house in Vegas and another one in Costa Rica. I can control everything in both from anywhere’s in the world. The best investment I made was the $400 Flo water meter/valve.
Well unfounded till something goes wrong. I just got rid of StarLink as broadband came to my area which is much more stable. When there is loss of grid and internet want to make sure HA can reduce power consumption to extend battery when no one is at the cabin. Looking for worse case scenario solutions.
 
Nice! I’m looking for HA to turn off devices when sensors say grid is down to conserve battery after a certain SOC. Everything I’ve tied need internet and I want local control.
I am buying tuya and then reflashing it with ESPHome or openBeken. That allows me to cut it from the cloud and manage in my local network.

here is a screen shot from my energy meter:

1720664463276.png
 
I was a fool and bought a sensibo device to control minisplit. As you can see, it depends on cloud with HA.
I've had a Sensibo for the mancave for years. Used to use it with HA to do automated humidity control following a bad flood season. As long as there was excess solar PV and humidity was above threshold setting it would run the unit in dehumidify mode.

It's still there and works but I don't use it much. I do have a load dump automation which will turn it off if the off-grid system is dealing with high loads.
 

diy solar

diy solar
Back
Top