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

[Bug]: Strange daily yeld values during midnight #844

Open
5 tasks done
brainupstudio opened this issue Nov 5, 2024 · 0 comments
Open
5 tasks done

[Bug]: Strange daily yeld values during midnight #844

brainupstudio opened this issue Nov 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@brainupstudio
Copy link

brainupstudio commented Nov 5, 2024

Describe the issue

I have some strange value during midnight like in example below. Some days are very high, others day are little value, some other days there aren't. These high values compromise total daily yeld.

On the left the HS energy dashboard, on the right the Huawei Fusion Solar dashboard
__1
__2

I'd integrated the sensor "input_power_with_efficiency_loss" like explained in the wiki section.

Screenshot 2024-11-05 alle 22 55 46

How can I fix this problem?
Thanks,
Luca

Describe your Huawei Solar Setup

Inverter Type: INV-TA22B0346210
Inverter Firmware version: V200R001C00SPC142
sDongle present: No
Power meter present: single phase
Optimizers Present: No
Battery: LUNA2000-10KW-C1
Battery Firmware version: V200R023C10SPC110
Huawei Solar integration version: 1.5.0a1

How do you connect to the inverter?

Via the SUN2000-<serial_no> WiFi

Upload your Diagnostics File

Drag & Drop your Diagnostics File here.
config_entry-huawei_solar-01JA5GJMBGWVPVT07MSDSV9F2D.json

Upload your relevant debug logs

I think these are not relevant log lines...


