NEWS
Neuer Adapter ecoflow-mqtt
-
Hallo zusammen,
ich habe nun ein Update gemacht, da ich die Hoffnung hatte, dass beim Powerstream unter IverterHeartbeat2 die x_Unknown durch die passenden Infos ersetzt wurden.
Aber jetzt ist der Adapter rot unter Instanzen und in den Protokollen ist diese Fehlermeldung:
startInstance system.adapter.ecoflow-mqtt.0 Adapter dependency not fulfilled on any host: required adapter "admin" has wrong version. Installed "6.12.0", required ">=6.12.3"!
Leider bekomme ich kein Update (ja, weil ich mich vielleicht zu wenig auskenne... )
Aber vielleicht könnt ihr mir helfen?Zudem finde ich keine Erklärung der einzelnen Werte, gibt es sowas irgendwo in einer Doku?
Vielen Dank!!!
-
@heinz527 Hallo auch wenn ich nicht der Programmierer bin spreche ich mal von wir. Wir versuchen immer noch viele x_Unkown zu entschlüsseln oder Zuordnungen zu finden. Ich z. B. versuche alles mögliche zu testen und zu loggen und dann @foxthefox zur Verfügun zu stellen, um immer mehr entschlüsseln zu können. Hier kann jeder mit seiner Hardware und tests sowie loggen oder untersuchen von Dingen einen Beitrag zu leisten.
Im ioBroker kann man bei Adapter die Experteneinstellungen oder Expertenmodus aktivieren. Dann könnte man über npm den Admin-Adapter auf eine neuere Version 6.13.15 bringen. Da es aber keine freigegebene Version ist, die über die normale Update-Funktion eingespielt wird, ist es auch möglcih dass Fehler in der Version sind.
Wichtig ist aber dass bei ioBrokerNode.js: v18.19.0 NPM: 10.2.3
vorhanden sind.
Vielleicht kennt ja wer eine Methode in der Version 6.12.x ein Update zu bekommen.
-
@aherby alles gut, das war in keinster Weise als Kritik gemeint! Sorry, falls das so rübergekommen ist!
Ich bin ja froh, dass es so viele Leute gibt, die Adapter entwickeln und mithelfen.
Ich hatte auch versucht was zu erkennen bei den x_unknown, aber leider habe ich immer nur mal ein paar minuten genug Licht seit die Anlage in Betrieb ist.
Sobald mir was auffällt gebe ich gerne Feedback.So wie jetzt, das war mir halt aufgefallen, da sicherlich auch der ein oder andere im normalen Modus (Release) unterwegs ist. Vielleicht war es auch von foxthefox nicht beabsichtigt die admin Version so hoch als Vorgabe zu setzen.
Node.js: 21.5.0
NPM: 10.2.4Ich warte mal so ein bis zwei Tage, sonst versuche ich nen Downgrade. Grade mit dem admin will ich mir nicht mein System zerschießen, bin da sehr vorsichtig, da ich für alles gefühlt 20x länger brauche als andere
-
@heinz527
Die Version habe ich extra so hoch gesetzt, da dort die Fehlerbehebung enthalten ist, die für meinen Adapter notwendig war.
Um das Benutzererlebnis zu verbessern und mit einem Klick die mqtt-credentials zu erzeugen und in den 4 Feldern automatisch einzutragen, ist leider erst mit 6.12.3 erfüllt.Im Allgemeinen sollte das Benutzen einer Zwischenversion kein Problem sein, vielfach sind es viele Verbesserungen und weniger neue Funktionen.
Eh ein Adapter in das stable kommt, braucht es ein paar Wochen Laufzeit von der Version und diverse Installationen.
Somit dauert es und wenn es viele kleine Updates gibt, kommt man gar nicht erst in einen stabilen Zustand.
Ich mache ja auch viele kleine Änderungen und bin bemüht nichts lauffähiges zu kompromittieren, ist manchmal nicht ausgeschlossen, aber schnelles Feedback sorgt für schnelle Behebung.Der Adapter hier ist ja auch noch nicht in stable, aber läuft aus meiner Sicht stabil und gut.
Derzeitig gibt es noch viele neue Erkenntnisse und die ein oder andere Anpassung von Faktoren oder bisher unbekannten Datenpunkten.
Die Grundmechanismen stehen aber und laufen.Ein downgrade kannst du auch beim Admin-Adapter machen, sofern die neueste Version nicht geht.
-
@foxthefox vielen Dank für die ausführliche Rückmeldung!
Das erklärt mir vielesDann werde ich mal ein Backup machen und den admin-Adapter upgraden.
Für mich ist das Ecoflow Sytem auch neu, hatte damals die Delta 2 sehr günstig bekommen und dann den Powerstream erweitert.
Da der Powerstream auch noch ziemlich neu auf dem Markt ist, bist du ja schon sehr weit mit dem Adapter
Ich komme ursprünglich von Growatt mit einem Modstick, der alle Daten per mqtt liefert. Die gibt es natürlich schon wesentlich länger auf dem Markt, daher gibt es auch viele, die da Adapter oder Ähnliches schreiben.Sobald ich irgendwas finde, was von den x_unknown bedeuten könnte, gebe ich hier natürlich eine Rückmeldung.
Vielen Dank für die viele Arbeit, ich selbst könnte sowas bei weitem nicht!
Schönen Abend!
Edit: admin Update hat geklappt, Ecoflow Adapter ist jetzt wieder grün. Danke für die Anleitung @aherby
-
Ich hab hier nochwas mit der 0.0.16:
ecoflow-mqtt.0 2024-01-08 11:47:17.950 warn State value to set for "ecoflow-mqtt.0.DCEBZ8ZF1180811.bmsMaster.amp" has value "17.42" greater than max "13" ecoflow-mqtt.0 2024-01-08 11:47:17.283 warn State value to set for "ecoflow-mqtt.0.DCEBZ8ZF1180811.bmsMaster.amp" has value "17.487000000000002" greater than max "13" ecoflow-mqtt.0 2024-01-08 11:47:16.962 warn State value to set for "ecoflow-mqtt.0.DCEBZ8ZF1180811.bmsMaster.amp" has value "17.42" greater than max "13" ecoflow-mqtt.0 2024-01-08 11:47:15.970 warn State value to set for "ecoflow-mqtt.0.DCEBZ8ZF1180811.bmsMaster.amp" has value "17.487000000000002" greater than max "13"
-
@holgerwolf
Ich bin im Zweifel ob das nicht ein anderes Problem ist. Kannst du es bitte mit Spannung und Leistung verifizieren, ob 17A realistisch sind. Bzw 1.7A grad dazu passen. -
@foxthefox Ich lade im Moment fix mit 1000 Watt. Hier alle Objekte:
-
@holgerwolf
OK, dann ändere ich mal den Max Wert. Ist bestimmt eine DeltaPro, oder? -
-
@ foxthefox:
Ich habe auch noch eine Korrektur beizusteuern, für die Delta 2 Max:[33mwarn[39m: ecoflow-mqtt.0 (675526) State value to set for "ecoflow-mqtt.0.R331ZEB4XXXXXXXX.bmsMaster.OCV" has value "61.281" greater than max "60"
Leider stürzt mein Adapter auch täglich ab, ich habe bisher aber noch nicht herausgefunden weshalb. Der LOG zeigt folgende Einträge - der Powerstream scheint der Verursacher zu sein:
2024-01-08 14:10:47.428 - [34mdebug[39m: ecoflow-mqtt.0 (675526) noch packetType : {"src":32,"dest":32,"seq":4660,"from":"app"} 2024-01-08 14:10:47.438 - [34mdebug[39m: ecoflow-mqtt.0 (675526) noch packetType : {"src":32,"dest":32,"seq":4660,"from":"app"} 2024-01-08 14:10:47.633 - [32minfo[39m: javascript.1 (312540) script.js.Skripte.Instanz_1_Energie.Berechnung_02_Solar_Aktuell: 0 2024-01-08 14:10:47.761 - [31merror[39m: ecoflow-mqtt.0 (675526) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2024-01-08 14:10:47.761 - [31merror[39m: ecoflow-mqtt.0 (675526) unhandled promise rejection: index out of range: 107 + 125 > 107 2024-01-08 14:10:47.762 - [31merror[39m: ecoflow-mqtt.0 (675526) RangeError: index out of range: 107 + 125 > 107 at indexOutOfRange (/opt/iobroker/node_modules/protobufjs/src/reader.js:13:12) at BufferReader.skip (/opt/iobroker/node_modules/protobufjs/src/reader.js:343:19) at Reader.skipType (/opt/iobroker/node_modules/protobufjs/src/reader.js:369:18) at Reader.skipType (/opt/iobroker/node_modules/protobufjs/src/reader.js:373:22) at Type.HeaderMessage$decode [as decode] (eval at Codegen (/opt/iobroker/node_modules/@protobufjs/codegen/index.js:50:33), <anonymous>:17:5) at Type.decode_setup [as decode] (/opt/iobroker/node_modules/protobufjs/src/type.js:507:25) at decodeMsg (/opt/iobroker/node_modules/iobroker.ecoflow-mqtt/lib/ecoflow_utils.js:469:31) at Object.pstreamDecode (/opt/iobroker/node_modules/iobroker.ecoflow-mqtt/lib/ecoflow_utils.js:521:15) at MqttClient.<anonymous> (/opt/iobroker/node_modules/iobroker.ecoflow-mqtt/main.js:553:27) at MqttClient.emit (node:events:517:28) 2024-01-08 14:10:47.764 - [31merror[39m: ecoflow-mqtt.0 (675526) index out of range: 107 + 125 > 107 2024-01-08 14:10:47.787 - [34mdebug[39m: ecoflow-mqtt.0 (675526) noch packetType : {"seq":485311089,"from":"Android"} 2024-01-08 14:10:47.890 - [32minfo[39m: ecoflow-mqtt.0 (675526) terminating 2024-01-08 14:10:47.891 - [33mwarn[39m: ecoflow-mqtt.0 (675526) Terminated (UNCAUGHT_EXCEPTION): Without reason 2024-01-08 14:10:47.904 - [32minfo[39m: javascript.1 (312540) script.js.Skripte.Instanz_1_Energie.Berechnung_02_Solar_Aktuell: 0 2024-01-08 14:10:47.929 - [32minfo[39m: ecoflow-mqtt.0 (675526) ecfolow connection closed 2024-01-08 14:10:48.392 - [32minfo[39m: ecoflow-mqtt.0 (675526) terminating 2024-01-08 14:10:48.395 - [33mwarn[39m: ecoflow-mqtt.0 (675526) redis get ecoflow-mqtt.0.HW51ZOH4XXXXXXXX.InverterHeartbeat2.X_Unknown_20, error - Connection is closed. 2024-01-08 14:10:48.396 - [33mwarn[39m: ecoflow-mqtt.0 (675526) redis get ecoflow-mqtt.0.HW51ZOH4XXXXXXXX.InverterHeartbeat2.X_Unknown_10, error - Connection is closed. 2024-01-08 14:10:48.403 - [33mwarn[39m: ecoflow-mqtt.0 (675526) redis get ecoflow-mqtt.0.HW51ZOH4XXXXXXXX.InverterHeartbeat2.X_Unknown_21, error - Connection is closed. 2024-01-08 14:10:48.408 - [34mdebug[39m: ecoflow-mqtt.0 (675526) redis get ecoflow-mqtt.0.HW51ZOH4XXXXXXXX.InverterHeartbeat2.X_Unknown_20, error - Connection is closed. 2024-01-08 14:10:48.409 - [34mdebug[39m: ecoflow-mqtt.0 (675526) redis get ecoflow-mqtt.0.HW51ZOH4XXXXXXXX.InverterHeartbeat2.X_Unknown_10, error - DB closed 2024-01-08 14:10:48.409 - [34mdebug[39m: ecoflow-mqtt.0 (675526) redis get ecoflow-mqtt.0.HW51ZOH4XXXXXXXX.InverterHeartbeat2.X_Unknown_21, error - DB closed 2024-01-08 14:10:48.410 - [33mwarn[39m: ecoflow-mqtt.0 (675526) Could not perform strict object check of state ecoflow-mqtt.0.HW51ZOH4XXXXXXXX.InverterHeartbeat2.X_Unknown_20: DB closed 2024-01-08 14:10:48.410 - [33mwarn[39m: ecoflow-mqtt.0 (675526) get state error: Connection is closed. 2024-01-08 14:10:48.412 - [33mwarn[39m: ecoflow-mqtt.0 (675526) Could not perform strict object check of state ecoflow-mqtt.0.HW51ZOH4XXXXXXXX.InverterHeartbeat2.X_Unknown_10: DB closed 2024-01-08 14:10:48.412 - [33mwarn[39m: ecoflow-mqtt.0 (675526) get state error: Connection is closed. 2024-01-08 14:10:48.415 - [33mwarn[39m: ecoflow-mqtt.0 (675526) Could not perform strict object check of state ecoflow-mqtt.0.HW51ZOH4XXXXXXXX.InverterHeartbeat2.X_Unknown_21: DB closed 2024-01-08 14:10:48.416 - [33mwarn[39m: ecoflow-mqtt.0 (675526) get state error: Connection is closed. 2024-01-08 14:10:48.419 - [34mdebug[39m: ecoflow-mqtt.0 (675526) store stream payload Error: DB closed 2024-01-08 14:10:48.419 - [34mdebug[39m: ecoflow-mqtt.0 (675526) payload from HW51ZOH4XXXXXXXX was: {"inverter_heartbeat":{"invErrCode":0,"pv1ErrCode":0,"invWarnCode":0,"pv1WarnCode":0,"pv2ErrCode":0,"pv2WarningCode":0,"batErrCode":0,"batWarningCode":0,"llcErrCode":0,"llcWarningCode":0,"pv1Status":4,"pv2Status":4,"batStatus":5,"llcStatus":5,"invStatus":1,"pv1InputVolt":347,"pv1OpVolt":3479,"pv1InputCur":28,"pv1InputWatts":1056,"pv1Temp":240,"pv2InputVolt":180,"pv2OpVolt":1802,"pv2InputCur":19,"pv2InputWatts":359,"pv2Temp":240,"batInputVolt":541,"batOpVolt":566,"batInputCur":0,"batInputWatts":-1346,"batTemp":90,"batSoc":21,"llcInputVolt":566,"llcOpVolt":12,"llcTemp":190,"invInputVolt":0,"invOpVolt":2255,"invOutputCur":14,"invOutputWatts":0,"invTemp":0,"invFreq":499,"bpType":2,"invRelayStatus":0,"pv1RelayStatus":0,"pv2RelayStatus":0,"installCountry":17477,"installTown":0,"permanentWatts":0,"dynamicWatts":0,"supplyPriority":1,"lowerLimit":30,"upperLimit":95,"invOnOff":1,"wirelessErrCode":0,"wirelessWarnCode":0,"invBrightness":306,"heartbeatFrequency":15,"ratedPower":6000,"batChargingTime":406,"batDischargingTime":5939,"feedPriority":1},"InverterHeartbeat2":{"X_Unknown_1":1,"X_Unknown_2":0,"X_Unknown_3":1,"X_Unknown_4":0,"X_Unknown_5":0,"X_Unknown_6":0,"upperLimit_7":95,"lowerLimit_8":30,"X_Unknown_9":2080,"X_Unknown_10":40976,"X_Unknown_11":1,"baseLoad_12":0,"X_Unknown_13":0,"X_Unknown_14":0,"X_Unknown_15":0,"X_Unknown_16":0,"X_Unknown_17":560960,"X_Unknown_18":213130,"X_Unknown_19":3,"X_Unknown_20":0,"X_Unknown_21":5,"X_Unknown_22":0,"X_Unknown_23":0,"X_Unknown_24":6000,"X_Unknown_25":1,"X_Unknown_26":6000,"X_Unknown_27":7134,"X_Unknown_28":8000,"X_Unknown_29":1,"X_Unknown_30":1,"X_Unknown_31":17337,"uptime_32":15182,"X_Unknown_33":3,"X_Unknown_34":77,"X_Unknown_35":59,"X_Unknown_36":18472146,"X_Unknown_37":0,"X_Unknown_40":0,"X_Unknown_41":0,"X_Unknown_42":582133952,"X_Unknown_43":1,"X_Unknown_44":0,"gridWatt_45":0,"X_Unknown_46":0,"X_Unknown_47":3,"X_Unknown_48":1704380239,"X_Unknown_49":6,"unixtime_50":1704338679,"X_Unknown_52":-40},"time_task_config_post":{"task1":{"timeRange":{"startTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0},"stopTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0}}},"task2":{"taskIndex":1,"timeRange":{"startTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0},"stopTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0}}},"task3":{"taskIndex":2,"timeRange":{"startTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0},"stopTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0}}},"task4":{"taskIndex":3,"timeRange":{"startTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0},"stopTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0}}},"task5":{"taskIndex":4,"timeRange":{"startTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0},"stopTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0}}},"task6":{"taskIndex":5,"timeRange":{"startTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0},"stopTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0}}},"task7":{"taskIndex":6,"timeRange":{"startTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0},"stopTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0}}},"task8":{"taskIndex":7,"timeRange":{"startTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0},"stopTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0}}},"task9":{"taskIndex":8,"timeRange":{"startTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0},"stopTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0}}},"task10":{"taskIndex":9,"timeRange":{"startTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0},"stopTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0}}},"task11":{"taskIndex":10,"timeRange":{"startTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0},"stopTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0}}}}} 2024-01-08 14:10:48.421 - [34mdebug[39m: ecoflow-mqtt.0 (675526) store stream payload Error: DB closed 2024-01-08 14:10:48.421 - [34mdebug[39m: ecoflow-mqtt.0 (675526) payload from HW51ZOH4XXXXXXXX was: {"inverter_heartbeat":{"invErrCode":0,"pv1ErrCode":0,"invWarnCode":0,"pv1WarnCode":0,"pv2ErrCode":0,"pv2WarningCode":0,"batErrCode":0,"batWarningCode":0,"llcErrCode":0,"llcWarningCode":0,"pv1Status":4,"pv2Status":4,"batStatus":5,"llcStatus":5,"invStatus":1,"pv1InputVolt":347,"pv1OpVolt":3479,"pv1InputCur":28,"pv1InputWatts":1056,"pv1Temp":240,"pv2InputVolt":180,"pv2OpVolt":1802,"pv2InputCur":19,"pv2InputWatts":359,"pv2Temp":240,"batInputVolt":541,"batOpVolt":566,"batInputCur":0,"batInputWatts":-1346,"batTemp":90,"batSoc":21,"llcInputVolt":566,"llcOpVolt":12,"llcTemp":190,"invInputVolt":0,"invOpVolt":2255,"invOutputCur":14,"invOutputWatts":0,"invTemp":0,"invFreq":499,"bpType":2,"invRelayStatus":0,"pv1RelayStatus":0,"pv2RelayStatus":0,"installCountry":17477,"installTown":0,"permanentWatts":0,"dynamicWatts":0,"supplyPriority":1,"lowerLimit":30,"upperLimit":95,"invOnOff":1,"wirelessErrCode":0,"wirelessWarnCode":0,"invBrightness":306,"heartbeatFrequency":15,"ratedPower":6000,"batChargingTime":406,"batDischargingTime":5939,"feedPriority":1},"InverterHeartbeat2":{"X_Unknown_1":1,"X_Unknown_2":0,"X_Unknown_3":1,"X_Unknown_4":0,"X_Unknown_5":0,"X_Unknown_6":0,"upperLimit_7":95,"lowerLimit_8":30,"X_Unknown_9":2080,"X_Unknown_10":40976,"X_Unknown_11":1,"baseLoad_12":0,"X_Unknown_13":0,"X_Unknown_14":0,"X_Unknown_15":0,"X_Unknown_16":0,"X_Unknown_17":560960,"X_Unknown_18":213130,"X_Unknown_19":3,"X_Unknown_20":0,"X_Unknown_21":5,"X_Unknown_22":0,"X_Unknown_23":0,"X_Unknown_24":6000,"X_Unknown_25":1,"X_Unknown_26":6000,"X_Unknown_27":7134,"X_Unknown_28":8000,"X_Unknown_29":1,"X_Unknown_30":1,"X_Unknown_31":17337,"uptime_32":15182,"X_Unknown_33":3,"X_Unknown_34":77,"X_Unknown_35":59,"X_Unknown_36":18472146,"X_Unknown_37":0,"X_Unknown_40":0,"X_Unknown_41":0,"X_Unknown_42":582133952,"X_Unknown_43":1,"X_Unknown_44":0,"gridWatt_45":0,"X_Unknown_46":0,"X_Unknown_47":3,"X_Unknown_48":1704380239,"X_Unknown_49":6,"unixtime_50":1704338679,"X_Unknown_52":-40},"time_task_config_post":{"task1":{"timeRange":{"startTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0},"stopTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0}}},"task2":{"taskIndex":1,"timeRange":{"startTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0},"stopTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0}}},"task3":{"taskIndex":2,"timeRange":{"startTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0},"stopTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0}}},"task4":{"taskIndex":3,"timeRange":{"startTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0},"stopTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0}}},"task5":{"taskIndex":4,"timeRange":{"startTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0},"stopTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0}}},"task6":{"taskIndex":5,"timeRange":{"startTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0},"stopTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0}}},"task7":{"taskIndex":6,"timeRange":{"startTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0},"stopTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0}}},"task8":{"taskIndex":7,"timeRange":{"startTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0},"stopTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0}}},"task9":{"taskIndex":8,"timeRange":{"startTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0},"stopTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0}}},"task10":{"taskIndex":9,"timeRange":{"startTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0},"stopTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0}}},"task11":{"taskIndex":10,"timeRange":{"startTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0},"stopTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0}}}}} 2024-01-08 14:10:48.422 - [34mdebug[39m: ecoflow-mqtt.0 (675526) store stream payload Error: DB closed 2024-01-08 14:10:48.422 - [34mdebug[39m: ecoflow-mqtt.0 (675526) payload from HW51ZOH4XXXXXXXX was: {"inverter_heartbeat":{"invErrCode":0,"pv1ErrCode":0,"invWarnCode":0,"pv1WarnCode":0,"pv2ErrCode":0,"pv2WarningCode":0,"batErrCode":0,"batWarningCode":0,"llcErrCode":0,"llcWarningCode":0,"pv1Status":4,"pv2Status":4,"batStatus":5,"llcStatus":5,"invStatus":1,"pv1InputVolt":347,"pv1OpVolt":3479,"pv1InputCur":28,"pv1InputWatts":1056,"pv1Temp":240,"pv2InputVolt":180,"pv2OpVolt":1802,"pv2InputCur":19,"pv2InputWatts":359,"pv2Temp":240,"batInputVolt":541,"batOpVolt":566,"batInputCur":0,"batInputWatts":-1346,"batTemp":90,"batSoc":21,"llcInputVolt":566,"llcOpVolt":12,"llcTemp":190,"invInputVolt":0,"invOpVolt":2255,"invOutputCur":14,"invOutputWatts":0,"invTemp":0,"invFreq":499,"bpType":2,"invRelayStatus":0,"pv1RelayStatus":0,"pv2RelayStatus":0,"installCountry":17477,"installTown":0,"permanentWatts":0,"dynamicWatts":0,"supplyPriority":1,"lowerLimit":30,"upperLimit":95,"invOnOff":1,"wirelessErrCode":0,"wirelessWarnCode":0,"invBrightness":306,"heartbeatFrequency":15,"ratedPower":6000,"batChargingTime":406,"batDischargingTime":5939,"feedPriority":1},"InverterHeartbeat2":{"X_Unknown_1":1,"X_Unknown_2":0,"X_Unknown_3":1,"X_Unknown_4":0,"X_Unknown_5":0,"X_Unknown_6":0,"upperLimit_7":95,"lowerLimit_8":30,"X_Unknown_9":2080,"X_Unknown_10":40976,"X_Unknown_11":1,"baseLoad_12":0,"X_Unknown_13":0,"X_Unknown_14":0,"X_Unknown_15":0,"X_Unknown_16":0,"X_Unknown_17":560960,"X_Unknown_18":213130,"X_Unknown_19":3,"X_Unknown_20":0,"X_Unknown_21":5,"X_Unknown_22":0,"X_Unknown_23":0,"X_Unknown_24":6000,"X_Unknown_25":1,"X_Unknown_26":6000,"X_Unknown_27":7134,"X_Unknown_28":8000,"X_Unknown_29":1,"X_Unknown_30":1,"X_Unknown_31":17337,"uptime_32":15182,"X_Unknown_33":3,"X_Unknown_34":77,"X_Unknown_35":59,"X_Unknown_36":18472146,"X_Unknown_37":0,"X_Unknown_40":0,"X_Unknown_41":0,"X_Unknown_42":582133952,"X_Unknown_43":1,"X_Unknown_44":0,"gridWatt_45":0,"X_Unknown_46":0,"X_Unknown_47":3,"X_Unknown_48":1704380239,"X_Unknown_49":6,"unixtime_50":1704338679,"X_Unknown_52":-40},"time_task_config_post":{"task1":{"timeRange":{"startTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0},"stopTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0}}},"task2":{"taskIndex":1,"timeRange":{"startTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0},"stopTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0}}},"task3":{"taskIndex":2,"timeRange":{"startTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0},"stopTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0}}},"task4":{"taskIndex":3,"timeRange":{"startTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0},"stopTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0}}},"task5":{"taskIndex":4,"timeRange":{"startTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0},"stopTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0}}},"task6":{"taskIndex":5,"timeRange":{"startTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0},"stopTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0}}},"task7":{"taskIndex":6,"timeRange":{"startTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0},"stopTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0}}},"task8":{"taskIndex":7,"timeRange":{"startTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0},"stopTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0}}},"task9":{"taskIndex":8,"timeRange":{"startTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0},"stopTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0}}},"task10":{"taskIndex":9,"timeRange":{"startTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0},"stopTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0}}},"task11":{"taskIndex":10,"timeRange":{"startTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0},"stopTime":{"week":0,"sec":0,"min":0,"hour":0,"day":0,"month":0,"year":0}}}}} 2024-01-08 14:10:48.424 - [34mdebug[39m: ecoflow-mqtt.0 (675526) redis get ecoflow-mqtt.0.info.msgCountPstream, error - Connection is closed. 2024-01-08 14:10:48.424 - [34mdebug[39m: ecoflow-mqtt.0 (675526) redis get ecoflow-mqtt.0.info.msgCountPstream, error - Connection is closed. 2024-01-08 14:10:48.425 - [34mdebug[39m: ecoflow-mqtt.0 (675526) redis get ecoflow-mqtt.0.info.msgCountPstream, error - Connection is closed. 2024-01-08 14:10:48.538 - [31merror[39m: host.iobroker-NUC7PJYH-JK instance system.adapter.ecoflow-mqtt.0 terminated with code 6 (UNCAUGHT_EXCEPTION) 2024-01-08 14:10:48.538 - [32minfo[39m: host.iobroker-NUC7PJYH-JK Restart adapter system.adapter.ecoflow-mqtt.0 because enabled 2024-01-08 14:10:48.538 - [33mwarn[39m: host.iobroker-NUC7PJYH-JK Do not restart adapter system.adapter.ecoflow-mqtt.0 because restart loop detected
-
@apollosk sagte in Neuer Adapter ecoflow-mqtt:
OCV
OCV hab ich hoch gesetzt.
Für die Fehler hab ich noch nicht den Plan, was dort im Telegramm kaputt ist und der Index nicht passt.
Da scheint das Dekodieren seinen Einstiegspunkt zu verlieren.Ich bau mal noch ein paar mehr debug Meldungen ein um das ankommende Paket sehen zu können.
Gibt es eine Regelmäßigkeit bei den Abstürzen? oder Eine Zeitspanne? -
@foxthefox
habe die 0.0.17 auf github veröffentlicht.
@ApolloSK die Abstürze sollten abgefangen sein und stattdessen gibt es debug logs, dazu bitte debug einaschalten und auch showHex ein Häckchen setzen0.0.17
- (foxthefox) added ems objects for River2Pro
- (foxthefox) more logging to pstream decode
- (foxthefox) spelling correction for latestQuotas
-
Ich weiß ja, dass ich ein bisschen doof bin, aber egal wie ich den Adapter neu installiere steht bei Version immer noch die 0.0.16.
Habe es über Expertenmodus versucht unter Git und auch über benutzerdefiniert mit dem <code>.Ich hoffe, dass ich nicht gesteinigt werde.
admin ist 6.13.15
Abstürze hatte ich auch:
hab zu dem Ordner energy das bei mir lokalisieren können:
watth1 Energy #1 XXXWh --> Einspeisung ins Haus Heute
watth3 Energy #3 xxxWh --> Einspeisung in die Batterie Heute
watth4 Energy #4 xxxWh --> Entladung der Batterie Heute -
@foxthefox ist es möglich dass eine falsche Version hochgeladen wurde oder der Verweis nicht stimmt?
Bekomme über npm nur 0.0.8 und über githut nur 0.0.16 -
iobroker url https://github.com/foxthefox/iobroker.ecoflow-mqtt --host $HOSTNAME --debug
schaufelt
echad@chet:/opt/iobroker $ npm ls | grep eco ├── iobroker.ecoflow-mqtt@0.0.17 (git+ssh://git@github.com/foxthefox/iobroker.ecoflow-mqtt.git#72d7f2c7ba05bc96ce1f56d827ce3cae606e524d)
auf die Kiste.
-
da hatte ich wohl inkonsistent die Versionsnummer verteilt, in io-package.json war noch die 0.0.16 drin
hab eine 0.0.18 auf github eingestellt.
-
Hab genau das gleiche wie @aherby
-
war ja mein Fehler.
was auch immer da an Telegrammen kommt, irgendetwas passt da nicht zusammen.
Die neue Version fängt den Fehler ab und gibt auch den HEX string aus, wenn showHex gesetzt ist.
Warum das hier nicht zusammenpasst, kann ich nich nict sagen. Evtl. wird ein Telegrammtyp falsch decodiert, dazu müsste ich aber den HEX string sehen.watth1..4 sind auch schon so benannt, in Englisch halt
-
@heinz527
wie oben beschrieben, bitte 0.0.18 aus github nehmen