davidrapan / ha-solarman

⚡ Solarman Stick Logger integration for 🏠 Home Assistant
MIT License
52 stars 16 forks source link

Total Production is dropping to zero #65

Closed switschel closed 1 month ago

switschel commented 1 month ago

Since release v24.08.04 my microinverter total production value is shortly dropping to "0" and afterwards to the correct values. This leads to wrong statistics in the energy dashboard saying that the total production happend every day.

Would be great if the drop to zero on microinverter start can be avoided each day morning.

Since latest update dropping to zero image

Before the update you see that the value is just "not available" image

davidrapan commented 1 month ago

Ah, damn...

Would you be willing to test which beta version between versions 24.07.24 - 24.08.04 introduced this mess?

Edit2: If you could test versions 24.07.26 and 24.07.28?

Edit: And could you also provide debug logging from that time? So I can see the state in which it is?

Edit3: I also made some changes which could help you with your issue here: refactor: Asyncio timeout handling moved to api.py

Edit4: Small improvement to the commit above: feat: Don't raise TimeoutError immediately

switschel commented 1 month ago

I tested v24.08.05, also not working. I only see the latest 5 releases in HACS which starts with 24.08.01 when beta is enabled. Now switched back to 24.07.24

davidrapan commented 1 month ago

Yeah I guess you gonna have to do it manually then.

Even the latest commits as they are not part of any release yet.

davidrapan commented 1 month ago

Try 24.08.08 pre-release.

switschel commented 1 month ago

Try 24.08.08 pre-release.

Tried it, same issue. Dropping to zero every day the microinverter starts.

davidrapan commented 1 month ago

What device are you using? And are you using your custom profile or which one do you use?

switschel commented 1 month ago

Deye sun600g3-eu with deye 2mppt profile

davidrapan commented 1 month ago

Your issue is proly caused by this: fix: Deye microinverters validation lowered to 0.0

It now somehow makes sense why it was there... But it caused issues with new inverters...

davidrapan commented 1 month ago

Try it with definition profile (or simply with those changes) from this commit: fix: Deye microinverters PV validation to 0.1

davidrapan commented 1 month ago

Confirmed as fixed in: https://github.com/davidrapan/ha-solarman/issues/76