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

Add extra settings fields #48

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion goodwe/es.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,19 @@ class ES(Inverter):
Integer("bp_pv_discharge", 38, "BP PV Discharge"),
Integer("bp_bms_protocol", 40, "BP BMS Protocol"),
Integer("power_factor", 42, "Power Factor"),
Integer("float_voltage", 44, "Float Voltage"),

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Float voltage should be type Decimal with precision 10 (it's expressed in units of 0.1V)

Integer("float_current", 46, "Float Current"),
Integer("float_time", 48, "Float Time"),
Integer("battery_type", 50, "Battery Type"),
Integer("grid_export_limit", 52, "Grid Export Limit", "W", Kind.GRID),
Integer("battery_soc_protection", 56, "Battery SoC Protection", "", Kind.BAT),
Integer("battery_soc_protection", 56, "Battery SoC Protection", "", Kind.BAT),
Integer("average_voltage", 60, "Average Voltage"),

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any idea what this represents? It shows on my inverter as 550, so too high to be PV or mains voltage, so I suspect it might be battery voltage, in which case it would represent 55.0V - i.e. in 0.1V units.

Integer("average_time", 62, "Average Time"),
Integer("work_mode", 66, "Work Mode"),
Integer("grid_quality_check", 68, "Grid Quality Check"),

Integer("battery_count", 82, "Battery Count"),
Integer("protocol_code", 84, "Protocol Code"),

EcoModeV1("eco_mode_1", 1793, "Eco Mode Group 1"), # 0x701
ByteH("eco_mode_1_switch", 1796, "Eco Mode Group 1 Switch", "", Kind.BAT),
Expand Down