NEWS
Neuer Adapter ecoflow-mqtt
-
@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.
-
-
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 -
glaube unsere Posts haben sich fast überschnitten, jetzt über git installiert und Version ist 0.0.18
watth
watth7: Energy from Solar PV1 steht bei mir 537, in der app sind es 508 (gestern 632 und in der App 604)
PV2 habe ich aktuell nicht angeschlossen, somit habe ich keinen Vergleichswert.Danke! Morgen gucke ich weiter.
Gute Nacht
-
Hallo, habe mir gerade die Instanz runtergeladen.
Create Login Data wird bei mir jedoch ausgegraut obwohl ich die Zugangsdaten eingegeben habe.Könnte daran liegen, dass ich die Admin Version 6.12.0 habe. Eine neuere wird mir nicht angezeigt und über github Installation bekomme ich einen NPM Fehler
-
@planetkeane
Der Adapter muss laufen, damit der Button funktionier, wenn oben noch das Play-Dreieck zu sehen ist, dann muss er darüber noch gestartet werdenMit expertenmodus lässt sich auch eine neuere Admin Version installieren, war schonmal Thema ein paar Posts zuvor.
-
@foxthefox Der Adapter ist aktiviert. Es bleibt dennoch ausgegraut. Habe jetzt Admin auf die neuste Beta Version aktualisiert. Dies hat leider zur Folge, dass auch das nicht funktioniert. Hier wird wohl nach genau der 6.12.3 Version abgefragt. Bei mir ist es nun die 6.3. Version. Ich schaue mir das morgen nochmal in Ruhe an
-
@foxthefox Guten Morgen, seit dem Update auf Version 0.018 kommen keine Daten mehr in den Datenpunkten an. Der Adapter empfängt fleißig Daten (laut LOG) aber die Datenpunkte werden nicht mehr aktualisiert. Zumindest beim Powerstream.
HW51ZOH4XXXXXXXX pstream received update -> 0a310a06d0010090026410351820200128014014480150065801800103880103ca0110485735315a4f483453463455303338330a2f0a048002d41210351820200128014014480450045801800103880103ca0110485735315a4f48345346345530333833 ecoflow-mqtt.0 2024-01-10 09:19:37.961 debug HW51ZOH4XXXXXXXX pstream received update -> 0a2e0a03d0010110351820200128014014480150035801800103880103ca0110485735315a4f483453463455303338330a2f0a048002d21210351820200128014014480450045801800103880103ca0110485735315a4f48345346345530333833 ecoflow-mqtt.0 2024-01-10 09:19:36.006 debug HW51ZOH4XXXXXXXX pstream received update -> 0a8a020adc0108ffff0312220880bcf7ac0610011a1800000000000000000000000000000000000000000000000012220880bcf7ac0610021a1800000000000000000000000000000000000000000000000012220880bcf7ac0610031a1800000000000000000000000000000000000000000000000012220880bcf7ac0610041a1800000000000000000000000000000000000000000000000012220880bcf7ac0610071a1800000000000000000000000000000000000000000000000012220880bcf7ac0610081a18000000000000000000000000000000000000000000000000103518202001280140fe01482050dc015801800103880103ca0110485735315a4f48345346345530333833 ecoflow-mqtt.0 2024-01-10 09:19:35.797 debug HW51ZOH4XXXXXXXX pstream received update -> 0a2f0a048002d01210351820200128014014480450045801800103880103ca0110485735315a4f48345346345530333833 ecoflow-mqtt.0 2024-01-10 09:19:33.867 debug HW51ZOH4XXXXXXXX pstream received update -> 0a2e0a0390026e10351820200128014014480150035801800103880103ca0110485735315a4f483453463455303338330a2f0a048002ce1210351820200128014014480450045801800103880103ca0110485735315a4f48345346345530333833 ecoflow-mqtt.0 2024-01-10 09:19:31.800 debug HW51ZOH4XXXXXXXX pstream received update -> 0a2f0a048002cc1210351820200128014014480450045801800103880103ca0110485735315a4f48345346345530333833 ecoflow-mqtt.0 2024-01-10 09:19:29.767 debug HW51ZOH4XXXXXXXX pstream received update -> 0a2e0a0390026410351820200128014014480150035801800103880103ca0110485735315a4f483453463455303338330a2f0a048002ca1210351820200128014014480450045801800103880103ca0110485735315a4f48345346345530333833 ecoflow-mqtt.0 2024-01-10 09:19:27.716 debug HW51ZOH4XXXXXXXX pstream received update -> 0a310a0688021890026e10351820200128014014480150065801800103880103ca0110485735315a4f483453463455303338330a2f0a048002c81210351820200128014014480450045801800103880103ca0110485735315a4f48345346345530333833 ecoflow-mqtt.0 2024-01-10 09:19:25.804 debug HW51ZOH4XXXXXXXX pstream received update -> 0a8a020adc0108ffff0312220880bcf7ac0610011a1800000000000000000000000000000000000000000000000012220880bcf7ac0610021a1800000000000000000000000000000000000000000000000012220880bcf7ac0610031a180000000000000000000000000000000000000 ecoflow-mqtt.0 2024-01-10 09:17:47.708 debug HW51ZOH4XXXXXXXX pstream received update -> 0a320a078001dc02d0010110351820200128014014480150075801800103880103ca0110485735315a4f483453463455303338330a330a08c001e62e8002e41110351820200128014014480450085801800103880103ca0110485735315a4f48345346345530333833 ecoflow-mqtt.0 2024-01-10 09:17:46.452 info state ecoflow-mqtt.0.HW51ZOH4XXXXXXXX.inverter_heartbeat.invBrightness changed: 31 (ack = true) ecoflow-mqtt.0 2024-01-10 09:17:46.451 info state ecoflow-mqtt.0.HW51ZOH4XXXXXXXX.inverter_heartbeat.invBrightness changed: 31 (ack = true) ecoflow-mqtt.0 2024-01-10 09:17:46.310 debug HW51ZOH4XXXXXXXX pstream received get_reply -> {"inverter_heartbeat":{"invErrCode":0,"pv1ErrCode":256,"invWarnCode":0,"pv1WarnCode":0,"pv2ErrCode":256,"pv2WarningCode":0,"batErrCode":8,"batWarningCode":0,"llcErrCode":0,"llcWarningCode":0,"pv1Status":7,"pv2Status":7,"batStatus":1,"llcStatus":1,"invStatus":1,"pv1InputVolt":347,"pv1OpVolt":0,"pv1InputCur":0,"pv1InputWatts":0,"pv1Temp":100,"pv2InputVolt":205,"pv2OpVolt":0,"pv2InputCur":0,"pv2InputWatts":0,"pv2Temp":100,"batInputVolt":0,"batOpVolt":347,"batInputCur":0,"batInputWatts":0,"batTemp":0,"batSoc":0,"llcInputVolt":347,"llcOpVolt":21,"llcTemp":100,"invInputVolt":0,"invOpVolt":2246,"invOutputCur":10,"invOutputWatts":0,"invTemp":0,"invFreq":499,"bpType":0,"invRelayStatus":16,"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":2,"ratedPower":6000,"batChargingTime":143999,"batDischargingTime":143999,"feedPriority":0},"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":100,"lowerLimit_8":0,"X_Unknown_9":0,"X_Unknown_10":32768,"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":0,"X_Unknown_18":0,"X_Unknown_19":0,"X_Unknown_20":0,"X_Unknown_21":5,"X_Unknown_22":0,"X_Unknown_23":8,"X_Unknown_24":5989,"X_Unknown_25":1,"X_Unknown_26":3000,"X_Unknown_27":5990,"X_Unknown_28":8000,"X_Unknown_29":1,"X_Unknown_30":1,"X_Unknown_31":17766,"uptime_32":2274,"X_Unknown_33":3,"X_Unknown_34":77,"X_Unknown_35":60,"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":-41},"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}}}}}
Ich hab den Adapter bereits deinstalliert und neu installiert. Keine Veränderung!
-
@apollosk
Bin erstmal überfragt, was das sein könnte. Evtl. hängt es mit dem Mechanismus zum Abfangen des Fehlers zusammen.
Ich kümmere mich.Edit:
Könntest du mal die folgenden Häckchen setzen:
dann müsste eigentlich so etwas wie hier kommen (parsing->processing->update)
oder hoffentlich irgendein hinweis auf ein Problem
-
@apollosk sagte in Neuer Adapter ecoflow-mqtt:
2024-01-10 09:19:36.006
eines habe ich schon herausgefunden:
2024-01-10 09:19:36.006 -> ist korrekt und auswertbar
2024-01-10 09:19:25.804 -> quasi gleiches Telegramm, aber unvollständig und nicht auswertbardas zeigt, daß die Fehler mit "index out of range: 6 + 220 > 112" korrekt abgefangen werden
aber erklärt noch nicht das verpasste Update der anderen Werte