Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

  1. ioBroker Community Home
  2. Deutsch
  3. Tester
  4. [ESPHome] Beta release

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.3k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.0k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.4k

[ESPHome] Beta release

Geplant Angeheftet Gesperrt Verschoben Tester
591 Beiträge 48 Kommentatoren 156.5k Aufrufe 39 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • 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
    schrieb am zuletzt editiert von
    #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 Antwort Letzte Antwort
    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
      schrieb am zuletzt editiert von
      #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 Antwort Letzte Antwort
      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
        schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
        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
          schrieb am zuletzt editiert von
          #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 Antworten Letzte Antwort
          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
            schrieb am zuletzt editiert von
            #408

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

            Thomas BraunT 1 Antwort Letzte Antwort
            0
            • Johannes BauerstatterJ Johannes Bauerstatter

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

              Thomas BraunT Online
              Thomas BraunT Online
              Thomas Braun
              Most Active
              schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
              0
              • A Offline
                A Offline
                Anzic
                schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
                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
                  schrieb am zuletzt editiert von
                  #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 Antwort Letzte Antwort
                  0
                  • FeuersturmF Online
                    FeuersturmF Online
                    Feuersturm
                    schrieb am zuletzt editiert von Feuersturm
                    #412

                    @Dutchman Ich hatte heute folgende Fehlermeldung im Log
                    ba57ab13-e35a-4bc8-a54f-dceb210ee573-grafik.png

                    Ist für die Fargebung rot / gelb der Adapter oder der Admin verantwortlich? Warum wird beim esphome Fehler gelb statt z.B. des Orange (wie bei den Warnungen ) verwendet?

                    Hier mal der Fehler in lesbarer Form ;-)
                    0eaa2209-29e0-4d93-b0d3-c0d848e190d5-grafik.png

                    Bisher hab ich es noch nicht gesehen, dass innerhalb einer Warnung / Fehlers die Farbe wechselt.

                    Johannes BauerstatterJ 1 Antwort Letzte Antwort
                    0
                    • FeuersturmF Feuersturm

                      @Dutchman Ich hatte heute folgende Fehlermeldung im Log
                      ba57ab13-e35a-4bc8-a54f-dceb210ee573-grafik.png

                      Ist für die Fargebung rot / gelb der Adapter oder der Admin verantwortlich? Warum wird beim esphome Fehler gelb statt z.B. des Orange (wie bei den Warnungen ) verwendet?

                      Hier mal der Fehler in lesbarer Form ;-)
                      0eaa2209-29e0-4d93-b0d3-c0d848e190d5-grafik.png

                      Bisher hab ich es noch nicht gesehen, dass innerhalb einer Warnung / Fehlers die Farbe wechselt.

                      Johannes BauerstatterJ Offline
                      Johannes BauerstatterJ Offline
                      Johannes Bauerstatter
                      schrieb am zuletzt editiert von
                      #413

                      Hab heute den Pi 5x neu aufgesetzt und bring es einfach nicht zum laufen. Iobroker läuft.
                      Bei einer Installation war nach 4h Schluss.

                      Bevor ich jetzt wieder alles mache.
                      So wäre meine Ausgangslage:

                      Linux raspberrypi 5.10.63-v7l+ #1488 SMP Thu Nov 18 16:15:28 GMT 2021 armv7l
                      
                      pi@raspberrypi:~ $ npm -v
                      6.14.15
                      pi@raspberrypi:~ $ node -v
                      v14.18.2
                      pi@raspberrypi:~ $ python
                      Python 2.7.18 (default, Jul 14 2021, 08:11:37)
                      [GCC 10.2.1 20210110] on linux2
                      Type "help", "copyright", "credits" or "license" for more information.
                      >>> quit()
                      pi@raspberrypi:~ $ python3
                      Python 3.9.2 (default, Mar 12 2021, 04:06:34)
                      [GCC 10.2.1 20210110] on linux
                      Type "help", "copyright", "credits" or "license" for more information.
                      >>> quit()
                      pi@raspberrypi:~ $
                      

                      Ist das so OK? Soll ich lieber im Broker den Adapter installieren oder per npm i ....?

                      Thomas BraunT 1 Antwort Letzte Antwort
                      0
                      • Johannes BauerstatterJ Johannes Bauerstatter

                        Hab heute den Pi 5x neu aufgesetzt und bring es einfach nicht zum laufen. Iobroker läuft.
                        Bei einer Installation war nach 4h Schluss.

                        Bevor ich jetzt wieder alles mache.
                        So wäre meine Ausgangslage:

                        Linux raspberrypi 5.10.63-v7l+ #1488 SMP Thu Nov 18 16:15:28 GMT 2021 armv7l
                        
                        pi@raspberrypi:~ $ npm -v
                        6.14.15
                        pi@raspberrypi:~ $ node -v
                        v14.18.2
                        pi@raspberrypi:~ $ python
                        Python 2.7.18 (default, Jul 14 2021, 08:11:37)
                        [GCC 10.2.1 20210110] on linux2
                        Type "help", "copyright", "credits" or "license" for more information.
                        >>> quit()
                        pi@raspberrypi:~ $ python3
                        Python 3.9.2 (default, Mar 12 2021, 04:06:34)
                        [GCC 10.2.1 20210110] on linux
                        Type "help", "copyright", "credits" or "license" for more information.
                        >>> quit()
                        pi@raspberrypi:~ $
                        

                        Ist das so OK? Soll ich lieber im Broker den Adapter installieren oder per npm i ....?

                        Thomas BraunT Online
                        Thomas BraunT Online
                        Thomas Braun
                        Most Active
                        schrieb am zuletzt editiert von
                        #414

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

                        Bei einer Installation war nach 4h Schluss.

                        Was soll das aussagen?

                        Die Versionsnummer sehen aber i. O. aus.

                        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 Antwort Letzte Antwort
                        0
                        • Thomas BraunT Thomas Braun

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

                          Bei einer Installation war nach 4h Schluss.

                          Was soll das aussagen?

                          Die Versionsnummer sehen aber i. O. aus.

                          Johannes BauerstatterJ Offline
                          Johannes BauerstatterJ Offline
                          Johannes Bauerstatter
                          schrieb am zuletzt editiert von
                          #415

                          @thomas-braun Der Adapter hat im Iobroker 4h lang installiert und hat sich dann beendet ohne das es installiert wurde. Ich versuch es nochmal.

                          Thomas BraunT 1 Antwort Letzte Antwort
                          0
                          • Johannes BauerstatterJ Johannes Bauerstatter

                            @thomas-braun Der Adapter hat im Iobroker 4h lang installiert und hat sich dann beendet ohne das es installiert wurde. Ich versuch es nochmal.

                            Thomas BraunT Online
                            Thomas BraunT Online
                            Thomas Braun
                            Most Active
                            schrieb am zuletzt editiert von Thomas Braun
                            #416

                            @johannes-bauerstatter
                            Und wie hast du das gemacht?

                            Entweder über die Admin-GUI oder in der Konsole per

                            iobroker install esphome
                            

                            Das Beta-Repo muss allerdings dazu aktiv sein.

                            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 Antwort Letzte Antwort
                            0
                            • Thomas BraunT Thomas Braun

                              @johannes-bauerstatter
                              Und wie hast du das gemacht?

                              Entweder über die Admin-GUI oder in der Konsole per

                              iobroker install esphome
                              

                              Das Beta-Repo muss allerdings dazu aktiv sein.

                              Johannes BauerstatterJ Offline
                              Johannes BauerstatterJ Offline
                              Johannes Bauerstatter
                              schrieb am zuletzt editiert von Johannes Bauerstatter
                              #417

                              @thomas-braun Habs über die UI gemacht. Jetzt hab ich es mal über die Konsole per

                              iobroker install esphome
                              

                              gestartet.

                                    creating build/temp.linux-armv7l-3.9
                                    creating build/temp.linux-armv7l-3.9/c
                                    arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/python3.9 -c c/_cffi_backend.c -o build/temp.linux-armv7l-3.9/c/_cffi_backend.o
                                    c/_cffi_backend.c:2:10: fatal error: Python.h: No such file or directory
                                        2 | #include <Python.h>
                                          |          ^~~~~~~~~~
                                    compilation terminated.
                                    error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1
                                    ----------------------------------------
                                ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-5ijkwnli/cffi_16d10301de7c4069acead825ae282b6b/setup.py'"'"'; __file__='"'"'/tmp/pip-install-5ijkwnli/cffi_16d10301de7c4069acead825ae282b6b/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-opvq9x1b/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-lf7bqq4f/overlay --compile --install-headers /tmp/pip-build-env-lf7bqq4f/overlay/include/python3.9/cffi Check the logs for full command output.
                                ----------------------------------------
                              WARNING: Discarding https://files.pythonhosted.org/packages/9b/77/461087a514d2e8ece1c975d8216bc03f7048e6090c5166bc34115afdaa53/cryptography-3.4.7.tar.gz#sha256=3d10de8116d25649631977cb37da6cbdd2d6fa0e0281d014a5b7d337255ca713 (from https://pypi.org/simple/cryptography/) (requires-python:>=3.6). Command errored out with exit status 1: /usr/bin/python3 /tmp/pip-standalone-pip-eo94u2mi/__env_pip__.zip/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-lf7bqq4f/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.6.0' wheel 'cffi>=1.12; platform_python_implementation != '"'"'PyPy'"'"'' 'setuptools-rust>=0.11.4' Check the logs for full command output.
                              
                              pi@raspberrypi:~ $ iobroker update
                              Used repository: Beta (latest)
                              hash unchanged, use cached sources
                              update done
                              Adapter    "admin"         : 5.2.1    , installed 5.2.1
                              Adapter    "backitup"      : 2.2.2    , installed 2.2.2
                              Adapter    "discovery"     : 2.7.5    , installed 2.7.5
                              Adapter    "esphome"       : 0.2.4    , installed 0.2.4
                              Adapter    "info"          : 1.9.16   , installed 1.9.16
                              Controller "js-controller" : 3.3.21   , installed 3.3.21
                              pi@raspberrypi:~ $
                              

                              In der Iobroker UI wird er unter Instanzen nicht angezeigt. Bei Adapter steht er als installiert 0.2.4.

                              Hab schon ein paar Reboots gemacht, aber er erscheint nicht auch das Dashboard kann nicht eingeblendet werden.

                              Thomas BraunT 1 Antwort Letzte Antwort
                              0
                              • Johannes BauerstatterJ Johannes Bauerstatter

                                @thomas-braun Habs über die UI gemacht. Jetzt hab ich es mal über die Konsole per

                                iobroker install esphome
                                

                                gestartet.

                                      creating build/temp.linux-armv7l-3.9
                                      creating build/temp.linux-armv7l-3.9/c
                                      arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/python3.9 -c c/_cffi_backend.c -o build/temp.linux-armv7l-3.9/c/_cffi_backend.o
                                      c/_cffi_backend.c:2:10: fatal error: Python.h: No such file or directory
                                          2 | #include <Python.h>
                                            |          ^~~~~~~~~~
                                      compilation terminated.
                                      error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1
                                      ----------------------------------------
                                  ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-5ijkwnli/cffi_16d10301de7c4069acead825ae282b6b/setup.py'"'"'; __file__='"'"'/tmp/pip-install-5ijkwnli/cffi_16d10301de7c4069acead825ae282b6b/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-opvq9x1b/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-lf7bqq4f/overlay --compile --install-headers /tmp/pip-build-env-lf7bqq4f/overlay/include/python3.9/cffi Check the logs for full command output.
                                  ----------------------------------------
                                WARNING: Discarding https://files.pythonhosted.org/packages/9b/77/461087a514d2e8ece1c975d8216bc03f7048e6090c5166bc34115afdaa53/cryptography-3.4.7.tar.gz#sha256=3d10de8116d25649631977cb37da6cbdd2d6fa0e0281d014a5b7d337255ca713 (from https://pypi.org/simple/cryptography/) (requires-python:>=3.6). Command errored out with exit status 1: /usr/bin/python3 /tmp/pip-standalone-pip-eo94u2mi/__env_pip__.zip/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-lf7bqq4f/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.6.0' wheel 'cffi>=1.12; platform_python_implementation != '"'"'PyPy'"'"'' 'setuptools-rust>=0.11.4' Check the logs for full command output.
                                
                                pi@raspberrypi:~ $ iobroker update
                                Used repository: Beta (latest)
                                hash unchanged, use cached sources
                                update done
                                Adapter    "admin"         : 5.2.1    , installed 5.2.1
                                Adapter    "backitup"      : 2.2.2    , installed 2.2.2
                                Adapter    "discovery"     : 2.7.5    , installed 2.7.5
                                Adapter    "esphome"       : 0.2.4    , installed 0.2.4
                                Adapter    "info"          : 1.9.16   , installed 1.9.16
                                Controller "js-controller" : 3.3.21   , installed 3.3.21
                                pi@raspberrypi:~ $
                                

                                In der Iobroker UI wird er unter Instanzen nicht angezeigt. Bei Adapter steht er als installiert 0.2.4.

                                Hab schon ein paar Reboots gemacht, aber er erscheint nicht auch das Dashboard kann nicht eingeblendet werden.

                                Thomas BraunT Online
                                Thomas BraunT Online
                                Thomas Braun
                                Most Active
                                schrieb am zuletzt editiert von
                                #418

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

                                arm-linux-gnueabihf-gcc

                                Da fehlen wohl die build-essentials

                                apt policy build-essential
                                

                                Wenn die fehlen:

                                sudo apt install build-essential
                                

                                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 Antwort Letzte Antwort
                                0
                                • Thomas BraunT Thomas Braun

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

                                  arm-linux-gnueabihf-gcc

                                  Da fehlen wohl die build-essentials

                                  apt policy build-essential
                                  

                                  Wenn die fehlen:

                                  sudo apt install build-essential
                                  
                                  Johannes BauerstatterJ Offline
                                  Johannes BauerstatterJ Offline
                                  Johannes Bauerstatter
                                  schrieb am zuletzt editiert von
                                  #419

                                  @thomas-braun said in [ESPHome] Beta release:

                                  sudo apt install build-essential

                                  pi@raspberrypi:~ $ sudo apt install build-essential
                                  Reading package lists... Done
                                  Building dependency tree... Done
                                  Reading state information... Done
                                  build-essential is already the newest version (12.9).
                                  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                                  pi@raspberrypi:~ $
                                  
                                  Thomas BraunT 2 Antworten Letzte Antwort
                                  0
                                  • Johannes BauerstatterJ Johannes Bauerstatter

                                    @thomas-braun said in [ESPHome] Beta release:

                                    sudo apt install build-essential

                                    pi@raspberrypi:~ $ sudo apt install build-essential
                                    Reading package lists... Done
                                    Building dependency tree... Done
                                    Reading state information... Done
                                    build-essential is already the newest version (12.9).
                                    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                                    pi@raspberrypi:~ $
                                    
                                    Thomas BraunT Online
                                    Thomas BraunT Online
                                    Thomas Braun
                                    Most Active
                                    schrieb am zuletzt editiert von
                                    #420

                                    @johannes-bauerstatter

                                    Zeig mal mehr von der Fehlermeldung.

                                    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 Antwort Letzte Antwort
                                    0
                                    • Johannes BauerstatterJ Johannes Bauerstatter

                                      @thomas-braun said in [ESPHome] Beta release:

                                      sudo apt install build-essential

                                      pi@raspberrypi:~ $ sudo apt install build-essential
                                      Reading package lists... Done
                                      Building dependency tree... Done
                                      Reading state information... Done
                                      build-essential is already the newest version (12.9).
                                      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                                      pi@raspberrypi:~ $
                                      
                                      Thomas BraunT Online
                                      Thomas BraunT Online
                                      Thomas Braun
                                      Most Active
                                      schrieb am zuletzt editiert von
                                      #421

                                      @johannes-bauerstatter

                                      apt policy python3-pip
                                      

                                      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 Antwort Letzte Antwort
                                      0
                                      • Thomas BraunT Thomas Braun

                                        @johannes-bauerstatter

                                        Zeig mal mehr von der Fehlermeldung.

                                        Johannes BauerstatterJ Offline
                                        Johannes BauerstatterJ Offline
                                        Johannes Bauerstatter
                                        schrieb am zuletzt editiert von
                                        #422

                                        @thomas-braun

                                        Nach einigen Neustarts und nochmaligen

                                        iobroker install esphome
                                        

                                        scheint es jetzt geklappt zu haben.
                                        Jetzt hab ich noch Probleme mit dem Dashboard.

                                        esphome.0	2021-12-04 21:00:05.313	warn	(1443) ESPHome Dashboard deactivated
                                        esphome.0	2021-12-04 21:00:05.199	error	(1443) [dashboardProcess ERROR] Error: ENOENT: no such file or directory, lstat '/opt/iobroker/node_modules/iobroker.esphome/python_modules/bin/esphome'
                                        
                                        Thomas BraunT 1 Antwort Letzte Antwort
                                        0
                                        • Johannes BauerstatterJ Johannes Bauerstatter

                                          @thomas-braun

                                          Nach einigen Neustarts und nochmaligen

                                          iobroker install esphome
                                          

                                          scheint es jetzt geklappt zu haben.
                                          Jetzt hab ich noch Probleme mit dem Dashboard.

                                          esphome.0	2021-12-04 21:00:05.313	warn	(1443) ESPHome Dashboard deactivated
                                          esphome.0	2021-12-04 21:00:05.199	error	(1443) [dashboardProcess ERROR] Error: ENOENT: no such file or directory, lstat '/opt/iobroker/node_modules/iobroker.esphome/python_modules/bin/esphome'
                                          
                                          Thomas BraunT Online
                                          Thomas BraunT Online
                                          Thomas Braun
                                          Most Active
                                          schrieb am zuletzt editiert von
                                          #423

                                          @johannes-bauerstatter

                                          Das ist offenbar nicht gebaut worden. Siehe die entsprechenden Fehlermeldungen weiter oben.

                                          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 2 Antworten Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          339

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe