Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Adapter "smartmeter"

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    Adapter "smartmeter"

    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      hotwire last edited by

      @Homoran @klassisch

      Info On! Das wars! Jetzt klappts!
      Zählerstände mit 4 Nachkommastellen, und ein Leistungsaktualwert!

      Herzlichen Dank! Das ist eine schöne weihnachtliche Bescherung ✌

      K Homoran 2 Replies Last reply Reply Quote 0
      • K
        klassisch Most Active @hotwire last edited by klassisch

        @hotwire Habe gerade nochmals nachgeschaut:
        Momentanleistung muß kommen lauf FNN-Lastenheft "Lastenheft EDL
        Elektronische Haushaltszähler
        Funktionale Merkmale und Protokolle
        Version 1.0"

        6.1 INFO-Schnittstelle (optische DSS für Endkunden)
        Jeder EDL21-Zähler verfügt über eine für den Endkunden zugängliche optische Datenschnittstelle (INFO-
        DSS). Diese optische Datenschnittstelle ist eine unidirektionale, infrarote Kommunikationsschnittstelle
        und dient folgenden Aufgaben:
        • zur permanenten Ausgabe der abrechungsrelevanten Messwerte (Impulsersatz),
        • zur permanenten Ausgabe der Momentanleistung,
        ......

        Edit: sehe gerade, daß es jetzt Bei Dir auch funktioniert

        1 Reply Last reply Reply Quote 0
        • Homoran
          Homoran Global Moderator Administrators @hotwire last edited by

          @hotwire sagte in Adapter "smartmeter":

          Info On! Das wars! Jetzt klappts!

          Natürlich!

          lobo 1 Reply Last reply Reply Quote 0
          • lobo
            lobo @Homoran last edited by lobo

            Ich hab einen Wärmemengenzähler Siemens Uh 50 bzw. baugleich mit Landis+Gyr ULTRAHEAT T550 und bekomme ihn einfach nicht ausgelesen. Kann mir jemand helfen?

            Ich kenne zum Thema diese beiden Infoquellen.

            http://www.sedelmaier.at/node/112
            http://www.sedelmaier.at/content/siemens-uh50-landisgyr-ultraheat-t550-mit-openhab
            https://gathering-tweakers-net.translate.goog/forum/list_messages/1535019?_x_tr_sl=nl&_x_tr_tl=de&_x_tr_hl=de

            Anscheinend muss man den Zähler mit 40 NUL erst aufwecken. Aber meine x hundert unterschiedlichen Versuche blieben bisher erfolglos. Ich bekomme einfach keine Antwort.

            smartmeter.1	2021-12-26 21:35:09.786	debug	SCHEDULE NEXT RUN IN 60000s
            smartmeter.1	2021-12-26 21:35:09.786	debug	DELETE rest of data (0) because new Message start with a new Request Message
            smartmeter.1	2021-12-26 21:35:09.786	debug	CURRENT SIGNON MESSAGE COUNTER 1 OF 1
            smartmeter.1	2021-12-26 21:35:09.785	debug	SERIALPORT REMOVE LISTENERS
            smartmeter.1	2021-12-26 21:35:09.785	debug	SERIALPORT CLOSE
            smartmeter.1	2021-12-26 21:35:09.782	debug	CLEAR MESSAGE TIMEOUT TIMER
            smartmeter.1	2021-12-26 21:35:09.781	debug	STOP
            smartmeter.1	2021-12-26 21:35:09.781	debug	Transport Reset!! Restart = true
            smartmeter.1	2021-12-26 21:35:09.781	debug	Error: No or too long answer from Serial Device after last request.
            smartmeter.1	2021-12-26 21:35:09.781	warn	No or too long answer from Serial Device after last request.
            smartmeter.1	2021-12-26 21:35:09.781	debug	Error: No or too long answer from Serial Device after last request.
            smartmeter.1	2021-12-26 21:35:09.780	debug	MESSAGE TIMEOUT TRIGGERED
            smartmeter.1	2021-12-26 21:34:54.780	debug	SET MESSAGE TIMEOUT TIMER2: 15000
            smartmeter.1	2021-12-26 21:34:54.780	debug	DONE SEND 0
            smartmeter.1	2021-12-26 21:34:54.529	debug	DONE SEND 1
            smartmeter.1	2021-12-26 21:34:54.050	debug	TO SEND 1: /?!\x0D\x0A!
            smartmeter.1	2021-12-26 21:34:54.050	debug	CURRENT PROCESS STEP 1 IN GETNEXTMESSAGE
            smartmeter.1	2021-12-26 21:34:53.798	debug	DONE SEND 2
            smartmeter.1	2021-12-26 21:34:52.368	debug	TO SEND 2:
            smartmeter.1	2021-12-26 21:34:52.368	debug	CURRENT PROCESS STEP 0 IN GETNEXTMESSAGE
            smartmeter.1	2021-12-26 21:34:52.368	debug	INITIAL MESSAGES TO SEND: 2
            smartmeter.1	2021-12-26 21:34:52.368	debug	SERIALPORT RESET BAUDRATE TO 300
            smartmeter.1	2021-12-26 21:34:52.367	debug	SERIALPORT OPEN
            smartmeter.1	2021-12-26 21:34:52.365	debug	CREATE SERIALPORT: 300 7 2 even
            smartmeter.1	2021-12-26 21:33:52.364	debug	SCHEDULE NEXT RUN IN 60000s
            smartmeter.1	2021-12-26 21:33:52.364	debug	DELETE rest of data (0) because new Message start with a new Request Message
            smartmeter.1	2021-12-26 21:33:52.364	debug	CURRENT SIGNON MESSAGE COUNTER 1 OF 1
            smartmeter.1	2021-12-26 21:33:52.363	debug	SERIALPORT REMOVE LISTENERS
            smartmeter.1	2021-12-26 21:33:52.363	debug	SERIALPORT CLOSE
            smartmeter.1	2021-12-26 21:33:52.359	debug	CLEAR MESSAGE TIMEOUT TIMER
            smartmeter.1	2021-12-26 21:33:52.358	debug	STOP
            smartmeter.1	2021-12-26 21:33:52.358	debug	Transport Reset!! Restart = true
            smartmeter.1	2021-12-26 21:33:52.358	debug	Error: No or too long answer from Serial Device after last request.
            smartmeter.1	2021-12-26 21:33:52.358	warn	No or too long answer from Serial Device after last request.
            smartmeter.1	2021-12-26 21:33:52.357	debug	Error: No or too long answer from Serial Device after last request.
            smartmeter.1	2021-12-26 21:33:52.357	debug	MESSAGE TIMEOUT TRIGGERED
            smartmeter.1	2021-12-26 21:33:37.356	debug	SET MESSAGE TIMEOUT TIMER2: 15000
            smartmeter.1	2021-12-26 21:33:37.355	debug	DONE SEND 0
            smartmeter.1	2021-12-26 21:33:37.105	debug	DONE SEND 1
            smartmeter.1	2021-12-26 21:33:36.628	debug	TO SEND 1: /?!\x0D\x0A!
            smartmeter.1	2021-12-26 21:33:36.628	debug	CURRENT PROCESS STEP 1 IN GETNEXTMESSAGE
            smartmeter.1	2021-12-26 21:33:36.377	debug	DONE SEND 2
            smartmeter.1	2021-12-26 21:33:34.945	debug	TO SEND 2:
            smartmeter.1	2021-12-26 21:33:34.945	debug	CURRENT PROCESS STEP 0 IN GETNEXTMESSAGE
            smartmeter.1	2021-12-26 21:33:34.945	debug	INITIAL MESSAGES TO SEND: 2
            smartmeter.1	2021-12-26 21:33:34.945	debug	SERIALPORT RESET BAUDRATE TO 300
            smartmeter.1	2021-12-26 21:33:34.944	debug	SERIALPORT OPEN
            smartmeter.1	2021-12-26 21:33:34.941	debug	CREATE SERIALPORT: 300 7 2 even
            

            Meine zuletzt versuchten Einstellungen:

            4e12acbb-f6bf-4a9a-8a7f-0d8f6606d7f6-image.png

            @apollon77 @rossi73 Ich glaube ihr habt beide ähliche Zähler, aber nie eure Konfig hier gepostet?!

            apollon77 B R S 4 Replies Last reply Reply Quote 0
            • apollon77
              apollon77 @lobo last edited by

              @lobo sagte in Adapter "smartmeter":

              ?!\x0D\x0A!

              Das ist falsch!! zeichen können ind er Konfig nicht so "kodiert" angegeben werden. Weiterhin bedeitet das "\r\n" undn das macht der Adapter. Bitte komplett entfernen was da drin steht, das istder Standard

              1 Reply Last reply Reply Quote 0
              • L
                Liladi @Al Bundy last edited by

                @al-bundy

                Habe es jetzt doch noch geschafft, das Problem bei mir waren die Leseköpfe: eQ-3 USB-IEC, Lötarbeit sollte ja nicht so schwer sein 🙂

                Mit dem IR Schreib/Lesekopf USB (Optokopf) von Weidmann-elektronik funktioniert es nun mit deiner Lösung beim Elster AS3000 auch bei mir ohne Probleme mit den Daten vom Zähler.

                Vielen Dank noch einmal für deine Lösung

                1 Reply Last reply Reply Quote 1
                • MSalmi
                  MSalmi last edited by Homoran

                  iobroker smartmeter adapter installation error

                  Hallo, bin relativ neu und hoffe, dass ich hier richtig bin ?! Nach Rücksprache mit Apollon77 nachfolgend die Problembeschreibung bei der Neuinstallation des Smartmeter Adapters:

                  • After upgrade of our rpi4b from buster to bullseye the update of the entire iobroker system went well ... except reactivating the smartmeter adapter installation, which operated successfully for more than a year. After several attempts of reactivating the instance the adapter was uninstalled and reinstallation does not seem to be possible anymore (always finishing with errors) ?!

                  U.g. LogFile ist hochgeladen und nachfolgend noch die Fehlermeldungen mit denen der Installationsvorgang abgebrochen wird sowie Versionsinformationen.

                  Installations-Fehlermeldungen:

                  * $iobroker add smartmeter --host iobroker-master
                  NPM version: 6.14.15
                  npm install iobroker.smartmeter@3.2.1 --loglevel error --prefix "/opt/iobroker" (System call)
                  make: g++: No such file or directory
                  make: *** [bindings.target.mk:112: Release/obj.target/bindings/src/serialport.o] Error 127
                  gyp ERR! build error
                  gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)gyp ERR! stack at ChildProcess.emit (events.js:400:28)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:282:12)gyp ERR! System Linux 5.10.87-v7l+
                  gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/@serialport/bindingsgyp ERR! node -v v14.18.2gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok
                  npm ERR! code ELIFECYCLE
                  npm ERR! errno 1
                  npm ERR! @serialport/bindings@9.2.8 install: `prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild`
                  npm ERR! Exit status 1npm ERR! npm ERR! Failed at the @serialport/bindings@9.2.8 install script.npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                  npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2022-01-03T23_34_54_767Z-debug.log
                  host.iobroker-master Cannot install iobroker.smartmeter@3.2.1: 1
                  ERROR: Process exited with code 25  
                  

                  MOD_Edit: Code in code-tags gesetzt!

                  Zus. Versionsinformationen:

                  * pi@iobroker-master:~ $ lsb_release -a
                  No LSB modules are available.
                  Distributor ID: Raspbian
                  Description:    Raspbian GNU/Linux 11 (bullseye)
                  Release:        11
                  Codename:       bullseye
                  pi@iobroker-master:~ $ nodejs -v && node -v && npm -v
                  v14.18.2
                  v14.18.2
                  6.14.15
                  

                  MOD_Edit: Code in code-tags gesetzt!

                  2022-01-03T13_31_05_679Z-debug.log

                  apollon77 1 Reply Last reply Reply Quote 0
                  • apollon77
                    apollon77 @MSalmi last edited by

                    @msalmi sagte in Adapter "smartmeter":

                    make: g++: No such file or directory

                    Da fehlt der compiler

                    "iobroker fix" macht welche ausgabe?

                    1 Reply Last reply Reply Quote 0
                    • MSalmi
                      MSalmi last edited by

                      @apollon77 said in Adapter "smartmeter":

                      iobroker fix

                      Perfekt, nach Ausführung von "iobroker fix" hat die Installation nun funktioniert. 👍 Noch einmal recht vielen Dank !!!

                      1 Reply Last reply Reply Quote 0
                      • B
                        Bombel @lobo last edited by

                        @lobo @apollon77 Ich schlage mich auch gerade mit dem Wärmemengenzähler T230 von Landis+Gyr rum. Bekomme ihn mit dem Standard nach EN 62056-21:2002 nicht ausgelesen. Habe mir kürzlich mal die App UltraAssist von Landis+Gyr auf mein Smartphone geladen und den Lesekopf mittels OTG-Adapter angeschlossen. Die App schafft es dem Zähler Daten zu entlocken und diese in eine schöne Excel-Datei zu packen. Daraufhin habe ich mir einen zweiten Lesekopf beschafft und diesen dann an den PC angeschlossen. Die beiden Leseköpfe habe ich aneinandergehalten und mittels HTerm ausgelesen, was die App von Landis+Gyr zu Begrüßung sendet. Herausgekommen ist folgendes:

                        5cb57cab-6698-40f7-8b26-61719e3d1184-image.png

                        Leider weiß ich nicht wie ich die SignOn-Nachricht in diesem Fall zusammenbauen muss. Habe es mit 30 WakeUp-Zeichen und "@p" als SignOn-Nachricht versucht, aber da tut sich leider gar nichts.

                        Habe mich schon durch die schöne Google-Welt gekämpft aber keinerlei Dokumentationen zur optischen Schnittstelle diese Zählers gefunden. Vielleicht habt ihr noch einen heißen Typ für mich....Ich wäre euch sehr dankbar.

                        Gruß Florian

                        21779ba4-29b2-431b-b148-58e509320ae9-image.png

                        Log:

                        smartmeter.1    2022-01-06 20:49:43.384	warn	No or too long answer from Serial Device after last request.
                        smartmeter.1    2022-01-06 20:49:43.383	debug	Error: No or too long answer from Serial Device after last request.
                        smartmeter.1    2022-01-06 20:49:43.382	debug	MESSAGE TIMEOUT TRIGGERED
                        smartmeter.1    2022-01-06 20:49:13.380	debug	SET MESSAGE TIMEOUT TIMER2: 30000
                        smartmeter.1    2022-01-06 20:49:13.379	debug	DONE SEND 0
                        smartmeter.1    2022-01-06 20:49:13.127	debug	DONE SEND 1
                        smartmeter.1    2022-01-06 20:49:12.996	debug	TO SEND 1: /@p!
                        smartmeter.1    2022-01-06 20:49:12.994	debug	CURRENT PROCESS STEP 1 IN GETNEXTMESSAGE
                        smartmeter.1    2022-01-06 20:49:12.743	debug	DONE SEND 2
                        smartmeter.1    2022-01-06 20:49:11.805	debug	TO SEND 2: 000000000000000000000000000000
                        smartmeter.1    2022-01-06 20:49:11.804	debug	CURRENT PROCESS STEP 0 IN GETNEXTMESSAGE
                        smartmeter.1    2022-01-06 20:49:11.801	debug	INITIAL MESSAGES TO SEND: 2
                        smartmeter.1    2022-01-06 20:49:11.796	debug	SERIALPORT RESET BAUDRATE TO 300
                        smartmeter.1    2022-01-06 20:49:11.793	debug	SERIALPORT OPEN
                        smartmeter.1    2022-01-06 20:49:11.778	debug	CREATE SERIALPORT: 300 7 1 even
                        
                        PanicMan 1 Reply Last reply Reply Quote 0
                        • A
                          AndieKiste last edited by AndieKiste

                          Hallo zusammen,
                          erst mal vielen Dank für die super Arbeit mit dem Adapter. Leider verzweifle ich gerade an ihm.

                          Ich bekomme ihn erst garnicht ans Laufen, sobald er gestartet wird, kommen folgende Fehler im Log:

                          2022-01-06 21:30:37.347 - error: host.iobroker Caught by controller[0]: /opt/iobroker/node_modules/bindings/bindings.js:121
                          2022-01-06 21:30:37.364 - error: host.iobroker Caught by controller[0]: throw e;
                          2022-01-06 21:30:37.364 - error: host.iobroker Caught by controller[0]: ^
                          2022-01-06 21:30:37.364 - error: host.iobroker Caught by controller[0]: Error: libnode.so.72: cannot open shared object file: No such file or directory
                          2022-01-06 21:30:37.365 - error: host.iobroker Caught by controller[0]: at Object.Module._extensions..node (internal/modules/cjs/loader.js:1144:18)
                          2022-01-06 21:30:37.365 - error: host.iobroker Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:950:32)
                          2022-01-06 21:30:37.365 - error: host.iobroker Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:790:12)
                          2022-01-06 21:30:37.365 - error: host.iobroker Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:974:19)
                          2022-01-06 21:30:37.365 - error: host.iobroker Caught by controller[0]: at require (internal/modules/cjs/helpers.js:93:18)
                          2022-01-06 21:30:37.365 - error: host.iobroker Caught by controller[0]: at bindings (/opt/iobroker/node_modules/bindings/bindings.js:112:48)
                          2022-01-06 21:30:37.365 - error: host.iobroker Caught by controller[0]: at Object. (/opt/iobroker/node_modules/@serialport/bindings/lib/linux.js:2:36)
                          2022-01-06 21:30:37.365 - error: host.iobroker Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1085:14)
                          2022-01-06 21:30:37.365 - error: host.iobroker Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
                          2022-01-06 21:30:37.365 - error: host.iobroker Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:950:32) {
                          2022-01-06 21:30:37.366 - error: host.iobroker Caught by controller[0]: code: 'ERR_DLOPEN_FAILED'
                          2022-01-06 21:30:37.366 - error: host.iobroker Caught by controller[0]: }
                          2022-01-06 21:30:37.366 - error: host.iobroker instance system.adapter.smartmeter.1 terminated with code 1 (JS_CONTROLLER_STOPPED)
                          2022-01-06 21:30:37.366 - info: host.iobroker Restart adapter system.adapter.smartmeter.1 because enabled
                          

                          Das Problem besteht seit der Installation. Hier ein paar Daten zum System:
                          smartmeter v.3.2.1
                          iobroker v.3.3.22
                          System läuft unter Proxmox VE 6.4 auf einem Ubuntu 21.04
                          Node.Js 14.18.2
                          NPM v6.14.15

                          Abgesehen von den Fehlern ist bei Instanzen jeder Status rot.
                          In den Einstellungen der Instanz kann die Liste der Adapter auch nicht angezeigt werden.

                          Als Leseköpfe kommen 2 Stück von Hichi IR USB zum Einsatz. Diese werden auf Proxmox-Ebene als auch nach Durchschleifen an die VM auf dem iobroker erkannt und als Device im Terminal gefunden.

                          Jemand eine Idee, wie ich den Adapter ans Laufen bekomme? Vielen Dank schon mal im Voraus.
                          Ich hab den Adapter schon de- und wieder installiert als auch iobroker fix duchgeführt, leider ohne Erfolg.

                          Gruß
                          Andi

                          Homoran Thomas Braun 3 Replies Last reply Reply Quote 0
                          • Homoran
                            Homoran Global Moderator Administrators @AndieKiste last edited by

                            @andiekiste sagte in Adapter "smartmeter":

                            Node.Js 14.18.2
                            NPM v6.14.15

                            sicher?

                            laut doku
                            Screenshot_20220106-215021_Firefox.jpg
                            gibt es den erst ab v15

                            A 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @AndieKiste last edited by Thomas Braun

                              @andiekiste sagte in Adapter "smartmeter":

                              Error: libnode.so.72: cannot open shared object file: No such file or directory

                              Das irritiert mich. Diese Datei kommt eigentlich aus der Debian-Ecke, also deren hauseigener Version von nodejs:

                              apt policy libnode72
                              libnode72:
                                Installed: (none)
                                Candidate: 12.22.5~dfsg-2~11u1
                                Version table:
                                   12.22.5~dfsg-2~11u1 500
                                      500 http://deb.debian.org/debian bullseye/main arm64 Packages
                                      500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages
                              

                              Die ist aber in der Form bei einer nodesource-Installation nicht vorhanden. Und auch nicht erforderlich, denn:

                              2022-01-06 21:53:22.784  - info: smartmeter.0 (137513) starting. Version 3.2.1 in /opt/iobroker/node_modules/iobroker.smartmeter, node: v17.3.0, js-controller: 3.3.22
                              2022-01-06 21:53:22.819  - error: smartmeter.0 (137513) Serial port device is undefined, check your configuration!
                              

                              Startet bei mir auch ohne libnode.so.72

                              1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @AndieKiste last edited by

                                @andiekiste
                                Was sagt:

                                which nodejs node npm && nodejs -v && node -v && npm -v && whoami && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                                
                                A 1 Reply Last reply Reply Quote 1
                                • A
                                  AndieKiste @Homoran last edited by

                                  @homoran
                                  3829b485-ccfb-47fa-b721-1854e5b38724-image.png

                                  Eigentlich schon, ja, es wird mir zumindest so angezeigt. Ich bin aber selbst gerade maximal verwirrt, weil wenn ich in der Konsole nodejs -v eingebe, sagt er mir dass nodejs nicht vorhanden ist und ich es installieren soll. Bin leider kein Linux-Fachmann aber werde es jetzt mal installieren.

                                  Thomas Braun Homoran 3 Replies Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @AndieKiste last edited by Thomas Braun

                                    @andiekiste NEIN!
                                    Das Kommando nodejs ist in aktuellen Versionen nicht mehr drin. Das ist also i. O.

                                    Du kannst es aber mit

                                    sudo ln -s /usr/bin/node /usr/bin/nodejs
                                    

                                    'nachbauen'.

                                    1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @AndieKiste last edited by

                                      @andiekiste
                                      Was liefert

                                      which nodejs node npm && nodejs -v && node -v && npm -v && whoami && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                                      

                                      denn nu?

                                      1 Reply Last reply Reply Quote 0
                                      • Homoran
                                        Homoran Global Moderator Administrators @AndieKiste last edited by

                                        @andiekiste sagte in Adapter "smartmeter":

                                        es wird mir zumindest so angezeigt

                                        dann wären zwei Szenarien denkbar (oder mehr)

                                        • es kam später in eine höhere 14.x mit rein
                                        • du hattest zwischendrin mal eine höhere node-Version als 14 installiert und wieder downgegradet
                                        A 1 Reply Last reply Reply Quote 0
                                        • A
                                          AndieKiste @Thomas Braun last edited by

                                          @thomas-braun
                                          0641f1d1-cc76-4131-8e71-06f6599c54cb-image.png

                                          Ich bin maximal verwirrt. Wenn ich richtig verstehe was du gerne hättest sind das ja verschiedene Befehle hintereinander. Einzeln nacheinander sieht es so aus:

                                          root@iobroker:~# which nodejs node npm
                                          /usr/bin/node
                                          /usr/bin/npm
                                          root@iobroker:~# nodejs -v                                                                  
                                          Command 'nodejs' not found, but can be installed with:
                                          apt install nodejs                                                               
                                          root@iobroker:~# node -v
                                          v14.18.2
                                          root@iobroker:~# npm -v
                                          6.14.15
                                          root@iobroker:~# whoami
                                          root
                                          root@iobroker:~# apt update &> /dev/null      "Der Befehl gibt garnichts zurück bei mir"
                                          root@iobroker:~# apt update
                                          Hit:1 http://archive.ubuntu.com/ubuntu hirsute InRelease
                                          Hit:2 http://archive.ubuntu.com/ubuntu hirsute-updates InRelease          
                                          Hit:3 http://archive.ubuntu.com/ubuntu hirsute-security InRelease         
                                          Hit:4 https://deb.nodesource.com/node_14.x groovy InRelease               
                                          Reading package lists... Done                       
                                          Building dependency tree... Done
                                          Reading state information... Done
                                          3 packages can be upgraded. Run 'apt list --upgradable' to see them.
                                          root@iobroker:~# apt policy nodejs
                                          nodejs:
                                            Installed: 14.18.2-deb-1nodesource1
                                            Candidate: 14.18.2-deb-1nodesource1
                                            Version table:
                                           *** 14.18.2-deb-1nodesource1 500
                                                  500 https://deb.nodesource.com/node_14.x groovy/main amd64 Packages
                                                  100 /var/lib/dpkg/status
                                               12.21.0~dfsg-3ubuntu1 500
                                                  500 http://archive.ubuntu.com/ubuntu hirsute/universe amd64 Packages
                                          

                                          Was ich auch nicht verstehe, er zeigt mir ja von nodejs was an. Umgekehrt über die Konsole dachte ich mir, wenn er nodejs installiert haben will, versuche ich es einfach, aber dann kommt folgendes:

                                          root@iobroker:~# apt install nodejs
                                          Reading package lists... Done
                                          Building dependency tree... Done
                                          Reading state information... Done
                                          nodejs is already the newest version (14.18.2-deb-1nodesource1).
                                          0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
                                          

                                          Ich weiß leider dass ich als root angemeldet bin, was nicht gut ist. aber als iobroker kann ich mich nicht einloggen, dann sagt er mir "User account currently not available."

                                          Erkennst du da was?

                                          Danke und Gruß
                                          Andi

                                          Homoran Thomas Braun 4 Replies Last reply Reply Quote 0
                                          • Homoran
                                            Homoran Global Moderator Administrators @AndieKiste last edited by

                                            @andiekiste sagte in Adapter "smartmeter":

                                            wenn er nodejs installiert haben will, versuche ich es einfach, aber dann kommt folgendes:

                                            nodejs ist node
                                            Hieß früher nur auch nodejs. Uralte Programme erwarten das noch. Dafür wurde früher einfach ein Link gesetzt, der bei Aufruf von nodejs auf node verlinkt hatte.
                                            Das kann man immer noch machen, ist aber standardmäßig nur noch selten der Fall

                                            Nix neu installieren!
                                            Das geht dann wieder schief

                                            A 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            454
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            279
                                            3620
                                            1758536
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo