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. Tester
  4. [ESPHome] Beta release

NEWS

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

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.5k

[ESPHome] Beta release

Scheduled Pinned Locked Moved Tester
591 Posts 48 Posters 168.8k Views 39 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.
  • DutchmanD Dutchman

    @tloeffel sagte in [ESPHome] Beta release:

    Hallo Zusammen,

    ich musste mein Ubuntu auf Version 20-4 bringen. Somit habe ich auch IOBROKER neu installieren müssen. Nun habe ich folgenden Fehler. Ich bekomme "optisch" keine Adapter mehr "online". Im LOG werden sie angezeigt und auch beim Adapter selbst kann ich Ihn sehen. Aber in dieser Anzeige nicht, somit geht auch kein kompilieren und über Wifi updaten mehr. Habt Ihr eine Idee?

    Gruß Thomas

    20211110_ESP1.png

    20211110_ESP2.png

    Bei der Installation wird immer die aktuellste ESPHome Dashboard Version genommen daarin bevinden sich leider gerade ein bug (außerhalb ioBroker)

    T Offline
    T Offline
    tloeffel
    wrote on last edited by tloeffel
    #392

    @dutchman

    Danke für die schnelle Antwort :-). Gehst Du dem BUG nach?

    "Open" geht übrigens. Auch das Update über Wifi geht trotz roter "offline" Anzeige.

    Gruß Thomas

    0bff3eeb-6d12-4243-b833-eb0c7bd8078a-image.png

    DutchmanD 1 Reply Last reply
    0
    • T tloeffel

      @dutchman

      Danke für die schnelle Antwort :-). Gehst Du dem BUG nach?

      "Open" geht übrigens. Auch das Update über Wifi geht trotz roter "offline" Anzeige.

      Gruß Thomas

      0bff3eeb-6d12-4243-b833-eb0c7bd8078a-image.png

      DutchmanD Offline
      DutchmanD Offline
      Dutchman
      Developer Most Active Administrators
      wrote on last edited by
      #393

      @tloeffel sagte in [ESPHome] Beta release:

      Danke für die schnelle Antwort :-). Gehst Du dem BUG nach?

      eh nein, ich entwickle nicht ESPHome ;) ist aber bei denen bekannt

      M 1 Reply Last reply
      0
      • DutchmanD Dutchman

        @tloeffel sagte in [ESPHome] Beta release:

        Danke für die schnelle Antwort :-). Gehst Du dem BUG nach?

        eh nein, ich entwickle nicht ESPHome ;) ist aber bei denen bekannt

        M Offline
        M Offline
        marsmännchen
        wrote on last edited by
        #394

        Wäre es eigentlich möglich auf einem Multihost am Slave den Adapter zu installieren.
        Ich meine installiert habe ich ihn bereits auf Master und Slave.
        Jetzt wollte ich auf den Slave umziehen aber beim erstellen einer Instanz kommt :

        2021-11-19 18:07:20.599 - error: host.achbotslave startInstance system.adapter.esphome.1: required adapter "admin" not found!
        

        Raspberry Pi 4 8GB, Debian 11, js-controller: 5.0.12, Nodejs: v18.18.2, NPM: 9.8.1 (Multihost),
        Wago PFC200 mit Dali Lichtsteuerung.

        FeuersturmF 1 Reply Last reply
        0
        • M marsmännchen

          Wäre es eigentlich möglich auf einem Multihost am Slave den Adapter zu installieren.
          Ich meine installiert habe ich ihn bereits auf Master und Slave.
          Jetzt wollte ich auf den Slave umziehen aber beim erstellen einer Instanz kommt :

          2021-11-19 18:07:20.599 - error: host.achbotslave startInstance system.adapter.esphome.1: required adapter "admin" not found!
          
          FeuersturmF Offline
          FeuersturmF Offline
          Feuersturm
          wrote on last edited by
          #395

          @marsmännchen Das klingt danach, dass du keine Admin auf dem Slave hast (was nach meinem Wissensstand auch nicht notwendig ist).

          M 1 Reply Last reply
          0
          • FeuersturmF Feuersturm

            @marsmännchen Das klingt danach, dass du keine Admin auf dem Slave hast (was nach meinem Wissensstand auch nicht notwendig ist).

            M Offline
            M Offline
            marsmännchen
            wrote on last edited by marsmännchen
            #396

            Das hab ich mir aufgrund der Fehlermeldung auch gedacht.
            Habe dann gestern nachgesehen, aber da ist ein Admin Adapter am Slave.
            Dachte ich!!
            Hab mich wohl geirrt.
            Gerade nochmal nachgesehen, nein am Slave ist kein Admin.
            Spricht etwas dagegen auf einem Slave einen Admin Adapter zu installieren um ESPHome zu nutzen?
            MfG
            Patrick

            Edit:
            Habe auch von ähnlichem Problem bei einem anderen Adapter gelesen: https://forum.iobroker.net/topic/47840/adapter-worx-funktioniert-nicht-mehr-nach-update
            Ich denke es geht nicht anders als einen Admin Adapter anzulegen, außer der Adapterersteller ändert etwas an den "globalDependencies"!?

            Raspberry Pi 4 8GB, Debian 11, js-controller: 5.0.12, Nodejs: v18.18.2, NPM: 9.8.1 (Multihost),
            Wago PFC200 mit Dali Lichtsteuerung.

            DutchmanD 1 Reply Last reply
            0
            • M marsmännchen

              Das hab ich mir aufgrund der Fehlermeldung auch gedacht.
              Habe dann gestern nachgesehen, aber da ist ein Admin Adapter am Slave.
              Dachte ich!!
              Hab mich wohl geirrt.
              Gerade nochmal nachgesehen, nein am Slave ist kein Admin.
              Spricht etwas dagegen auf einem Slave einen Admin Adapter zu installieren um ESPHome zu nutzen?
              MfG
              Patrick

              Edit:
              Habe auch von ähnlichem Problem bei einem anderen Adapter gelesen: https://forum.iobroker.net/topic/47840/adapter-worx-funktioniert-nicht-mehr-nach-update
              Ich denke es geht nicht anders als einen Admin Adapter anzulegen, außer der Adapterersteller ändert etwas an den "globalDependencies"!?

              DutchmanD Offline
              DutchmanD Offline
              Dutchman
              Developer Most Active Administrators
              wrote on last edited by
              #397

              @marsmännchen sagte in [ESPHome] Beta release:

              Das hab ich mir aufgrund der Fehlermeldung auch gedacht.
              Habe dann gestern nachgesehen, aber da ist ein Admin Adapter am Slave.
              Dachte ich!!
              Hab mich wohl geirrt.
              Gerade nochmal nachgesehen, nein am Slave ist kein Admin.
              Spricht etwas dagegen auf einem Slave einen Admin Adapter zu installieren um ESPHome zu nutzen?
              MfG
              Patrick

              Edit:
              Habe auch von ähnlichem Problem bei einem anderen Adapter gelesen: https://forum.iobroker.net/topic/47840/adapter-worx-funktioniert-nicht-mehr-nach-update
              Ich denke es geht nicht anders als einen Admin Adapter anzulegen, außer der Adapterersteller ändert etwas an den "globalDependencies"!?

              Werde es diese Woche fixen

              1 Reply Last reply
              1
              • A Offline
                A Offline
                arne007
                wrote on last edited by
                #398

                hallo zusammen, kann mir jemand sagen, warum ich ESPHome nicht installiert bekomme:
                '''
                0 info it worked if it ends with ok
                1 verbose cli [
                1 verbose cli '/usr/local/bin/node',
                1 verbose cli '/usr/local/bin/npm',
                1 verbose cli 'install',
                1 verbose cli 'esphome/esphome#1424091ee51a31d75558f8e4a029ea80edb4d415',
                1 verbose cli '--prefix',
                1 verbose cli '/opt/iobroker'
                1 verbose cli ]
                2 info using npm@6.14.11
                3 info using node@v14.15.4
                4 verbose npm-session 03dd482e48963b72
                5 silly install loadCurrentTree
                6 silly install readLocalPackageData
                7 silly fetchPackageMetaData error for github:esphome/esphome#1424091ee51a31d75558f8e4a029ea80edb4d415 premature close
                8 timing stage:rollbackFailedOptional Completed in 2ms
                9 timing stage:runTopLevelLifecycles Completed in 8223ms
                10 verbose stack Error: premature close
                10 verbose stack at PassThrough.onclose (/usr/local/lib/node_modules/npm/node_modules/end-of-stream/index.js:47:67)
                10 verbose stack at PassThrough.emit (events.js:327:22)
                10 verbose stack at emitCloseNT (internal/streams/destroy.js:87:10)
                10 verbose stack at processTicksAndRejections (internal/process/task_queues.js:79:21)
                11 verbose cwd /opt/iobroker
                12 verbose Linux 5.10.63-v7l+
                13 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "esphome/esphome#1424091ee51a31d75558f8e4a029ea80edb4d415" "--prefix" "/opt/iobroker"
                14 verbose node v14.15.4
                15 verbose npm v6.14.11
                16 error premature close
                17 verbose exit [ 1, true ]

                Thomas BraunT 1 Reply Last reply
                0
                • A arne007

                  hallo zusammen, kann mir jemand sagen, warum ich ESPHome nicht installiert bekomme:
                  '''
                  0 info it worked if it ends with ok
                  1 verbose cli [
                  1 verbose cli '/usr/local/bin/node',
                  1 verbose cli '/usr/local/bin/npm',
                  1 verbose cli 'install',
                  1 verbose cli 'esphome/esphome#1424091ee51a31d75558f8e4a029ea80edb4d415',
                  1 verbose cli '--prefix',
                  1 verbose cli '/opt/iobroker'
                  1 verbose cli ]
                  2 info using npm@6.14.11
                  3 info using node@v14.15.4
                  4 verbose npm-session 03dd482e48963b72
                  5 silly install loadCurrentTree
                  6 silly install readLocalPackageData
                  7 silly fetchPackageMetaData error for github:esphome/esphome#1424091ee51a31d75558f8e4a029ea80edb4d415 premature close
                  8 timing stage:rollbackFailedOptional Completed in 2ms
                  9 timing stage:runTopLevelLifecycles Completed in 8223ms
                  10 verbose stack Error: premature close
                  10 verbose stack at PassThrough.onclose (/usr/local/lib/node_modules/npm/node_modules/end-of-stream/index.js:47:67)
                  10 verbose stack at PassThrough.emit (events.js:327:22)
                  10 verbose stack at emitCloseNT (internal/streams/destroy.js:87:10)
                  10 verbose stack at processTicksAndRejections (internal/process/task_queues.js:79:21)
                  11 verbose cwd /opt/iobroker
                  12 verbose Linux 5.10.63-v7l+
                  13 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "esphome/esphome#1424091ee51a31d75558f8e4a029ea80edb4d415" "--prefix" "/opt/iobroker"
                  14 verbose node v14.15.4
                  15 verbose npm v6.14.11
                  16 error premature close
                  17 verbose exit [ 1, true ]

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

                  @arne007 sagte in [ESPHome] Beta release:

                  1 verbose cli '/usr/local/bin/node',
                  1 verbose cli '/usr/local/bin/npm',

                  NodeJS ist falsch installiert.

                  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

                  A 1 Reply Last reply
                  0
                  • Thomas BraunT Thomas Braun

                    @arne007 sagte in [ESPHome] Beta release:

                    1 verbose cli '/usr/local/bin/node',
                    1 verbose cli '/usr/local/bin/npm',

                    NodeJS ist falsch installiert.

                    A Offline
                    A Offline
                    arne007
                    wrote on last edited by
                    #400

                    @thomas-braun falsche Version installiert? Wenn ja, welche sollte ich nehmen?

                    Thomas BraunT 1 Reply Last reply
                    0
                    • A arne007

                      @thomas-braun falsche Version installiert? Wenn ja, welche sollte ich nehmen?

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

                      @arne007

                      Steht in meiner Signatur.
                      Lies insbesondere den Teil mit den falschen Pfaden besonders gründlich.

                      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

                      Johannes BauerstatterJ 1 Reply Last reply
                      0
                      • Thomas BraunT Thomas Braun

                        @arne007

                        Steht in meiner Signatur.
                        Lies insbesondere den Teil mit den falschen Pfaden besonders gründlich.

                        Johannes BauerstatterJ Offline
                        Johannes BauerstatterJ Offline
                        Johannes Bauerstatter
                        wrote on last edited by
                        #402

                        Hallo, irgendwie mags bei mir auch nicht. Welche Version ist falsch?

                        npm: 6.14.15
                        node: 14.18.2
                        python: 3.9.7

                        $ ./iobroker add esphome  --host raspberrypi
                        NPM version: 6.14.15
                        npm install iobroker.esphome@0.2.4 --loglevel error --prefix "/opt/iobroker" (System call)
                        Exception:
                        Traceback (most recent call last):  File "/tmp/tmpvlou37m4/pip.zip/pip/basecommand.py", line 215, in main    status = self.run(options, args)  File "/tmp/tmpvlou37m4/pip.zip/pip/commands/install.py", line 272, in run    with self._build_session(options) as session:  File "/tmp/tmpvlou37m4/pip.zip/pip/basecommand.py", line 66, in _build_session    session = PipSession(  File "/tmp/tmpvlou37m4/pip.zip/pip/download.py", line 329, in __init__    self.headers["User-Agent"] = user_agent()  File "/tmp/tmpvlou37m4/pip.zip/pip/download.py", line 93, in user_agent    from pip._vendor import distro  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked  File "<frozen importlib._bootstrap>", line 664, in _load_unlocked  File "<frozen importlib._bootstrap>", line 627, in _load_backward_compatible  File "<frozen zipimport>", line 259, in load_module  File "/tmp/tmpvlou37m4/pip.zip/pip/_vendor/distro.py", line 1050, in <module>    _distro = LinuxDistribution()  File "/tmp/tmpvlou37m4/pip.zip/pip/_vendor/distro.py", line 593, in __init__    self._lsb_release_info = self._get_lsb_release_info() \  File "/tmp/tmpvlou37m4/pip.zip/pip/_vendor/distro.py", line 931, in _get_lsb_release_info    raise subprocess.CalledProcessError(code, cmd, stdout, stderr)subprocess.CalledProcessError: Command 'lsb_release -a' returned non-zero exit status 1.
                        Traceback (most recent call last):
                          File "/opt/iobroker/node_modules/nopy/src/get-pip.py", line 20061, in <module>
                            main()
                          File "/opt/iobroker/node_modules/nopy/src/get-pip.py", line 194, in main    bootstrap(tmpdir=tmpdir)
                          File "/opt/iobroker/node_modules/nopy/src/get-pip.py", line 172, in bootstrap    sys.exit(pip.main(["install", "--upgrade"] + args))  File "/tmp/tmpvlou37m4/pip.zip/pip/__init__.py", line 233, in main  File "/tmp/tmpvlou37m4/pip.zip/pip/basecommand.py", line 248, in main  File "/tmp/tmpvlou37m4/pip.zip/pip/basecommand.py", line 66, in _build_session  File "/tmp/tmpvlou37m4/pip.zip/pip/download.py", line 329, in __init__
                          File "/tmp/tmpvlou37m4/pip.zip/pip/download.py", line 93, in user_agent  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked  File "<frozen importlib._bootstrap>", line 664, in _load_unlocked  File "<frozen importlib._bootstrap>", line 627, in _load_backward_compatible
                          File "<frozen zipimport>", line 259, in load_module  File "/tmp/tmpvlou37m4/pip.zip/pip/_vendor/distro.py", line 1050, in <module>  File "/tmp/tmpvlou37m4/pip.zip/pip/_vendor/distro.py", line 593, in __init__  File "/tmp/tmpvlou37m4/pip.zip/pip/_vendor/distro.py", line 931, in _get_lsb_release_info
                        subprocess.CalledProcessError: Command 'lsb_release -a' returned non-zero exit status 1.
                        Error: Exited with code 1.
                            at ChildProcess.<anonymous> (/opt/iobroker/node_modules/nopy/src/api.js:277:20)    at ChildProcess.emit (events.js:400:28)    at maybeClose (internal/child_process.js:1058:16)    at Process.ChildProcess._handle.onexit (internal/child_process.js:293:5)
                        npm ERR! code ELIFECYCLE
                        npm ERR! errno 1
                        npm ERR! iobroker.esphome@0.2.4 install: `npip install`
                        npm ERR! Exit status 1npm ERR! npm ERR! Failed at the iobroker.esphome@0.2.4 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/2021-12-03T11_34_34_767Z-debug.log
                        ERROR: host.raspberrypi Cannot install iobroker.esphome@0.2.4: 1
                        ERROR: process exited with code 25
                        
                        Thomas BraunT 1 Reply Last reply
                        0
                        • Johannes BauerstatterJ Johannes Bauerstatter

                          Hallo, irgendwie mags bei mir auch nicht. Welche Version ist falsch?

                          npm: 6.14.15
                          node: 14.18.2
                          python: 3.9.7

                          $ ./iobroker add esphome  --host raspberrypi
                          NPM version: 6.14.15
                          npm install iobroker.esphome@0.2.4 --loglevel error --prefix "/opt/iobroker" (System call)
                          Exception:
                          Traceback (most recent call last):  File "/tmp/tmpvlou37m4/pip.zip/pip/basecommand.py", line 215, in main    status = self.run(options, args)  File "/tmp/tmpvlou37m4/pip.zip/pip/commands/install.py", line 272, in run    with self._build_session(options) as session:  File "/tmp/tmpvlou37m4/pip.zip/pip/basecommand.py", line 66, in _build_session    session = PipSession(  File "/tmp/tmpvlou37m4/pip.zip/pip/download.py", line 329, in __init__    self.headers["User-Agent"] = user_agent()  File "/tmp/tmpvlou37m4/pip.zip/pip/download.py", line 93, in user_agent    from pip._vendor import distro  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked  File "<frozen importlib._bootstrap>", line 664, in _load_unlocked  File "<frozen importlib._bootstrap>", line 627, in _load_backward_compatible  File "<frozen zipimport>", line 259, in load_module  File "/tmp/tmpvlou37m4/pip.zip/pip/_vendor/distro.py", line 1050, in <module>    _distro = LinuxDistribution()  File "/tmp/tmpvlou37m4/pip.zip/pip/_vendor/distro.py", line 593, in __init__    self._lsb_release_info = self._get_lsb_release_info() \  File "/tmp/tmpvlou37m4/pip.zip/pip/_vendor/distro.py", line 931, in _get_lsb_release_info    raise subprocess.CalledProcessError(code, cmd, stdout, stderr)subprocess.CalledProcessError: Command 'lsb_release -a' returned non-zero exit status 1.
                          Traceback (most recent call last):
                            File "/opt/iobroker/node_modules/nopy/src/get-pip.py", line 20061, in <module>
                              main()
                            File "/opt/iobroker/node_modules/nopy/src/get-pip.py", line 194, in main    bootstrap(tmpdir=tmpdir)
                            File "/opt/iobroker/node_modules/nopy/src/get-pip.py", line 172, in bootstrap    sys.exit(pip.main(["install", "--upgrade"] + args))  File "/tmp/tmpvlou37m4/pip.zip/pip/__init__.py", line 233, in main  File "/tmp/tmpvlou37m4/pip.zip/pip/basecommand.py", line 248, in main  File "/tmp/tmpvlou37m4/pip.zip/pip/basecommand.py", line 66, in _build_session  File "/tmp/tmpvlou37m4/pip.zip/pip/download.py", line 329, in __init__
                            File "/tmp/tmpvlou37m4/pip.zip/pip/download.py", line 93, in user_agent  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked  File "<frozen importlib._bootstrap>", line 664, in _load_unlocked  File "<frozen importlib._bootstrap>", line 627, in _load_backward_compatible
                            File "<frozen zipimport>", line 259, in load_module  File "/tmp/tmpvlou37m4/pip.zip/pip/_vendor/distro.py", line 1050, in <module>  File "/tmp/tmpvlou37m4/pip.zip/pip/_vendor/distro.py", line 593, in __init__  File "/tmp/tmpvlou37m4/pip.zip/pip/_vendor/distro.py", line 931, in _get_lsb_release_info
                          subprocess.CalledProcessError: Command 'lsb_release -a' returned non-zero exit status 1.
                          Error: Exited with code 1.
                              at ChildProcess.<anonymous> (/opt/iobroker/node_modules/nopy/src/api.js:277:20)    at ChildProcess.emit (events.js:400:28)    at maybeClose (internal/child_process.js:1058:16)    at Process.ChildProcess._handle.onexit (internal/child_process.js:293:5)
                          npm ERR! code ELIFECYCLE
                          npm ERR! errno 1
                          npm ERR! iobroker.esphome@0.2.4 install: `npip install`
                          npm ERR! Exit status 1npm ERR! npm ERR! Failed at the iobroker.esphome@0.2.4 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/2021-12-03T11_34_34_767Z-debug.log
                          ERROR: host.raspberrypi Cannot install iobroker.esphome@0.2.4: 1
                          ERROR: process exited with code 25
                          
                          Thomas BraunT Online
                          Thomas BraunT Online
                          Thomas Braun
                          Most Active
                          wrote on last edited by Thomas Braun
                          #403

                          @johannes-bauerstatter sagte in [ESPHome] Beta release:

                          lsb_release -a
                          

                          Was kommt da in der Konsole zurück?

                          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

                          Johannes BauerstatterJ 1 Reply Last reply
                          0
                          • Thomas BraunT Thomas Braun

                            @johannes-bauerstatter sagte in [ESPHome] Beta release:

                            lsb_release -a
                            

                            Was kommt da in der Konsole zurück?

                            Johannes BauerstatterJ Offline
                            Johannes BauerstatterJ Offline
                            Johannes Bauerstatter
                            wrote on last edited by
                            #404

                            @thomas-braun

                            pi@raspberrypi:~ $ lsb_release -a
                            Traceback (most recent call last):
                              File "/usr/bin/lsb_release", line 25, in <module>
                                import lsb_release
                            ModuleNotFoundError: No module named 'lsb_release'
                            
                            Thomas BraunT 1 Reply Last reply
                            0
                            • Johannes BauerstatterJ Johannes Bauerstatter

                              @thomas-braun

                              pi@raspberrypi:~ $ lsb_release -a
                              Traceback (most recent call last):
                                File "/usr/bin/lsb_release", line 25, in <module>
                                  import lsb_release
                              ModuleNotFoundError: No module named 'lsb_release'
                              
                              Thomas BraunT Online
                              Thomas BraunT Online
                              Thomas Braun
                              Most Active
                              wrote on last edited by
                              #405

                              @johannes-bauerstatter

                              Da ist irgendwas kaputt.

                              sudo apt update
                              sudo apt install --reinstall lsb-release
                              

                              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

                              Johannes BauerstatterJ 1 Reply Last reply
                              0
                              • Thomas BraunT Thomas Braun

                                @johannes-bauerstatter

                                Da ist irgendwas kaputt.

                                sudo apt update
                                sudo apt install --reinstall lsb-release
                                
                                Johannes BauerstatterJ Offline
                                Johannes BauerstatterJ Offline
                                Johannes Bauerstatter
                                wrote on last edited by Johannes Bauerstatter
                                #406

                                @thomas-braun
                                Ist eine ganz frische Installation auf einem Raspi 4.

                                pi@raspberrypi:~ $ sudo apt install --reinstall lsb-release
                                Reading package lists... Done
                                Building dependency tree... Done
                                Reading state information... Done
                                0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
                                Need to get 28.1 kB of archives.
                                After this operation, 0 B of additional disk space will be used.
                                Get:1 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf lsb-release all 11.1.0+rpi1 [28.1 kB]
                                Fetched 28.1 kB in 1s (19.0 kB/s)
                                Traceback (most recent call last):
                                  File "/usr/bin/apt-listchanges", line 29, in <module>
                                    import apt_pkg
                                ModuleNotFoundError: No module named 'apt_pkg'
                                (Reading database ... 50809 files and directories currently installed.)
                                Preparing to unpack .../lsb-release_11.1.0+rpi1_all.deb ...
                                Unpacking lsb-release (11.1.0+rpi1) over (11.1.0+rpi1) ...
                                Setting up lsb-release (11.1.0+rpi1) ...
                                Processing triggers for man-db (2.9.4-2) ...
                                pi@raspberrypi:~ $
                                
                                NPM version: 6.14.15
                                npm install iobroker.esphome@0.2.4 --loglevel error --prefix "/opt/iobroker" (System call)
                                Exception:Traceback (most recent call last):  File "/tmp/tmpys8yyc8z/pip.zip/pip/basecommand.py", line 215, in main    status = self.run(options, args)  File "/tmp/tmpys8yyc8z/pip.zip/pip/commands/install.py", line 272, in run    with self._build_session(options) as session:  File "/tmp/tmpys8yyc8z/pip.zip/pip/basecommand.py", line 66, in _build_session    session = PipSession(  File "/tmp/tmpys8yyc8z/pip.zip/pip/download.py", line 329, in __init__    self.headers["User-Agent"] = user_agent()  File "/tmp/tmpys8yyc8z/pip.zip/pip/download.py", line 93, in user_agent    from pip._vendor import distro  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked  File "<frozen importlib._bootstrap>", line 664, in _load_unlocked  File "<frozen importlib._bootstrap>", line 627, in _load_backward_compatible  File "<frozen zipimport>", line 259, in load_module  File "/tmp/tmpys8yyc8z/pip.zip/pip/_vendor/distro.py", line 1050, in <module>    _distro = LinuxDistribution()  File "/tmp/tmpys8yyc8z/pip.zip/pip/_vendor/distro.py", line 593, in __init__    self._lsb_release_info = self._get_lsb_release_info() \  File "/tmp/tmpys8yyc8z/pip.zip/pip/_vendor/distro.py", line 931, in _get_lsb_release_info    raise subprocess.CalledProcessError(code, cmd, stdout, stderr)subprocess.CalledProcessError: Command 'lsb_release -a' returned non-zero exit status 1.
                                Traceback (most recent call last):  File "/opt/iobroker/node_modules/nopy/src/get-pip.py", line 20061, in <module>
                                    main()  File "/opt/iobroker/node_modules/nopy/src/get-pip.py", line 194, in main    bootstrap(tmpdir=tmpdir)  File "/opt/iobroker/node_modules/nopy/src/get-pip.py", line 172, in bootstrap    sys.exit(pip.main(["install", "--upgrade"] + args))  File "/tmp/tmpys8yyc8z/pip.zip/pip/__init__.py", line 233, in main  File "/tmp/tmpys8yyc8z/pip.zip/pip/basecommand.py", line 248, in main  File "/tmp/tmpys8yyc8z/pip.zip/pip/basecommand.py", line 66, in _build_session  File "/tmp/tmpys8yyc8z/pip.zip/pip/download.py", line 329, in __init__  File "/tmp/tmpys8yyc8z/pip.zip/pip/download.py", line 93, in user_agent  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked  File "<frozen importlib._bootstrap>", line 664, in _load_unlocked  File "<frozen importlib._bootstrap>", line 627, in _load_backward_compatible  File "<frozen zipimport>", line 259, in load_module  File "/tmp/tmpys8yyc8z/pip.zip/pip/_vendor/distro.py", line 1050, in <module>  File "/tmp/tmpys8yyc8z/pip.zip/pip/_vendor/distro.py", line 593, in __init__  File "/tmp/tmpys8yyc8z/pip.zip/pip/_vendor/distro.py", line 931, in _get_lsb_release_infosubprocess.CalledProcessError: Command 'lsb_release -a' returned non-zero exit status 1.
                                Error: Exited with code 1.    at ChildProcess.<anonymous> (/opt/iobroker/node_modules/nopy/src/api.js:277:20)    at ChildProcess.emit (events.js:400:28)
                                    at maybeClose (internal/child_process.js:1058:16)    at Process.ChildProcess._handle.onexit (internal/child_process.js:293:5)
                                npm ERR! code ELIFECYCLE
                                npm ERR! errno 1
                                npm ERR! iobroker.esphome@0.2.4 install: `npip install`npm ERR! Exit status 1
                                npm ERR! npm ERR! Failed at the iobroker.esphome@0.2.4 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/2021-12-03T15_55_36_557Z-debug.log
                                ERROR: host.raspberrypi Cannot install iobroker.esphome@0.2.4: 1
                                ERROR: process exited with code 25
                                
                                
                                Thomas BraunT 1 Reply Last reply
                                0
                                • Johannes BauerstatterJ Johannes Bauerstatter

                                  @thomas-braun
                                  Ist eine ganz frische Installation auf einem Raspi 4.

                                  pi@raspberrypi:~ $ sudo apt install --reinstall lsb-release
                                  Reading package lists... Done
                                  Building dependency tree... Done
                                  Reading state information... Done
                                  0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
                                  Need to get 28.1 kB of archives.
                                  After this operation, 0 B of additional disk space will be used.
                                  Get:1 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf lsb-release all 11.1.0+rpi1 [28.1 kB]
                                  Fetched 28.1 kB in 1s (19.0 kB/s)
                                  Traceback (most recent call last):
                                    File "/usr/bin/apt-listchanges", line 29, in <module>
                                      import apt_pkg
                                  ModuleNotFoundError: No module named 'apt_pkg'
                                  (Reading database ... 50809 files and directories currently installed.)
                                  Preparing to unpack .../lsb-release_11.1.0+rpi1_all.deb ...
                                  Unpacking lsb-release (11.1.0+rpi1) over (11.1.0+rpi1) ...
                                  Setting up lsb-release (11.1.0+rpi1) ...
                                  Processing triggers for man-db (2.9.4-2) ...
                                  pi@raspberrypi:~ $
                                  
                                  NPM version: 6.14.15
                                  npm install iobroker.esphome@0.2.4 --loglevel error --prefix "/opt/iobroker" (System call)
                                  Exception:Traceback (most recent call last):  File "/tmp/tmpys8yyc8z/pip.zip/pip/basecommand.py", line 215, in main    status = self.run(options, args)  File "/tmp/tmpys8yyc8z/pip.zip/pip/commands/install.py", line 272, in run    with self._build_session(options) as session:  File "/tmp/tmpys8yyc8z/pip.zip/pip/basecommand.py", line 66, in _build_session    session = PipSession(  File "/tmp/tmpys8yyc8z/pip.zip/pip/download.py", line 329, in __init__    self.headers["User-Agent"] = user_agent()  File "/tmp/tmpys8yyc8z/pip.zip/pip/download.py", line 93, in user_agent    from pip._vendor import distro  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked  File "<frozen importlib._bootstrap>", line 664, in _load_unlocked  File "<frozen importlib._bootstrap>", line 627, in _load_backward_compatible  File "<frozen zipimport>", line 259, in load_module  File "/tmp/tmpys8yyc8z/pip.zip/pip/_vendor/distro.py", line 1050, in <module>    _distro = LinuxDistribution()  File "/tmp/tmpys8yyc8z/pip.zip/pip/_vendor/distro.py", line 593, in __init__    self._lsb_release_info = self._get_lsb_release_info() \  File "/tmp/tmpys8yyc8z/pip.zip/pip/_vendor/distro.py", line 931, in _get_lsb_release_info    raise subprocess.CalledProcessError(code, cmd, stdout, stderr)subprocess.CalledProcessError: Command 'lsb_release -a' returned non-zero exit status 1.
                                  Traceback (most recent call last):  File "/opt/iobroker/node_modules/nopy/src/get-pip.py", line 20061, in <module>
                                      main()  File "/opt/iobroker/node_modules/nopy/src/get-pip.py", line 194, in main    bootstrap(tmpdir=tmpdir)  File "/opt/iobroker/node_modules/nopy/src/get-pip.py", line 172, in bootstrap    sys.exit(pip.main(["install", "--upgrade"] + args))  File "/tmp/tmpys8yyc8z/pip.zip/pip/__init__.py", line 233, in main  File "/tmp/tmpys8yyc8z/pip.zip/pip/basecommand.py", line 248, in main  File "/tmp/tmpys8yyc8z/pip.zip/pip/basecommand.py", line 66, in _build_session  File "/tmp/tmpys8yyc8z/pip.zip/pip/download.py", line 329, in __init__  File "/tmp/tmpys8yyc8z/pip.zip/pip/download.py", line 93, in user_agent  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked  File "<frozen importlib._bootstrap>", line 664, in _load_unlocked  File "<frozen importlib._bootstrap>", line 627, in _load_backward_compatible  File "<frozen zipimport>", line 259, in load_module  File "/tmp/tmpys8yyc8z/pip.zip/pip/_vendor/distro.py", line 1050, in <module>  File "/tmp/tmpys8yyc8z/pip.zip/pip/_vendor/distro.py", line 593, in __init__  File "/tmp/tmpys8yyc8z/pip.zip/pip/_vendor/distro.py", line 931, in _get_lsb_release_infosubprocess.CalledProcessError: Command 'lsb_release -a' returned non-zero exit status 1.
                                  Error: Exited with code 1.    at ChildProcess.<anonymous> (/opt/iobroker/node_modules/nopy/src/api.js:277:20)    at ChildProcess.emit (events.js:400:28)
                                      at maybeClose (internal/child_process.js:1058:16)    at Process.ChildProcess._handle.onexit (internal/child_process.js:293:5)
                                  npm ERR! code ELIFECYCLE
                                  npm ERR! errno 1
                                  npm ERR! iobroker.esphome@0.2.4 install: `npip install`npm ERR! Exit status 1
                                  npm ERR! npm ERR! Failed at the iobroker.esphome@0.2.4 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/2021-12-03T15_55_36_557Z-debug.log
                                  ERROR: host.raspberrypi Cannot install iobroker.esphome@0.2.4: 1
                                  ERROR: process exited with code 25
                                  
                                  
                                  Thomas BraunT Online
                                  Thomas BraunT Online
                                  Thomas Braun
                                  Most Active
                                  wrote on last edited by
                                  #407

                                  @johannes-bauerstatter sagte in [ESPHome] Beta release:

                                  ModuleNotFoundError: No module named 'apt_pkg'                                                                                                                                                                            (Reading database ... 50809 files and directories currently installed.)
                                  

                                  Gaaaaaaanz merkwürdige Meldungen. Was zur Hölle hast du da wie installiert?
                                  Ich würd's nochmal ganz frisch installieren.

                                  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

                                  Johannes BauerstatterJ O 2 Replies Last reply
                                  0
                                  • Thomas BraunT Thomas Braun

                                    @johannes-bauerstatter sagte in [ESPHome] Beta release:

                                    ModuleNotFoundError: No module named 'apt_pkg'                                                                                                                                                                            (Reading database ... 50809 files and directories currently installed.)
                                    

                                    Gaaaaaaanz merkwürdige Meldungen. Was zur Hölle hast du da wie installiert?
                                    Ich würd's nochmal ganz frisch installieren.

                                    Johannes BauerstatterJ Offline
                                    Johannes BauerstatterJ Offline
                                    Johannes Bauerstatter
                                    wrote on last edited by
                                    #408

                                    @thomas-braun Ok. Welche Python Version soll ich nehmen?

                                    Thomas BraunT 1 Reply Last reply
                                    0
                                    • Johannes BauerstatterJ Johannes Bauerstatter

                                      @thomas-braun Ok. Welche Python Version soll ich nehmen?

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

                                      @johannes-bauerstatter

                                      Die vorgesehene/vorinstallierte?

                                      Da ist was total schräg bei dir. Hier ist das ganz fluffig:

                                      echad@chet:~ $ iobroker install esphome
                                      NPM version: 8.1.4
                                      npm install iobroker.esphome@0.2.4 --loglevel error --prefix "/opt/iobroker" (System call)
                                      host.chet install adapter esphome
                                      upload [5] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/words.js words.js application/javascript
                                      upload [4] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/style.css style.css text/css
                                      upload [3] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/index_m.html index_m.html text/html
                                      upload [2] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/img/dashboard.png img/dashboard.png image/png
                                      upload [1] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/esphome.png esphome.png image/png
                                      upload [0] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/admin.d.ts admin.d.ts video/mp2t
                                      host.chet object system.adapter.esphome created/updated
                                      

                                      Aus der Readme:

                                      Required

                                      • NodeJS >= 12.x
                                      • Python >=3.7, <4.0
                                      • API is activated in YAML

                                      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

                                      M 1 Reply Last reply
                                      0
                                      • A Offline
                                        A Offline
                                        Anzic
                                        wrote on last edited by Anzic
                                        #410

                                        Switched to NodeJS version 14 frome 12. The dashboard stopped working. Although the adapter itself works. There is such an error in the log:

                                        esphome.0
                                        2021-12-03 19:55:22.625	warn	ESPHome Dashboard deactivated
                                        
                                        esphome.0
                                        2021-12-03 19:55:22.589	error	[dashboardProcess ERROR] from esphome.__main__ import mainModuleNotFoundError: No module named 'esphome'
                                        
                                        esphome.0
                                        2021-12-03 19:55:22.588	error	[dashboardProcess ERROR] Traceback (most recent call last): File "/opt/iobroker/node_modules/iobroker.esphome/python_modules/bin/esphome", line 5, in <module>
                                        

                                        I try to execute iobroker rebuild esphome and iobroker rebuild esphome --install I get this error:

                                        root@iobroker:/opt/iobroker# iobroker rebuild esphome --install
                                        npm install --loglevel error --production (System call1) in "/opt/iobroker/node_modules/iobroker.esphome"
                                        /usr/bin/python3: No module named pip
                                        npm ERR! code ELIFECYCLE
                                        npm ERR! errno 1
                                        npm ERR! iobroker.esphome@0.2.4 install: `npip install`
                                        npm ERR! Exit status 1
                                        npm ERR!
                                        npm ERR! Failed at the iobroker.esphome@0.2.4 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!     /opt/iobroker/.npm/_logs/2021-12-03T17_03_35_839Z-debug.log
                                        

                                        What you need to do to "rebuild" the adapter and the dashboard works
                                        Docker image baunet 6.0.0beta1

                                        I managed it myself. this command helped - sudo apt install python3-pip

                                        1 Reply Last reply
                                        0
                                        • Thomas BraunT Thomas Braun

                                          @johannes-bauerstatter

                                          Die vorgesehene/vorinstallierte?

                                          Da ist was total schräg bei dir. Hier ist das ganz fluffig:

                                          echad@chet:~ $ iobroker install esphome
                                          NPM version: 8.1.4
                                          npm install iobroker.esphome@0.2.4 --loglevel error --prefix "/opt/iobroker" (System call)
                                          host.chet install adapter esphome
                                          upload [5] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/words.js words.js application/javascript
                                          upload [4] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/style.css style.css text/css
                                          upload [3] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/index_m.html index_m.html text/html
                                          upload [2] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/img/dashboard.png img/dashboard.png image/png
                                          upload [1] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/esphome.png esphome.png image/png
                                          upload [0] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/admin.d.ts admin.d.ts video/mp2t
                                          host.chet object system.adapter.esphome created/updated
                                          

                                          Aus der Readme:

                                          Required

                                          • NodeJS >= 12.x
                                          • Python >=3.7, <4.0
                                          • API is activated in YAML
                                          M Offline
                                          M Offline
                                          marsmännchen
                                          wrote on last edited by
                                          #411

                                          @Dutchman

                                          Danke für die Aktualisierung. Funktioniert jetzt auf dem Slave.
                                          Aber hast du vielleicht eine Idee darüber :
                                          https://forum.iobroker.net/topic/49960/esphome-probe-request-unsuccessful
                                          MfG
                                          Patrick

                                          Raspberry Pi 4 8GB, Debian 11, js-controller: 5.0.12, Nodejs: v18.18.2, NPM: 9.8.1 (Multihost),
                                          Wago PFC200 mit Dali Lichtsteuerung.

                                          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

                                          632

                                          Online

                                          32.7k

                                          Users

                                          82.4k

                                          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