huawei_solar: [Bug]: Lost all optimizers
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
2023-01-03 16:08:10.103 INFO (MainThread) [homeassistant.components.automation.huawei_solar_inverter_data_polling_2] Huawei Solar inverter data polling: Running automation actions
2023-01-03 16:08:10.103 INFO (MainThread) [homeassistant.components.automation.huawei_solar_inverter_data_polling_2] Huawei Solar inverter data polling: Executing step call service
2023-01-03 16:08:10.104 WARNING (MainThread) [homeassistant.helpers.entity_component] Forced update failed. Entity sensor.daily_yield not found.
2023-01-03 16:08:13.039 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting.
2023-01-03 16:08:13.041 WARNING (MainThread) [pymodbus.client.asynchronous.async_io] Failed to connect: Multiple exceptions: [Errno 111] Connect call failed ('::1', 502, 0, 0), [Errno 111] Connect call failed ('127.0.0.1', 502)
2023-01-03 16:08:13.043 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 204800 ms before next connection attempt.
Please confirm the following:
- The problem is still present in 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 increased the logging configuration, restarted HA, and have copied all relevant log lines from the ‘Full Logs’ into the textarea.
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 16 (7 by maintainers)
Thank you for the logs. Your problem looks very similar to #225 . I’m still working on that.