Sungrow-SHx-Inverter-Modbus-Home-Assistant
Sungrow-SHx-Inverter-Modbus-Home-Assistant copied to clipboard
SG8.0RS Data Missing vs Sungather
Discussed in https://github.com/mkaiser/Sungrow-SHx-Inverter-Modbus-Home-Assistant/discussions/334
Originally posted by **bullantmm** September 11, 2024
I have setup this integration to mostly work with my SG8.0RS by going through all modbus registers and setting them correctly in modbus_sungrow.yaml however it seems a few values just won't take. Load Power, Daily exported energy, Daily imported energy are all available via Sungather (https://github.com/bohdan-s/SunGather/tree/main) but I can't seem to make them work in this integration... Any help appreciated.
Here is the output of Sungather:
I have setup this integration to mostly work with my SG8.0RS by going through all modbus registers and setting them correctly in modbus_sungrow.yaml however it seems a few values just won't take. Load Power, Daily exported energy, Daily imported energy are all available via Sungather (https://github.com/bohdan-s/SunGather/tree/main) but I can't seem to make them work in this integration... Any help appreciated.
Here is the output of Sungather:
5000 | device_type_code | SG80RS
vr001 | run_state | ON
vr003 | last_reset | 2024-9-11 0:00:13
vr006 | daily_export_to_grid | 4.4109833333333315 kWh
vr007 | daily_import_from_grid | 11.557683333333342 kWh
4950 | protocol_number | 1095971072
4952 | protocol_version | 16849152
4954 | arm_software_version | 16722
4969 | dsp_software_version | 19780
4990 | serial_number | XXXXXXXXXXX
5001 | nominal_active_power | 8.0 kW
5002 | output_type | 2P
5003 | daily_power_yields | 8.1 kWh
5004 | total_power_yields | 71.7 kWh
5006 | total_running_time | 26 h
5008 | internal_temperature | 44.2 °C
5009 | total_apparent_power | 4559 VA
5011 | mppt_1_voltage | 229.0 V
5012 | mppt_1_current | 6.4 A
5013 | mppt_2_voltage | 230.9 V
5014 | mppt_2_current | 5.6 A
5015 | mppt_3_voltage | 288.2 V
5016 | mppt_3_current | 6.5 A
5017 | total_dc_power | 4677 W
5019 | phase_a_voltage | 241.1 V
5020 | phase_b_voltage | 0.0 V
5021 | phase_c_voltage | 0.0 V
5022 | phase_a_current | 18.8 A
5023 | phase_b_current | 0.0 A
5024 | phase_c_current | 0.0 A
5031 | total_active_power | 4558 W
5033 | total_reactive_power | 462 Var
5035 | power_factor | 1.0
5036 | grid_frequency | 50.0 Hz
5038 | work_state_1 | Dispatch Run
5040 | alarm_time_month | 0
5041 | alarm_time_day | 0
5042 | alarm_time_hour | 0
5043 | alarm_time_minute | 0
5045 | alarm_time_second | 0
5045 | alarm_code_1 | 0
5049 | nominal_reactive_power | 4.8 kVar
5071 | array_insulation_resistance | 1894 k-ohm
5077 | active_power_regulation_setpoint | 8000 W
5079 | reactive_power_regulation_setpoint | 0 Var
5081 | work_state_2 | Run
5083 | meter_power | -3521 W
5085 | meter_a_phase_power | 0 W
5087 | meter_b_phase_power | 0 W
5089 | meter_c_phase_power | 0 W
5091 | load_power | 1037 W
5093 | daily_export_energy | 0.0 kWh
5095 | total_export_energy | 43.3 kWh
5097 | daily_import_energy | 0.0 kWh
5099 | total_import_energy | 69.1 kWh
5101 | daily_direct_energy_consumption | 0.0 kWh
5103 | total_direct_energy_consumption | 0.0 kWh
5113 | daily_running_time | 224 min
5115 | mppt_4_voltage | 0.0 V
5116 | mppt_4_current | 0.0 A
5117 | mppt_5_voltage | 0.0 V
5118 | mppt_5_current | 0.0 A
5119 | mppt_6_voltage | 0.0 V
5120 | mppt_6_current | 0.0 A
5121 | mppt_7_voltage | 0.0 V
5122 | mppt_7_current | 0.0 A
5123 | mppt_8_voltage | 0.0 V
5124 | mppt_8_current | 0.0 A
5128 | monthly_power_yields | 71.7 kWh
5130 | mppt_9_voltage | 0.0 V
5131 | mppt_9_current | 0.0 A
5132 | mppt_10_voltage | 0.0 V
5133 | mppt_10_current | 0.0 A
5134 | mppt_11_voltage | 0.0 V
5135 | mppt_11_current | 0.0 A
5136 | mppt_12_voltage | 0.0 V
5137 | mppt_12_current | 0.0 A
5146 | negative_voltage_to_the_ground | 0.0 V
5147 | bus_voltage | 390.6 V
5150 | pid_work_state | None
5151 | pid_alarm_code | None
5216 | export_power | -3525 W
5218 | power_meter | 1017 W
5601 | meter_total_power | -3521 W
5603 | meter_phase_a_power | 0 W
5605 | meter_phase_b_power | 0 W
5607 | meter_phase_c_power | 0 W
5622 | export_limit_min | 0 W
5623 | export_limit_max | 8000 W
5628 | bdc_rated_power | 0 W
5635 | bms_max_charging_current | 0 A
5636 | bms_max_discharging_current | 0 A
5723 | backup_phase_a_power | 0 W
5724 | backup_phase_b_power | 0 W
5725 | backup_phase_c_power | 0 W
5726 | total_backup_power | 0 W
6386 | direct_power_consumption_pv | 0.0 kWh
7013 | string_1_current | 0.0 A
7014 | string_2_current | 0.0 A
7015 | string_3_current | 0.0 A
7016 | string_4_current | 0.0 A
7017 | string_5_current | 0.0 A
7018 | string_6_current | 0.0 A
7019 | string_7_current | 0.0 A
7020 | string_8_current | 0.0 A
7021 | string_9_current | 0.0 A
7022 | string_10_current | 0.0 A
7023 | string_11_current | 0.0 A
7024 | string_12_current | 0.0 A
7025 | string_13_current | 0.0 A
7026 | string_14_current | 0.0 A
7027 | string_15_current | 0.0 A
7028 | string_16_current | 0.0 A
7029 | string_17_current | 0.0 A
7030 | string_18_current | 0.0 A
7031 | string_19_current | 0.0 A
7032 | string_20_current | 0.0 A
7033 | string_21_current | 0.0 A
7034 | string_22_current | 0.0 A
7035 | string_23_current | 0.0 A
7036 | string_24_current | 0.0 A
5006 | start_stop | Start
5007 | power_limitation_switch | Enable
5008 | power_limitation_setting | 100.0 %
5010 | export_power_limitation | None
5011 | export_power_limitation_value | 0
5012 | current_transformer_output_current | 0 A
5013 | current_transformer_range | 0 A
5014 | current_transformer | None
5015 | export_power_limitation_percentage | 0.0 %
5016 | installed_pv_power | 0.0 KW
5019 | power_factor_setting | 0.0
5035 | night_svg_switch | Disable
5036 | reactive_power_adjustment_mode | Enable Q(U)
5037 | reactive_power_percentage_setting | 0.0 %
5039 | power_limitation_adjustment | 8.0 kW
5040 | reactive_power_adjustment | 0.0 kVar
5041 | pid_recovery | Disable
5042 | anti_pid | None
5043 | fullday_pid_suppression | None
33047 | battery_max_charge_power | 0 W
33048 | battery_max_discharge_power | 0 W
vr002 | timestamp | 2024-9-11 10:39:46
vr004 | export_to_grid | 3521 W
vr005 | import_from_grid | 0 W