Since updating to 1.2.2 version of this integration I can no longer send commands to the inverter (for example to turn on grid Charge) since it always returns the error WriteSingleRegisterResponse
Bescribe your Huawei Solar Setup
Inverter Type: Sun2000 8TKL M1
Inverter Firmware version: 150
SDongle present: yes
Power meter present: three phase
Battery: LUNA2000 10kWh
Battery Firmware version: 116
Describe the issue
Hi,
Since updating to 1.2.2 version of this integration I can no longer send commands to the inverter (for example to turn on grid Charge) since it always returns the error WriteSingleRegisterResponse
Bescribe your Huawei Solar Setup
Inverter Type: Sun2000 8TKL M1 Inverter Firmware version: 150 SDongle present: yes Power meter present: three phase Battery: LUNA2000 10kWh Battery Firmware version: 116
How do you connect to the inverter?
Over serial, with a serial-to-USB stick
Upload your Diagnostics File
"home_assistant": { "installation_type": "Home Assistant OS", "version": "2023.1.7", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.10.7", "docker": true, "arch": "aarch64", "timezone": "Europe/Berlin", "os_name": "Linux", "os_version": "5.15.84-v8", "supervisor": "2023.01.1", "host_os": "Home Assistant OS 9.5", "docker_version": "20.10.22", "chassis": "embedded", "run_as_root": true }, "custom_components": { "nordpool_diff": { "version": "0.2.2", "requirements": [] }, "better_thermostat": { "version": "1.0.0", "requirements": [] }, "reolink_dev": { "version": "0.61", "requirements": [ "reolink==0.0.64", "aiosmtpd>=1.4.2" ] }, "hacs": { "version": "1.30.1", "requirements": [ "aiogithubapi>=22.10.1" ] }, "mass": { "version": "2022.12.1", "requirements": [ "music-assistant==1.8.7.2", "git+https://github.com/music-assistant/databases@fix-breaking-sqlalchemy-cursor-changes#databases==0.6.3" ] }, "nordpool": { "version": "0.0.10", "requirements": [ "nordpool>=0.2" ] }, "homematicip_local": { "version": "1.27.2", "requirements": [ "hahomematic==2023.1.7" ] }, "smart_thermostat": { "version": "2021.11.1", "requirements": [] }, "solcast_solar": { "version": "3.0.32", "requirements": [ "aiohttp>=3.6.2", "datetime>=4.3", "isodate>=0.6.0" ] }, "energyscore": { "version": "1.1.3", "requirements": [] }, "tesla_custom": { "version": "3.9.1", "requirements": [ "teslajsonpy==3.7.1" ] }, "ev_smart_charging": { "version": "v1.6.0", "requirements": [] }, "tibber_data": { "version": "0.6.0", "requirements": [ "pyTibber>=0.25.2" ] }, "entsoe": { "version": "0.0.1", "requirements": [ "entsoe-py==0.5.8" ] }, "nordpool_planner": { "version": "0.1.4", "requirements": [] }, "thermal_comfort": { "version": "2.0.1", "requirements": [] }, "climate_group": { "version": "0.4.2", "requirements": [] }, "priceanalyzer": { "version": "1.2", "requirements": [ "nordpool>=0.2" ] }, "govee": { "version": "0.2.2", "requirements": [ "govee-api-laggat==0.2.2", "dacite==1.6.0" ] }, "huawei_solar": { "version": "1.2.2", "requirements": [ "huawei-solar==2.2.2" ] }, "nodered": { "version": "1.1.2", "requirements": [] }, "reolink_discovery": { "version": "1.1.1", "requirements": [] } }, "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.2.2" ], "codeowners": [ "@wlcrs" ], "iot_class": "local_polling", "version": "1.2.2", "loggers": [ "huawei_solar", "pymodbus" ], "is_built_in": false }, "data": { "config_entry_data": { "host": "192.168.178.153", "port": 502, "slave_ids": [ 1 ], "enable_parameter_configuration": true, "username": null, "password": null }, "slave_0": { "model_name": "SUN2000-8KTL-M1\u000001074300-002", "pv_string_count": 2, "has_optimizers": 0, "battery_type": 2, "battery_1_type": 2, "battery_2_type": 0, "power_meter_type": 1, "supports_capacity_control": true }, "slave_0_data": { "input_power": [ 0, "W" ], "line_voltage_A_B": [ 413.3, "V" ], "line_voltage_B_C": [ 417.9, "V" ], "line_voltage_C_A": [ 415.4, "V" ], "phase_A_voltage": [ 238.6, "V" ], "phase_B_voltage": [ 239.4, "V" ], "phase_C_voltage": [ 241.7, "V" ], "phase_A_current": [ 0.343, "A" ], "phase_B_current": [ 0.339, "A" ], "phase_C_current": [ 0.356, "A" ], "day_active_power_peak": [ 3748, "W" ], "active_power": [ 176, "W" ], "reactive_power": [ -1, "VA" ], "power_factor": [ 1.0, null ], "grid_frequency": [ 50.02, "Hz" ], "efficiency": [ 100.0, "%" ], "internal_temperature": [ 40.5, "\u00b0C" ], "insulation_resistance": [ 30.0, "MOhm" ], "device_status": [ "On-grid", null ], "fault_code": [ 0, null ], "startup_time": [ "2023-01-30T07:58:48+00:00", null ], "shutdown_time": [ null, null ], "accumulated_yield_energy": [ 399.69, "kWh" ], "daily_yield_energy": [ 3.45, "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": [ 227.1, "V" ], "pv_01_current": [ 0.0, "A" ], "pv_02_voltage": [ 137.0, "V" ], "pv_02_current": [ 0.0, "A" ], "grid_A_voltage": [ 240.6, "V" ], "grid_B_voltage": [ 240.5, "V" ], "grid_C_voltage": [ 241.3, "V" ], "active_grid_A_current": [ 0.47, "I" ], "active_grid_B_current": [ -0.7, "I" ], "active_grid_C_current": [ 0.61, "I" ], "power_meter_active_power": [ 5, "W" ], "power_meter_reactive_power": [ 267, "Var" ], "active_grid_power_factor": [ 0.0, null ], "active_grid_frequency": [ 50.0, "Hz" ], "grid_exported_energy": [ 53.54, "kWh" ], "grid_accumulated_energy": [ 617.91, "kWh" ], "grid_accumulated_reactive_power": [ 0.0, "kVarh" ], "meter_type": [ 1, null ], "active_grid_A_B_voltage": [ 416.6, "V" ], "active_grid_B_C_voltage": [ 417.2, "V" ], "active_grid_C_A_voltage": [ 417.3, "V" ], "active_grid_A_power": [ 14, "W" ], "active_grid_B_power": [ -46, "W" ], "active_grid_C_power": [ 38, "W" ], "storage_state_of_capacity": [ 69.0, "%" ], "storage_running_status": [ 2, null ], "storage_bus_voltage": [ 766.8, "V" ], "storage_bus_current": [ -0.3, "A" ], "storage_charge_discharge_power": [ -178, "W" ], "storage_total_charge": [ 281.7, "kWh" ], "storage_total_discharge": [ 270.16, "kWh" ], "storage_current_day_charge_capacity": [ 5.98, "kWh" ], "storage_current_day_discharge_capacity": [ 3.54, "kWh" ] }, "slave_0_config_data": { "storage_maximum_charging_power": [ 5000, "W" ], "storage_maximum_discharging_power": [ 5000, "W" ], "storage_charging_cutoff_capacity": [ 100.0, "%" ], "storage_discharging_cutoff_capacity": [ 5.0, "%" ], "storage_working_mode_settings": [ 2, null ], "storage_charge_from_grid_function": [ true, null ], "storage_grid_charge_cutoff_state_of_charge": [ 100.0, "%" ], "storage_fixed_charging_and_discharging_periods": [ [], null ], "storage_power_of_charge_from_grid": [ 8800, "W" ], "storage_maximum_power_of_charge_from_grid": [ 8800, "W" ], "storage_time_of_use_charging_and_discharging_periods": [
Upload your relevant debug logs
Please confirm the following: