Closed slovely closed 1 week ago
Hi @slovely - No problem discussing this here, in fact it should probably be something that goes into an FAQ at some point.
This isn't an issue specific to my integration, this is the same for all energy monitoring in Home Assistant. Let me attempt to explain this in the best way I can (it took my quite a while to get my head around when they first introduced it as well).
Once you wrap your head around that it all makes sense, basically "it's hard" is the short answer.
What I'd absolutely love though is the ability to reuse the above widget to display the live-time view in W/kW if you have the sensors available because that looks really nice on a dashboard (one of the few things I like about the growatt website/app).
Hope that answers your question, let me know if there's anything else I can explain for you.
Sidenote - I recommend using the 'lifetime/total' values wherever possible on that energy dashboard over the 'today' ones, the 'today' ones occasionally fluctuate and it causes the graphs to go a bit mental. I've never seen the same issues with the 'lifetime/total' values.
Thank you for taking the time to compose that really helpful reply @muppet3000!
I've set the energy tab up again to use the Lifetime values - will see how the graphs look today. I can foresee me losing lots of time to HomeAssistant!! 😀
It would be nice to figure out how to do the live view of kW, but not that important to me. Just being able to see the battery SoC easily on a dashboard is going to be really helpful, rather than using the Growatt app (which, bizarrely, I cannot log into when on my WiFi network... only works if I use 4/5g 🤷♂️).
I made myself a little dashboard like this:
I'd like to see if I can repurpose that widget though, it would look really cool.
Just did a bit of googling and found this forum post: https://community.home-assistant.io/t/energy-dashboard-realtime-energy-distribution/341690/
Take a look specifically at this post: https://community.home-assistant.io/t/energy-dashboard-realtime-energy-distribution/341690/15?u=muppet3000
I'm going to have a play with one of those two 'live-power' cards and see if I can get them working because they'll 100% do what we want!!!
99% of the time in HA someone has already done the thing that you want :D
Yeah, I've created a very similar dashboard. Looks very good!
Will be interested to see how you get on with the power card - I'll investigate those links tonight. Thanks!
Hi, sorry if this is the wrong place for a query.
I've got your integration working - at least, the sensors have values that match the growatt app.
However, what I don't understand is the "Energy" tab on the sensors that I'd expect to use don't appear. E.g. for Export To Grid, on the energy config page pressing 'Add Return' presents this:
However, the entity I'd export to use for that is
sensor.ouctXXXXXX_export_to_grid_power
but it doesn't appear in the list. I think that is because the unit is Watts, and the dialog expects Wh/kWh. That doesn't make sense to me as I am not exporting kWh, I'm exporting kW.Even the graphic in the energy tab seems wrong to me:![image](https://github.com/muppet3000/homeassistant-grott/assets/692489/1213ed59-79c4-44cd-8601-f2529142027f)
These values should be Watts/kW surely? If not, which sensors should I map to the energy tab configuration?
Thanks very much! Please let me know if I can help or need to provide more information.