Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. esphome - wird dies noch gepflegt?

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    2.5k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    993

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.3k

esphome - wird dies noch gepflegt?

Scheduled Pinned Locked Moved ioBroker Allgemein
44 Posts 9 Posters 7.3k Views 12 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W WolfgangFB

    @wolfgangfb

    Es bleibt leider dabei, trotz aktueller Version muss ich den Adapter mindestens einmal täglich neu starten damit er wieder Kontakt zu allen Clinets hat. Ziemlich unbefriedigender Zustand...

    frana120500F Offline
    frana120500F Offline
    frana120500
    wrote on last edited by
    #12

    Das Problem mit der fehlenden PlatformIO Version 6 besteht weiterhin, auch nach dem drüberbügeln der Version 0.2.4.

    A 1 Reply Last reply
    0
    • frana120500F frana120500

      Das Problem mit der fehlenden PlatformIO Version 6 besteht weiterhin, auch nach dem drüberbügeln der Version 0.2.4.

      A Offline
      A Offline
      andreas_n
      wrote on last edited by
      #13

      @frana120500
      Das Problem ist auch bei mir vorhanden. (PlatformIO zu alt)

      Denke die korrekte Frage ins Forum lautet:

      Wie aktualisiere ich PlatformIO für ESPhome

      frana120500F 1 Reply Last reply
      0
      • A andreas_n

        @frana120500
        Das Problem ist auch bei mir vorhanden. (PlatformIO zu alt)

        Denke die korrekte Frage ins Forum lautet:

        Wie aktualisiere ich PlatformIO für ESPhome

        frana120500F Offline
        frana120500F Offline
        frana120500
        wrote on last edited by
        #14

        @andreas_n Ich konnte es nur lösen über eine IoBroker Neuinstallation

        1 Reply Last reply
        0
        • R Offline
          R Offline
          Rushmed
          Most Active
          wrote on last edited by Rushmed
          #15

          Hallo,

          nachdem ich das WebUI nichtmehr öffnen konnte habe ich den Adapter deinstelliert und die Daten gelöscht mit

          rm /opt/iobroker/iobroker-data/esphome.0/.esphome -r
          

          Beim Versuch den Adapter neu zu installieren bekomme ich nun:

          $ iobroker add esphome --host Smartazamba
          
          host.Smartazamba Unknown packetName esphome. Please install packages from outside the repository using npm!
          
          ERROR: Process exited with code 12
          

          Was mache ich falsch?

          Edit: Bookworm

          Thomas BraunT 1 Reply Last reply
          0
          • R Rushmed

            Hallo,

            nachdem ich das WebUI nichtmehr öffnen konnte habe ich den Adapter deinstelliert und die Daten gelöscht mit

            rm /opt/iobroker/iobroker-data/esphome.0/.esphome -r
            

            Beim Versuch den Adapter neu zu installieren bekomme ich nun:

            $ iobroker add esphome --host Smartazamba
            
            host.Smartazamba Unknown packetName esphome. Please install packages from outside the repository using npm!
            
            ERROR: Process exited with code 12
            

            Was mache ich falsch?

            Edit: Bookworm

            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            wrote on last edited by Thomas Braun
            #16

            @rushmed

            iob update
            iob add esphome --host Smartazamba --debug
            

            Linux-Werkzeugkasten:
            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
            NodeJS Fixer Skript:
            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

            R 1 Reply Last reply
            0
            • Thomas BraunT Thomas Braun

              @rushmed

              iob update
              iob add esphome --host Smartazamba --debug
              
              R Offline
              R Offline
              Rushmed
              Most Active
              wrote on last edited by
              #17

              @thomas-braun sagte in esphome - wird dies noch gepflegt?:

              iob add esphome --host Smartazamba --debug

              pi@Smartazamba:~ $ iob update
              Used repository: Stable (default)
              Adapter    "admin"        : 6.3.5    , installed 6.6.0
              Adapter    "alexa2"       : 3.23.2   , installed 3.23.2
              Adapter    "backitup"     : 2.6.23   , installed 2.6.23
              Adapter    "denon"        : 1.15.2   , installed 1.15.2
              Adapter    "device-watcher": 2.9.2   , installed 2.9.2
              Adapter    "ecovacs-deebot": 1.4.13  , installed 1.4.13
              Adapter    "feiertage"    : 1.1.0    , installed 1.1.0
              Adapter    "habpanel"     : 0.5.0    , installed 0.5.0
              Adapter    "hue"          : 3.9.3    , installed 3.9.3
              Adapter    "ical"         : 1.13.3   , installed 1.13.3
              Adapter    "influxdb"     : 3.2.0    , installed 3.2.0
              Adapter    "info"         : 1.9.26   , installed 1.9.26
              Adapter    "iot"          : 1.14.5   , installed 1.14.5
              Adapter    "javascript"   : 7.0.3    , installed 7.0.3
              Controller "js-controller": 4.0.24   , installed 4.0.24
              Adapter    "kodi"         : 2.0.9    , installed 2.0.9
              Adapter    "linux-control": 1.1.3    , installed 1.1.3
              Adapter    "logparser"    : 2.2.0    , installed 2.2.0
              Adapter    "mihome-vacuum": 3.11.0   , installed 3.11.0
              Adapter    "mqtt"         : 4.1.1    , installed 4.1.1
              Adapter    "philips-tv"   : 0.5.3    , installed 0.5.3
              Adapter    "ping"         : 1.5.3    , installed 1.5.3
              Adapter    "pixelit"      : 0.2.0    , installed 0.2.0
              Adapter    "shelly"       : 6.4.1    , installed 6.4.1
              Adapter    "shuttercontrol": 1.5.0   , installed 1.5.0
              Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
              Adapter    "smartmeter"   : 3.3.4    , installed 3.3.4
              Adapter    "socketio"     : 4.2.0    , installed 4.2.0
              Adapter    "sonoff"       : 2.5.3    , installed 2.5.3
              Adapter    "telegram"     : 1.16.0   , installed 1.16.0
              Adapter    "unifi"        : 0.6.6    , installed 0.6.6
              Adapter    "weatherunderground": 3.4.2, installed 3.4.2
              Adapter    "web"          : 4.3.0    , installed 4.3.0
              Adapter    "windows-control": 0.1.5  , installed 0.1.5
              Adapter    "wiobrowser"   : 2.0.1    , installed 2.0.1
              Adapter    "wled"         : 0.6.7    , installed 0.7.0
              Adapter    "ws"           : 1.3.0    , installed 1.3.0
              Adapter    "yeelight-2"   : 1.2.1    , installed 1.2.1
              Adapter    "zigbee"       : 1.8.16   , installed 1.8.16
              pi@Smartazamba:~ $ iob add esphome --host Smartazamba --debug
              host.Smartazamba Unknown packetName esphome. Please install packages from outside the repository using npm!
              
              
              HomoranH Thomas BraunT 2 Replies Last reply
              0
              • R Rushmed

                @thomas-braun sagte in esphome - wird dies noch gepflegt?:

                iob add esphome --host Smartazamba --debug

                pi@Smartazamba:~ $ iob update
                Used repository: Stable (default)
                Adapter    "admin"        : 6.3.5    , installed 6.6.0
                Adapter    "alexa2"       : 3.23.2   , installed 3.23.2
                Adapter    "backitup"     : 2.6.23   , installed 2.6.23
                Adapter    "denon"        : 1.15.2   , installed 1.15.2
                Adapter    "device-watcher": 2.9.2   , installed 2.9.2
                Adapter    "ecovacs-deebot": 1.4.13  , installed 1.4.13
                Adapter    "feiertage"    : 1.1.0    , installed 1.1.0
                Adapter    "habpanel"     : 0.5.0    , installed 0.5.0
                Adapter    "hue"          : 3.9.3    , installed 3.9.3
                Adapter    "ical"         : 1.13.3   , installed 1.13.3
                Adapter    "influxdb"     : 3.2.0    , installed 3.2.0
                Adapter    "info"         : 1.9.26   , installed 1.9.26
                Adapter    "iot"          : 1.14.5   , installed 1.14.5
                Adapter    "javascript"   : 7.0.3    , installed 7.0.3
                Controller "js-controller": 4.0.24   , installed 4.0.24
                Adapter    "kodi"         : 2.0.9    , installed 2.0.9
                Adapter    "linux-control": 1.1.3    , installed 1.1.3
                Adapter    "logparser"    : 2.2.0    , installed 2.2.0
                Adapter    "mihome-vacuum": 3.11.0   , installed 3.11.0
                Adapter    "mqtt"         : 4.1.1    , installed 4.1.1
                Adapter    "philips-tv"   : 0.5.3    , installed 0.5.3
                Adapter    "ping"         : 1.5.3    , installed 1.5.3
                Adapter    "pixelit"      : 0.2.0    , installed 0.2.0
                Adapter    "shelly"       : 6.4.1    , installed 6.4.1
                Adapter    "shuttercontrol": 1.5.0   , installed 1.5.0
                Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
                Adapter    "smartmeter"   : 3.3.4    , installed 3.3.4
                Adapter    "socketio"     : 4.2.0    , installed 4.2.0
                Adapter    "sonoff"       : 2.5.3    , installed 2.5.3
                Adapter    "telegram"     : 1.16.0   , installed 1.16.0
                Adapter    "unifi"        : 0.6.6    , installed 0.6.6
                Adapter    "weatherunderground": 3.4.2, installed 3.4.2
                Adapter    "web"          : 4.3.0    , installed 4.3.0
                Adapter    "windows-control": 0.1.5  , installed 0.1.5
                Adapter    "wiobrowser"   : 2.0.1    , installed 2.0.1
                Adapter    "wled"         : 0.6.7    , installed 0.7.0
                Adapter    "ws"           : 1.3.0    , installed 1.3.0
                Adapter    "yeelight-2"   : 1.2.1    , installed 1.2.1
                Adapter    "zigbee"       : 1.8.16   , installed 1.8.16
                pi@Smartazamba:~ $ iob add esphome --host Smartazamba --debug
                host.Smartazamba Unknown packetName esphome. Please install packages from outside the repository using npm!
                
                
                HomoranH Do not disturb
                HomoranH Do not disturb
                Homoran
                Global Moderator Administrators
                wrote on last edited by
                #18

                @rushmed sagte in esphome - wird dies noch gepflegt?:

                Please install packages from outside the repository using npm!

                oder wechsel vorübergehend ins Beta-Repo
                Screenshot_20230728-093439_Firefox.jpg

                kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                1 Reply Last reply
                0
                • R Rushmed

                  @thomas-braun sagte in esphome - wird dies noch gepflegt?:

                  iob add esphome --host Smartazamba --debug

                  pi@Smartazamba:~ $ iob update
                  Used repository: Stable (default)
                  Adapter    "admin"        : 6.3.5    , installed 6.6.0
                  Adapter    "alexa2"       : 3.23.2   , installed 3.23.2
                  Adapter    "backitup"     : 2.6.23   , installed 2.6.23
                  Adapter    "denon"        : 1.15.2   , installed 1.15.2
                  Adapter    "device-watcher": 2.9.2   , installed 2.9.2
                  Adapter    "ecovacs-deebot": 1.4.13  , installed 1.4.13
                  Adapter    "feiertage"    : 1.1.0    , installed 1.1.0
                  Adapter    "habpanel"     : 0.5.0    , installed 0.5.0
                  Adapter    "hue"          : 3.9.3    , installed 3.9.3
                  Adapter    "ical"         : 1.13.3   , installed 1.13.3
                  Adapter    "influxdb"     : 3.2.0    , installed 3.2.0
                  Adapter    "info"         : 1.9.26   , installed 1.9.26
                  Adapter    "iot"          : 1.14.5   , installed 1.14.5
                  Adapter    "javascript"   : 7.0.3    , installed 7.0.3
                  Controller "js-controller": 4.0.24   , installed 4.0.24
                  Adapter    "kodi"         : 2.0.9    , installed 2.0.9
                  Adapter    "linux-control": 1.1.3    , installed 1.1.3
                  Adapter    "logparser"    : 2.2.0    , installed 2.2.0
                  Adapter    "mihome-vacuum": 3.11.0   , installed 3.11.0
                  Adapter    "mqtt"         : 4.1.1    , installed 4.1.1
                  Adapter    "philips-tv"   : 0.5.3    , installed 0.5.3
                  Adapter    "ping"         : 1.5.3    , installed 1.5.3
                  Adapter    "pixelit"      : 0.2.0    , installed 0.2.0
                  Adapter    "shelly"       : 6.4.1    , installed 6.4.1
                  Adapter    "shuttercontrol": 1.5.0   , installed 1.5.0
                  Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
                  Adapter    "smartmeter"   : 3.3.4    , installed 3.3.4
                  Adapter    "socketio"     : 4.2.0    , installed 4.2.0
                  Adapter    "sonoff"       : 2.5.3    , installed 2.5.3
                  Adapter    "telegram"     : 1.16.0   , installed 1.16.0
                  Adapter    "unifi"        : 0.6.6    , installed 0.6.6
                  Adapter    "weatherunderground": 3.4.2, installed 3.4.2
                  Adapter    "web"          : 4.3.0    , installed 4.3.0
                  Adapter    "windows-control": 0.1.5  , installed 0.1.5
                  Adapter    "wiobrowser"   : 2.0.1    , installed 2.0.1
                  Adapter    "wled"         : 0.6.7    , installed 0.7.0
                  Adapter    "ws"           : 1.3.0    , installed 1.3.0
                  Adapter    "yeelight-2"   : 1.2.1    , installed 1.2.1
                  Adapter    "zigbee"       : 1.8.16   , installed 1.8.16
                  pi@Smartazamba:~ $ iob add esphome --host Smartazamba --debug
                  host.Smartazamba Unknown packetName esphome. Please install packages from outside the repository using npm!
                  
                  
                  Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  wrote on last edited by
                  #19

                  @rushmed

                  Gibt es nicht über das Stable-Repo.
                  Beta kurz scharf schalten.

                  esphome
                  github:	0.2.4
                  latest:	0.2.4 for 23 months
                  stable:	-.-.-
                  

                  Linux-Werkzeugkasten:
                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                  NodeJS Fixer Skript:
                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                  1 Reply Last reply
                  0
                  • R Offline
                    R Offline
                    Rushmed
                    Most Active
                    wrote on last edited by
                    #20
                    pi@Smartazamba:~ $ iob add esphome --host Smartazamba --debug
                    NPM version: 9.6.7
                    Installing iobroker.esphome@0.2.4... (System call)
                    npm ERR! code 1
                    npm ERR! path /opt/iobroker/node_modules/iobroker.esphome
                    npm ERR! command failed
                    npm ERR! command sh -c npip install
                    npm ERR! No python_modules directory; installing pip locally if needed.
                    npm ERR! pip 23.0.1 from /usr/lib/python3/dist-packages/pip (python 3.11)
                    npm ERR! error: externally-managed-environment
                    npm ERR!
                    npm ERR! × This environment is externally managed
                    npm ERR! ╰─> To install Python packages system-wide, try apt install
                    npm ERR!     python3-xyz, where xyz is the package you are trying to
                    npm ERR!     install.
                    npm ERR!
                    npm ERR!     If you wish to install a non-Debian-packaged Python package,
                    npm ERR!     create a virtual environment using python3 -m venv path/to/venv.
                    npm ERR!     Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
                    npm ERR!     sure you have python3-full installed.
                    npm ERR!
                    npm ERR!     If you wish to install a non-Debian packaged Python application,
                    npm ERR!     it may be easiest to use pipx install xyz, which will manage a
                    npm ERR!     virtual environment for you. Make sure you have pipx installed.
                    npm ERR!
                    npm ERR!     See /usr/share/doc/python3.11/README.venv for more information.
                    npm ERR!
                    npm ERR! note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
                    npm ERR! hint: See PEP 668 for the detailed specification.
                    
                    npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-07-28T08_03_31_442Z-debug-0.log
                    host.Smartazamba Cannot install iobroker.esphome@0.2.4: 1
                    
                    

                    Den Fehler

                    npm ERR! × This environment is externally managed
                    

                    bekomm ich auch beim Versuch der Python für das Zigbee Stick Update per SSH zu installieren.
                    Fehlt da noch was für Bookworm?

                    1 Reply Last reply
                    0
                    • R Offline
                      R Offline
                      Rushmed
                      Most Active
                      wrote on last edited by
                      #21

                      @Thomas-Braun Bin jetzt mit deinem Tipp von hier etwas weiter gekommen.

                      pi@Smartazamba:~ $ iob add esphome --host Smartazamba --debug
                      NPM version: 9.6.7
                      Installing iobroker.esphome@0.2.4... (System call)
                      npm ERR! code 127
                      npm ERR! path /opt/iobroker/node_modules/iobroker.esphome
                      npm ERR! command failed
                      npm ERR! command sh -c npip install
                      npm ERR! sh: 1: npip: Permission denied
                      
                      npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-07-28T08_19_07_068Z-debug-0.log
                      host.Smartazamba Cannot install iobroker.esphome@0.2.4: 127
                      
                      Thomas BraunT 2 Replies Last reply
                      0
                      • R Rushmed

                        @Thomas-Braun Bin jetzt mit deinem Tipp von hier etwas weiter gekommen.

                        pi@Smartazamba:~ $ iob add esphome --host Smartazamba --debug
                        NPM version: 9.6.7
                        Installing iobroker.esphome@0.2.4... (System call)
                        npm ERR! code 127
                        npm ERR! path /opt/iobroker/node_modules/iobroker.esphome
                        npm ERR! command failed
                        npm ERR! command sh -c npip install
                        npm ERR! sh: 1: npip: Permission denied
                        
                        npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-07-28T08_19_07_068Z-debug-0.log
                        host.Smartazamba Cannot install iobroker.esphome@0.2.4: 127
                        
                        Thomas BraunT Online
                        Thomas BraunT Online
                        Thomas Braun
                        Most Active
                        wrote on last edited by
                        #22

                        @rushmed

                        Lösche die Datei /usr/lib/python3.x/EXTERNALLY-MANAGED
                        oder
                        verwende bei pip das Argument --break-system-packages
                        oder
                        füge in ~/.config/pip/pip.conf den Text ein:

                        [global]
                        break-system-packages = true
                        

                        Linux-Werkzeugkasten:
                        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                        NodeJS Fixer Skript:
                        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                        1 Reply Last reply
                        0
                        • R Rushmed

                          @Thomas-Braun Bin jetzt mit deinem Tipp von hier etwas weiter gekommen.

                          pi@Smartazamba:~ $ iob add esphome --host Smartazamba --debug
                          NPM version: 9.6.7
                          Installing iobroker.esphome@0.2.4... (System call)
                          npm ERR! code 127
                          npm ERR! path /opt/iobroker/node_modules/iobroker.esphome
                          npm ERR! command failed
                          npm ERR! command sh -c npip install
                          npm ERR! sh: 1: npip: Permission denied
                          
                          npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-07-28T08_19_07_068Z-debug-0.log
                          host.Smartazamba Cannot install iobroker.esphome@0.2.4: 127
                          
                          Thomas BraunT Online
                          Thomas BraunT Online
                          Thomas Braun
                          Most Active
                          wrote on last edited by Thomas Braun
                          #23

                          @rushmed

                          Ansonsten noch:

                          https://forum.iobroker.net/search?term=npm ERR! command sh -c npip install npm ERR! sh%3A 1%3A npip%3A Permission denied&in=posts&matchWords=all&sortBy=timestamp&sortDirection=desc&showAs=posts

                          Die Fehlermeldung ist bekannt.

                          Linux-Werkzeugkasten:
                          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                          NodeJS Fixer Skript:
                          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                          R 1 Reply Last reply
                          0
                          • Thomas BraunT Thomas Braun

                            @rushmed

                            Ansonsten noch:

                            https://forum.iobroker.net/search?term=npm ERR! command sh -c npip install npm ERR! sh%3A 1%3A npip%3A Permission denied&in=posts&matchWords=all&sortBy=timestamp&sortDirection=desc&showAs=posts

                            Die Fehlermeldung ist bekannt.

                            R Offline
                            R Offline
                            Rushmed
                            Most Active
                            wrote on last edited by Rushmed
                            #24

                            @thomas-braun Puh, erstmal danke für die Hilfe.
                            EXTERNALLY-MANAGED ist aus den Verzeichnis entfernt.
                            Wie kann ich bei der Adapterinstalletion bei pip das Argument --break-system-packages anfügen?
                            /.config/pip/pip.conf finde ich im Homeverzeichnis meines ioBroker Nutzers nicht.
                            In dem Thread war schließlich nur die Neuinstallation die Lösung.

                            Nach:

                            cd /opt/iobroker
                            npm i nopy
                            sudo -u iobroker chmod ug+x /opt/iobroker/node_modules/nopy/src/n*
                            

                            Konnte ich den Adapter installieren.

                            Danke!

                            Thomas BraunT 1 Reply Last reply
                            0
                            • R Rushmed

                              @thomas-braun Puh, erstmal danke für die Hilfe.
                              EXTERNALLY-MANAGED ist aus den Verzeichnis entfernt.
                              Wie kann ich bei der Adapterinstalletion bei pip das Argument --break-system-packages anfügen?
                              /.config/pip/pip.conf finde ich im Homeverzeichnis meines ioBroker Nutzers nicht.
                              In dem Thread war schließlich nur die Neuinstallation die Lösung.

                              Nach:

                              cd /opt/iobroker
                              npm i nopy
                              sudo -u iobroker chmod ug+x /opt/iobroker/node_modules/nopy/src/n*
                              

                              Konnte ich den Adapter installieren.

                              Danke!

                              Thomas BraunT Online
                              Thomas BraunT Online
                              Thomas Braun
                              Most Active
                              wrote on last edited by
                              #25

                              @rushmed

                              Du musst nur eine der drei Optionen umsetzen.

                              Linux-Werkzeugkasten:
                              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                              NodeJS Fixer Skript:
                              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                              R 1 Reply Last reply
                              0
                              • Thomas BraunT Thomas Braun

                                @rushmed

                                Du musst nur eine der drei Optionen umsetzen.

                                R Offline
                                R Offline
                                Rushmed
                                Most Active
                                wrote on last edited by
                                #26

                                @thomas-braun Ich hatte doch hier schon EXTERNALLY-MANAGED entfernt.
                                Damit kam ich ja zu:

                                pi@Smartazamba:~ $ iob add esphome --host Smartazamba --debug
                                NPM version: 9.6.7
                                Installing iobroker.esphome@0.2.4... (System call)
                                npm ERR! code 127
                                npm ERR! path /opt/iobroker/node_modules/iobroker.esphome
                                npm ERR! command failed
                                npm ERR! command sh -c npip install
                                npm ERR! sh: 1: npip: Permission denied
                                npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-07-28T08_19_07_068Z-debug-0.log
                                host.Smartazamba Cannot install iobroker.esphome@0.2.4: 127
                                

                                Davor war die Ausgabe folgende:

                                pi@Smartazamba:~ $ iob add esphome --host Smartazamba --debug
                                NPM version: 9.6.7
                                Installing iobroker.esphome@0.2.4... (System call)
                                npm ERR! code 1
                                npm ERR! path /opt/iobroker/node_modules/iobroker.esphome
                                npm ERR! command failed
                                npm ERR! command sh -c npip install
                                npm ERR! No python_modules directory; installing pip locally if needed.
                                npm ERR! pip 23.0.1 from /usr/lib/python3/dist-packages/pip (python 3.11)
                                npm ERR! error: externally-managed-environment
                                npm ERR!
                                npm ERR! × This environment is externally managed
                                npm ERR! ╰─> To install Python packages system-wide, try apt install
                                npm ERR!     python3-xyz, where xyz is the package you are trying to
                                npm ERR!     install.
                                npm ERR!
                                npm ERR!     If you wish to install a non-Debian-packaged Python package,
                                npm ERR!     create a virtual environment using python3 -m venv path/to/venv.
                                npm ERR!     Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
                                npm ERR!     sure you have python3-full installed.
                                npm ERR!
                                npm ERR!     If you wish to install a non-Debian packaged Python application,
                                npm ERR!     it may be easiest to use pipx install xyz, which will manage a
                                npm ERR!     virtual environment for you. Make sure you have pipx installed.
                                npm ERR!
                                npm ERR!     See /usr/share/doc/python3.11/README.venv for more information.
                                npm ERR!
                                npm ERR! note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
                                npm ERR! hint: See PEP 668 for the detailed specification.
                                npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-07-28T08_03_31_442Z-debug-0.log
                                host.Smartazamba Cannot install iobroker.esphome@0.2.4: 1
                                
                                Thomas BraunT 1 Reply Last reply
                                0
                                • R Rushmed

                                  @thomas-braun Ich hatte doch hier schon EXTERNALLY-MANAGED entfernt.
                                  Damit kam ich ja zu:

                                  pi@Smartazamba:~ $ iob add esphome --host Smartazamba --debug
                                  NPM version: 9.6.7
                                  Installing iobroker.esphome@0.2.4... (System call)
                                  npm ERR! code 127
                                  npm ERR! path /opt/iobroker/node_modules/iobroker.esphome
                                  npm ERR! command failed
                                  npm ERR! command sh -c npip install
                                  npm ERR! sh: 1: npip: Permission denied
                                  npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-07-28T08_19_07_068Z-debug-0.log
                                  host.Smartazamba Cannot install iobroker.esphome@0.2.4: 127
                                  

                                  Davor war die Ausgabe folgende:

                                  pi@Smartazamba:~ $ iob add esphome --host Smartazamba --debug
                                  NPM version: 9.6.7
                                  Installing iobroker.esphome@0.2.4... (System call)
                                  npm ERR! code 1
                                  npm ERR! path /opt/iobroker/node_modules/iobroker.esphome
                                  npm ERR! command failed
                                  npm ERR! command sh -c npip install
                                  npm ERR! No python_modules directory; installing pip locally if needed.
                                  npm ERR! pip 23.0.1 from /usr/lib/python3/dist-packages/pip (python 3.11)
                                  npm ERR! error: externally-managed-environment
                                  npm ERR!
                                  npm ERR! × This environment is externally managed
                                  npm ERR! ╰─> To install Python packages system-wide, try apt install
                                  npm ERR!     python3-xyz, where xyz is the package you are trying to
                                  npm ERR!     install.
                                  npm ERR!
                                  npm ERR!     If you wish to install a non-Debian-packaged Python package,
                                  npm ERR!     create a virtual environment using python3 -m venv path/to/venv.
                                  npm ERR!     Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
                                  npm ERR!     sure you have python3-full installed.
                                  npm ERR!
                                  npm ERR!     If you wish to install a non-Debian packaged Python application,
                                  npm ERR!     it may be easiest to use pipx install xyz, which will manage a
                                  npm ERR!     virtual environment for you. Make sure you have pipx installed.
                                  npm ERR!
                                  npm ERR!     See /usr/share/doc/python3.11/README.venv for more information.
                                  npm ERR!
                                  npm ERR! note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
                                  npm ERR! hint: See PEP 668 for the detailed specification.
                                  npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-07-28T08_03_31_442Z-debug-0.log
                                  host.Smartazamba Cannot install iobroker.esphome@0.2.4: 1
                                  
                                  Thomas BraunT Online
                                  Thomas BraunT Online
                                  Thomas Braun
                                  Most Active
                                  wrote on last edited by
                                  #27

                                  @rushmed

                                  Ja, dann war das mit nopy der richtige nächste Schritt.

                                  Linux-Werkzeugkasten:
                                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                  NodeJS Fixer Skript:
                                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                  1 Reply Last reply
                                  1
                                  • A Offline
                                    A Offline
                                    andreas_n
                                    wrote on last edited by
                                    #28

                                    Wenn es noch wichtig ist....

                                    Es ist eine neue Version (Zur Zeit noch Beta) herausgekommen.
                                    Diese Version hat Module aus dem Internet geladen sodass alles wieder funktioniert. (Problem mit PlatformIO)
                                    Besten Dank @Dutchman

                                    Eines ist mir noch aufgefallen, was zwar die Funktion nicht beeinträchtigt aber unschön ist.
                                    Im Log finde ich viele Einträge, dass die Verbindung zu ioBroker mehrfach aufgebaut und einzeln abgebaut werden. (Dies ist neu - wird wohl am Beta-Stand liegen . oder?)

                                    [16:42:38][C][wifi:389]:   Signal strength: -49 dB ▂▄▆█
                                    [16:42:38][C][wifi:393]:   Channel: 5
                                    [16:42:38][C][wifi:394]:   Subnet: 255.255.255.0
                                    [16:42:38][C][wifi:395]:   Gateway: 192.168.1.1
                                    [16:42:38][C][wifi:396]:   DNS1: 192.168.1.1
                                    [16:42:38][C][wifi:397]:   DNS2: 0.0.0.0
                                    [16:42:38][D][api.connection:1050]: ESPHome Logs 2023.10.6 (192.168.1.95): Connected successfully
                                    [16:42:38][C][logger:416]: Logger:
                                    [16:42:38][C][logger:417]:   Level: DEBUG
                                    [16:42:38][C][logger:418]:   Log Baud Rate: 0
                                    [16:42:38][C][logger:420]:   Hardware UART: UART0
                                    [16:42:38][D][api:102]: Accepted 192.168.1.95
                                    ....
                                    [16:42:39][D][api:102]: Accepted 192.168.1.95
                                    [16:42:39][C][mdns:115]: mDNS:
                                    [16:42:39][C][mdns:116]:   Hostname: lifepo4-48vsolar1
                                    [16:42:39][C][ota:097]: Over-The-Air Updates:
                                    [16:42:39][C][ota:098]:   Address: lifepo4-48vsolar1.local:3232
                                    [16:42:39][C][ota:101]:   Using Password.
                                    [16:42:39][D][api:102]: Accepted 192.168.1.95
                                    [16:42:39][C][api:139]: API Server:
                                    [16:42:39][C][api:140]:   Address: lifepo4-48vsolar1.local:6053
                                    [16:42:39][C][api:142]:   Using noise encryption: YES
                                    [16:42:39][D][api.connection:1050]: ESPHome Logs 2023.10.6 (192.168.1.95): Connected successfully
                                    [16:42:39][W][component:214]: Component api took a long time for an operation (0.05 s).
                                    [16:42:39][W][component:215]: Components should block for at most 20-30ms.
                                    [16:42:39][D][api.connection:1050]: ESPHome Logs 2023.10.6 (192.168.1.95): Connected successfully
                                    [16:42:40][W][api.connection:103]: ESPHome Logs 2023.10.6 (192.168.1.95): Connection closed
                                    [16:42:40][D][api:102]: Accepted 192.168.1.95
                                    [16:42:40][W][api.connection:103]: ESPHome Logs 2023.10.6 (192.168.1.95): Connection closed
                                    [16:42:40][D][api.connection:1050]: ESPHome Logs 2023.10.6 (192.168.1.95): Connected successfully
                                    [16:42:40][D][api:102]: Accepted 192.168.1.95
                                    [16:42:40][W][api.connection:103]: ESPHome Logs 2023.10.6 (192.168.1.95): Connection closed
                                    [16:42:40][D][api.connection:1050]: ESPHome Logs 2023.10.6 (192.168.1.95): Connected successfully
                                    [16:42:40][D][api:102]: Accepted 192.168.1.95
                                    [16:42:40][W][api.connection:103]: ESPHome Logs 2023.10.6 (192.168.1.95): Connection closed
                                    [16:42:40][D][api.connection:1050]: ESPHome Logs 2023.10.6 (192.168.1.95): Connected successfully
                                    [16:42:40][D][api:102]: Accepted 192.168.1.95
                                    [16:42:40][W][api.connection:103]: ESPHome Logs 2023.10.6 (192.168.1.95): Connection closed
                                    [16:42:40][D][api.connection:1050]: ESPHome Logs 2023.10.6 (192.168.1.95): Connected successfully
                                    [16:42:40][D][api:102]: Accepted 192.168.1.95
                                    [16:42:40][W][api.connection:103]: ESPHome Logs 2023.10.6 (192.168.1.95): Connection closed
                                    [16:42:40][W][component:214]: Component api took a long time for an operation (0.05 s).
                                    [16:42:40][W][component:215]: Components should block for at most 20-30ms.
                                    [16:42:41][D][api.connection:1050]: ESPHome Logs 2023.10.6 (192.168.1.95): Connected successfully
                                    [16:42:41][D][api:102]: Accepted 192.168.1.95
                                    [16:42:41][W][api.connection:103]: ESPHome Logs 2023.10.6 (192.168.1.95): Connection closed
                                    [16:42:41][D][api.connection:1050]: ESPHome Logs 2023.10.6 (192.168.1.95): Connected successfully
                                    [16:42:41][D][api:102]: Accepted 192.168.1.95
                                    [16:42:41][W][api.connection:103]: ESPHome Logs 2023.10.6 (192.168.1.95): Connection closed
                                    
                                    1 Reply Last reply
                                    0
                                    • W Offline
                                      W Offline
                                      WolfgangFB
                                      wrote on last edited by
                                      #29

                                      @andreas_n

                                      Ich haabe hier die 0.41 im Einsatz und bei der passiert das bei mir auch ständig. Komischerweise aber nur mit ESPs die ich mit der neuen Version erstellt habe. Ich habe hier ältere ESPs die seit Jahren durchlaufen, da tritt das komischerweise nicht auf.

                                      A 1 Reply Last reply
                                      0
                                      • W WolfgangFB

                                        @andreas_n

                                        Ich haabe hier die 0.41 im Einsatz und bei der passiert das bei mir auch ständig. Komischerweise aber nur mit ESPs die ich mit der neuen Version erstellt habe. Ich habe hier ältere ESPs die seit Jahren durchlaufen, da tritt das komischerweise nicht auf.

                                        A Offline
                                        A Offline
                                        andreas_n
                                        wrote on last edited by
                                        #30

                                        @wolfgangfb
                                        Bei mir ist es 0.5.0 Beta 8. (Läuft soweit aber ganz OK)

                                        T 1 Reply Last reply
                                        0
                                        • A andreas_n

                                          @wolfgangfb
                                          Bei mir ist es 0.5.0 Beta 8. (Läuft soweit aber ganz OK)

                                          T Offline
                                          T Offline
                                          tobiasp
                                          wrote on last edited by
                                          #31

                                          Hallo zusammen,
                                          ich wollte ESPHome installieren.
                                          pi@raspberrypi:~ $ iob add esphome --host raspberrypi --debug

                                          installiert ist es, aber soblad ich das Dashboard aktiviere wirde der Adapter Rot.
                                          Was mache ich falsch?

                                          Thomas BraunT 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

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

                                          723

                                          Online

                                          32.6k

                                          Users

                                          82.3k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe