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

BUG - Inverter Lifetime total load consumption only showing when inverter is active #10

Open swemaverick opened 1 year ago

swemaverick commented 1 year ago

Describe the bug

In Home Assistant i managed to get my growatt server connection working, but the challenge is that it's now showing the load consumption when the solar panels are not live. I do get this information in the server.growatt.com webpage as well as in shinephone app.

image

and the same date in home assistant

image

To Reproduce

Visible every day, in Home Assistant I can only see the load consumption that reflects the time of the panels are active. My house is using electricty also on the other hours where the panels are not active.

Growatt Device Type

Device(s): Growatt MOD 10KTL3-XH with Wifi Dongle and Chint DTSU666 connected via MODBUS (?)

Home Assistant information

Additional context

N/A

muppet3000 commented 1 year ago

Hi @swemaverick - Thanks for logging this, I'm struggling to understand the problem though. Also, there is a template for bugs when you first create one. Please can you follow it/add the missing information.

What I THINK you mean is this: The Growatt Integration for home assistant is ONLY showing 'load consumption' information when the panels are in use even though the house is clearly always consuming energy.

I think in order to debug this further I may need take a look at how the MOD system works in more detail. Would you be willing to share access to your system with me? I've created an FAQ here if you're willing to share.

I have an idea of what the issue could be but I'd need to look at it to confirm it. I think your type of system may not provide instantaneous values via the app, therefore we may need to get them in a different way.

I'm happy to investigate further but I need more info and I need to fix some of the other bugs/requests first.

swemaverick commented 1 year ago

@muppet3000 , I have granted you access so you should have an email now. Also updated the ticket with the template (didn't understand first how it should be used sorry for that). and CORRECT you understands me right. The Load of my house is not shown 24hrs, only during the time panels are active. I'd like to see the whole usage in Home assistant, also during the dark times during the day and from other screenshots I've seen it in home assistant, and as you see in ShinePhone app the load is registered 24hrs.

muppet3000 commented 1 year ago

Hi @swemaverick - I have your credentials, thank you. I think I understand how this is happening, although I'll need to do more investigation. I believe this is due to the way that 'totals' are available on the API.

Can you please help me and send me a screenshot of the bit below the energy dashboard on HA that you've posted above. I'd like to see what sensor values you're using to feed into the details on the energy dashboard. Then I can re-create it myself and attempt to provide a fix.

swemaverick commented 1 year ago

I guess your mean this picture then?

image

This is bound to the entity sensor.inverter_lifetime_total_load_consumption which for the same day also looks like this in the loggs

image
swemaverick commented 1 year ago

@muppet3000 Do you need anything more from me to continue with this issue?

muppet3000 commented 1 year ago

Given the fact that the Growatt API is increasingly unreliable (see #15) I have slowly winding down support for this repo and instead directing people towards trying Grott instead: https://github.com/muppet3000/homeassistant-grott

I'm happy to help people out migrating over to the new method, it's far more reliable and I'm focussing all my efforts into making it the best possible option for everyone (including feeding back changes to the main developer)