Okay.. die ID ist nicht die 200, sondern die 2.
Ist im WiNet-S2 auch toll beschrieben mit Modus-ID (statt Modbus-ID):
NEWS
Latest posts made by Schneider
-
RE: Sungrow WR SGH10RT erfolgreich mit MODBUS eingebunden
-
RE: Sungrow WR SGH10RT erfolgreich mit MODBUS eingebunden
Ja, mit einigen Werten aus github gehts - leider nicht alle.
Und die Batterie geht auch nicht.
-
RE: Sungrow WR SGH10RT erfolgreich mit MODBUS eingebunden
Danke für die Tipps. ICh glaube so gehts.
Ich habe jetzt nur die drin gelassen, die eben einen Wert gebracht haben, sowie das Abfrageintervall auf 3s.Jetzt werden die Werte auch aktualisiert. Super cool. Danke für die Unterstützung!
Ergänzend:
_address deviceId name description unit type len factor offset formula role room cw isScale 4999 1 Device type code Geräte Typ-Code int8be 1 1 0 value false false 5000 1 Nominal Output Power Installierte Leistung Kw uint16be 1 0.1 0 value false false 5002 1 Daily Output Energy Eigene Energienutzung heute (PV & Akku) Kwh uint16be 1 0.1 0 value false false 5003 1 Total Output Energy Eigene Energienutzung gesamt (PV & Akku) Kwh uint32sw 2 0.1 0 value false false 5007 1 Inside Temperature Temperatur im Wechselrichter °C int16be 1 0.1 0 value false false 5010 1 MPPT 1 Voltage MPPT1 Spannung V uint16be 1 0.1 0 value false false 5011 1 MPPT 1 Current MPPT1 Strom A uint16be 1 0.1 0 value false false 5012 1 MPPT 2 Voltage MPPT2 Spannung V uint16be 1 0.1 0 value false false 5013 1 MPPT 2 Current MPPT2 Strom A uint16be 1 0.1 0 value false false 5016 1 Total DC Power PV-Leistung aktuell W uint32sw 2 1 0 value false false 5018 1 Spannung Ph A Spannung Phase A V uint16be 1 0.1 0 value false false 5019 1 Spannung Ph B Spannung Phase B V uint16be 1 0.1 0 value false false 5020 1 Spannung Ph C Spannung Phase C V uint16be 1 0.1 0 value false false 5032 1 Reactive Power Blindleistung VA® int32sw 2 0 value false false 5034 1 Power Factor Leistungsfaktor int16be 1 0.001 0 value false false 5035 1 Grid Frequency Netzfrequenz Hz uint16be 1 0.1 0 value false false 5600 1 Gesamtleistung DTSU666 Leistung W int32sw 2 1 0 value false false 5602 1 L1 Leistung DTSU666 Leistung L1 W int32sw 2 1 0 value false false 5604 1 L2 Leistung DTSU666 Leistung L2 W int32sw 2 1 0 value false false 5606 1 L3 Leistung DTSU666 Leistung L3 W int32sw 2 1 0 value false false
-
RE: Sungrow WR SGH10RT erfolgreich mit MODBUS eingebunden
Interessant.. ich hab n Gläschen Wein getrunken, nichts verändert und nun siehts so aus:
und gleich danach wieder nicht mehr verbunden:
2024-12-13 23:14:54.608 - info: modbus.0 (1839) Connected to slave 192.168.178.74 2024-12-13 23:14:54.608 - debug: modbus.0 (1839) [DevID_1] Poll start --------------------- 2024-12-13 23:14:54.608 - debug: modbus.0 (1839) [DevID_1/inputRegs] Poll address 4999 - 22 registers 2024-12-13 23:14:59.609 - warn: modbus.0 (1839) Error: undefined 2024-12-13 23:14:59.609 - error: modbus.0 (1839) Request timed out. 2024-12-13 23:14:59.609 - error: modbus.0 (1839) Client in error state. 2024-12-13 23:14:59.609 - warn: modbus.0 (1839) [DevID_1] Poll error count: 4 code: {"err":"timeout","timeout":5000} 2024-12-13 23:14:59.610 - debug: modbus.0 (1839) Socket closed with error 2024-12-13 23:14:59.610 - debug: modbus.0 (1839) Clearing timeout of the current request. 2024-12-13 23:14:59.610 - debug: modbus.0 (1839) Cleaning up request fifo. 2024-12-13 23:15:00.610 - debug: modbus.0 (1839) Closing client on purpose. 2024-12-13 23:15:00.610 - info: modbus.0 (1839) Disconnected from slave 192.168.178.74 2024-12-13 23:16:00.614 - info: modbus.0 (1839) Connected to slave 192.168.178.74 2024-12-13 23:16:00.614 - debug: modbus.0 (1839) [DevID_1] Poll start --------------------- 2024-12-13 23:16:00.614 - debug: modbus.0 (1839) [DevID_1/inputRegs] Poll address 4999 - 22 registers 2024-12-13 23:16:05.615 - warn: modbus.0 (1839) Error: undefined 2024-12-13 23:16:05.615 - error: modbus.0 (1839) Request timed out. 2024-12-13 23:16:05.615 - error: modbus.0 (1839) Client in error state. 2024-12-13 23:16:05.615 - warn: modbus.0 (1839) [DevID_1] Poll error count: 5 code: {"err":"timeout","timeout":5000} 2024-12-13 23:16:05.616 - debug: modbus.0 (1839) Socket closed with error 2024-12-13 23:16:05.616 - debug: modbus.0 (1839) Clearing timeout of the current request. 2024-12-13 23:16:05.616 - debug: modbus.0 (1839) Cleaning up request fifo. 2024-12-13 23:16:06.616 - debug: modbus.0 (1839) Closing client on purpose. 2024-12-13 23:16:06.616 - info: modbus.0 (1839) Disconnected from slave 192.168.178.74 2024-12-13 23:16:07.424 - info: influxdb.0 (418) enabled logging of modbus.0.inputRegisters.1.5600_Gesamtleistung_DTSU666, Alias=false 2024-12-13 23:17:06.620 - info: modbus.0 (1839) Connected to slave 192.168.178.74 2024-12-13 23:17:06.620 - debug: modbus.0 (1839) [DevID_1] Poll start --------------------- 2024-12-13 23:17:06.620 - debug: modbus.0 (1839) [DevID_1/inputRegs] Poll address 4999 - 22 registers 2024-12-13 23:17:11.621 - warn: modbus.0 (1839) Error: undefined 2024-12-13 23:17:11.621 - error: modbus.0 (1839) Request timed out. 2024-12-13 23:17:11.621 - error: modbus.0 (1839) Client in error state. 2024-12-13 23:17:11.622 - warn: modbus.0 (1839) [DevID_1] Poll error count: 6 code: {"err":"timeout","timeout":5000} 2024-12-13 23:17:11.622 - debug: modbus.0 (1839) Socket closed with error 2024-12-13 23:17:11.622 - debug: modbus.0 (1839) Clearing timeout of the current request. 2024-12-13 23:17:11.622 - debug: modbus.0 (1839) Cleaning up request fifo. 2024-12-13 23:17:12.622 - debug: modbus.0 (1839) Closing client on purpose. 2024-12-13 23:17:12.622 - info: modbus.0 (1839) Disconnected from slave 192.168.178.74
-
RE: Sungrow WR SGH10RT erfolgreich mit MODBUS eingebunden
Das ist/war an:
Weiß jemand was das für ne Fehlermeldung im Log ist?
"ReadInputRegisters: Invalid FC 132" -
RE: Sungrow WR SGH10RT erfolgreich mit MODBUS eingebunden
@gmt94 Ne.. Ich wüsste auch nicht wo. Ist mir zumindest nicht ins Auge gesprungen
-
RE: Sungrow WR SGH10RT erfolgreich mit MODBUS eingebunden
2024-12-13 19:51:04.877 - info: host.iobroker "system.adapter.modbus.0" enabled 2024-12-13 19:51:05.060 - info: host.iobroker instance system.adapter.modbus.0 in version "6.3.2" started with pid 1511 2024-12-13 19:51:05.555 - debug: modbus.0 (1511) Redis Objects: Use Redis connection: 127.0.0.1:9001 2024-12-13 19:51:05.565 - debug: modbus.0 (1511) Objects client ready ... initialize now 2024-12-13 19:51:05.607 - debug: modbus.0 (1511) Objects create System PubSub Client 2024-12-13 19:51:05.608 - debug: modbus.0 (1511) Objects create User PubSub Client 2024-12-13 19:51:05.618 - debug: modbus.0 (1511) Objects client initialize lua scripts 2024-12-13 19:51:05.620 - debug: modbus.0 (1511) Objects connected to redis: 127.0.0.1:9001 2024-12-13 19:51:05.628 - debug: modbus.0 (1511) Redis States: Use Redis connection: 127.0.0.1:9000 2024-12-13 19:51:05.672 - debug: modbus.0 (1511) States create System PubSub Client 2024-12-13 19:51:05.672 - debug: modbus.0 (1511) States create User PubSub Client 2024-12-13 19:51:05.719 - debug: modbus.0 (1511) States connected to redis: 127.0.0.1:9000 2024-12-13 19:51:05.733 - debug: modbus.0 (1511) Plugin sentry Initialize Plugin (enabled=true) 2024-12-13 19:51:05.919 - info: modbus.0 (1511) starting. Version 6.3.2 in /opt/iobroker/node_modules/iobroker.modbus, node: v18.19.0, js-controller: 7.0.3 2024-12-13 19:51:05.972 - debug: modbus.0 (1511) Initialize Objects for disInputs: [] 2024-12-13 19:51:05.972 - debug: modbus.0 (1511) Initialize Objects for coils: [] 2024-12-13 19:51:05.973 - debug: modbus.0 (1511) Initialize Objects for inputRegs: [{"_address":4999,"deviceId":1,"name":"Device type code","description":"Geräte Typ-Code","unit":"","type":"int8be","len":1,"factor":1,"offset":0,"formula":"","role":"value","room":"","cw":false,"isScale":false,"address":4999,"id":"inputRegisters.1.4999_Device_type__code"},{"_address":5000,"deviceId":1,"name":"Nominal Output Power","description":"Installierte Leistung","unit":"Kw","type":"uint16be","len":1,"factor":0.1,"offset":0,"formula":"","role":"value","room":"","cw":false,"isScale":false,"address":5000,"id":"inputRegisters.1.5000_Nominal_Output_Power"},{"_address":5002,"deviceId":1,"name":"Daily Output Energy","description":"Eigene Energienutzung heute (PV & Akku)","unit":"Kwh","type":"uint16be","len":1,"factor":0.1,"offset":0,"formula":"","role":"value","room":"","cw":false,"isScale":false,"address":5002,"id":"inputRegisters.1.5002_Daily__Output_Energy"},{"_address":5003,"deviceId":1,"name":"Total Output Energy","description":"Eigene Energienutzung gesamt (PV & Akku)","unit":"Kwh","type":"uint32sw","len":2,"factor":0.1,"offset":0,"formula":"","role":"value","room":"","cw":false,"isScale":false,"address":5003,"id":"inputRegisters.1.5003_Total_Output_Energy"},{"_address":5007,"deviceId":1,"name":"Inside Temperature","description":"Temperatur im Wechselrichter","unit":"°C","type":"int16be","len":1,"factor":0.1,"offset":0,"formula":"","role":"value","room":"","cw":false,"isScale":false,"address":5007,"id":"inputRegisters.1.5007_Inside__Temperature"},{"_address":5010,"deviceId":1,"name":"MPPT 1 Voltage","description":"MPPT1 Spannung","unit":"V","type":"uint16be","len":1,"factor":0.1,"offset":0,"formula":"","role":"value","room":"","cw":false,"isScale":false,"address":5010,"id":"inputRegisters.1.5010_MPPT_1_Voltage"},{"_address":5011,"deviceId":1,"name":"MPPT 1 Current","description":"MPPT1 Strom","unit":"A","type":"uint16be","len":1,"factor":0.1,"offset":0,"formula":"","role":"value","room":"","cw":false,"isScale":false,"address":5011,"id":"inputRegisters.1.5011_MPPT_1_Current"},{"_address":5012,"deviceId":1,"name":"MPPT 2 Voltage","description":"MPPT2 Spannung","unit":"V","type":"uint16be","len":1,"factor":0.1,"offset":0,"formula":"","role":"value","room":"","cw":false,"isScale":false,"address":5012,"id":"inputRegisters.1.5012_MPPT_2_Voltage"},{"_address":5013,"deviceId":1,"name":"MPPT 2 Current","description":"MPPT2 Strom","unit":"A","type":"uint16be","len":1,"factor":0.1,"offset":0,"formula":"","role":"value","room":"","cw":false,"isScale":false,"address":5013,"id":"inputRegisters.1.5013_MPPT_2_Current"},{"_address":5016,"deviceId":1,"name":"Total DC Power","description":"PV-Leistung aktuell","unit":"W","type":"uint32sw","len":2,"factor":1,"offset":0,"formula":"","role":"value","room":"","cw":false,"isScale":false,"address":5016,"id":"inputRegisters.1.5016_Total_DC_Power"},{"_address":5018,"deviceId":1,"name":"Spannung Ph A","description":"Spannung Phase A","unit":"V","type":"uint16be","len":1,"factor":0.1,"offset":0,"formula":"","role":"value","room":"","cw":false,"isScale":false,"address":5018,"id":"inputRegisters.1.5018_Spannung_Ph_A"},{"_address":5019,"deviceId":1,"name":"Spannung Ph B","description":"Spannung Phase B","unit":"V","type":"uint16be","len":1,"factor":0.1,"offset":0,"formula":"","role":"value","room":"","cw":false,"isScale":false,"address":5019,"id":"inputRegisters.1.5019_Spannung_Ph_B"},{"_address":5020,"deviceId":1,"name":"Spannung Ph C","description":"Spannung Phase C","unit":"V","type":"uint16be","len":1,"factor":0.1,"offset":0,"formula":"","role":"value","room":"","cw":false,"isScale":false,"address":5020,"id":"inputRegisters.1.5020_Spannung_Ph_C"},{"_address":5032,"deviceId":1,"name":"Reactive Power","description":"Blindleistung","unit":"VA®","type":"int32sw","len":2,"factor":1,"offset":0,"formula":"","role":"value","room":"","cw":false,"isScale":false,"address":5032,"id":"inputRegisters.1.5032_Reactive_Power"},{"_address":5034,"deviceId":1,"name":"Power Factor","description":"Leistungsfaktor","unit":"","type":"int16be","len":1,"factor":0.001,"offset":0,"formula":"","role":"value","room":"","cw":false,"isScale":false,"address":5034,"id":"inputRegisters.1.5034_Power_Factor"},{"_address":5035,"deviceId":1,"name":"Grid Frequency","description":"Netzfrequenz","unit":"Hz","type":"uint16be","len":1,"factor":0.1,"offset":0,"formula":"","role":"value","room":"","cw":false,"isScale":false,"address":5035,"id":"inputRegisters.1.5035_Grid_Frequency"},{"_address":5600,"deviceId":1,"name":"Gesamtleistung DTSU666","description":"Leistung","unit":"W","type":"int32sw","len":2,"factor":1,"offset":0,"formula":"","role":"value","room":"","cw":false,"isScale":false,"address":5600,"id":"inputRegisters.1.5600_Gesamtleistung_DTSU666"},{"_address":5602,"deviceId":1,"name":"L1 Leistung DTSU666","description":"Leistung L1","unit":"W","type":"int32sw","len":2,"factor":1,"offset":0,"formula":"","role":"value","room":"","cw":false,"isScale":false,"address":5602,"id":"inputRegisters.1.5602_L1_Leistung_DTSU666"},{"_address":5604,"deviceId":1,"name":"L2 Leistung DTSU666","description":"Leistung L2","unit":"W","type":"int32sw","len":2,"factor":1,"offset":0,"formula":"","role":"value","room":"","cw":false,"isScale":false,"address":5604,"id":"inputRegisters.1.5604_L2_Leistung_DTSU666"},{"_address":5606,"deviceId":1,"name":"L3 Leistung DTSU666","description":"Leistung L3","unit":"W","type":"int32sw","len":2,"factor":1,"offset":0,"formula":"","role":"value","room":"","cw":false,"isScale":false,"address":5606,"id":"inputRegisters.1.5606_L3_Leistung_DTSU666"},{"_address":5740,"deviceId":1,"name":"PhaseA Voltage DTSU666","description":"Spannung Phase1","unit":"V","type":"uint16be","len":1,"factor":0.1,"offset":0,"formula":"","role":"value","room":"","cw":false,"isScale":false,"address":5740,"id":"inputRegisters.1.5740_PhaseA_Voltage_DTSU666"},{"_address":5741,"deviceId":1,"name":"PhaseB Voltage DTSU666","description":"Spannung Phase2","unit":"V","type":"uint16be","len":1,"factor":0.1,"offset":0,"formula":"","role":"value","room":"","cw":false,"isScale":false,"address":5741,"id":"inputRegisters.1.5741_PhaseB_Voltage_DTSU666"},{"_address":5742,"deviceId":1,"name":"PhaseC Voltage DTSU666","description":"Spannung Phase3","unit":"V","type":"uint16be","len":1,"factor":0.1,"offset":0,"formula":"","role":"value","room":"","cw":false,"isScale":false,"address":5742,"id":"inputRegisters.1.5742_PhaseC_Voltage_DTSU666"},{"_address":5743,"deviceId":1,"name":"PhaseA Current DTSU666","description":"Strom Phase1","unit":"A","type":"uint16be","len":1,"factor":0.01,"offset":0,"formula":"","role":"value","room":"","cw":false,"isScale":false,"address":5743,"id":"inputRegisters.1.5743_PhaseA_Current_DTSU666"},{"_address":5744,"deviceId":1,"name":"PhaseB Current DTSU666","description":"Strom Phase2","unit":"A","type":"uint16be","len":1,"factor":0.01,"offset":0,"formula":"","role":"value","room":"","cw":false,"isScale":false,"address":5744,"id":"inputRegisters.1.5744_PhaseB_Current_DTSU666"},{"_address":5745,"deviceId":1,"name":"PhaseC Current DTSU666","description":"Strom Phase3","unit":"A","type":"uint16be","len":1,"factor":0.01,"offset":0,"formula":"","role":"value","room":"","cw":false,"isScale":false,"address":5745,"id":"inputRegisters.1.5745_PhaseC_Current_DTSU666"},{"_address":5746,"deviceId":1,"name":"Import DTSU666","description":"Import","unit":"kWh","type":"uint32sw","len":2,"factor":0.01,"offset":0,"formula":"","role":"value","room":"","cw":false,"isScale":false,"address":5746,"id":"inputRegisters.1.5746_Import_DTSU666"},{"_address":5748,"deviceId":1,"name":"Export DTSU666","description":"Export","unit":"kWh","type":"uint32sw","len":2,"factor":0.01,"offset":0,"formula":"","role":"value","room":"","cw":false,"isScale":false,"address":5748,"id":"inputRegisters.1.5748_Export_DTSU666"},{"_address":6226,"deviceId":1,"name":"Monthly PV energy yields January","description":" Monatlicher PV Energieertrag Januar","unit":"Kwh","type":"uint16be","len":1,"factor":0.1,"offset":0,"formula":"","role":"value","room":"","cw":false,"isScale":false,"address":6226,"id":"inputRegisters.1.6226_Monthly_PV_energy_yields_January"},{"_address":6227,"deviceId":1,"name":"Monthly PV energy yields February","description":" Monatlicher PV Energieertrag Februar","unit":"Kwh","type":"uint16be","len":1,"factor":0.1,"offset":0,"formula":"","role":"value","room":"","cw":false,"isScale":false,"address":6227,"id":"inputRegisters.1.6227_Monthly_PV_energy_yields_February"},{"_address":6228,"deviceId":1,"name":"Monthly PV energy yields March","description":" Monatlicher PV Energieertrag März","unit":"Kwh","type":"uint16be","len":1,"factor":0.1,"offset":0,"formula":"","role":"value","room":"","cw":false,"isScale":false,"address":6228,"id":"inputRegisters.1.6228_Monthly_PV_energy_yields_March"}, ... GEKÜRZT {"_id":"inputRegisters.1.13075_BMS_fault_2","type":"state","common":{"name":"BMS fault 2","role":"value","type":"number","read":true,"write":false,"def":0,"unit":""},"native":{"regType":"inputRegs","address":13075,"deviceId":1,"type":"uint32sw","len":2,"offset":0,"factor":1}} 2024-12-13 19:51:05.981 - debug: modbus.0 (1511) Add inputRegisters.1.13077_BMS_alarm_2: {"_id":"inputRegisters.1.13077_BMS_alarm_2","type":"state","common":{"name":"BMS alarm 2","role":"value","type":"number","read":true,"write":false,"def":0,"unit":""},"native":{"regType":"inputRegs","address":13077,"deviceId":1,"type":"uint32sw","len":2,"offset":0,"factor":1}} 2024-12-13 19:51:05.981 - debug: modbus.0 (1511) Initialize Objects for holdingRegs: [] 2024-12-13 19:51:06.325 - info: modbus.0 (1511) Connected to slave 192.168.178.74 2024-12-13 19:51:06.325 - debug: modbus.0 (1511) [DevID_1] Poll start --------------------- 2024-12-13 19:51:06.326 - debug: modbus.0 (1511) Initialization of scale factors done! 2024-12-13 19:51:06.326 - debug: modbus.0 (1511) [DevID_1/inputRegs] Poll address 4999 - 22 registers 2024-12-13 19:51:06.337 - debug: modbus.0 (1511) [DevID_1/inputRegs] Poll address 4999 DONE 2024-12-13 19:51:06.342 - debug: modbus.0 (1511) [DevID_1/inputRegs] Poll address 5032 - 4 registers 2024-12-13 19:51:06.346 - debug: modbus.0 (1511) [DevID_1/inputRegs] Poll address 5032 DONE 2024-12-13 19:51:06.347 - debug: modbus.0 (1511) [DevID_1/inputRegs] Poll address 5600 - 8 registers 2024-12-13 19:51:06.353 - debug: modbus.0 (1511) [DevID_1/inputRegs] Poll address 5600 DONE 2024-12-13 19:51:06.356 - debug: modbus.0 (1511) [DevID_1/inputRegs] Poll address 5740 - 10 registers 2024-12-13 19:51:06.361 - warn: modbus.0 (1511) [DevID_1] Poll error count: 1 code: "ReadInputRegisters: Invalid FC 132" 2024-12-13 19:51:07.412 - debug: modbus.0 (1511) [DevID_1] Poll start --------------------- 2024-12-13 19:51:07.412 - debug: modbus.0 (1511) [DevID_1/inputRegs] Poll address 4999 - 22 registers 2024-12-13 19:51:07.416 - warn: modbus.0 (1511) Error in handler for 4: RangeError [ERR_BUFFER_OUT_OF_BOUNDS]: Attempt to access memory outside buffer bounds 2024-12-13 19:51:12.613 - warn: modbus.0 (1511) [DevID_1] Poll error count: 2 code: "App Timeout" 2024-12-13 19:51:13.664 - debug: modbus.0 (1511) [DevID_1] Poll start --------------------- 2024-12-13 19:51:13.665 - debug: modbus.0 (1511) [DevID_1/inputRegs] Poll address 4999 - 22 registers 2024-12-13 19:51:18.666 - warn: modbus.0 (1511) Error: undefined 2024-12-13 19:51:18.666 - error: modbus.0 (1511) Request timed out. 2024-12-13 19:51:18.666 - error: modbus.0 (1511) Client in error state. 2024-12-13 19:51:18.666 - warn: modbus.0 (1511) [DevID_1] Poll error count: 3 code: {"err":"timeout","timeout":5000} 2024-12-13 19:51:18.667 - debug: modbus.0 (1511) Socket closed with error 2024-12-13 19:51:18.667 - debug: modbus.0 (1511) Clearing timeout of the current request. 2024-12-13 19:51:18.667 - debug: modbus.0 (1511) Cleaning up request fifo. 2024-12-13 19:51:19.667 - debug: modbus.0 (1511) Closing client on purpose. 2024-12-13 19:51:19.667 - info: modbus.0 (1511) Disconnected from slave 192.168.178.74
-
RE: Sungrow WR SGH10RT erfolgreich mit MODBUS eingebunden
Jetzt verbindet sich der Adapter nicht mehr
-
RE: Sungrow WR SGH10RT erfolgreich mit MODBUS eingebunden
Diskrete Eingänge / Ausgänge habe ich nichts eingetragen. Ebenso ins Holding-Register.
-
RE: Sungrow WR SGH10RT erfolgreich mit MODBUS eingebunden
Protokolle:
Objekte: