Ich habe in einem anderen Beitrag hier im Forum etwas zu den DT Modellen gefunden. So wie es aussieht decken diese sämtliche Stringwechselrichter von Goodwe ab die sie im Programm haben.
aber ich steige bei den Registern leider überhaupt nicht durch.
viewtopic.php?p=32563#p32563
mir würden für mein Dashboard folgende 2 Register reichen:
Code: Alles auswählen
Energy("e_day", 30144, "Today's PV Generation", Kind.PV),
Power("ppv", 30128, "PV Power", Kind.PV),
https://github.com/marcelblijleven/good ... odwe/dt.py
Code: Alles auswählen
class DT(Inverter):
"""Class representing inverter of DT/MS/D-NS/XS or GE's GEP(PSB/PSC) families"""
__all_sensors: Tuple[Sensor, ...] = (
Timestamp("timestamp", 30100, "Timestamp"),
Voltage("vpv1", 30103, "PV1 Voltage", Kind.PV),
Current("ipv1", 30104, "PV1 Current", Kind.PV),
Calculated("ppv1",
lambda data: round(read_voltage(data, 30103) * read_current(data, 30104)),
"PV1 Power", "W", Kind.PV),
Voltage("vpv2", 30105, "PV2 Voltage", Kind.PV),
Current("ipv2", 30106, "PV2 Current", Kind.PV),
Calculated("ppv2",
lambda data: round(read_voltage(data, 30105) * read_current(data, 30106)),
"PV2 Power", "W", Kind.PV),
Voltage("vpv3", 30107, "PV3 Voltage", Kind.PV),
Current("ipv3", 30108, "PV3 Current", Kind.PV),
Calculated("ppv3",
lambda data: round(read_voltage(data, 30107) * read_current(data, 30108)),
"PV3 Power", "W", Kind.PV),
# Voltage("vpv4", 14, "PV4 Voltage", Kind.PV),
# Current("ipv4", 16, "PV4 Current", Kind.PV),
# Voltage("vpv5", 14, "PV5 Voltage", Kind.PV),
# Current("ipv5", 16, "PV5 Current", Kind.PV),
# Voltage("vpv6", 14, "PV6 Voltage", Kind.PV),
# Current("ipv6", 16, "PV7 Current", Kind.PV),
Voltage("vline1", 30115, "On-grid L1-L2 Voltage", Kind.AC),
Voltage("vline2", 30116, "On-grid L2-L3 Voltage", Kind.AC),
Voltage("vline3", 30117, "On-grid L3-L1 Voltage", Kind.AC),
Voltage("vgrid1", 30118, "On-grid L1 Voltage", Kind.AC),
Voltage("vgrid2", 30119, "On-grid L2 Voltage", Kind.AC),
Voltage("vgrid3", 30120, "On-grid L3 Voltage", Kind.AC),
Current("igrid1", 30121, "On-grid L1 Current", Kind.AC),
Current("igrid2", 30122, "On-grid L2 Current", Kind.AC),
Current("igrid3", 30123, "On-grid L3 Current", Kind.AC),
Frequency("fgrid1", 30124, "On-grid L1 Frequency", Kind.AC),
Frequency("fgrid2", 30125, "On-grid L2 Frequency", Kind.AC),
Frequency("fgrid3", 30126, "On-grid L3 Frequency", Kind.AC),
Calculated("pgrid1",
lambda data: round(read_voltage(data, 30118) * read_current(data, 30121)),
"On-grid L1 Power", "W", Kind.AC),
Calculated("pgrid2",
lambda data: round(read_voltage(data, 30119) * read_current(data, 30122)),
"On-grid L2 Power", "W", Kind.AC),
Calculated("pgrid3",
lambda data: round(read_voltage(data, 30120) * read_current(data, 30123)),
"On-grid L3 Power", "W", Kind.AC),
Integer("xx54", 30127, "Unknown sensor@54"),
Power("ppv", 30128, "PV Power", Kind.PV),
Integer("work_mode", 30129, "Work Mode code"),
Enum2("work_mode_label", 30129, WORK_MODES, "Work Mode"),
Long("error_codes", 30130, "Error Codes"),
Integer("warning_code", 30132, "Warning code"),
Integer("xx66", 30133, "Unknown sensor@66"),
Integer("xx68", 30134, "Unknown sensor@68"),
Integer("xx70", 30135, "Unknown sensor@70"),
Integer("xx72", 30136, "Unknown sensor@72"),
Integer("xx74", 30137, "Unknown sensor@74"),
Integer("xx76", 30138, "Unknown sensor@76"),
Integer("xx78", 30139, "Unknown sensor@78"),
Integer("xx80", 30140, "Unknown sensor@80"),
Temp("temperature", 30141, "Inverter Temperature", Kind.AC),
Integer("xx84", 30142, "Unknown sensor@84"),
Integer("xx86", 30143, "Unknown sensor@86"),
Energy("e_day", 30144, "Today's PV Generation", Kind.PV),
Energy4("e_total", 30145, "Total PV Generation", Kind.PV),
Long("h_total", 30147, "Hours Total", "h", Kind.PV),
Integer("safety_country", 30149, "Safety Country code", "", Kind.AC),
Enum2("safety_country_label", 30149, SAFETY_COUNTRIES, "Safety Country", Kind.AC),
Integer("xx100", 30150, "Unknown sensor@100"),
Integer("xx102", 30151, "Unknown sensor@102"),
Integer("xx104", 30152, "Unknown sensor@104"),
Integer("xx106", 30153, "Unknown sensor@106"),
Integer("xx108", 30154, "Unknown sensor@108"),
Integer("xx110", 30155, "Unknown sensor@110"),
Integer("xx112", 30156, "Unknown sensor@112"),
Integer("xx114", 30157, "Unknown sensor@114"),
Integer("xx116", 30158, "Unknown sensor@116"),
Integer("xx118", 30159, "Unknown sensor@118"),
Integer("xx120", 30160, "Unknown sensor@120"),
Integer("xx122", 30161, "Unknown sensor@122"),
Integer("funbit", 30162, "FunBit", "", Kind.PV),
Voltage("vbus", 30163, "Bus Voltage", Kind.PV),
Voltage("vnbus", 30164, "NBus Voltage", Kind.PV),
Integer("xx130", 30165, "Unknown sensor@130"),
Integer("xx132", 30166, "Unknown sensor@132"),
Integer("xx134", 30167, "Unknown sensor@134"),
Integer("xx136", 30168, "Unknown sensor@136"),
Integer("xx138", 30169, "Unknown sensor@138"),
Integer("xx140", 30170, "Unknown sensor@140"),
Integer("xx142", 30171, "Unknown sensor@142"),
Integer("xx144", 30172, "Unknown sensor@144"),
)