NEWS
[Adapter] cloudfreie Auslesung von Deye-Invertern
-
@gmj Ich bin auch einigermaßen sprachlos. Dieser 'RangeError' ärgert mich aber am meisten. Kannst du - durch verändern der Coils - versuchen, herauszufinden wann dieser Fehler kommt. Ich hab den nämlich gar nicht!
-
Morgen
mit verändern meinst Du löschen der Coils(Spulen)? und gucken ob der Fehler weg ist ?
Hilft zwar nicht? aber nun erst mal schnell ein Quickstart und Quick beenden Log
Sieht nach 3 Werten aus (3 unterschiedliche Max Values) die nicht wollen ?deyeidc.0
2023-10-04 08:49:26.251 error RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 11. Received 13
deyeidc.0
2023-10-04 08:49:24.456 error RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 7. Received 11
deyeidc.0
2023-10-04 08:49:23.850 error RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 10. Received 11
deyeidc.0
2023-10-04 08:49:23.250 error RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 11. Received 13
deyeidc.0
2023-10-04 08:49:22.651 error RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 11. Received 13
deyeidc.0
2023-10-04 08:49:20.856 error RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 7. Received 11
deyeidc.0
2023-10-04 08:49:20.253 error RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 10. Received 11
deyeidc.0
2023-10-04 08:49:19.651 error RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 11. Received 13
deyeidc.0
2023-10-04 08:49:19.050 error RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 11. Received 13
deyeidc.0
2023-10-04 08:49:16.650 error RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 10. Received 11
deyeidc.0
2023-10-04 08:49:16.054 error RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 11. Received 13
deyeidc.0
2023-10-04 08:49:15.451 error RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 11. Received 13
deyeidc.0
2023-10-04 08:49:13.656 error RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 7. Received 11
deyeidc.0
2023-10-04 08:49:13.051 error RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 10. Received 11
deyeidc.0
2023-10-04 08:49:12.450 error RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 11. Received 13
deyeidc.0
2023-10-04 08:49:11.853 error RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 11. Received 13
deyeidc.0
2023-10-04 08:49:11.677 error TypeError: Cannot read properties of undefined (reading 'registerStart') -
@gmj Moin, ja so etwas könnte mir helfen. Daher dachte ich, wenn man die Anzahl der Coils reduziert, dass dann der Fehler klarer wird. In dem Log sehe ich ja nur, dass da ein Fehler ist, der verschiedene Werte aufweist - aber keinen Hinweis, welcher Wert das sein könnte. Hast du die Möglichkeit und die Zeit dazu?
-
@rene55
bin dran dauert immer 1min mal x Spulen ^^ -
@gmj Lass dir Zeit und Danke.
-
@rene55
uff... keine der Coils haben was direkt mit dem Fehler zu tun hab alle einzeln durch.
Fehler kommt sogar bei keinen Coils ... -
@gmj Dann muss es was anderes sein. Hast du 'Berechnete Werte' ?
-
Ja ist da (sieht aber nach altdaten aus summiert passt das grade nicht)
PS: ja da aber nicht aktualisiert von gestern der Datumsstempel
-
@gmj
Löschen der Berechnungen = selber Fehler -
@gmj Da bin ich jetzt total ratlos. Ich kann machen was ich will, ich krieg den Fehler nicht. Auf jeden Fall vielen Dank für deine Zeit un Mühen. Kannst du mir mal deine Konfigurations-Datei schicken?
-
@rene55
Config ist Deine von Git die MI600 mit meiner IP und Seriennummer
Die musste ich ja nach löschen der Coils neu einspielen. ... ja hab kein Backup der Config vorher gemacht
Gucken wir mal ob später, wenn Du das Relais und die aktuelle FW hast, das nachvollziehen kannst.Node.js v18.17.1
NPM 9.6.7
js-controller 5.0.12Alternativ: Das Java Script das die Webseite abtankt funktioniert ja noch perfekt.
Nur halt im 5min takt und kein ModbusFür andere die Fragen: https://forum.iobroker.net/topic/62595/deye-solar-sun600-auslese-javascript
-
@gmj Möglicherweise ist die doch nicht ganz gleich. Aber egal. Wenn du noch etwas testen möchtest: Kannst du bitte mal aktuell den Adapter von Github laden. Ich hab eben etwas entdeckt.
-
Immer noch RangeError.
-
@ofbeqnpolkkl6mby5e13 Dann hab ich es noch nicht gefunden.
-
@rene55
ja Error ist noch da.deyeidc.0
2023-10-05 10:41:19.890 error RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 11. Received 13
deyeidc.0
2023-10-05 10:41:17.792 error TypeError: Cannot read properties of undefined (reading 'registerStart') -
Servus, bei mir das gleiche seit dem ich vor Stunden das Relais verbaut habe. Hab den Sun 800.
Kann ich mit Daten, Log,... helfen?Danke, Gruß Alex.
-
@alexander-aschenbrenner Das heißt: Relais und neue Firmware 2.x. Welcher Fehler ist denn bei dir im Log? Gib mir mal zwei, drei Zeilen.
-
@rene55 genau. Erst seit dem Verbau des Relais kamen die Fehlermeldungen. Firmware MW3_16U_5406_2.32-D1
2023-10-06 10:24:54.839 - error: deyeidc.0 (3915560) RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 7. Received 11 2023-10-06 10:24:56.634 - error: deyeidc.0 (3915560) RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 11. Received 13 2023-10-06 10:24:57.234 - error: deyeidc.0 (3915560) RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 11. Received 13 2023-10-06 10:24:57.834 - error: deyeidc.0 (3915560) RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 10. Received 11 2023-10-06 10:25:00.235 - error: deyeidc.0 (3915560) RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 11. Received 13 2023-10-06 10:25:00.836 - error: deyeidc.0 (3915560) RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 11. Received 13 2023-10-06 10:25:01.437 - error: deyeidc.0 (3915560) RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 10. Received 11 2023-10-06 10:25:02.039 - error: deyeidc.0 (3915560) RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 7. Received 11
Bitteschön.
-
@alexander-aschenbrenner Danke für die Infos. Ich
darf
mir nicht vorstellen, dass Deye hier was Grundlegendes geändert hat. Kannst du mir mal deine Konfigurations-Datei zuschicken. Auch wenn es genau die 'meine' ist. Gerne auch per Mail. -
{ "ipaddress": "192.168.200.95", "port": 8899, "pollInterval": 60, "registers": [ { "registerStart": 0, "registerEnd": 40 }, { "registerStart": 59, "registerEnd": 90 }, { "registerStart": 109, "registerEnd": 112 }, { "registerStart": 150, "registerEnd": 153 } ], "coils": [ { "register": 0, "rules": 1, "key": "DT", "name": "Device Type", "unit": "", "factor": 0 }, { "register": 2, "rules": 7, "key": "COMM_PTC_v1", "name": "Communication Protocol Version", "unit": "", "factor": 0 }, { "register": 3, "rules": 5, "key": "SN1", "name": "Inverter Serial Number", "unit": "", "factor": 0 }, { "register": 13, "rules": 7, "key": "DC_M_FV", "name": "Control Board Firmware", "unit": "", "factor": 0 }, { "register": 14, "rules": 7, "key": "AC_VER", "name": "Communication Board Firmware", "unit": "", "factor": 0 }, { "register": 16, "rules": 3, "key": "RP", "name": "Rated Power", "unit": "W", "factor": 1 }, { "register": 18, "rules": 8, "key": "NOMP", "name": "Number of MPPT Path", "unit": "", "factor": 0 }, { "register": 18, "rules": 9, "key": "NOP", "name": "Number of Phases", "unit": "", "factor": 0 }, { "register": 21, "rules": 1, "key": "SScT", "name": "Startup Self-checking Time", "unit": "", "factor": 0 }, { "register": 40, "rules": 1, "key": "Power_Reg", "name": "Active Power Regulation", "unit": "%", "factor": 0, "nullable": true }, { "register": 59, "rules": 1, "key": "ST_w1", "name": "Running Status", "unit": "", "factor": 0 }, { "register": 60, "rules": 1, "key": "Etdy_ge0", "name": "Production Today", "unit": "kWh", "factor": 1 }, { "register": 63, "rules": 1, "key": "Et_ge0", "name": "Production Total", "unit": "kWh", "factor": 1, "nullable": true }, { "register": 65, "rules": 1, "key": "Etdy_ge1", "name": "Production Today PV1", "unit": "kWh", "factor": 1 }, { "register": 66, "rules": 1, "key": "Etdy_ge2", "name": "Production Today PV2", "unit": "kWh", "factor": 1 }, { "register": 69, "rules": 3, "key": "Et_ge1", "name": "Production Total PV1", "unit": "kWh", "factor": 1 }, { "register": 71, "rules": 3, "key": "Et_ge2", "name": "Production Total PV2", "unit": "kWh", "factor": 1, "nullable": false }, { "register": 73, "rules": 1, "key": "AV1", "name": "AC Voltage 1", "unit": "V", "factor": 1 }, { "register": 79, "rules": 1, "key": "AC_Fo1", "name": "AC Frequency 1", "unit": "Hz", "factor": 2 }, { "register": 86, "rules": 3, "key": "Apo_t1", "name": "Total AC Output Power (Active)", "unit": "W", "factor": 1 }, { "register": 90, "rules": 6, "key": "AC_RDT_T1", "name": "AC Radiator Temp", "unit": "°C", "factor": 2, "nullable": false }, { "register": 109, "rules": 1, "key": "DV1", "name": "DC Voltage PV1", "unit": "V", "factor": 1, "nullable": false }, { "register": 110, "rules": 1, "key": "DC1", "name": "DC Current PV1", "unit": "A", "factor": 1 }, { "register": 111, "rules": 1, "key": "DV2", "name": "DC Voltage PV2", "unit": "V", "factor": 1 }, { "register": 112, "rules": 1, "key": "DC2", "name": "DC Current PV2", "unit": "A", "factor": 1, "nullable": false }, { "register": 150, "rules": 1, "key": "GV_uL", "name": "Grid Voltage Upper Limit", "unit": "V", "factor": 1, "nullable": false }, { "register": 151, "rules": 1, "key": "GV_lL", "name": "Grid Voltage Lower Limit", "unit": "V", "factor": 1, "nullable": false }, { "register": 152, "rules": 1, "key": "GF_uL", "name": "Grid Frequency Upper Limit", "unit": "Hz", "factor": 2, "nullable": true }, { "register": 153, "rules": 1, "key": "GF_lL", "name": "Grid Frequency Lower Limit", "unit": "Hz", "factor": 2, "nullable": true } ], "computes": [ { "values": "DV1*DC1", "key": "DP1", "name": "DC Power PV1", "unit": "W", "factor": 0 }, { "values": "DV2*DC2", "key": "DP2", "name": "DC Power PV2", "unit": "W", "factor": 0 }, { "values": "Power_Reg*RP", "key": "LP", "name": "Limited Power", "unit": "W", "factor": 2 } ], "logger": 3904723806 }