Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting spikes using SunGather feeding into Home Assistant Energy dashboard #154

Open
insertactivate opened this issue Dec 8, 2023 · 5 comments

Comments

@insertactivate
Copy link

Getting spikes using SunGather feeding into Home Assistant Energy dashboard when the values suddenly drop to 0 and then up again (see e.g. 2:27 in attached snapshot) to previous value that then adds to the accumulated energy for a day which often doubles the total solar energy for a day.

Screenshot 2023-12-08 at 16 13 52

Screenshot 2023-12-08 at 16 13 31

Screenshot 2023-12-08 at 16 12 18

@insertactivate
Copy link
Author

SunGather v0.5.1

Need Help? https://github.com/bohdan-s/SunGather

NEW HomeAssistant Add-on: https://github.com/bohdan-s/SunGather

Address --

---- | device_type_code | SG12RT
vr001 | run_state | ON
vr003 | last_reset | 2023-12-9 0:00:39
vr006 | daily_export_to_grid | 0.0 kWh
vr007 | daily_import_from_grid | 0.0 kWh
5003 | daily_power_yields | 0.0 kWh
5004 | total_power_yields | 13057.2 kWh
5006 | total_running_time | 4295 h
5008 | internal_temperature | 16.1 °C
5009 | total_apparent_power | 0 VA
5019 | phase_a_voltage | 0.0 V
5031 | total_active_power | 0 W
5038 | work_state_1 | Standby
5083 | meter_power | 0 W
5091 | load_power | 0 W
5113 | daily_running_time | 0 min
5128 | monthly_power_yields | 10.6 kWh
5006 | start_stop | Start
vr002 | timestamp | 2023-12-9 0:15:36
vr004 | export_to_grid | 0 W
vr005 | import_from_grid | 0 W

Total 21 registers

ConfigurationValue
host10.0.30.200
port502
timeout10
retries3
RetryOnEmptyFalse
modelSG12RT
serial_numberA22A207075
level1
scan_interval30
use_local_timeFalse
smart_meterTrue
connectionmodbus
slave1
start_time

@insertactivate
Copy link
Author

Adding one more screenshot which covers 3 days (starting a bit late the first day). Events when data goes to 0 and then back again to previous value which then adds to the total energy sum and makes it incorrect (doubles it): day 1 at 6:24 PM, day 2 at 2:27 PM and 6:00 PM, day 3 at 10:45 AM and 3:35 PM.

Screenshot 2023-12-10 at 09 41 10

@martynaskel
Copy link

I have exactly the same problem. Event tried to create a secondary "utility meter" sensor from the Sungater's daily generation sensor with a "Periodically resetting" setting on, but that didn't help.

@insertactivate
Copy link
Author

So far I have "solved" it with a filter in Home Assistant; https://community.home-assistant.io/t/issues-in-energy-dashboard-with-accumulated-solar-production-values/652460/9

@stniemin
Copy link

Same issue here. Thanks for the workaround tip @insertactivate!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants