Starting a new thread as this was getting lost in the Hints, Tips & Troubleshooting thread.
Post details of your integration with Home Assistant etc.
This part here in the log has me thinking.
Loading plugin: /usr/share/mosquitto/go-auth.so 2024-04-06 17:14:29: ├── Username/password checking enabled. 2024-04-06 17:14:29: ├── TLS-PSK checking enabled. 2024-04-06 17:14:29: └── Extended authentication not enabled.
New connection from 172.30.32.1:35403 on port 1883. 2024-04-06 17:15:25: New client connected from 172.30.32.1:35403 as 0YrsGFBaGyLaFBMBRBY0Hd (p2, c1, k60, u'mqtt-user'). 2024-04-06 17:15:26: New connection from 172.30.32.1:47612 on port 1883. error: received null username or password for unpwd check
Seems to be looking for a username and password
I'd say give info@solar-assistant.io a shout they're usually quick to answer, maybe something we're missing.
Also in your log I'm seeing a weird IP 172.30.32.1 alongside 192.168.0.72 not sure what that one is.
Thanks, I noticed that too. Thing is, I already had mqtt installed in HA before I got SA, but I can't remember why. I wonder is there some kind of conflict.
You'd imagine uninstalling the broker and the integration should reset everything though.
If you still have one in Hyper-V and one outside, that could still be an issue.
Can you not do both in the same place ? I went the route of Docker, which makes life easier when looking to run several things on one system.
You've a 172.xxx.xxx.xxx address for HA? That's usually a private address range. It would be comical if you had the same issue on the same day that I had. Post a screenshot of your network adapter in Hyper-V settings @allinthehead
What are Hyper-V settings?
Hyper v is the virtualization machine in Windows, your not running that so that's not an issue.
I swear to lucifer, I just disconnected my wifi connection from SA and connected to a different wifi username and it worked straight off. I've been messing with this since Friday afternoon🤣
Well.. it's fixed 😂
Exactly, just need to check the top of my head for a bald patch from all the head scratching.
Apologizes, I thought you were running Hyper-V allinthehead from this post.
Although main this is that you got it sorted, all good.
No bother at all, I wouldn't have had the motivation to go at it again if you guys hadn't replied.
I tell you what, I'm loving the charting in HA. I could do all these things via my own automation which I wrote using various REST API's, but the ease/speed of being able to knock together graphs is incredible.
Still struggling to generate some assets. Thanks for the heads up there above 10-10-20. It put me on the road of "helpers" but yeah, hard to get me head around it. (I always have trouble with these aggregate things - they do my head in Grafana too) Dropped my GivEnergy installation onto HA also, so it's there with the Hoymiles micro-inverters.
Look at all that beautiful data.
See the daily kWh, you can use a utility meter helper to give daily, monthly, yearly at a glance too
Is it possible to sum the values of two entities and have it on a single card?
Yes there is helpers that sum 2 entities. (There is also template helpers that you can do any math you want )
Oh the possibilities😁
Sweet. You just need apex charts now as the built-in charts are cruddy.
https://smarthomescene.com/guides/apexcharts-card-advanced-graphs-for-your-home-assistant-ui/
You can do that through the yaml files either. This is the method that I posted earlier.
I prefer the yaml than the helpers as it gets faffy when you're troubleshooting in the GUI - I prefer just doing a grep for the sensor or such.
I tried initially doing it through Jinga2 (is it?). Gave up. But the helper is quick and easy if the sensors you want are straightforward. The problem when I created it with Jinga is that it wasn't populating for some reason. No error or anything, just a blank chart. I must have done something arseways with either the logic or the settings. But yeah, I got the combined power across all the Microinverters working via the helper UI as you suggested.
Pretty much have everything I wanted now. There's even a forecasting model/algorithm for settings the battery SOC every night via the "GivTCP" intergation. I don't think I'll swap it with my own one which uses REST API's on the inverter, as I've some custom logic built with my crypto miners, but it looks pretty neat for a out-of-the-box deployment. You can set the months which are "winter" and then set the charge levels for those months (say 100%) and then you can set "shoulder months" where it works out the soc to charge based on tomorrows forecast with a bump, and then "summer months".
Yes, with FIT the need for setting SOC is somewhat reduced as most people charge to 100% and that's that, but I only set to 100% when my forecast is less than 20Kwh forecasted and I've some other variables too - but yeah they've done a good job there if anyone has a Givenergy box.
Jinga python? Or do you mean yaml? Yaml is tricky for the first-timer, formatting takes a bit of getting used to. Then you have to reload the yaml in HA after every change, or sometimes restart HA.
Yeah, I definitely didn't restart HA. I was using the {template} helper. Figured if I could work out how that one worked, then that was the gateway to all and sundry if I ever needed anything funky. After about 20 mins of getting no where, I reverted back to a simple bog standard helper, and that worked in like 30 seconds!
I wouldn't be a fan of phython. It has it's uses for sure….just not a fan.
Main thing though is that I got what I needed and I'm "well impressed" with HA. Should have done it ages ago, but it's a learning curve. Not crazy hard or anything, just need to spend time. I've access now to data on the Hoymiles stuff that I would really have had to jump through crazy hoops to get. Do I -need- it? No, but that's not the point :-)
Any easy way to get solis to work with HA?
What datalogger do you have?
This one.
https://www.ebay.ie/itm/285613526218
-Edit
I think I've figured it out.😑
With that datalogger, your options are either via SolisCloud or via RS485 hacks.
Solcast is having a bad month so far. Only one day has been within 5%. The other days have all been more than 20% under. At this rate this month's production will be less than half of what was produced during April of last year.
I think Solcast assumes that we all live on a billiard ball with no factors other than predicted cloud cover.
They don't know of the hole I live in. You can have the Sun blazing away on the Castlecomer Plateau but look south and below you'll see nothing but a blanket of fog between you and Slievenamon.
Just in case anyone else comes across this issue. In HA after upgrading HA OS to 12.2 it broke the Solarman integration.
It was just coming up with Entity is non-numeric. Found the resolution here.
https://github.com/StephanJoubert/home_assistant_solarman/issues/548
Run the command ha os update --version 12.1 to downgrade.
Working fine again now.
Fortunately, I read this before I pressed install on 12.2
The main problem with Open Source is that the "If it ain't broke, don't fix it" mantra is never obeyed.
I had to downgrade Solarman 1.5.1. to 1.4.3. because that doesn't work for everyone either.