Hier mal noch eine kleine Rückmeldung. Habe das System nochmal neu aufgesetzt, diesmal mit einem aktuellen Debian und anschließende Wiederherstellung mit Backitup. Hat anscheinend alles funktioniert und jetzt funktioniert auch der Energieflussadapter. Danke für die Hilfe und Hinweise, werde dann jetzt auch öfter mal updaten.
NEWS
Best posts made by Neo77
-
RE: Altes System updaten...wie genau?
Latest posts made by Neo77
-
RE: Kostal Wallbox Status Update
@paul53
Mit dem Attribut hat es geklappt, super, vielen DankWas genau meinst du mit dem Trigger in der Callback-Funktion?
-
Kostal Wallbox Status Update
Hallo, vielleicht kann mir ja jemand helfen oder einen kleinen Denkanstoß geben. Hab bisher noch nicht viel mit Blockly gemacht und bin daher in dem Thema nicht ganz fit. Ich möchte gerne den Status meiner Kostal Wallbox auslesen, dies kann man mit einem Curl-Befehl umsetzen, dies klappt auch so weit. Allerdings bekomme ich den hier ausgegebenen Wert nicht weiterverarbeitet, eigentlich möchte ich das nur der Wert "PV" oder "lock" bzw. "Hybrid" oder "power" in das Objekt geschrieben wird.
Hier einmal mein Blockly:
<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="|NIP.xcC}/Wi6.6:)fE?">result</variable> </variables> <block type="schedule" id="^L{HJm]$-/,#0A3$l|fv" x="-37" y="88"> <field name="SCHEDULE">*/10 * * * * *</field> <statement name="STATEMENT"> <block type="exec" id="t^~3XtC7Z*(_13cQ4Kg0"> <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="true"></mutation> <field name="WITH_STATEMENT">TRUE</field> <field name="LOG"></field> <value name="COMMAND"> <shadow type="text" id="x6`+oF!}l/i?Gaae+5~W"> <field name="TEXT"> curl -X GET -H "Authorization: Bearer MEINCODE" -H "Content-Type: application/json" http://192.168.178.149/api/e-mobility/config/chargemode --data -v</field> </shadow> </value> <statement name="STATEMENT"> <block type="on_ext" id="7UD%E/Y3-@{EkT|$d..Q"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation> <field name="CONDITION">any</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="fwoN/8S|(PHr+QW-Lqkk"> <field name="oid">default</field> </shadow> <block type="variables_get" id=")Uj~1:t$RIS7E3g^{!qi"> <field name="VAR" id="|NIP.xcC}/Wi6.6:)fE?">result</field> </block> </value> <statement name="STATEMENT"> <block type="controls_if" id="3T}BV0~YT3fzJkOs.1AD"> <value name="IF0"> <block type="logic_compare" id="6J3%_z1)J5Y[]!9{ecOS"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="vmtcj_;`L#PgU}|2`WF|"> <field name="VAR" id="|NIP.xcC}/Wi6.6:)fE?">result</field> </block> </value> <value name="B"> <block type="text" id="_6.He$*.[W-!YK)~70s7"> <field name="TEXT">{"mode":"pv","mincharginpowerquota":0,"minpvpowerquota":100,"lastminchargingpowerquota":75,"lastminpvpowerquota":0}:</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="y7pZ;kz1oXO)FQM`+Oeg"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Wallbox_Status</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="E|{}BW~7@5d.AU5YD!|0"> <field name="TEXT">PV</field> </block> </value> </block> </statement> </block> </statement> </block> </statement> </block> </statement> </block> </xml>
Als Antwort bekomme ich hier {"mode":"pv","mincharginpowerquota":0,"minpvpowerquota":100,"lastminchargingpowerquota":75,"lastminpvpowerquota":0}: in das Objekt geschrieben, bei einem anderen Status dann mit "lock" usw.
Wie bekomme ich das hier gekürzt oder umgewandelt?
-
RE: Altes System updaten...wie genau?
Hier mal noch eine kleine Rückmeldung. Habe das System nochmal neu aufgesetzt, diesmal mit einem aktuellen Debian und anschließende Wiederherstellung mit Backitup. Hat anscheinend alles funktioniert und jetzt funktioniert auch der Energieflussadapter. Danke für die Hilfe und Hinweise, werde dann jetzt auch öfter mal updaten.
-
RE: Altes System updaten...wie genau?
marc@IOBROKER:~$ curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash - [sudo] Passwort für marc: ## Installing the NodeSource Node.js 14.x repo... ## Populating apt-get cache... + apt-get update OK:1 http://archive.canonical.com/ubuntu focal InRelease OK:2 https://linux.teamviewer.com/deb stable InRelease OK:3 https://deb.nodesource.com/node_12.x focal InRelease Ign:4 http://packages.linuxmint.com ulyssa InRelease OK:5 http://security.ubuntu.com/ubuntu focal-security InRelease OK:6 http://archive.ubuntu.com/ubuntu focal InRelease Ign:7 https://repos.influxdata.com/linuxmint ulyssa InRelease Holen:8 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB] OK:9 http://packages.linuxmint.com ulyssa Release Fehl:10 https://repos.influxdata.com/linuxmint ulyssa Release 404 Not Found [IP: 2600:9000:2453:7600:11:fe8d:7d40:93a1 443] Holen:12 http://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB] Holen:13 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metada ta [275 kB] Holen:14 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 DEP-11 Me tadata [410 kB] Holen:15 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [944 B] Holen:16 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 DEP-11 Meta data [8.000 B] Holen:17 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 DEP-11 Metadata [30,5 kB] Paketlisten werden gelesen... Fertig E: Das Depot »https://repos.influxdata.com/linuxmint ulyssa Release« enthält kei ne Release-Datei. N: Eine Aktualisierung von solch einem Depot kann nicht auf eine sichere Art dur chgeführt werden, daher ist es standardmäßig deaktiviert. N: Weitere Details zur Erzeugung von Paketdepots sowie zu deren Benutzerkonfigur ation finden Sie in der Handbuchseite apt-secure(8). Error executing command, exiting
-
RE: Altes System updaten...wie genau?
@thomas-braun Da scheitere ich schon dran....
-
RE: Energiefluss Adapter - Support
CPU: 11.13 % RAM: 14.4 % Betriebszeit: 0h Verfügbar: 4.0.24 Installiert: 4.0.24 Ereignisse: ⇥29 / ↦13 Plattform: linux Betriebssystem: linux Architektur: x64 CPUs: 1 Geschwindigkeit: 2712 MHz Modell: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz RAM: 3.8 GB System-Betriebszeit: 106 T. 11:57:26 Node.js: v12.22.12 time: 1679040308830 timeOffset: -60 Adapter-Anzahl: 470 NPM: v6.14.16 Datenträgergröße: 15.2 GB Freier Festplattenspeicher: 1.3 GB Betriebszeit: 10:51:23 Aktive Instanzen: 28 Pfad: /opt/iobroker/ aktiv: true
-
Altes System updaten...wie genau?
@skb Habe ich gerade versucht, scheint aktuell zu sein.
CPU: 11.13 % RAM: 14.4 % Betriebszeit: 0h Verfügbar: 4.0.24 Installiert: 4.0.24 Ereignisse: ⇥29 / ↦13 Plattform: linux Betriebssystem: linux Architektur: x64 CPUs: 1 Geschwindigkeit: 2712 MHz Modell: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz RAM: 3.8 GB System-Betriebszeit: 106 T. 11:57:26 Node.js: v12.22.12 time: 1679040308830 timeOffset: -60 Adapter-Anzahl: 470 NPM: v6.14.16 Datenträgergröße: 15.2 GB Freier Festplattenspeicher: 1.3 GB Betriebszeit: 10:51:23 Aktive Instanzen: 28 Pfad: /opt/iobroker/ aktiv: true
-
RE: Energiefluss Adapter - Support
host.IOBROKER 2023-03-15 17:18:48.712 error instance system.adapter.energiefluss.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.IOBROKER 2023-03-15 17:18:48.712 error Caught by controller[0]: at internal/main/run_main_module.js:17:47 host.IOBROKER 2023-03-15 17:18:48.712 error Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12) host.IOBROKER 2023-03-15 17:18:48.712 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14) host.IOBROKER 2023-03-15 17:18:48.712 error Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32) host.IOBROKER 2023-03-15 17:18:48.712 error Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10) host.IOBROKER 2023-03-15 17:18:48.712 error Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:963:27) host.IOBROKER 2023-03-15 17:18:48.712 error Caught by controller[0]: at wrapSafe (internal/modules/cjs/loader.js:915:16) host.IOBROKER 2023-03-15 17:18:48.712 error Caught by controller[0]: SyntaxError: Unexpected token '.' host.IOBROKER 2023-03-15 17:18:48.712 error Caught by controller[0]: ^ host.IOBROKER 2023-03-15 17:18:48.712 error Caught by controller[0]: if (this.config?.car_charge) { host.IOBROKER 2023-03-15 17:18:48.709 error Caught by controller[0]: /opt/iobroker/node_modules/iobroker.energiefluss/main.js:781 host.IOBROKER 2023-03-15 17:18:48.592 info instance system.adapter.energiefluss.0 started with pid 3874454
MOD-EDIT: Code in code-tags gesetzt!
Jede Menge Fehler im Log
-
RE: Energiefluss Adapter - Support
Hallo, hoffe ihr könnt mir Tipps geben. Bei mir bekomme ich den Adapter gar nicht zum laufen. Habe den Adapter über Expertenmodus und der Github-URL installiert. Installation lief auch so durch. Instanz musste ich dann über den Adapter noch hinzufügen.
Die Instanz bleibt aber rot, d.h. keine Verbindung zum Host und auch kein Lebenszeichen.Einstellungen konnte ich aber in der Instanz vornehmen. Einer eine Idee?