2024-11-05 23:35:12.608 DEBUG (MainThread) [huawei_solar.bridge] Batch update of the following registers: state_1, state_2, state_3, alarm_1, alarm_2, alarm_3, pv_01_voltage, pv_01_current, pv_02_voltage, pv_02_current
2024-11-05 23:35:12.609 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 32000 with length 20 from slave 0
2024-11-05 23:35:12.619 DEBUG (MainThread) [huawei_solar.bridge] Batch update of the following registers: input_power, day_active_power_peak, active_power, efficiency, device_status, startup_time, shutdown_time, accumulated_yield_energy, total_dc_input_power, hourly_yield_energy, daily_yield_energy
2024-11-05 23:35:12.620 DEBUG (MainThread) [huawei_solar.huawei_solar] Sleeping for 0.049240 seconds before making next call
2024-11-05 23:35:12.670 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 32064 with length 52 from slave 0
2024-11-05 23:35:12.921 DEBUG (MainThread) [custom_components.huawei_solar] Finished fetching TA22B0346210_inverter_data_update_coordinator data in 0.313 seconds (success: True)
2024-11-05 23:35:12.923 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_reported[L]: entity_id=sensor.inverter_hourly_yield, old_last_reported=2024-11-05T23:34:42.758441+01:00, new_state=<state sensor.inverter_hourly_yield=0.17; state_class=total_increasing, unit_of_measurement=kWh, device_class=energy, icon=mdi:solar-power, friendly_name=Inverter Hourly yield @ 2024-11-05T23:34:12.717029+01:00>>
2024-11-05 23:35:12.923 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_reported[L]: entity_id=sensor.inverter_rendimento_giornaliero, old_last_reported=2024-11-05T23:34:42.758616+01:00, new_state=<state sensor.inverter_rendimento_giornaliero=9.35; state_class=total_increasing, unit_of_measurement=kWh, device_class=energy, icon=mdi:solar-power, friendly_name=Inverter Rendimento giornaliero @ 2024-11-05T23:34:12.717309+01:00>>
2024-11-05 23:35:12.925 DEBUG (MainThread) [huawei_solar.bridge] Batch update of the following registers: power_meter_active_power, active_grid_power_factor, grid_exported_energy, grid_accumulated_energy
2024-11-05 23:35:12.925 DEBUG (MainThread) [huawei_solar.huawei_solar] Sleeping for 0.044810 seconds before making next call
2024-11-05 23:35:12.971 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 37113 with length 10 from slave 0
2024-11-05 23:35:12.983 DEBUG (MainThread) [custom_components.huawei_solar] Finished fetching TA22B0346210_power_meter_data_update_coordinator data in 0.294 seconds (success: True)
2024-11-05 23:35:16.413 DEBUG (MainThread) [huawei_solar.bridge] Batch update of the following registers: storage_state_of_capacity, storage_running_status, storage_bus_voltage, storage_bus_current, storage_charge_discharge_power, storage_total_charge, storage_total_discharge, storage_current_day_charge_capacity, storage_current_day_discharge_capacity
2024-11-05 23:35:16.413 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 37760 with length 28 from slave 0
2024-11-05 23:35:16.445 DEBUG (MainThread) [custom_components.huawei_solar] Finished fetching TA22B0346210_battery_data_update_coordinator data in 0.033 seconds (success: True)
2024-11-05 23:35:16.581 ERROR (MainThread) [homeassistant.components.forecast_solar] Unexpected error fetching forecast_solar data
File "/usr/src/homeassistant/homeassistant/components/forecast_solar/coordinator.py", line 69, in _async_update_data
File "/usr/local/lib/python3.12/site-packages/forecast_solar/__init__.py", line 194, in estimate
File "/usr/local/lib/python3.12/site-packages/forecast_solar/__init__.py", line 132, in _request
raise ForecastSolarConfigError(data["message"])
forecast_solar.exceptions.ForecastSolarConfigError: Invalid location, invalid plane definition or kWp == 0 (error 422)
2024-11-05 23:35:16.582 DEBUG (MainThread) [homeassistant.components.forecast_solar] Finished fetching forecast_solar data in 0.171 seconds (success: False)
2024-11-05 23:35:16.582 DEBUG (MainThread) [homeassistant.config_entries] Config entry 'PotHome' for forecast_solar integration not ready yet: Invalid location, invalid plane definition or kWp == 0 (error 422); Retrying in 80 seconds
2024-11-05 23:35:42.609 DEBUG (MainThread) [huawei_solar.bridge] Batch update of the following registers: state_1, state_2, state_3, alarm_1, alarm_2, alarm_3, pv_01_voltage, pv_01_current, pv_02_voltage, pv_02_current
2024-11-05 23:35:42.610 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 32000 with length 20 from slave 0
2024-11-05 23:35:42.621 DEBUG (MainThread) [huawei_solar.bridge] Batch update of the following registers: input_power, day_active_power_peak, active_power, efficiency, device_status, startup_time, shutdown_time, accumulated_yield_energy, total_dc_input_power, hourly_yield_energy, daily_yield_energy
2024-11-05 23:35:42.621 DEBUG (MainThread) [huawei_solar.huawei_solar] Sleeping for 0.049297 seconds before making next call
2024-11-05 23:35:42.671 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 32064 with length 52 from slave 0
2024-11-05 23:35:42.712 DEBUG (MainThread) [custom_components.huawei_solar] Finished fetching TA22B0346210_inverter_data_update_coordinator data in 0.103 seconds (success: True)
2024-11-05 23:35:42.714 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_reported[L]: entity_id=sensor.inverter_hourly_yield, old_last_reported=2024-11-05T23:35:12.923346+01:00, new_state=<state sensor.inverter_hourly_yield=0.17; state_class=total_increasing, unit_of_measurement=kWh, device_class=energy, icon=mdi:solar-power, friendly_name=Inverter Hourly yield @ 2024-11-05T23:34:12.717029+01:00>>
2024-11-05 23:35:42.714 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_reported[L]: entity_id=sensor.inverter_rendimento_giornaliero, old_last_reported=2024-11-05T23:35:12.923479+01:00, new_state=<state sensor.inverter_rendimento_giornaliero=9.35; state_class=total_increasing, unit_of_measurement=kWh, device_class=energy, icon=mdi:solar-power, friendly_name=Inverter Rendimento giornaliero @ 2024-11-05T23:34:12.717309+01:00>>
2024-11-05 23:35:42.716 DEBUG (MainThread) [huawei_solar.bridge] Batch update of the following registers: power_meter_active_power, active_grid_power_factor, grid_exported_energy, grid_accumulated_energy
2024-11-05 23:35:42.716 DEBUG (MainThread) [huawei_solar.huawei_solar] Sleeping for 0.045094 seconds before making next call
2024-11-05 23:35:42.763 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 37113 with length 10 from slave 0
2024-11-05 23:35:42.772 DEBUG (MainThread) [custom_components.huawei_solar] Finished fetching TA22B0346210_power_meter_data_update_coordinator data in 0.083 seconds (success: True)
2024-11-05 23:35:45.934 DEBUG (MainThread) [huawei_solar.bridge] Batch update of the following registers: storage_state_of_capacity, storage_running_status, storage_bus_voltage, storage_bus_current, storage_charge_discharge_power, storage_total_charge, storage_total_discharge, storage_current_day_charge_capacity, storage_current_day_discharge_capacity
2024-11-05 23:35:45.935 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 37760 with length 28 from slave 0
2024-11-05 23:35:45.945 DEBUG (MainThread) [custom_components.huawei_solar] Finished fetching TA22B0346210_battery_data_update_coordinator data in 0.011 seconds (success: True)
2024-11-05 23:35:57.265 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_reported[L]: entity_id=sensor.aurora_api_now_2, old_last_reported=2024-11-05T23:34:56.563061+01:00, new_state=<state sensor.aurora_api_now_2=-0.0; unit_of_measurement=kWh, icon=mdi:solar-power-variant, friendly_name=Produzione attuale @ 2024-11-05T22:53:24.854452+01:00>>
2024-11-05 23:35:57.265 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_reported[L]: entity_id=sensor.aurora_api_now_2, old_last_reported=2024-11-05T23:35:57.265001+01:00, new_state=<state sensor.aurora_api_now_2=-0.0; unit_of_measurement=kWh, icon=mdi:solar-power-variant, friendly_name=Produzione attuale @ 2024-11-05T22:53:24.854452+01:00>>
2024-11-05 23:35:57.265 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_reported[L]: entity_id=sensor.aurora_api_now_2, old_last_reported=2024-11-05T23:35:57.265261+01:00, new_state=<state sensor.aurora_api_now_2=-0.0; unit_of_measurement=kWh, icon=mdi:solar-power-variant, friendly_name=Produzione attuale @ 2024-11-05T22:53:24.854452+01:00>>

Please confirm the following:

  • I'm running the latest release of Home Assistant.
  • I'm running the latest release of this integration.
  • I did not find an existing issue describing this problem.
  • I did upload the diagnostics-file that I could retrieve from the 'Devices & Services Page'
  • I did upload the relevant debug logs (via 'Enable Debug Logging'-feature or by manually configuring HA logging)
@brainupstudio brainupstudio added the bug Something isn't working label Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant