muppet3000 / homeassistant-growatt_server_api

Home Assistant Integration for Growatt - Upstream repo for the growatt_server integration that is part of the Core Home Assistant repository
MIT License
52 stars 6 forks source link

ENCHANCEMENT - Energy sensors/metrics as statistics #30

Closed pmp02 closed 1 year ago

pmp02 commented 1 year ago

Is your feature request related to a problem? Please describe. I want to add the Energy Today sensor value to the Energy Dashboard but it's not listed. Only the Lifetime energy (which is not accurate) is available in the dropdown. I do not have the Inverter values working (yet, as I have an MAX/MID/MAC inverter which is not yet supported), so only few at the farm level.

Describe the solution you'd like All sensors which gather energy (kWh) to be defined as statistic (as per HA request

Describe alternatives you've considered Currently using the Lifetime Energy sensor in the Energy dashboard but it's not that accurate (I don't thing Growatt is calculating it that often).

Additional context You can see difference shown in the Energy Dashboard (calculated from Lifetime energy) vs Energy Today from the Growatt integration.

Energy_dashboard

bardahlm commented 1 year ago

The energy dashboard is updated only once per hour.

muppet3000 commented 1 year ago

Hi @pmp02 I've just pushed a change to the 'dev' branch so that the "Energy Today" field should appear on the Energy Dashboard. Let me know how it performs.

pmp02 commented 1 year ago

Hi @muppet3000 ! Growatt has locked my account, so I'm waiting for them to unlock it, create another user and then give it a try.

Thanks a lot, that was fast :).

muppet3000 commented 1 year ago

@pmp02 - Have you tried just creating another account through the web UI? You can follow my instructions here: https://github.com/muppet3000/homeassistant-growatt_server_api/blob/dev/FAQ.md#how-do-i-share-my-credentials-with-you-for-testingadding-new-features-for-my-system-type

pmp02 commented 1 year ago

Thanks @muppet3000 , I've seen the steps but didn't got the time do it. Will give it a try the following days.

pmp02 commented 1 year ago

Hi, @muppet3000 . Just tried the new version and the statistic works! Nice! Thanks a lot!

muppet3000 commented 1 year ago

No problem, happy to help

IlPicasso commented 11 months ago

Hello , this doesnt seems to be working well Screenshot_2023-07-17-20-56-14-805_io homeassistant companion android

Saentist commented 11 months ago

Hello , this doesnt seems to be working well

Too many restart's of integration, and ban from server. 24h patience without access.

IlPicasso commented 11 months ago

Hello , this doesnt seems to be working well

Too many restart's of integration, and ban from server. 24h patience without access.

I just moved to grott! Best decision

muppet3000 commented 11 months ago

Hello , this doesnt seems to be working well

Too many restart's of integration, and ban from server. 24h patience without access.

I just moved to grott! Best decision

Correct answer!!!

Did you use my other integration? https://github.com/muppet3000/homeassistant-grott

IlPicasso commented 11 months ago

Hello , this doesnt seems to be working well

Too many restart's of integration, and ban from server. 24h patience without access.

I just moved to grott! Best decision

Correct answer!!!

Did you use my other integration? https://github.com/muppet3000/homeassistant-grott

That and this https://github.com/egguy/grott-home-assistant-add-on

muppet3000 commented 11 months ago

Hello , this doesnt seems to be working well

Too many restart's of integration, and ban from server. 24h patience without access.

I just moved to grott! Best decision

Correct answer!!! Did you use my other integration? https://github.com/muppet3000/homeassistant-grott

That and this https://github.com/egguy/grott-home-assistant-add-on

Awesome, I need to update the documentation to explain how to use that. There's a new version of it which just does the publishing to MQTT so that my integration is what gets used for all the senors.

Really glad it worked for you. I'm going to update the documentation soon.