mkaiser / Sungrow-SHx-Inverter-Modbus-Home-Assistant

Sungrow SH Integration for Home Assistant for SH3K6, SH4K6, SH5K-20, SH5K-V13, SH3K6-30, SH4K6-30, SH5K-30, SH3.RS, SH3.6RS, SH4.0RS, SH5.0RS, SH6.0RS, SH5.0RT, SH6.0RT, SH8.0RT, SH10RT, SH5.0RT-20, SH6.0RT-20, SH8.0RT-20, SH10RT-20, SH5.0RT-V112, SH6.0RT-V112, SH8.0RT-V112, SH10RT-V112, SH5.0RT-V122, SH6.0RT-V122, SH8.0RT-V122, SH10RT-V122, SH4.6R
316 stars 80 forks source link

Missing Statistik data post latest update #315

Closed apographon closed 2 weeks ago

apographon commented 2 weeks ago

Before you create an issue, make sure to update to the current version of modbus_sungrow.yaml

Describe the bug:

After the Upgrade to the latest version of Home Assistant and the Sungrow Integration my Home Assistant doesn‘t show any statistics anymore. The Grafana DB still gets data.

Core: 2024.7.1 Supervisor: 2024.06.2 Operating System: 12.4 Frontend: 20240705.

Modbus_sungrow: 2024-04-05

Happy to get some advices.

Your Sungrow inverter:

modbus_sungrow.yaml:

Inverter Firmware Status:

To Reproduce Steps to reproduce the behavior:

Expected behavior

Screenshots IMG_0820

Additional context Just updated everything lately to the latest versions

apographon commented 2 weeks ago

IMG_0821 Grafana detail - so there must be some data somehow….

Gnarfoz commented 2 weeks ago

Does your log mention anything about the "recorder backlog" being full? I've recently been encountering a similar problem, every morning the recorder stops recording new events. Restarting HA fixes it for the day.

apographon commented 2 weeks ago

I just deleted the Database... seems to be corrupted

Gnarfoz commented 2 weeks ago

Turns out it was actually a bug in Home Assistant that was fixed in 2024.7.2: https://community.home-assistant.io/t/psa-2024-7-recorder-problems/746428

...and I spent the last two weeks chasing my tail and trying to reduce the size of the database by setting up filters for recorder... Probably not a totally wasted effort, went from 10 GiB to 900 MiB. 🔽