Home Assistant - Solar Monitoring and Management

MurphyGuy

Solar Addict
I've been looking into that Home Assistant software for a couple of weeks and have experienced nothing but mass confusion.

It looks like something I would really like to use, and I have so many things I'd like it to do.. but yikes, I'm totally lost with it.. and I can't find any training information.

My original idea was to set it up on my Window's PC just to play around and make it monitor my SMA inverters.. I can't even get it to do that.

I don't know any programming languages except Visual Basic, and with that, I can make Microsoft Access sing and dance.. but I'm totally stuck with the Home Assistant thing..
 

wattmatters

Solar Addict
I've been looking into that Home Assistant software for a couple of weeks and have experienced nothing but mass confusion.

It looks like something I would really like to use, and I have so many things I'd like it to do.. but yikes, I'm totally lost with it.. and I can't find any training information.

My original idea was to set it up on my Window's PC just to play around and make it monitor my SMA inverters.. I can't even get it to do that.

I don't know any programming languages except Visual Basic, and with that, I can make Microsoft Access sing and dance.. but I'm totally stuck with the Home Assistant thing..
I feel your pain.

I managed to get HA up and running, and I managed to get Solar Assistant "integrated" showing data from my off-grid system.
I even got some data from my grid tied inverter as well

Today I tried to integrate some Tuya smart plugs into HA but am failing dismally. My god HA is an awful user experience. My head hurts. Literally after hours and hours of just trying to make a switch turn on and off, let alone try to apply some logic to when it does that.

I can't even get Tuya to integrate with HA. It fails when I try to complete the log in details and for the life of me I can't work out why.
 

MurphyGuy

Solar Addict
I feel your pain.

I managed to get HA up and running, and I managed to get Solar Assistant "integrated" showing data from my off-grid system.
I even got some data from my grid tied inverter as well

Today I tried to integrate some Tuya smart plugs into HA but am failing dismally. My god HA is an awful user experience. My head hurts. Literally after hours and hours of just trying to make a switch turn on and off, let alone try to apply some logic to when it does that.

I can't even get Tuya to integrate with HA. It fails when I try to complete the log in details and for the life of me I can't work out why.
Isn't there some kind of training or coaching available somewhere?
 

Joe BoyKey

Watts, Watts, more Watts
Isn't there some kind of training or coaching available somewhere?
There is a Youtube for everything including Home Assistant, 1st things 1st, Get Internal and external ip's routing right, then security, Duckdns with Let's encrypt - for free cloud, Samba so you can see sd card from your window 10 machine's explorer, and Virtual Studio Code - to edit Config-yamal, Joe Assistant, haha @wattmatters
 
Last edited:

MurphyGuy

Solar Addict
There is a Youtube for everything including Home Assistant, 1st things 1st, Get Internal and external ip's routing right, then security, Duckdns with Let's encrypt - for free cloud, Samba so you can see sd card from your window 10 machine's explorer, and Virtual Studio Code - to edit Config-yamal, Joe Assistant, haha @wattmatters
I know you're speaking English.. but none of that made any sense. I picked out DNS and encrypt.. and of course "free" is my favorite word.. and I use sd cards frequently.. the rest is shamalamadingdong..
 

wattmatters

Solar Addict
There is a Youtube for everything including Home Assistant
I've watched multiple YouTubes. They all gloss over steps along the way, usually a stumbling block of some kind that doesn't appear in the process they show and so the rest of their videos are a complete waste of time because you can't get through the front door.

I had to laugh, one guy even said up front he was frustrated with this very issue when he was starting with it so decided to do his own tutorial video and not gloss over stuff. 5 minutes in and yep, he was glossing over stuff and you are left think, well WTF do I do now? Google some more, end up back at the same links you started with and the cycle begins all over again.

