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]: Lost all optimizers #232
Comments
Can you upgrade to the latest beta version and let me know if the problem persists? If so: please use the debugging logs feature of home assistant to gather more extensive logs (cfr. manual on how to enable them |
I just did a few small fixes. Can you try again with version 1.2.0 beta 6? |
Your debug logs are too limited for me to further diagnose the problem. Please check your logs for any relevant errors (preferably with stacktraces) that you can send to me. You can also try to generate debug logs via the method described here: https://www.home-assistant.io/docs/configuration/troubleshooting/#debug-logs-and-diagnostics |
No Pb. This is the result of the trobleshoting activation in the integration in several minutes:
|
I don't see anything what shows me what the actual issue is. I will only be able to help you if you provide me with a error - including a stacktrace- of something that is going wrong. |
Hello home-assistant_2023-01-04T20-31-55.203Z.log |
Thank you for the logs. Your problem looks very similar to #225 . I'm still working on that. |
Allways thanks to you, and your fantastic work |
I found the root cause: the slave id was not passed correctly when retrieving the optimizer data. This caused it to default to slave_id 0 (which works for many people, including me). Can you try again with 1.2.0b7? |
Hello Some improuvement. Attached the log for first and last time home-assistant_huawei_solar_2023-01-05T16-00-19.857Z.log |
The sun is setting, so the optimizers are going offline. They then
disappear from the data I receive from the inverter and I thus have to
report them as unavailable until they come online. Works as expected 😁
…On Thu, Jan 5, 2023, 17:08 Marck ***@***.***> wrote:
I found the root cause: the slave id was not passed correctly when
retrieving the optimizer data. This caused it to default to slave_id 0
(which works for many people, including me).
Can you try again with 1.2.0b7?
Hello
Some improuvement.
Intalled last version.
Instaled the integration 1º time, detected 3 optimizers from the 12
Deleted and installed again, 2º time, detected 4 optimizers from the 12
Deleted and installed again last time, detected again 3 optimizers
Attached the log for first and last time
home-assistant_huawei_solar_2023-01-05T16-00-19.857Z.log
<https://github.com/wlcrs/huawei_solar/files/10353704/home-assistant_huawei_solar_2023-01-05T16-00-19.857Z.log>
config_entry-huawei_solar-d2aabcaddc2db02c63b5ad8c82af8b42.json.txt
<https://github.com/wlcrs/huawei_solar/files/10353705/config_entry-huawei_solar-d2aabcaddc2db02c63b5ad8c82af8b42.json.txt>
—
Reply to this email directly, view it on GitHub
<#232 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQM5LBSJ7M6ZKEVJJORWJTWQ3WYZANCNFSM6AAAAAATPZR3S4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
You were right |
Describe the issue
From the last December 30th the integration is not showing the optimizers (x 12 huawei)
I have 3 HA installations, one in proxmox, second in a raspPi4, and the last in a Oracle cloud with vpn
I tried to reinstall in all of them, but only connect with the inverter, power-metter, and battery.
Bescribe your Huawei Solar Setup
Inverter Type: KTL6000
Inverter Firmware version:V200R001C00SPC125
SDongle present: no
Power meter present: single phase /
Battery: LG RESU xxkWh / LUNA2000 10kWh
Battery Firmware version:V100R002C00SPC116
How do you connect to the inverter?
Over serial, with a serial-to-USB stick
Upload your Diagnostics File
Drag & Drop your Diagnostics File here. "integration_manifest": {
"domain": "huawei_solar",
"name": "Huawei Solar",
"config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/huawei_solar",
"issue_tracker": "https://github.com/wlcrs/huawei_solar/issues",
"requirements": [
"huawei-solar==2.1.6"
],
"codeowners": [
"@wlcrs"
],
"iot_class": "local_polling",
"version": "1.1.6",
"loggers": [
"huawei_solar",
"pymodbus"
],
"is_built_in": false
},
"data": {
"config_entry_data": {
"host": "192.168.31.240",
"port": 502,
"slave_ids": [
1
],
"enable_parameter_configuration": true,
"username": null,
"password": null
},
"slave_0": {
"model_name": "SUN2000-6KTL-L1",
"pv_string_count": 2,
"has_optimizers": 12,
"battery_1_type": 2,
"battery_2_type": 0,
"power_meter_type": 0
},
"slave_0_data": {
"input_power": [
2841,
"W"
],
"line_voltage_A_B": [
231.7,
"V"
],
"line_voltage_B_C": [
0.0,
"V"
],
"line_voltage_C_A": [
0.0,
"V"
],
"phase_A_voltage": [
237.6,
"V"
],
"phase_B_voltage": [
0.2,
"V"
],
"phase_C_voltage": [
0.0,
"V"
],
"phase_A_current": [
11.1,
"A"
],
"phase_B_current": [
0.0,
"A"
],
"phase_C_current": [
0.0,
"A"
],
"day_active_power_peak": [
4912,
"W"
],
"active_power": [
2557,
"W"
],
"reactive_power": [
-3,
"VA"
],
"power_factor": [
1.0,
null
],
"grid_frequency": [
49.99,
"Hz"
],
"efficiency": [
100.0,
"%"
],
"internal_temperature": [
28.2,
"\u00b0C"
],
"insulation_resistance": [
30.0,
"MOhm"
],
"device_status": [
"On-grid",
null
],
"fault_code": [
0,
null
],
"startup_time": [
"2023-01-03T09:14:17+00:00",
null
],
"shutdown_time": [
null,
null
],
"accumulated_yield_energy": [
9571.17,
"kWh"
],
"daily_yield_energy": [
6.51,
"kWh"
],
"state_1": [
[
"Grid-Connected",
"Grid-Connected normally"
],
null
],
"state_2": [
[
"Unlocked",
"PV connected",
"DSP data collection"
],
null
],
"state_3": [
[
"On-grid",
"Off-grid switch disabled"
],
null
],
"alarm_1": [
[],
null
],
"alarm_2": [
[],
null
],
"alarm_3": [
[],
null
],
"pv_01_voltage": [
238.7,
"V"
],
"pv_01_current": [
6.56,
"A"
],
"pv_02_voltage": [
214.9,
"V"
],
"pv_02_current": [
6.51,
"A"
],
"nb_online_optimizers": [
12,
null
],
"grid_A_voltage": [
230.6,
"V"
],
"grid_B_voltage": [
null,
"V"
],
"grid_C_voltage": [
null,
"V"
],
"active_grid_A_current": [
-0.62,
"I"
],
"active_grid_B_current": [
null,
"I"
],
"active_grid_C_current": [
null,
"I"
],
"power_meter_active_power": [
5,
"W"
],
"power_meter_reactive_power": [
144,
"Var"
],
"active_grid_power_factor": [
-0.101,
null
],
"active_grid_frequency": [
49.99,
"Hz"
],
"grid_exported_energy": [
6526.18,
"kWh"
],
"grid_accumulated_energy": [
4349.5,
"kWh"
],
"grid_accumulated_reactive_power": [
0.0,
"kVarh"
],
"meter_type": [
0,
null
],
"active_grid_A_B_voltage": [
null,
"V"
],
"active_grid_B_C_voltage": [
null,
"V"
],
"active_grid_C_A_voltage": [
null,
"V"
],
"active_grid_A_power": [
null,
"W"
],
"active_grid_B_power": [
null,
"W"
],
"active_grid_C_power": [
null,
"W"
],
"storage_state_of_capacity": [
88.0,
"%"
],
"storage_running_status": [
2,
null
],
"storage_bus_voltage": [
438.7,
"V"
],
"storage_bus_current": [
0.6,
"A"
],
"storage_charge_discharge_power": [
267,
"W"
],
"storage_total_charge": [
31.87,
"kWh"
],
"storage_total_discharge": [
26.75,
"kWh"
],
"storage_current_day_charge_capacity": [
12.8,
"kWh"
],
"storage_current_day_discharge_capacity": [
3.61,
"kWh"
]
}
}
}
Upload your relevant debug logs
Please confirm the following:
The text was updated successfully, but these errors were encountered: