Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Smart Meter von Netz Oö (Energie AG)

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Smart Meter von Netz Oö (Energie AG)

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators @Manuel001 last edited by

      @manuel001 sagte in Smart Meter von Netz Oö (Energie AG):

      pi@iobroker:~ $ npm install aes-js

      pi wäre richtig - auf keinen Fall irgendetwas als root machen!

      Nur du bist im falschen Verzeichnis!
      da solltest du gar nichts mit npm machen was mit ioBroker zu tun hat.
      Das muss als einfacher User in /opt/iobroker ausgeführt werden.

      und wenn das nicht geht hast du deine Rechte verpfuscht

      M 1 Reply Last reply Reply Quote 0
      • M
        Manuel001 @alealdata last edited by Manuel001

        @alealdata
        Ok danke. Backup ist gemacht. Jetzt ist nur die Frage welches Passwort. Ohne Passwort habe ich es probiert und auch mit dem Passwort, welches ich für pi vergeben habe:

        pi@iobroker:~ $ su
        Passwort:
        su: Fehler bei Authentifizierung
        pi@iobroker:~ $
        
        

        Es ist das Standardimage von der Raspi Homepage.

        Ich habe es jetzt noch so probiert:

        pi@iobroker:~ $ sudo su
        root@iobroker:/home/pi# npm install aes-js
        npm WARN saveError ENOENT: no such file or directory, open '/home/pi/package.json'
        npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
        npm WARN pi No description
        npm WARN pi No repository field.
        npm WARN pi No README data
        npm WARN pi No license field.
        
        + aes-js@3.1.2
        updated 1 package and audited 1 package in 24.038s
        found 0 vulnerabilities
        
        root@iobroker:/home/pi# find -iname package.json
        ./node_modules/aes-js/package.json
        root@iobroker:/home/pi# cd node_modules/aes-js/
        root@iobroker:/home/pi/node_modules/aes-js# npm install aes-js
        npm ERR! code ENOSELF
        npm ERR! Refusing to install package with name "aes-js" under a package
        npm ERR! also called "aes-js". Did you name your project the same
        npm ERR! as the dependency you're installing?
        npm ERR!
        npm ERR! For more information, see:
        npm ERR!     <https://docs.npmjs.com/cli/install#limitations-of-npms-install-algorithm>
        
        npm ERR! A complete log of this run can be found in:
        npm ERR!     /root/.npm/_logs/2021-05-22T18_49_44_403Z-debug.log
        root@iobroker:/home/pi/node_modules/aes-js#
        
        
        1 Reply Last reply Reply Quote 0
        • M
          Manuel001 @Homoran last edited by

          @homoran
          Also so?

          pi@iobroker:~ $ cd /opt/iobroker/
          pi@iobroker:/opt/iobroker $ install aes-js
          install: Fehlender Zieldatei‐Operand hinter 'aes-js'
          „install --help“ liefert weitere Informationen.
          pi@iobroker:/opt/iobroker $
          
          

          Sorry für die blöden Fragen. Meine Welt ist die Hardware.

          Thomas Braun 2 Replies Last reply Reply Quote 0
          • alealdata
            alealdata last edited by alealdata

            @manuel001 konnte das bei mir nachstellen mit dem gleichen Fehler.
            Die Beschreibung von oben bezieht sich auf die direkte Installation von NodeRed und nicht innerhalb von IOBroker

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

              @manuel001

              @homoran sagte:

              pi wäre richtig - auf keinen Fall irgendetwas als root machen!

              Nur du bist im falschen Verzeichnis!

              da solltest du gar nichts mit npm machen was mit ioBroker zu tun hat.

              Erste Aktion von @Manuel001

              pi@iobroker:~ $ sudo su
              root@iobroker:/home/pi# npm install aes-js

              Echt jetzt?

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

                @alealdata

                Mit Verlaub: Absolut schwachsinniger Vorschlag eine root shell zu öffnen.

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

                  @manuel001 sagte in Smart Meter von Netz Oö (Energie AG):

                  Als pi, NICHT als root! Und auch nix per sudo oder ähnlichem Blödsinn...

                  cd /opt/iobroker/
                  npm install aes-js
                  

                  Eine korrekte Installation in iobroker sieht dann so aus:

                  echad@chet:/opt/iobroker $ npm list aes-js
                  iobroker.inst@3.0.0 /opt/iobroker
                  └── (empty)
                  
                  echad@chet:/opt/iobroker $ npm install aes-js
                  
                  added 1 package in 19s
                  
                  2 packages are looking for funding
                    run `npm fund` for details
                  echad@chet:/opt/iobroker $ npm list aes-js
                  iobroker.inst@3.0.0 /opt/iobroker
                  └── aes-js@3.1.2
                  
                  1 Reply Last reply Reply Quote 0
                  • alealdata
                    alealdata last edited by

                    @thomas-braun gut hast mich überredet nur klappt das nicht.
                    npm wäre ja auch falsch

                    In meinem Fall ist das ein Hoobsimage und IOBroker nachinstalliert.

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

                      @alealdata sagte in Smart Meter von Netz Oö (Energie AG):

                      In meinem Fall ist das ein Hoobsimage und IOBroker nachinstalliert.

                      Und?

                      Das Modul aes-js soll doch in den ioBroker rein, oder nicht?

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

                        @thomas-braun sagte in Smart Meter von Netz Oö (Energie AG):

                        doch in den ioBroker rein, oder nicht?

                        Oder!???
                        Ich war bisher auch davon ausgegangen

                        @alealdata sagte in Smart Meter von Netz Oö (Energie AG):

                        Die Beschreibung von oben bezieht sich auf die direkte Installation von NodeRed und nicht innerhalb von IOBroker

                        Hier wird anscheinend einiges durcheinandergewürfelt.

                        Ich habe jetzt auch keine Ahnung mehr wie der aktuelle wirkliche Stand ist

                        alealdata 1 Reply Last reply Reply Quote 0
                        • M
                          Manuel001 @Thomas Braun last edited by

                          @thomas-braun sagte in Smart Meter von Netz Oö (Energie AG):

                          Echt jetzt?

                          Da war ich schon am probieren von dem Beitrag davor. Dass man das nicht machen soll, habe ich erst gelesen wie es schon gemacht war.
                          Aber ich spiele jetzt mal das Image ein, welches ich zuvor als Backup gemacht habe.
                          Dann sollte es wieder sauber sein und kann weitere Versuche starten.

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

                            @homoran hab mehrere Raspberrys laufen
                            Hab es bei meinem System mit IOBroker ebenfalls versucht mit dem gleichem Resultat

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

                              @alealdata sagte in Smart Meter von Netz Oö (Energie AG):

                              @homoran hab mehrere Raspberrys laufen
                              Hab es bei meinem System mit IOBroker ebenfalls versucht mit dem gleichem Resultat

                              ihr habt mich/uns jetzt aber abgehängt.

                              Wir wissen im Moment nicht mehr wie der aktuelle Status ist:

                              • geht es um den node-red Adapter von ioBroker?
                              • geht es um node-red standalone?
                              • und wie steht es in der ominösen Anleitung?
                              • wie wird das umgesetzt?
                                usw.

                              Eine Anleitung für ein externes System kann nicht unbedingt "einfach so" für den ioBroker übernommen werden

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

                                @homoran

                                Anleitung bezieht sich auf NodeRed standalone

                                installation von aes-js klappt in NodeRed standalone
                                installation von aes-js klappt in der Konsole auf dem System mit IOBroker leider nicht

                                Wie wäre dann die korrekte Vorgehensweise?

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

                                  @alealdata sagte in Smart Meter von Netz Oö (Energie AG):

                                  installation von aes-js klappt in NodeRed standalone
                                  installation von aes-js klappt in der Konsole auf dem System mit IOBroker leider nicht

                                  Klappt nicht ist keine Fehlerbeschreibung. Höchstens für Toilettendeckel, aber nicht für Programme.

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

                                    @thomas-braun sagte in Smart Meter von Netz Oö (Energie AG):

                                    Höchstens für Toilettendeckel,

                                    und für Katzenklappen 🐈

                                    alealdata 1 Reply Last reply Reply Quote 1
                                    • alealdata
                                      alealdata @Homoran last edited by alealdata

                                      @homoran wenn ich das richtig verstanden hab wären das die 2 Vorschläge gewesen:
                                      8c916eb6-5a89-42dd-9a5a-604a1776632b-image.png

                                      Log:
                                      0 info it worked if it ends with ok
                                      1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'install', 'aes-js' ]
                                      2 info using npm@6.14.11
                                      3 info using node@v14.16.0
                                      4 verbose npm-session 05b2deaf49d7ee14
                                      5 silly install loadCurrentTree
                                      6 silly install readLocalPackageData
                                      7 silly fetchPackageMetaData error for aes-js@file:node_modules/aes-js ELOOP: too many symbolic links encountered, open '/opt/iobroker/node_modules/aes-js/package.json'
                                      8 timing stage:rollbackFailedOptional Completed in 1ms
                                      9 timing stage:runTopLevelLifecycles Completed in 12179ms
                                      10 verbose stack Error: ELOOP: too many symbolic links encountered, open '/opt/iobroker/node_modules/aes-js/package.json'
                                      11 verbose cwd /opt/iobroker
                                      12 verbose Linux 5.10.11-v7l+
                                      13 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "aes-js"
                                      14 verbose node v14.16.0
                                      15 verbose npm v6.14.11
                                      16 error code ELOOP
                                      17 error syscall open
                                      18 error path /opt/iobroker/node_modules/aes-js/package.json
                                      19 error errno -40
                                      20 error ELOOP: too many symbolic links encountered, open '/opt/iobroker/node_modules/aes-js/package.json'
                                      21 verbose exit [ -40, true ]

                                      @Manuel001 hat es bei dir geklappt?

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

                                        @alealdata sagte in Smart Meter von Netz Oö (Energie AG):

                                        wenn ich das richtig verstanden hab wären das die 2 Vorschläge gewesen:

                                        ich habe weder die Anleitung gelesen, noch erweiterte Ahnung von node-red.

                                        Ich weiß daher überhaupt nicht, ob und wie dieses Paket überhaupt installiert werden müsste um das zu tun, was ihr erwartet

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

                                          @homoran ja ohne den läuft leider der ganze Flow nicht
                                          Trotzdem danke für die Hilfe und ich suche noch weiter.

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

                                            @alealdata

                                            Dein nodeJS ist falsch installiert.

                                            Bitte Konsolentext und sonstige Textausgaben nicht als Screenshot sondern als Text in CodeTags.

                                            Wobei ich wie Homoran ebenso wenig weiß wo das Modul jetzt genau platziert werden soll. In ioBroker?

                                            alealdata 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

                                            536
                                            Online

                                            31.7k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            11
                                            108
                                            14986
                                            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