This stuff shouldn't need YouTubes. It should just work when you plug it in, the system sees it on the network and asks if you want to connect. But no, you have to go off and down load 15 apps, create a bajillion accounts for services you have no idea what they really do, read QR codes, find secret keys, navigate some ridiculous menu structures using language from a teenager's first attempt at a sci-fi novel and in the end it never bloody works.

I just want to turn a switch on and off. It amazes me how ridiculous difficult they make it.
 

Joe BoyKey

Watts, Watts, more Watts
I feel ya, been trying to get JBD-Bms HA integration working - frustrating, but atleast have got this far and truly like this sht. This is Grafana with InfluxDB - it's what Solar Assistant is wrote in, it works. More graphs and gauges, just started to learn.
1633773718236.png
 
Last edited:

butter_fry

Solar Enthusiast
I've watched multiple YouTubes. They all gloss over steps along the way, usually a stumbling block of some kind that doesn't appear in the process they show and so the rest of their videos are a complete waste of time because you can't get through the front door.

I had to laugh, one guy even said up front he was frustrated with this very issue when he was starting with it so decided to do his own tutorial video and not gloss over stuff. 5 minutes in and yep, he was glossing over stuff and you are left think, well WTF do I do now? Google some more, end up back at the same links you started with and the cycle begins all over again.

This stuff shouldn't need YouTubes. It should just work when you plug it in, the system sees it on the network and asks if you want to connect. But no, you have to go off and down load 15 apps, create a bajillion accounts for services you have no idea what they really do, read QR codes, find secret keys, navigate some ridiculous menu structures using language from a teenager's first attempt at a sci-fi novel and in the end it never bloody works.

I just want to turn a switch on and off. It amazes me how ridiculous difficult they make it.
I'm not even sure what you're mad at.. Big Pi? Who is They? Sounds like to me you need an all in one system with a switch. Great! To each their own. But here on the internet we have all types, and believe it or not, some folks like rolling their own, it's fun to build stuff.... DIY SOLAR FORUM indeed

Yup, installing your own OS and configuring stuff on Linux is more advanced. It requires some knowledge built up over time. That is why the folks at Home Assistant came up with their HAOS that starts running HA out of the box. The trade off is you get an extremally stripped down OS that doesn't do much of anything but run HA.
 

wattmatters

Solar Addict
I'm not even sure what you're mad at
I wasn't mad. Just frustrated. The guides and videos make out it's pretty simple. Aside from being DIY place, it's also a forum to vent a little, nothing wrong with that.

In the end I was able to get the Tuya integration in HA running. It was a case of the country setting in the HA integration not being compatible with the server location setting in Tuya. I followed the guides on which to choose and that did not work. It wasn't possible to know that was the cause of the problem until I went through to eliminate stuff one by one. Googling settings used by others suggested recommended location combinations which worked for them, but they did not work for me.

So now my Tuya server is set to Western Europe and the integration country setting is set to the United Kingdom as that's the only combination I could get to work.

I now have an automation running for the pool pump, which turns on 2:15 hours after sunrise and off 3:00 hours before sunset. The caveat being it won't turn on if battery SOC is <95%, and it will turn off if SOC falls below 95%. It's due to switch off in a little under 2 hours, so keeping an eye on that to check it does what it should.
 

wattmatters

Solar Addict
I now have an automation running for the pool pump, which turns on 2:15 hours after sunrise and off 3:00 hours before sunset. The caveat being it won't turn on if battery SOC is <95%, and it will turn off if SOC falls below 95%. It's due to switch off in a little under 2 hours, so keeping an eye on that to check it does what it should.
Just a follow up.

The automation is working as it should although I changed the early termination trigger from a battery SOC value to a battery voltage value.

This was following a discovery about the way the SOC value is determined by the emulated BMS of Solar Assistant which makes it inaccurate to a significant degree in my case.

The Solar Assistant software is going to be upgraded to rectify this issue but for now I having it running well with the low voltage cutoff trigger in place if needed.
 
Top