NEWS
ecoflow-connector-Script zur dynamischen Leistungsanpassung
-
@waly_de Ich habe das selbe Problem und meine Einspeisung wird nun auf
X_Unknown_12 gelogged..
Ich hab mich schon gewundert warum der Wert immer hin und her toggled.Das neue Skript läuft bei mir leider nicht und ich bekomme folgende Fehlermeldungen:
01:00:27.147 error javascript.0 (1330) script.js.Ecoflow2: TypeError: Cannot convert undefined or null to object 01:00:27.151 error javascript.0 (1330) at decodeAndPrint (script.js.Ecoflow2:1005:34) 01:00:27.152 error javascript.0 (1330) at MqttClient.<anonymous> (script.js.Ecoflow2:840:36) 01:00:27.210 error javascript.0 (1330) script.js.Ecoflow2: TypeError: Cannot convert undefined or null to object 01:00:27.211 error javascript.0 (1330) at decodeAndPrint (script.js.Ecoflow2:1005:34) 01:00:27.211 error javascript.0 (1330) at MqttClient.<anonymous> (script.js.Ecoflow2:840:36) 01:00:27.236 error javascript.0 (1330) script.js.Ecoflow2: TypeError: Cannot convert undefined or null to object 01:00:27.237 error javascript.0 (1330) at decodeAndPrint (script.js.Ecoflow2:1005:34) 01:00:27.237 error javascript.0 (1330) at MqttClient.<anonymous> (script.js.Ecoflow2:840:36) 01:00:27.256 error javascript.0 (1330) script.js.Ecoflow2: TypeError: Cannot convert undefined or null to object 01:00:27.257 error javascript.0 (1330) at decodeAndPrint (script.js.Ecoflow2:1005:34) 01:00:27.258 error javascript.0 (1330) at MqttClient.<anonymous> (script.js.Ecoflow2:840:36)
Ich habe das alte Skript mal mit dem X_Unknown_12 angepasst und es regelt wie vorher.
Im Screenshot sieht man schön wie es wieder läuft:
Bildschirmfoto 2023-08-01 um 01.05.20 -
@ponti92 bitte das neue Script noch mal testen. Ich habe es modifiziert... und dann bitte ins Logfile sehen. Wenn da Einträge mit:
Ungültiger hexString: XXXkommen, bitte schicken.
-
@waly_de
Ich weiß nicht wie ich in diesem Forum sinnvoll ein Log per Nachricht verschicken kann.Die neue Version des Scripts funktioniert bei mir weiterhin nicht. Gleiche Fehler wie bei ponti92.
Der Wert ToHome_Power scheint der Wert zu sein, der in der App als eingespeiste Leistung angezeigt wird. Also das was in der Ansicht aus dem Powerstream "rausgeht" bzw. vielleicht in die "anderen Verbraucher" rein.
Problem: viele Werte werden derzeit mit dem alten Script zeitweise gar nicht oder nur sehr selten aktualisiert. Betroffen sind z.B. PV1_Power, PV2_Power und leider auch Batt_Poz.
Die Werte der Delta 2 werden sauber aktualisiert.
Ich vermute durch diese fehlende Aktualisierung verschluckt sich dann die Logik, da mit alten Einspeisesollwerten gerechnet wird.
Ich habe derzeit auch im alten Script (0.5.2) ToHome_Power durch X_Unknown_12 ersetzt und es regelt jetzt sauber.
X_Unknown_12 entspricht definitiv dem Wert, der in der App am Schieberegler für den Leistungsbedarf am AC Ausgang (Grundlast) eingestellt wird.Nachtrag: für battPozOn/Off greife ich erstmal direkt auf den Wert SOC der Delta 2 zu.
-
@dreffi
Fakt ist, die Datenstruktur hat sich durch die Updates grundlegend geändert. Ihr müsst auf das neue Script, wenn Ihr brauchbare Daten haben wollt.
Ich habe in der Nacht die Version noch geädert. Sie muss jetzt eigentlich einen anderen Fehler melden. Achte auf die Version (0.6.5)
Ich Brauche diese Daten von Euch wenn ich helfen soll, denn bei mir Funktioniert es ja.Seit heute Morgen sehe ich auch die neuen Daten demnach kann es sein das das alte script unter X_Unknown_12 den eingestellten Wert für AC-Bedarf anzeigt, aber nicht das was wirklich eingespeist wird. Das kann sich ja ändern, wenn eben keine Batterie zur Verfügung steht ist es nur die PV-Power. Mit dem Wunschwert kann man schlecht regeln.
-
@waly_de Moin! Ich habe auch Fehler. Habe alle Updates eingespielt.
09:20:00.651 error javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: TypeError: Cannot convert undefined or null to object
09:20:00.651 error javascript.0 (1121881) at decodeAndPrint (script.js.common.ecoFlow_PowerStream:1012:34)
09:20:00.651 error javascript.0 (1121881) at MqttClient.<anonymous> (script.js.common.ecoFlow_PowerStream:843:36)
09:20:00.664 error javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: TypeError: Cannot convert undefined or null to object
09:20:00.664 error javascript.0 (1121881) at decodeAndPrint (script.js.common.ecoFlow_PowerStream:1012:34)
09:20:00.664 error javascript.0 (1121881) at MqttClient.<anonymous> (script.js.common.ecoFlow_PowerStream:843:36)
09:20:00.712 error javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: TypeError: Cannot convert undefined or null to object
09:20:00.712 error javascript.0 (1121881) at decodeAndPrint (script.js.common.ecoFlow_PowerStream:1012:34)
09:20:00.713 error javascript.0 (1121881) at MqttClient.<anonymous> (script.js.common.ecoFlow_PowerStream:843:36)
09:20:00.737 error javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: TypeError: Cannot convert undefined or null to object
09:20:00.751 error javascript.0 (1121881) at decodeAndPrint (script.js.common.ecoFlow_PowerStream:1012:34)
09:20:00.751 error javascript.0 (1121881) at MqttClient.<anonymous> (script.js.common.ecoFlow_PowerStream:843:36)
09:20:03.023 error javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: TypeError: Cannot convert undefined or null to object
09:20:03.023 error javascript.0 (1121881) at decodeAndPrint (script.js.common.ecoFlow_PowerStream:1012:34)
09:20:03.023 error javascript.0 (1121881) at MqttClient.<anonymous> (script.js.common.ecoFlow_PowerStream:843:36)
09:20:05.022 error javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: TypeError: Cannot convert undefined or null to object
09:20:05.023 error javascript.0 (1121881) at decodeAndPrint (script.js.common.ecoFlow_PowerStream:1012:34)
09:20:05.023 error javascript.0 (1121881) at MqttClient.<anonymous> (script.js.common.ecoFlow_PowerStream:843:36)
09:20:05.931 error javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: TypeError: Cannot convert undefined or null to object
09:20:05.932 error javascript.0 (1121881) at decodeAndPrint (script.js.common.ecoFlow_PowerStream:1012:34)
09:20:05.932 error javascript.0 (1121881) at MqttClient.<anonymous> (script.js.common.ecoFlow_PowerStream:843:36)
09:20:06.224 error javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: TypeError: Cannot convert undefined or null to object
09:20:06.225 error javascript.0 (1121881) at decodeAndPrint (script.js.common.ecoFlow_PowerStream:1012:34)
09:20:06.225 error javascript.0 (1121881) at MqttClient.<anonymous> (script.js.common.ecoFlow_PowerStream:843:36)
09:20:07.059 error javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: TypeError: Cannot convert undefined or null to object
09:20:07.060 error javascript.0 (1121881) at decodeAndPrint (script.js.common.ecoFlow_PowerStream:1012:34)
09:20:07.060 error javascript.0 (1121881) at MqttClient.<anonymous> (script.js.common.ecoFlow_PowerStream:843:36)
09:20:09.251 error javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: TypeError: Cannot convert undefined or null to object
09:20:09.252 error javascript.0 (1121881) at decodeAndPrint (script.js.common.ecoFlow_PowerStream:1012:34)
09:20:09.252 error javascript.0 (1121881) at MqttClient.<anonymous> (script.js.common.ecoFlow_PowerStream:843:36)
09:20:11.289 error javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: TypeError: Cannot convert undefined or null to object
09:20:11.290 error javascript.0 (1121881) at decodeAndPrint (script.js.common.ecoFlow_PowerStream:1012:34)
09:20:11.290 error javascript.0 (1121881) at MqttClient.<anonymous> (script.js.common.ecoFlow_PowerStream:843:36)
09:20:13.210 error javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: TypeError: Cannot convert undefined or null to object
09:20:13.210 error javascript.0 (1121881) at decodeAndPrint (script.js.common.ecoFlow_PowerStream:1012:34)
09:20:13.210 error javascript.0 (1121881) at MqttClient.<anonymous> (script.js.common.ecoFlow_PowerStream:843:36)
09:20:15.314 error javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: TypeError: Cannot convert undefined or null to object
09:20:15.314 error javascript.0 (1121881) at decodeAndPrint (script.js.common.ecoFlow_PowerStream:1012:34)
09:20:15.315 error javascript.0 (1121881) at MqttClient.<anonymous> (script.js.common.ecoFlow_PowerStream:843:36)
09:20:15.971 error javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: TypeError: Cannot convert undefined or null to object
09:20:15.976 error javascript.0 (1121881) at decodeAndPrint (script.js.common.ecoFlow_PowerStream:1012:34)
09:20:15.976 error javascript.0 (1121881) at MqttClient.<anonymous> (script.js.common.ecoFlow_PowerStream:843:36)
09:20:17.331 error javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: TypeError: Cannot convert undefined or null to object -
@waly_de Ich habe das neue Skript getestet, jedoch ist wieder der selbe Fehler wie davor.
Diesmal habe ich das debug flag auftrue
gesetzt, vielleicht sagt dir das dann mehr:09:18:19.601 info javascript.0 (1330) script.js.Ecoflow2: Binäre Nachricht empfangen:/app/device/property/HWXXXXXXXXXXXXXX:0a4f0a2480019d028801a916a8019f02b001bb16e8019cfeffffffffffffff018802c5059802c50510351820200128014014480150245801800103880103ca0110485735315a4f483453463554353531300a380a0d8801f8ae21d801c23080029909103518202001280140144804500d5801800103880103ca0110485735315a4f48345346355435353130 09:18:19.654 error javascript.0 (1330) script.js.Ecoflow2: TypeError: Cannot convert undefined or null to object 09:18:19.661 error javascript.0 (1330) at decodeAndPrint (script.js.Ecoflow2:1009:34) 09:18:19.663 error javascript.0 (1330) at MqttClient.<anonymous> (script.js.Ecoflow2:840:36)
D.h. immer beim Empfang von Daten bekomme ich diesen TypeError..
PS: Ich habe die Seriennummer unkenntlich gemacht, im log ist die richtige Seriennummer schon vorhanden.
-
@ponti92 Neuer Versuch:
siehe unten
-
@waly_de Danke! Jetzt kommt nur noch eine Fehlerzeile:
09:58:21.826 error javascript.0 (1121881) script.js.common.ecoFlow_PowerStream compile failed:
at script.js.common.ecoFlow_PowerStream:94 -
@mattenausohz 94 ist der Einstellungsstopp Bereich... guck mal was in Zeile 94 steht
-
@waly_de said in ecoflow-connector-Script zur dynamischen Leistungsanpassung:
Ich hab leider immer noch den Fehler, diesmal wird der halt als info ausgegeben..
10:00:04.869 info javascript.0 (1330) script.js.Ecoflow2: Fehler beim Decodieren:Cannot convert undefined or null to object 10:00:04.870 info javascript.0 (1330) script.js.Ecoflow2: hexString: "0a420a178001a70288018917e801befcffffffffffffff01b0020110351820200128014014480150175801800103880103ca0110485735315a4f483453463554353531300a320a078002e31ce8020410351820200128014014480450075801800103880103ca0110485735315a4f48345346355435353130" 10:00:06.903 info javascript.0 (1330) script.js.Ecoflow2: Fehler beim Decodieren:Cannot convert undefined or null to object 10:00:06.904 info javascript.0 (1330) script.js.Ecoflow2: hexString: "0a3f0a14a801ad02b001c917e801c3fcffffffffffffff0110351820200128014014480150145801800103880103ca0110485735315a4f483453463554353531300a3b0a108801d6b121d801fa318002e51ce8020110351820200128014014480450105801800103880103ca0110485735315a4f48345346355435353130" 10:00:08.958 info javascript.0 (1330) script.js.Ecoflow2: Fehler beim Decodieren:Cannot convert undefined or null to object 10:00:08.958 info javascript.0 (1330) script.js.Ecoflow2: hexString: "0a450a1a8001a5028801f516a801ab02b001b517c001f801880211980211103518202001280140144801501a5801800103880103ca0110485735315a4f483453463554353531300a380a0d8801b8b121d801fd318002e71c103518202001280140144804500d5801800103880103ca0110485735315a4f48345346355435353130" 10:00:11.046 info javascript.0 (1330) script.js.Ecoflow2: Fehler beim Decodieren:Cannot convert undefined or null to object 10:00:11.047 info javascript.0 (1330) script.js.Ecoflow2: hexString: "0a430a188001a3028801e116c001f501e801bbfcffffffffffffff0110351820200128014014480150185801800103880103ca0110485735315a4f483453463554353531300a2f0a048002e91c10351820200128014014480450045801800103880103ca0110485735315a4f48345346355435353130" 10:00:13.042 info javascript.0 (1330) script.js.Ecoflow2: Fehler beim Decodieren:Cannot convert undefined or null to object 10:00:13.042 info javascript.0 (1330) script.js.Ecoflow2: hexString: "0a490a1e70069801fa01a801a902b001a117c001f901e801c1fcffffffffffffff01103518202001280140144801501e5801800103880103ca0110485735315a4f483453463554353531300a340a098801d6b1218002eb1c10351820200128014014480450095801800103880103ca0110485735315a4f48345346355435353130"
-
@waly_de Ah, da stand "vvar" statt "var". Hab ich korrigiert. Vermutlich beim Einfügen passiert.
Jetzt bekomme ich folgendes:
10:02:36.179 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a0a1020182070c69afb800b"
10:02:36.183 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object
10:02:36.183 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a0a1020182070c69afb800b"
10:02:36.189 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object
10:02:36.189 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a0a1020182070c69afb800b"
10:02:36.194 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object
10:02:36.194 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a3d0a0408c58801102018352001280138034020480b5004580170e99afb800b800113880101ba0103696f73ca0110485735315a4f48345346345530323737"
10:02:36.862 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object
10:02:36.863 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a8a020adc0108ffff031222088096a1a60610011a180000000000000019050000000000000000000000000000001222088096a1a60610021a180000000000000000000000000000000000000000000000001222088096a1a60610031a1800000000001a376e090000000000000000000000000000001222088096a1a60610041a180000000000000001000000000000000000000000000000001222088096a1a60610071a1800000000000d1c43050000000000000000000000000000001222088096a1a60610081a1800000000000e1d4709000000000000000000000000000000103518202001280140fe01482050dc015801800103880103ca0110485735315a4f48345346345530323737"
10:02:37.367 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object
10:02:37.367 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a4f0a249801f410c001d217e80186e6ffffffffffffff018802ec219802ec21a002b312b002b00d10351820200128014014480150245801800103880103ca0110485735315a4f483453463455303237370a440a198001f9ffffffffffffffff0188018ce32280029f62e802bc0d10351820200128014014480450195801800103880103ca0110485735315a4f48345346345530323737"
10:02:39.350 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object
10:02:39.350 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a570a2c8001e3028801e01b98018211a801c102b0018b19c001b517e801afe6ffffffffffffff018802852298028522103518202001280140144801502c5801800103880103ca0110485735315a4f48345346345530323737"
10:02:39.570 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object
10:02:39.570 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a3a0a0f78df04800104880194e2228002a162103518202001280140144804500f5801800103880103ca0110485735315a4f48345346345530323737"
10:02:41.465 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object
10:02:41.466 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a4b0a209801bf11c001fe17d0019704e801a7e5ffffffffffffff01a002a812b002a80d10351820200128014014480150205801800103880103ca0110485735315a4f483453463455303237370a470a1c78da048001fbffffffffffffffff018801aae3228002a362e802b80d103518202001280140144804501c5801800103880103ca0110485735315a4f48345346345530323737"
10:02:43.436 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object
10:02:43.436 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a6d0a428001e4028801921c9001349801cb0ea001fc02a801b602b001d918b80149c001e211c801fc02d0019504e801feecffffffffffffff01a002a212b002a40dd8038c0910351820200128014014480150425801800103880103ca0110485735315a4f483453463455303237370a3f0a148001feffffffffffffffff018002a562e802be0d10351820200128014014480450145801800103880103ca0110485735315a4f48345346345530323737"
10:02:45.462 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object
10:02:45.462 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a610a368001e70290012c9801b00ca801b902b8013dc001910fd0019404e801b4f2ffffffffffffff018802e0219802e021a8028806b002b80d10351820200128014014480150365801800103880103ca0110485735315a4f483453463455303237370a470a1c78ce048001faffffffffffffffff018801d4da228002a762e802bb0d103518202001280140144804501c5801800103880103ca0110485735315a4f48345346345530323737"
10:02:45.787 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Abrufen des niedrigsten Werts: Error: No data
10:02:46.895 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object
10:02:46.895 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a8a020adc0108ffff031222088096a1a60610011a180000000000000019050000000000000000000000000000001222088096a1a60610021a180000000000000000000000000000000000000000000000001222088096a1a60610031a1800000000001a376e090000000000000000000000000000001222088096a1a60610041a180000000000000001000000000000000000000000000000001222088096a1a60610071a1800000000000d1c43050000000000000000000000000000001222088096a1a60610081a1800000000000e1d4709000000000000000000000000000000103518202001280140fe01482050dc015801800103880103ca0110485735315a4f48345346345530323737"
10:02:47.596 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object
10:02:47.596 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a5b0a308001ea029801f50ba001f202a801c002c001d40fc801f202e801e1f3ffffffffffffff018802d9219802d921b002ae0d10351820200128014014480150305801800103880103ca0110485735315a4f483453463455303237370a370a0c78e5048801f6d7228002aa62103518202001280140144804500c5801800103880103ca0110485735315a4f48345346345530323737"
10:02:49.540 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object
10:02:49.540 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a650a3a8001e5028801e01b9001359801fa0ea801c402b0018b19b8014dc001d513d0019504e801d7ecffffffffffffff018802ec219802ec21b002b20d103518202001280140144801503a5801800103880103ca0110485735315a4f483453463455303237370a3e0a1378e204800109880186db228002ac62e802c20d10351820200128014014480450135801800103880103ca0110485735315a4f48345346345530323737"
10:02:51.590 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object
10:02:51.592 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a560a2b9801db0fa801c502b80153c0019b15d0019604e8018aebffffffffffffff018802f9219802f921a8028f06103518202001280140144801502b5801800103880103ca0110485735315a4f483453463455303237370a470a1c78fc048001fbffffffffffffffff018801d2de228002ae62e802b40d103518202001280140144804501c5801800103880103ca0110485735315a4f48345346345530323737"
10:02:53.546 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object
10:02:53.547 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a5e0a338001dd028801ae1b90013b9801a210a001fc02a801c402b001bd19c001ca15c801fc02e80199e8ffffffffffffff01b002c60d10351820200128014014480150335801800103880103ca0110485735315a4f483453463455303237370a3e0a1378e904800108880194e2228002b062e802bc0d10351820200128014014480450135801800103880103ca0110485735315a4f48345346345530323737"
10:02:55.585 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object
10:02:55.586 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a5a0a2f8001df029801f110a801c702b80159c001f916d0019704e80199e7ffffffffffffff018802912298029122b002c00d103518202001280140144801502f5801800103880103ca0110485735315a4f483453463455303237370a3e0a1378f40480010588019ce1228002b262e802b50d10351820200128014014480450135801800103880103ca0110485735315a4f48345346345530323737"
10:02:56.842 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object
10:02:56.842 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a8a020adc0108ffff031222088096a1a60610011a180000000000000019050000000000000000000000000000001222088096a1a60610021a180000000000000000000000000000000000000000000000001222088096a1a60610031a1800000000001a376e090000000000000000000000000000001222088096a1a60610041a180000000000000001000000000000000000000000000000001222088096a1a60610071a1800000000000d1c43050000000000000000000000000000001222088096a1a60610081a1800000000000e1d4709000000000000000000000000000000103518202001280140fe01482050dc015801800103880103ca0110485735315a4f48345346345530323737"
10:02:57.550 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object
10:02:57.550 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a630a388001d9028801fc1a9801af11a801ca02b001ef19c001ed17d0019604e801ace5ffffffffffffff018802f6219802f621a0029b12b002b90d10351820200128014014480150385801800103880103ca0110485735315a4f483453463455303237370a3a0a0f78f7048001098801ace4228002b462103518202001280140144804500f5801800103880103ca0110485735315a4f48345346345530323737"
10:02:59.672 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object
10:02:59.672 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a530a289801a511a801cb02c001dc17e801c9e5ffffffffffffff018802e8219802e821a002a312a802960610351820200128014014480150285801800103880103ca0110485735315a4f483453463455303237370a470a1c7896058001f7ffffffffffffffff018801bee3228002b662e802bc0d103518202001280140144804501c5801800103880103ca0110485735315a4f48345346345530323737"
10:03:00.014 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Newval:32
10:03:00.129 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object
10:03:00.130 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a3d0a0308c0021020183520012801380340144881015003580170afd6fc800b800113880101ba0103696f73ca0110485735315a4f48345346345530323737"
10:03:01.648 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object
10:03:01.648 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a530a288001d4028801ca1a98019d11a801cf02b001a11ae801d2e5ffffffffffffff018003c002d8038b0910351820200128014014480150285801800103880103ca0110485735315a4f483453463455303237370a3b0a1078a0058801fae3228002b862e802b20d10351820200128014014480450105801800103880103ca0110485735315a4f48345346345530323737"
10:03:03.664 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object
10:03:03.664 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a570a2ca801d002c001cf17d0019804e801d7daffffffffffffff018802b6229802b622a0029712a802c502b002dc02103518202001280140144801502c5801800103880103ca0110485735315a4f483453463455303237370a450a1a60c0027887058001028801eeec22b0018e028002ba62e802cc02103518202001280140144804501a5801800103880103ca0110485735315a4f48345346345530323737"
10:03:05.678 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object
10:03:05.679 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a4a0a1f9001419801a911c001ca17d0019904e801d4daffffffffffffff01b002d502103518202001280140144801501f5801800103880103ca0110485735315a4f483453463455303237370a430a18788a058001fbffffffffffffffff01880186ef228002bc6210351820200128014014480450185801800103880103ca0110485735315a4f48345346345530323737"
10:03:06.860 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object
10:03:06.860 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a8a020adc0108ffff031222088096a1a60610011a180000000000000019080000000000000000000000000000001222088096a1a60610021a180000000000000000000000000000000000000000000000001222088096a1a60610031a1800000000001a376e0d0000000000000000000000000000001222088096a1a60610041a180000000000000001000000000000000000000000000000001222088096a1a60610071a1800000000000d1c43080000000000000000000000000000001222088096a1a60610081a1800000000000e1d470d000000000000000000000000000000103518202001280140fe01482050dc015801800103880103ca0110485735315a4f48345346345530323737"
10:03:07.630 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object
10:03:07.631 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a670a3c8001d9028801fc1a9801d111a801cb02b001ef19c001d417d801b704e801a5daffffffffffffff018002b7048802a7229802a722a0028b12b002cc02103518202001280140144801503c5801800103880103ca0110485735315a4f483453463455303237370a440a198001f8ffffffffffffffff018801f4ef228002be62e802bf0210351820200128014014480450195801800103880103ca0110485735315a4f48345346345530323737"
10:03:09.811 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object
10:03:09.812 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a4b0a209801e011e80194daffffffffffffff018802b3229802b322a802bb02b002d80210351820200128014014480150205801800103880103ca0110485735315a4f483453463455303237370a3e0a1378f1048001028801c4f0228002c062e802c40210351820200128014014480450135801800103880103ca0110485735315a4f48345346345530323737"
10:03:11.748 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object
10:03:11.748 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a570a2c8001de028801ae1b98018a12a801c602b001c219e801f7d9ffffffffffffff01a002a012a802b202b002db02103518202001280140144801502c5801800103880103ca0110485735315a4f483453463455303237370a3b0a1078e204880194f1228002c262e802d80210351820200128014014480450105801800103880103ca0110485735315a4f48345346345530323737"
10:03:13.797 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object
10:03:13.798 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a470a1c98019212c001cf17e801e9d9ffffffffffffff01b002cd02d8038a09103518202001280140144801501c5801800103880103ca0110485735315a4f483453463455303237370a470a1c78da048001feffffffffffffffff018801bcf1228002c462e802d402103518202001280140144804501c5801800103880103ca0110485735315a4f48345346345530323737"
10:03:15.810 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object
10:03:15.811 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a570a2c8001e3028801e01b98018812a801cb02b001f319c001c117e80185daffffffffffffff01a802a902b002d402103518202001280140144801502c5801800103880103ca0110485735315a4f483453463455303237370a3e0a1378c304800108880196f2228002c662e802d90210351820200128014014480450135801800103880103ca0110485735315a4f48345346345530323737"
10:03:16.863 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object -
@waly_de Der Client hat sich auch beendet. Eben kam unter "NewVal" sogar ein Minuswert.
10:27:59.114 info javascript.0 (1121881) Stop script script.js.common.ecoFlow_PowerStream 10:27:59.116 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Ecoflow MQTT-Client beendet 10:27:59.170 info javascript.0 (1121881) Start javascript script.js.common.ecoFlow_PowerStream 10:27:59.181 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: registered 0 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions 10:27:59.383 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Verbunden mit dem Ecoflow MQTT-Broker 10:27:59.546 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object 10:27:59.548 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a0a10201820709898d8810b" 10:27:59.558 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object 10:27:59.558 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a0a10201820709898d8810b" 10:27:59.572 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object 10:27:59.573 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a0a10201820709898d8810b" 10:27:59.577 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object 10:27:59.577 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a3d0a0408c58801102018352001280138034020480b5004580170b098d8810b800113880101ba0103696f73ca0110485735315a4f48345346345530323737" 10:28:00.012 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Newval:89 10:28:00.059 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object 10:28:00.059 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a3d0a0308fa0610201835200128013803401448810150035801708c9dd8810b800113880101ba0103696f73ca0110485735315a4f48345346345530323737" 10:28:01.068 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object 10:28:01.068 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a660a3b8001e6028801801c9801ec0ca801d102b001b21ac001e00dd0019804e80183e6ffffffffffffff018802a7249802a7248003fa06c8030fd8038d06103518202001280140144801503b5801800103880103ca0110485735315a4f48345346345530323737" 10:28:01.302 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object 10:28:01.303 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a430a1860fa067800880186ef22a80104b001f4038002936ee8020010351820200128014014480450185801800103880103ca0110485735315a4f48345346345530323737" 10:28:07.283 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object 10:28:07.283 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a8a020adc0108ffff031222088096a1a60610011a1800000000000000191b0000000000000000000000000000001222088096a1a60610021a180000000000000000000000000000000000000000000000001222088096a1a60610031a1800000000001a376e590000000000000000000000000000001222088096a1a60610041a180000000000000001000000000000000000000000000000001222088096a1a60610071a1800000000000d1c43380000000000000000000000000000001222088096a1a60610081a1800000000000e1d473f000000000000000000000000000000103518202001280140fe01482050dc015801800103880103ca0110485735315a4f48345346345530323737" 10:28:17.295 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object 10:28:17.295 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a8a020adc0108ffff031222088096a1a60610011a1800000000000000191b0000000000000000000000000000001222088096a1a60610021a180000000000000000000000000000000000000000000000001222088096a1a60610031a1800000000001a376e590000000000000000000000000000001222088096a1a60610041a180000000000000001000000000000000000000000000000001222088096a1a60610071a1800000000000d1c43380000000000000000000000000000001222088096a1a60610081a1800000000000e1d473f000000000000000000000000000000103518202001280140fe01482050dc015801800103880103ca0110485735315a4f48345346345530323737" 10:28:17.507 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object 10:28:17.508 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a6c0a4178068001e1028801ce1b9801ce0ba801c202b0019c19c001f10bd0019604e80194f0ffffffffffffff018802912298029122a002b212a802d203b002fc06d8021110351820200128014014480150415801800103880103ca0110485735315a4f483453463455303237370a500a2550007883058001fbffffffffffffffff018801a6e622a80105b001c8068002a36ee8029e0710351820200128014014480450255801800103880103ca0110485735315a4f48345346345530323737" 10:28:27.343 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object 10:28:27.343 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a8a020adc0108ffff031222088096a1a60610011a1800000000000000191b0000000000000000000000000000001222088096a1a60610021a180000000000000000000000000000000000000000000000001222088096a1a60610031a1800000000001a376e590000000000000000000000000000001222088096a1a60610041a180000000000000001000000000000000000000000000000001222088096a1a60610071a1800000000000d1c43380000000000000000000000000000001222088096a1a60610081a1800000000000e1d473f000000000000000000000000000000103518202001280140fe01482050dc015801800103880103ca0110485735315a4f48345346345530323737" 10:28:30.011 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Newval:5
-
@mattenausohz
ich kann hier eben nicht reproduzieren .. sieht alles aus als müsse es laufen....neuer versuch (Geänderte Logausgabe)
(siehe unten)
-
@waly_de Noch nicht ganz....
10:39:04.211 info javascript.0 (1121881) Stop script script.js.common.ecoFlow_PowerStream 10:39:04.211 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Ecoflow MQTT-Client beendet 10:39:04.274 info javascript.0 (1121881) Start javascript script.js.common.ecoFlow_PowerStream 10:39:04.285 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: registered 0 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions 10:39:04.481 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Verbunden mit dem Ecoflow MQTT-Broker 10:39:04.672 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Unknown encoding: hexd 10:39:04.672 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a0a1020182070a2e480820b" 10:39:04.673 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: buffer: p�䀂 10:39:04.673 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: PowerMessage: Type .Message 10:39:04.676 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Unknown encoding: hexd 10:39:04.676 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a0a1020182070a2e480820b" 10:39:04.676 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: buffer: p�䀂 10:39:04.676 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: PowerMessage: Type .Message 10:39:04.682 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Unknown encoding: hexd 10:39:04.682 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a0a1020182070a2e480820b" 10:39:04.683 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: buffer: p�䀂 10:39:04.683 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: PowerMessage: Type .Message 10:39:04.686 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Unknown encoding: hexd 10:39:04.686 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a3d0a0408c58801102018352001280138034020480b5004580170bee480820b800113880101ba0103696f73ca0110485735315a4f48345346345530323737" 10:39:04.686 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: buffer: = ň 5 (8@ HPXp�䀂���ios�HW51ZOH4SF4U0277 10:39:04.686 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: PowerMessage: Type .Message 10:39:05.510 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Unknown encoding: hexd 10:39:05.514 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a5a0a2f8001e7028801aa1b9801e917a001b803a801e202b001c61ac0019b18c801b80388028a2298028a22c80302d8038004103518202001280140144801502f5801800103880103ca0110485735315a4f483453463455303237370a360a0b780b8801f28c238002ab73103518202001280140144804500b5801800103880103ca0110485735315a4f48345346345530323737" 10:39:05.514 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: buffer: Z /������������������"��"���5 (@HP/X���HW51ZOH4SF4U0277 6 x��#��s5 (@HPX���HW51ZOH4SF4U0277 10:39:05.514 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: PowerMessage: Type .Message 10:39:07.466 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Unknown encoding: hexd 10:39:07.467 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a8b020add0108ffff031222088096a1a60610011a1800000000000000191d0000000000000000000000000000001222088096a1a60610021a180000000000000000000000000000000000000000000000001223088096a1a60610031a1900000000001a376e9c010000000000000000000000000000001222088096a1a60610041a180000000000000001000000000000000000000000000000001222088096a1a60610071a1800000000000d1c435b0000000000000000000000000000001222088096a1a60610081a1800000000000e1d4763000000000000000000000000000000103518202001280140fe01482050dd015801800103880103ca0110485735315a4f48345346345530323737" 10:39:07.467 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: buffer: � ���"����"����#����7n�"����"���� C["����Gc5 (@�H P�X���HW51ZOH4SF4U0277 10:39:07.467 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: PowerMessage: Type .Message 10:39:07.651 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Unknown encoding: hexd 10:39:07.651 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a4e0a238001e002a801d802c001cd18e8018cd1ffffffffffffff018802b7259802b725b0020610351820200128014014480150235801800103880103ca0110485735315a4f483453463455303237370a360a0b78068801868d238002ae73103518202001280140144804500b5801800103880103ca0110485735315a4f48345346345530323737" 10:39:07.651 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: buffer: N #������������������%��%�5 (@HP#X���HW51ZOH4SF4U0277 6 x���#��s5 (@HPX���HW51ZOH4SF4U0277 10:39:07.651 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: PowerMessage: Type .Message 10:39:09.563 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Unknown encoding: hexd 10:39:09.563 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a6a0a3f8001d7028801f81a98019c16a801cc02b001941ac001c216d0019c04d801b904e80183d4ffffffffffffff018002b9048802ff249802ff24a002a712b00209103518202001280140144801503f5801800103880103ca0110485735315a4f483453463455303237370a420a1778faffffffffffffffff018801dc8b238002af73e8020910351820200128014014480450175801800103880103ca0110485735315a4f48345346345530323737" 10:39:09.563 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: buffer: j ?������������������������������$��$��� 5 (@HP?X���HW51ZOH4SF4U0277 B x����������܋#��s� 5 (@HPX���HW51ZOH4SF4U0277 10:39:09.563 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: PowerMessage: Type .Message 10:39:11.532 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Unknown encoding: hexd 10:39:11.532 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a680a3d8001db028801aa1b90012d9801b00ca801d102b001c61ab80130c001ef0cd0019904e801bfe7ffffffffffffff018802c4249802c424a002a012b00200103518202001280140144801503d5801800103880103ca0110485735315a4f48345346345530323737" 10:39:11.532 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: buffer: h =�����-�������0����������������$��$���5 (@HP=X���HW51ZOH4SF4U0277 10:39:11.532 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: PowerMessage: Type .Message 10:39:11.739 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Unknown encoding: hexd 10:39:11.740 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a420a1778f4ffffffffffffffff018801fcfd228002b273e8020410351820200128014014480450175801800103880103ca0110485735315a4f48345346345530323737" 10:39:11.740 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: buffer: B x������������"��s�5 (@HPX���HW51ZOH4SF4U0277 10:39:11.740 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: PowerMessage: Type .Message 10:39:13.667 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Unknown encoding: hexd 10:39:13.668 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a4f0a248001de029801890ba801d302c001ec0be801e1e9ffffffffffffff01880287249802872410351820200128014014480150245801800103880103ca0110485735315a4f483453463455303237370a420a1778ffffffffffffffffff018801fcf8228002b473e8020010351820200128014014480450175801800103880103ca0110485735315a4f48345346345530323737" 10:39:13.668 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: buffer: O $��������������������$��$5 (@HP$X���HW51ZOH4SF4U0277 B x������������"��s�5 (@HPX���HW51ZOH4SF4U0277 10:39:13.668 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: PowerMessage: Type .Message 10:39:15.641 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Unknown encoding: hexd 10:39:15.642 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a570a2c8001da028801f81a9801850ca801d002b001941ac001e50ce8019ae8ffffffffffffff018802cd239802cd23103518202001280140144801502c5801800103880103ca0110485735315a4f483453463455303237370a360a0b78098801faf7228002b673103518202001280140144804500b5801800103880103ca0110485735315a4f48345346345530323737" 10:39:15.642 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: buffer: W ,������������������������#��#5 (@HP,X���HW51ZOH4SF4U0277 6 x ���"��s5 (@HPX���HW51ZOH4SF4U0277 10:39:15.642 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: PowerMessage: Type .Message 10:39:17.453 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Unknown encoding: hexd 10:39:17.456 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a8b020add0108ffff031222088096a1a60610011a1800000000000000191d0000000000000000000000000000001222088096a1a60610021a180000000000000000000000000000000000000000000000001223088096a1a60610031a1900000000001a376e9c010000000000000000000000000000001222088096a1a60610041a180000000000000001000000000000000000000000000000001222088096a1a60610071a1800000000000d1c435b0000000000000000000000000000001222088096a1a60610081a1800000000000e1d4763000000000000000000000000000000103518202001280140fe01482050dd015801800103880103ca0110485735315a4f48345346345530323737" 10:39:17.456 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: buffer: � ���"����"����#����7n�"����"���� C["����Gc5 (@�H P�X���HW51ZOH4SF4U0277 10:39:17.456 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: PowerMessage: Type .Message 10:39:17.761 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Unknown encoding: hexd 10:39:17.761 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a610a368001d0028801c61a9001379801d40ea801c602b001e219b80138c001bb0ed0019a04e80192e3ffffffffffffff0188029e2398029e2310351820200128014014480150365801800103880103ca0110485735315a4f483453463455303237370a340a098801e6fc228002b87310351820200128014014480450095801800103880103ca0110485735315a4f48345346345530323737" 10:39:17.762 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: buffer: a 6�����7�������8����������������#��#5 (@HP6X���HW51ZOH4SF4U0277 4 ���"��s5 (@HP X���HW51ZOH4SF4U0277 10:39:17.762 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: PowerMessage: Type .Message 10:39:19.746 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Unknown encoding: hexd 10:39:19.746 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a640a398001d30290012a9801a90ba001ae03a801c802b8012cc001c30bc801ae03d0019904e801d8e9ffffffffffffff018802ee229802ee22b0020910351820200128014014480150395801800103880103ca0110485735315a4f483453463455303237370a420a1778ffffffffffffffffff018801aaf7228002ba73e8020810351820200128014014480450175801800103880103ca0110485735315a4f48345346345530323737" 10:39:19.746 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: buffer: d 9���*�������,������������������"��"� 5 (@HP9X���HW51ZOH4SF4U0277 B x������������"��s�5 (@HPX���HW51ZOH4SF4U0277 10:39:19.746 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: PowerMessage: Type .Message 10:39:21.761 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Unknown encoding: hexd 10:39:21.761 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a5e0a338001d9028801f81a9801f20aa801cf02b001941ac001bc0bd0019804e801b3eaffffffffffffff018802ba229802ba22b0020410351820200128014014480150335801800103880103ca0110485735315a4f483453463455303237370a3f0a1478f5ffffffffffffffff0188019cf5228002bc7310351820200128014014480450145801800103880103ca0110485735315a4f48345346345530323737" 10:39:21.761 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: buffer: ^ 3������ ��������������������"��"�5 (@HP3X���HW51ZOH4SF4U0277 ? x������������"��s5 (@HPX���HW51ZOH4SF4U0277 10:39:21.761 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: PowerMessage: Type .Message 10:39:23.915 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Unknown encoding: hexd 10:39:23.916 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a5a0a2f8001d6028801c61a9801bd0aa801cb02b001e219c001f70ae801bfebffffffffffffff018802852298028522b00200103518202001280140144801502f5801800103880103ca0110485735315a4f483453463455303237370a420a1778faffffffffffffffff018801e0f4228002be73e8020010351820200128014014480450175801800103880103ca0110485735315a4f48345346345530323737" 10:39:23.916 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: buffer: Z /������ ������ ������������"��"�5 (@HP/X���HW51ZOH4SF4U0277 B x������������"��s�5 (@HPX���HW51ZOH4SF4U0277 10:39:23.916 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: PowerMessage: Type .Message 10:39:25.864 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Unknown encoding: hexd 10:39:25.864 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a4f0a248001d3029801a50aa801c902c001d70ae80188ecffffffffffffff018802f9239802f92310351820200128014014480150245801800103880103ca0110485735315a4f483453463455303237370a360a0b78058801f2f3228002c073103518202001280140144804500b5801800103880103ca0110485735315a4f48345346345530323737" 10:39:25.865 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: buffer: O $���� ���� ������������#��#5 (@HP$X���HW51ZOH4SF4U0277 6 x���"��s5 (@HPX���HW51ZOH4SF4U0277 10:39:25.865 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: PowerMessage: Type .Message 10:39:27.481 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Unknown encoding: hexd 10:39:27.481 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a8b020add0108ffff031222088096a1a60610011a1800000000000000191d0000000000000000000000000000001222088096a1a60610021a180000000000000000000000000000000000000000000000001223088096a1a60610031a1900000000001a376e9c010000000000000000000000000000001222088096a1a60610041a180000000000000001000000000000000000000000000000001222088096a1a60610071a1800000000000d1c435b0000000000000000000000000000001222088096a1a60610081a1800000000000e1d4763000000000000000000000000000000103518202001280140fe01482050dd015801800103880103ca0110485735315a4f48345346345530323737" 10:39:27.481 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: buffer: � ���"����"����#����7n�"����"���� C["����Gc5 (@�H P�X���HW51ZOH4SF4U0277 10:39:27.482 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: PowerMessage: Type .Message 10:39:27.908 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Unknown encoding: hexd 10:39:27.908 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a5d0a328001d8028801f81a9001229801a909a801ce02b001941ab80125c001ec09e801e7edffffffffffffff018802e6249802e62410351820200128014014480150325801800103880103ca0110485735315a4f483453463455303237370a3a0a0f780b8801daf122d801993e8002c273103518202001280140144804500f5801800103880103ca0110485735315a4f48345346345530323737" 10:39:27.908 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: buffer: ] 2�����"�� �����%�� ������������$��$5 (@HP2X���HW51ZOH4SF4U0277 : x���"��>��s5 (@HPX���HW51ZOH4SF4U0277 10:39:27.908 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: PowerMessage: Type .Message 10:39:29.980 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Unknown encoding: hexd 10:39:29.980 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a460a1bc001f109e801dbedffffffffffffff018802a8259802a825b00204103518202001280140144801501b5801800103880103ca0110485735315a4f483453463455303237370a3a0a0f78078801ecf022d801ba3e8002c473103518202001280140144804500f5801800103880103ca0110485735315a4f48345346345530323737" 10:39:29.980 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: buffer: F �� ������������%��%�5 (@HPX���HW51ZOH4SF4U0277 : x���"��>��s5 (@HPX���HW51ZOH4SF4U0277 10:39:29.980 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: PowerMessage: Type .Message 10:39:30.008 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Newval:88 10:39:30.046 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Unknown encoding: hexd 10:39:30.046 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a3d0a0308f0061020183520012801380340144881015003580170d9ab82820b800113880101ba0103696f73ca0110485735315a4f48345346345530323737" 10:39:30.046 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: buffer: = � 5 (8@H�PXp٫�����ios�HW51ZOH4SF4U0277 10:39:30.047 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: PowerMessage: Type .Message 10:39:31.979 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Unknown encoding: hexd 10:39:31.979 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a5e0a338001d5028801c61a98018c0aa801cc02b001e219c001e10ae801fbebffffffffffffff018802972598029725b0020a8003f00610351820200128014014480150335801800103880103ca0110485735315a4f483453463455303237370a500a2560f00678fdffffffffffffffff018801f6f022a80104b001f403d801c03e8002c673e8020810351820200128014014480450255801800103880103ca0110485735315a4f48345346345530323737" 10:39:31.979 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: buffer: ^ 3������ ������ ������������%��%� ��5 (@HP3X���HW51ZOH4SF4U0277 P %`�x������������"�����>��s�5 (@HP%X���HW51ZOH4SF4U0277 10:39:31.979 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: PowerMessage: Type .Message 10:39:34.023 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Unknown encoding: hexd 10:39:34.023 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a700a458001d7028801941a9001589801d917a801d002b001b019b8015cc001bc18d0019c04d801c904e80190d2ffffffffffffff018002c9048802dc249802dc24a0029812b0020410351820200128014014480150455801800103880103ca0110485735315a4f483453463455303237370a3f0a1478f6ffffffffffffffff018801bcfb228002c87310351820200128014014480450145801800103880103ca0110485735315a4f48345346345530323737" 10:39:34.024 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: buffer: p E�����X�������\��������������������$��$���5 (@HPEX���HW51ZOH4SF4U0277 ? x������������"��s5 (@HPX���HW51ZOH4SF4U0277 10:39:34.024 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: PowerMessage: Type .Message 10:39:36.083 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Unknown encoding: hexd 10:39:36.083 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a590a2e8001e9029801e917a801e502b80156c0018f18e80193d1ffffffffffffff018802982498029824b00200d803ff03103518202001280140144801502e5801800103880103ca0110485735315a4f483453463455303237370a420a1778f9ffffffffffffffff018801d286238002ca73e8020010351820200128014014480450175801800103880103ca0110485735315a4f48345346345530323737" 10:39:36.083 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: buffer: Y .�������V��������������$��$���5 (@HP.X���HW51ZOH4SF4U0277 B x����������҆#��s�5 (@HPX���HW51ZOH4SF4U0277 10:39:36.083 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: PowerMessage: Type .Message 10:39:37.535 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Unknown encoding: hexd 10:39:37.535 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString:
-
@mattenausohz
Mist mein Fehler .... bitte Zeile suchen:
message = PowerMessage.decode(Buffer.from(hexString, "hexd"));und gegen das austauschen
message = PowerMessage.decode(Buffer.from(hexString, "hex"));
oder oben neu kopieren , habs geändert
-
10:48:46.883 info javascript.0 (1121881) Start javascript script.js.common.ecoFlow_PowerStream 10:48:46.896 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: registered 0 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions 10:48:47.115 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Verbunden mit dem Ecoflow MQTT-Broker 10:48:47.362 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object 10:48:47.362 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a0a10201820708caca4820b" 10:48:47.363 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: buffer: p���� 10:48:47.363 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: PowerMessage: Type .Message 10:48:47.367 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object 10:48:47.367 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a0a10201820708caca4820b" 10:48:47.367 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: buffer: p���� 10:48:47.367 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: PowerMessage: Type .Message 10:48:47.385 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object 10:48:47.385 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a0a10201820708caca4820b" 10:48:47.385 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: buffer: p���� 10:48:47.385 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: PowerMessage: Type .Message 10:48:47.389 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object 10:48:47.390 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a3d0a0408c58801102018352001280138034020480b5004580170afaca4820b800113880101ba0103696f73ca0110485735315a4f48345346345530323737" 10:48:47.390 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: buffer: = ň 5 (8@ HPXp�������ios�HW51ZOH4SF4U0277 10:48:47.390 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: PowerMessage: Type .Message 10:48:47.697 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object 10:48:47.698 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a8c020ade0108ffff031222088096a1a60610011a180000000000000019280000000000000000000000000000001222088096a1a60610021a180000000000000000000000000000000000000000000000001223088096a1a60610031a1900000000001a376ed6010000000000000000000000000000001222088096a1a60610041a180000000000000001000000000000000000000000000000001222088096a1a60610071a1800000000000d1c437f0000000000000000000000000000001223088096a1a60610081a1900000000000e1d478501000000000000000000000000000000103518202001280140fe01482050de015801800103880103ca0110485735315a4f48345346345530323737" 10:48:47.698 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: buffer: � ���"����("����#����7n�"����"���� C#����G�5 (@�H P�X���HW51ZOH4SF4U0277 10:48:47.698 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: PowerMessage: Type .Message 10:48:48.016 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object 10:48:48.017 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a610a368001c6028801c1199801e606a801b902b001c318c001f206e801eff2ffffffffffffff018802d8249002fc029802d824b00203c8030210351820200128014014480150365801800103880103ca0110485735315a4f483453463455303237370a3d0a12780a8801d2e322d801e9398002f277e8020010351820200128014014480450125801800103880103ca0110485735315a4f48345346345530323737" 10:48:48.017 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: buffer: a 6������������������������$����$��5 (@HP6X���HW51ZOH4SF4U0277 = x ���"��9��w�5 (@HPX���HW51ZOH4SF4U0277 10:48:48.017 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: PowerMessage: Type .Message 10:48:49.911 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object 10:48:49.911 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a560a2b8001c9028801dc19a801b702b001a918c001ef06e801ecf2ffffffffffffff018802a4249802a424b00209103518202001280140144801502b5801800103880103ca0110485735315a4f483453463455303237370a3d0a1278028801c8e322d801e6398002f477e8020710351820200128014014480450125801800103880103ca0110485735315a4f48345346345530323737" 10:48:49.911 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: buffer: V +����������������������$��$� 5 (@HP+X���HW51ZOH4SF4U0277 = x���"��9��w�5 (@HPX���HW51ZOH4SF4U0277 10:48:49.911 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: PowerMessage: Type .Message 10:48:51.909 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object 10:48:51.909 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a3b0a10c001f3068802f6239002f2029802f62310351820200128014014480150105801800103880103ca0110485735315a4f483453463455303237370a3e0a1378fbffffffffffffffff01d801e9398002f67710351820200128014014480450135801800103880103ca0110485735315a4f48345346345530323737" 10:48:51.909 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: buffer: ; ����#����#5 (@HPX���HW51ZOH4SF4U0277 > x�����������9��w5 (@HPX���HW51ZOH4SF4U0277 10:48:51.909 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: PowerMessage: Type .Message 10:48:54.000 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Fehler beim Decodieren:Cannot convert undefined or null to object 10:48:54.000 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: hexString: "0a5a0a2f8001c7028801c8199801ef06a801b902b001bd18d0019504e801e9f2ffffffffffffff018802be239802be23b00205103518202001280140144801502f5801800103880103ca0110485735315a4f483453463455303237370a430a1878f5ffffffffffffffff018801aae322d801f2398002f87710351820200128014014480450185801800103880103ca0110485735315a4f48345346345530323737" 10:48:54.000 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: buffer: Z /������������������������#��#�5 (@HP/X���HW51ZOH4SF4U0277 C x������������"��9��w5 (@HPX���HW51ZOH4SF4U0277 10:48:54.000 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: PowerMessage: Type .Message 10:48:55.264 info javascript.0 (1121881) Stop script script.js.common.ecoFlow_PowerStream 10:48:55.264 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Ecoflow MQTT-Client beendet 10:49:00.021 info javascript.0 (1121881) script.js.common.ecoFlow_PowerStream: Newval:88
-
ich weiss nicht mehr weiter .. alles sieht so aus wie bei mir. nichts ist undefiniert oder leer...
bitte noch mal die Version des vom js-controller schicken
-
@waly_de Von der javascript Instanz in iobroker?
-
@mattenausohz ja die und den js-controller Version steht bei mir unter hosts
einen versuch noch bitte:
suche nach
log('Fehler beim Decodieren:' + error.message); log('hexString: "' + hexString +'"'); log('buffer: ' + Buffer.from(hexString, "hex"))
und füge darunter ein:
log('protoSource2: ' + protoSource2)
also zusammen :
log('Fehler beim Decodieren:' + error.message); log('hexString: "' + hexString +'"'); log('buffer: ' + Buffer.from(hexString, "hex")) log('protoSource2: ' + protoSource2)
-
11:11:10.707 info javascript.0 (29925) script.js.Ecoflow2: Fehler beim Decodieren:Cannot convert undefined or null to object 11:11:10.707 info javascript.0 (29925) script.js.Ecoflow2: hexString: "0a330a08a801a302b001e21610351820200128014014480150085801800103880103ca0110485735315a4f483453463554353531300a360a0b78048801f4b12180028d3e103518202001280140144804500b5801800103880103ca0110485735315a4f48345346355435353130" 11:11:10.708 info javascript.0 (29925) script.js.Ecoflow2: buffer: 3 ����5 (@HPX���HW51ZOH4SF5T5510 6 x���!��>5 (@HPX���HW51ZOH4SF5T5510 11:11:10.708 info javascript.0 (29925) script.js.Ecoflow2: protoSource2: syntax = "proto3"; message Message { repeated Header header = 1; bytes payload = 2; } message Header { bytes pdata = 1 [proto3_optional = true]; int32 src = 2 [proto3_optional = true]; int32 dest = 3 [proto3_optional = true]; int32 d_src = 4 [proto3_optional = true]; int32 d_dest = 5 [proto3_optional = true]; int32 enc_type = 6 [proto3_optional = true]; int32 check_type = 7 [proto3_optional = true]; int32 cmd_func = 8 [proto3_optional = true]; int32 cmd_id = 9 [proto3_optional = true]; int32 data_len = 10 [proto3_optional = true]; int32 need_ack = 11 [proto3_optional = true]; int32 is_ack = 12 [proto3_optional = true]; int32 seq = 14 [proto3_optional = true]; int32 product_id = 15 [proto3_optional = true]; int32 version = 16 [proto3_optional = true]; int32 payload_ver = 17 [proto3_optional = true]; int32 time_snap = 18 [proto3_optional = true]; int32 is_rw_cmd = 19 [proto3_optional = true]; int32 is_queue = 20 [proto3_optional = true]; int32 ack_type = 21 [proto3_optional = true]; string code = 22 [proto3_optional = true]; string from = 23 [proto3_optional = true]; string module_sn = 24 [proto3_optional = true]; string device_sn = 25 [proto3_optional = true]; } message InverterHeartbeat { optional uint32 inv_err_code = 1; optional uint32 inv_warn_code = 3; optional uint32 pv1_err_code = 2; optional uint32 pv1_warn_code = 4; optional uint32 pv2_err_code = 5; optional uint32 pv2_warning_code = 6; optional uint32 bat_err_code = 7; optional uint32 bat_warning_code = 8; optional uint32 llc_err_code = 9; optional uint32 llc_warning_code = 10; optional uint32 pv1_statue = 11; optional uint32 pv2_statue = 12; optional uint32 bat_statue = 13; optional uint32 llc_statue = 14; optional uint32 inv_statue = 15; optional int32 pv1_input_volt = 16; optional int32 pv1_op_volt = 17; optional int32 pv1_input_cur = 18; optional int32 pv1_input_watts = 19; optional int32 pv1_temp = 20; optional int32 pv2_input_volt = 21; optional int32 pv2_op_volt = 22; optional int32 pv2_input_cur = 23; optional int32 pv2_input_watts = 24; optional int32 pv2_temp = 25; optional int32 bat_input_volt = 26; optional int32 bat_op_volt = 27; optional int32 bat_input_cur = 28; optional int32 bat_input_watts = 29; optional int32 bat_temp = 30; optional uint32 bat_soc = 31; optional int32 llc_input_volt = 32; optional int32 llc_op_volt = 33; optional int32 llc_temp = 34; optional int32 inv_input_volt = 35; optional int32 inv_op_volt = 36; optional int32 inv_output_cur = 37; optional int32 inv_output_watts = 38; optional int32 inv_temp = 39; optional int32 inv_freq = 40; optional int32 inv_dc_cur = 41; optional int32 bp_type = 42; optional int32 inv_relay_status = 43; optional int32 pv1_relay_status = 44; optional int32 pv2_relay_status = 45; optional uint32 install_country = 46; optional uint32 install_town = 47; optional uint32 permanent_watts = 48; optional uint32 dynamic_watts = 49; optional uint32 supply_priority = 50; optional uint32 lower_limit = 51; optional uint32 upper_limit = 52; optional uint32 inv_on_off = 53; optional uint32 wireless_err_code = 54; optional uint32 wireless_warn_code = 55; optional uint32 inv_brightness = 56; optional uint32 heartbeat_frequency = 57; optional uint32 rated_power = 58; } message InverterHeartbeat2 { optional uint32 X_Unknown_1 = 1; optional uint32 X_Unknown_2 = 2; optional uint32 X_Unknown_3 = 3; optional uint32 X_Unknown_4 = 4; optional uint32 X_Unknown_5 = 5; optional uint32 X_Unknown_6 = 6; optional uint32 X_Unknown_7 = 7; optional uint32 X_Unknown_8 = 8; optional uint32 X_Unknown_9 = 9; optional uint32 X_Unknown_10 = 10; optional uint32 X_Unknown_11 = 11; optional uint32 X_Unknown_12 = 12; optional uint32 X_Unknown_13 = 13; optional uint32 X_Unknown_14 = 14; optional uint32 X_Unknown_15 = 15; optional int32 X_Unknown_16 = 16; optional uint32 X_Unknown_17 = 17; optional uint32 X_Unknown_18 = 18; optional uint32 X_Unknown_19 = 19; optional uint32 X_Unknown_20 = 20; optional uint32 X_Unknown_21 = 21; optional uint32 X_Unknown_22 = 22; optional uint32 X_Unknown_23 = 23; optional uint32 X_Unknown_24 = 24; optional uint32 X_Unknown_25 = 25; optional uint32 X_Unknown_26 = 26; optional uint32 X_Unknown_27 = 27; optional uint32 X_Unknown_28 = 28; optional uint32 X_Unknown_29 = 29; optional uint32 X_Unknown_30 = 30; optional uint32 X_Unknown_31 = 31; optional int32 X_Unknown_32 = 32; optional uint32 X_Unknown_33 = 33; optional uint32 X_Unknown_34 = 34; optional uint32 X_Unknown_35 = 35; optional uint32 X_Unknown_36 = 36; optional uint32 X_Unknown_37 = 37; optional uint32 X_Unknown_38 = 38; optional uint32 X_Unknown_39 = 39; optional uint32 X_Unknown_40 = 40; optional uint32 X_Unknown_41 = 41; optional int32 X_Unknown_42 = 42; optional uint32 X_Unknown_43 = 43; optional uint32 X_Unknown_44 = 44; optional uint32 X_Unknown_45 = 45; optional uint32 X_Unknown_46 = 46; optional uint32 X_Unknown_47 = 47; optional int32 X_Unknown_48 = 48; optional uint32 X_Unknown_49 = 49; optional int32 X_Unknown_50 = 50; optional uint32 X_Unknown_51 = 51; optional uint32 X_Unknown_52 = 52; optional uint32 X_Unknown_53 = 53; optional uint32 X_Unknown_54 = 54; optional uint32 X_Unknown_55 = 55; optional uint32 X_Unknown_56 = 56; optional uint32 X_Unknown_57 = 57; optional uint32 X_Unknown_58 = 58; optional uint32 X_Unknown_59 = 59; optional uint32 X_Unknown_60 = 60; optional uint32 X_Unknown_61 = 61; optional uint32 X_Unknown_62 = 62; optional uint32 X_Unknown_63 = 63; optional uint32 X_Unknown_64 = 64; optional uint32 X_Unknown_65 = 65; optional uint32 X_Unknown_66 = 66; optional uint32 X_Unknown_67 = 67; optional uint32 X_Unknown_68 = 68; optional uint32 X_Unknown_69 = 69; optional uint32 X_Unknown_70 = 70; } message setMessage { setHeader header = 1; } message setHeader { setValue pdata = 1 [proto3_optional = true]; int32 src = 2 [proto3_optional = true]; int32 dest = 3 [proto3_optional = true]; int32 d_src = 4 [proto3_optional = true]; int32 d_dest = 5 [proto3_optional = true]; int32 enc_type = 6 [proto3_optional = true]; int32 check_type = 7 [proto3_optional = true]; int32 cmd_func = 8 [proto3_optional = true]; int32 cmd_id = 9 [proto3_optional = true]; int32 data_len = 10 [proto3_optional = true]; int32 need_ack = 11 [proto3_optional = true]; int32 is_ack = 12 [proto3_optional = true]; int32 seq = 14 [proto3_optional = true]; int32 product_id = 15 [proto3_optional = true]; int32 version = 16 [proto3_optional = true]; int32 payload_ver = 17 [proto3_optional = true]; int32 time_snap = 18 [proto3_optional = true]; int32 is_rw_cmd = 19 [proto3_optional = true]; int32 is_queue = 20 [proto3_optional = true]; int32 ack_type = 21 [proto3_optional = true]; string code = 22 [proto3_optional = true]; string from = 23 [proto3_optional = true]; string module_sn = 24 [proto3_optional = true]; string device_sn = 25 [proto3_optional = true]; } message setValue { optional int32 value = 1; } message permanent_watts_pack { optional int32 permanent_watts = 1; } message supply_priority_pack { optional int32 supply_priority = 1; } message bat_lower_pack { optional int32 lower_limit = 1; } message bat_upper_pack { optional int32 upper_limit = 1; } message PowerItem { optional uint32 timestamp = 1; optional sint32 timezone = 2; optional uint32 inv_to_grid_power = 3; optional uint32 inv_to_plug_power = 4; optional int32 battery_power = 5; optional uint32 pv1_output_power = 6; optional uint32 pv2_output_power = 7; } message PowerPack { optional uint32 sys_seq = 1; repeated PowerItem sys_power_stream = 2; } message PowerAckPack { optional uint32 sys_seq = 1; } message node_massage { optional string sn = 1; optional bytes mac = 2; } message mesh_child_node_info { optional uint32 topology_type = 1; optional uint32 mesh_protocol = 2; optional uint32 max_sub_device_num = 3; optional bytes parent_mac_id = 4; optional bytes mesh_id = 5; repeated node_massage sub_device_list = 6; } message EnergyItem { optional uint32 timestamp = 1; optional uint32 watth_type = 2; repeated uint32 watth = 3; } message EnergyTotalReport { optional uint32 watth_seq = 1; optional EnergyItem watth_item = 2; } message BatchEnergyTotalReport { optional uint32 watth_seq = 1; repeated EnergyItem watth_item = 2; } message EnergyTotalReportAck { optional uint32 result = 1; optional uint32 watth_seq = 2; optional uint32 watth_type = 3; } message EventRecordItem { optional uint32 timestamp = 1; optional uint32 sys_ms = 2; optional uint32 event_no = 3; repeated float event_detail = 4; } message EventRecordReport { optional uint32 event_ver = 1; optional uint32 event_seq = 2; repeated EventRecordItem event_item = 3; } message EventInfoReportAck { optional uint32 result = 1; optional uint32 event_seq = 2; optional uint32 event_item_num = 3; } message ProductNameSet { optional string name = 1; } message ProductNameSetAck { optional uint32 result = 1; } message ProductNameGet {} message ProductNameGetAck { optional string name = 3; } message RTCTimeGet {} message RTCTimeGetAck { optional uint32 timestamp = 1; optional int32 timezone = 2; } message RTCTimeSet { optional uint32 timestamp = 1; optional int32 timezone = 2 [(nanopb).default = 0]; } message RTCTimeSetAck { optional uint32 result = 1; } message country_town_message { optional uint32 country = 1; optional uint32 town = 2; } message time_task_config { optional uint32 task_index = 1; optional time_range_strategy time_range = 2; optional uint32 type = 3; } message time_task_delet { optional uint32 task_index = 1; } message time_task_config_post { optional time_task_config task1 = 1; optional time_task_config task2 = 2; optional time_task_config task3 = 3; optional time_task_config task4 = 4; optional time_task_config task5 = 5; optional time_task_config task6 = 6; optional time_task_config task7 = 7; optional time_task_config task8 = 8; optional time_task_config task9 = 9; optional time_task_config task10 = 10; optional time_task_config task11 = 11; } message time_task_config_ack { optional uint32 task_info = 1; } message rtc_data { optional int32 week = 1 [(nanopb).default = 0]; optional int32 sec = 2 [(nanopb).default = 0]; optional int32 min = 3 [(nanopb).default = 0]; optional int32 hour = 4 [(nanopb).default = 0]; optional int32 day = 5 [(nanopb).default = 0]; optional int32 month = 6 [(nanopb).default = 0]; optional int32 year = 7 [(nanopb).default = 0]; } message time_range_strategy { optional bool is_config = 1; optional bool is_enable = 2; optional int32 time_mode = 3; optional int32 time_data = 4; optional rtc_data start_time = 5; optional rtc_data stop_time = 6; } message plug_ack_message { optional uint32 ack = 1; } message plug_heartbeat_pack { optional uint32 err_code = 1 [(nanopb).default = 0]; optional uint32 warn_code = 2 [(nanopb).default = 0]; optional uint32 country = 3 [(nanopb).default = 0]; optional uint32 town = 4 [(nanopb).default = 0]; optional int32 max_cur = 5 [(nanopb).default = 0]; optional int32 temp = 6 [(nanopb).default = 0]; optional int32 freq = 7 [(nanopb).default = 0]; optional int32 current = 8 [(nanopb).default = 0]; optional int32 volt = 9 [(nanopb).default = 0]; optional int32 watts = 10 [(nanopb).default = 0]; optional bool switch = 11 [(nanopb).default = false]; optional int32 brightness = 12 [(nanopb).default = 0]; optional int32 max_watts = 13 [(nanopb).default = 0]; optional int32 heartbeat_frequency = 14 [(nanopb).default = 0]; optional int32 mesh_enable = 15 [(nanopb).default = 0]; } message plug_switch_message { optional uint32 plug_switch = 1; } message brightness_pack { optional int32 brightness = 1 [(nanopb).default = 0]; } message max_cur_pack { optional int32 max_cur = 1 [(nanopb).default = 0]; } message max_watts_pack { optional int32 max_watts = 1 [(nanopb).default = 0]; } message mesh_ctrl_pack { optional uint32 mesh_enable = 1 [(nanopb).default = 0]; } message ret_pack { optional bool ret_sta = 1 [(nanopb).default = false]; } enum CmdFunction { Unknown = 0; PermanentWattsPack = 129; SupplyPriorityPack = 130; }
js.controller: 4.0.24
javascript: v6.1.4EDIT:
Powerstream: V1.0.0.154 V1.1.3.31 (WLAN)