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

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. ESPHome: Reinstallation aber wie?

NEWS

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    11
    1
    328

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    24
    1
    1.5k

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

ESPHome: Reinstallation aber wie?

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
esp32esphomem5stack
137 Beiträge 8 Kommentatoren 15.3k Aufrufe 7 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.
  • S smarthome2020

    @thomas-braun

    unter cd/usr/lib/python3.9 findet sich bei mir keine Datei mit dem Namen EXTERNALLY-MANAGED. Wenn ich den Befehl von dir einfüge, findet er auch keine Datei. Scheinbar gibt es die Sperrdatei dann bei mir nicht?

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

    @smarthome2020

    Dann schau die Rechte an.

    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

    S 1 Antwort Letzte Antwort
    0
    • Thomas BraunT Thomas Braun

      @smarthome2020

      Dann schau die Rechte an.

      S Offline
      S Offline
      smarthome2020
      schrieb am zuletzt editiert von
      #108

      @thomas-braun

      Also wie genau kann ich nach Rechten schauen? Und für was soll ich mir die Rechte anschauen?

      1 Antwort Letzte Antwort
      0
      • S smarthome2020

        Hallo Leute ,

        also ich habe auch Probleme mit dem Adapter . Nach dem Umzug auf Bullseye wollte dieser zunächst nicht starten . Hatte ein Backup per Backitup gemacht und eingespielt. Nachdem ich dann nodejs von 16 auf 18 gebracht habe, ging der Adapter zwar, ich kann nun die Oberfläche nur nicht öffnen. Vorhandene Geräte einbinden kann ich und bekomme auch die Datenpunkte . Mehr ist jedoch nicht möglich . Gibt es hier Neuigkeiten ? Will nun nicht nochmal das ganze System aufsetzen .

        Schönen Sonntag wünsche ich euch

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

        @smarthome2020

        ls -la /opt/iobroker/node_modules/nopy/src/
        

        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

        S 1 Antwort Letzte Antwort
        0
        • Thomas BraunT Thomas Braun

          @smarthome2020

          ls -la /opt/iobroker/node_modules/nopy/src/
          
          S Offline
          S Offline
          smarthome2020
          schrieb am zuletzt editiert von
          #110

          @thomas-braun

          Folgendes wird mir da dann ausgegeben:

          total 2656
          drwxrwxr-x+ 3 iobroker iobroker    4096 Apr 22 12:38 .
          drwxrwxr-x+ 4 iobroker iobroker    4096 Apr 22 12:38 ..
          -rwxrwxr-x+ 1 iobroker iobroker    7536 Apr 22 12:38 api.js
          -rwxrwxr-x+ 1 iobroker iobroker 2680354 Apr 22 12:39 get-pip.py
          -rwxrwxr-x+ 1 iobroker iobroker     530 Apr 22 12:38 nopenv.js
          -rwxrwxr-x+ 1 iobroker iobroker     397 Apr 22 12:38 nopy.js
          -rwxrwxr-x+ 1 iobroker iobroker    3091 Apr 22 12:38 npip.js
          drwxrwxr-x+ 2 iobroker iobroker    4096 Apr 22 12:39 test
          -rwxrwxr-x+ 1 iobroker iobroker     822 Apr 22 12:38 utils.js
          
          
          Thomas BraunT 2 Antworten Letzte Antwort
          0
          • S smarthome2020

            @thomas-braun

            Folgendes wird mir da dann ausgegeben:

            total 2656
            drwxrwxr-x+ 3 iobroker iobroker    4096 Apr 22 12:38 .
            drwxrwxr-x+ 4 iobroker iobroker    4096 Apr 22 12:38 ..
            -rwxrwxr-x+ 1 iobroker iobroker    7536 Apr 22 12:38 api.js
            -rwxrwxr-x+ 1 iobroker iobroker 2680354 Apr 22 12:39 get-pip.py
            -rwxrwxr-x+ 1 iobroker iobroker     530 Apr 22 12:38 nopenv.js
            -rwxrwxr-x+ 1 iobroker iobroker     397 Apr 22 12:38 nopy.js
            -rwxrwxr-x+ 1 iobroker iobroker    3091 Apr 22 12:38 npip.js
            drwxrwxr-x+ 2 iobroker iobroker    4096 Apr 22 12:39 test
            -rwxrwxr-x+ 1 iobroker iobroker     822 Apr 22 12:38 utils.js
            
            
            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            schrieb am zuletzt editiert von
            #111

            @smarthome2020

            Installier den Adapter nochmal neu.

            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
            • S smarthome2020

              @thomas-braun

              Folgendes wird mir da dann ausgegeben:

              total 2656
              drwxrwxr-x+ 3 iobroker iobroker    4096 Apr 22 12:38 .
              drwxrwxr-x+ 4 iobroker iobroker    4096 Apr 22 12:38 ..
              -rwxrwxr-x+ 1 iobroker iobroker    7536 Apr 22 12:38 api.js
              -rwxrwxr-x+ 1 iobroker iobroker 2680354 Apr 22 12:39 get-pip.py
              -rwxrwxr-x+ 1 iobroker iobroker     530 Apr 22 12:38 nopenv.js
              -rwxrwxr-x+ 1 iobroker iobroker     397 Apr 22 12:38 nopy.js
              -rwxrwxr-x+ 1 iobroker iobroker    3091 Apr 22 12:38 npip.js
              drwxrwxr-x+ 2 iobroker iobroker    4096 Apr 22 12:39 test
              -rwxrwxr-x+ 1 iobroker iobroker     822 Apr 22 12:38 utils.js
              
              
              Thomas BraunT Online
              Thomas BraunT Online
              Thomas Braun
              Most Active
              schrieb am zuletzt editiert von Thomas Braun
              #112

              @smarthome2020

              Und dann zeig mal einen Start des Adapters. Schaut bei mir so aus:

              2023-04-23 14:57:21.204  - info: host.chet instance system.adapter.esphome.0 started with pid 1244918
              2023-04-23 14:57:24.024  - info: esphome.0 (1244918) starting. Version 0.2.4 in /opt/iobroker/node_modules/iobroker.esphome, node: v18.16.0, js-controller: 5.0.1-alpha.0-20230418-efa3e809
              2023-04-23 14:57:24.135  - info: esphome.0 (1244918) Auto Discovery startet, new devices (or IP changes) will be detected automatically
              2023-04-23 14:57:24.144  - info: esphome.0 (1244918) Native Integration of ESPHome Dashboard enabled
              2023-04-23 14:57:26.512  - info: esphome.0 (1244918) [ESPHome - Console] 2023-04-23 14:57:26,511 INFO Starting dashboard web server on http://0.0.0.0:6052 and configuration dir /opt/iobroker/iobroker-data/esphome.0...
              

              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

              S 1 Antwort Letzte Antwort
              0
              • Thomas BraunT Thomas Braun

                @smarthome2020

                Und dann zeig mal einen Start des Adapters. Schaut bei mir so aus:

                2023-04-23 14:57:21.204  - info: host.chet instance system.adapter.esphome.0 started with pid 1244918
                2023-04-23 14:57:24.024  - info: esphome.0 (1244918) starting. Version 0.2.4 in /opt/iobroker/node_modules/iobroker.esphome, node: v18.16.0, js-controller: 5.0.1-alpha.0-20230418-efa3e809
                2023-04-23 14:57:24.135  - info: esphome.0 (1244918) Auto Discovery startet, new devices (or IP changes) will be detected automatically
                2023-04-23 14:57:24.144  - info: esphome.0 (1244918) Native Integration of ESPHome Dashboard enabled
                2023-04-23 14:57:26.512  - info: esphome.0 (1244918) [ESPHome - Console] 2023-04-23 14:57:26,511 INFO Starting dashboard web server on http://0.0.0.0:6052 and configuration dir /opt/iobroker/iobroker-data/esphome.0...
                
                S Offline
                S Offline
                smarthome2020
                schrieb am zuletzt editiert von
                #113

                @thomas-braun
                Ich kann ihn nun gar nicht mehr installieren:

                $ iobroker add esphome --host raspberrypi
                
                NPM version: 9.5.1
                
                Installing iobroker.esphome@0.2.4... (System call)
                
                host.raspberrypi Cannot install iobroker.esphome@0.2.4: 1
                
                ERROR: Process exited with code 25
                
                Thomas BraunT 1 Antwort Letzte Antwort
                0
                • S smarthome2020

                  @thomas-braun
                  Ich kann ihn nun gar nicht mehr installieren:

                  $ iobroker add esphome --host raspberrypi
                  
                  NPM version: 9.5.1
                  
                  Installing iobroker.esphome@0.2.4... (System call)
                  
                  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
                  #114

                  @smarthome2020 sagte in ESPHome: Reinstallation aber wie?:

                  iobroker add esphome --host raspberrypi --debug
                  

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

                  S 1 Antwort Letzte Antwort
                  0
                  • Thomas BraunT Thomas Braun

                    @smarthome2020 sagte in ESPHome: Reinstallation aber wie?:

                    iobroker add esphome --host raspberrypi --debug
                    
                    S Offline
                    S Offline
                    smarthome2020
                    schrieb am zuletzt editiert von
                    #115

                    @thomas-braun

                    npm ERR! code 1
                    npm ERR! path /opt/iobroker/node_modules/iobroker.esphome
                    npm ERR! command failed
                    npm ERR! command sh -c npip install
                    npm ERR! No python_modules directory; installing pip locally if needed.
                    npm ERR! Successfully completed pip check.
                    npm ERR! Collecting esphome>=2021.8
                    npm ERR!   Using cached esphome-2023.4.0-py2.py3-none-any.whl (2.6 MB)
                    npm ERR! Collecting tornado>=3.2
                    npm ERR!   Using cached tornado-6.3.1.tar.gz (508 kB)
                    npm ERR!   Installing build dependencies: started
                    npm ERR!   Installing build dependencies: finished with status 'done'
                    npm ERR!   Getting requirements to build wheel: started
                    npm ERR!   Getting requirements to build wheel: finished with status 'done'
                    npm ERR!   Preparing metadata (pyproject.toml): started
                    npm ERR!   Preparing metadata (pyproject.toml): finished with status 'done'
                    npm ERR! Collecting voluptuous==0.13.1 (from esphome>=2021.8)
                    npm ERR!   Using cached voluptuous-0.13.1-py3-none-any.whl (29 kB)
                    npm ERR! Collecting PyYAML==6.0 (from esphome>=2021.8)
                    npm ERR!   Using cached PyYAML-6.0.tar.gz (124 kB)
                    npm ERR!   Installing build dependencies: started
                    npm ERR!   Installing build dependencies: finished with status 'done'
                    npm ERR!   Getting requirements to build wheel: started
                    npm ERR!   Getting requirements to build wheel: finished with status 'done'
                    npm ERR!   Preparing metadata (pyproject.toml): started
                    npm ERR!   Preparing metadata (pyproject.toml): finished with status 'done'
                    npm ERR! Collecting paho-mqtt==1.6.1 (from esphome>=2021.8)
                    npm ERR!   Using cached paho-mqtt-1.6.1.tar.gz (99 kB)
                    npm ERR!   Preparing metadata (setup.py): started
                    npm ERR!   Preparing metadata (setup.py): finished with status 'done'
                    npm ERR! Collecting colorama==0.4.6 (from esphome>=2021.8)
                    npm ERR!   Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB)
                    npm ERR! Collecting tornado>=3.2
                    npm ERR!   Using cached tornado-6.2.tar.gz (504 kB)
                    npm ERR!   Installing build dependencies: started
                    npm ERR!   Installing build dependencies: finished with status 'done'
                    npm ERR!   Getting requirements to build wheel: started
                    npm ERR!   Getting requirements to build wheel: finished with status 'done'
                    npm ERR!   Preparing metadata (pyproject.toml): started
                    npm ERR!   Preparing metadata (pyproject.toml): finished with status 'done'
                    npm ERR! Collecting tzlocal==4.2 (from esphome>=2021.8)
                    npm ERR!   Using cached tzlocal-4.2-py3-none-any.whl (19 kB)
                    npm ERR! Collecting tzdata>=2021.1 (from esphome>=2021.8)
                    npm ERR!   Using cached tzdata-2023.3-py2.py3-none-any.whl (341 kB)
                    npm ERR! Collecting pyserial==3.5 (from esphome>=2021.8)
                    npm ERR!   Using cached pyserial-3.5-py2.py3-none-any.whl (90 kB)
                    npm ERR! Collecting platformio==6.1.6 (from esphome>=2021.8)
                    npm ERR!   Using cached platformio-6.1.6.tar.gz (236 kB)
                    npm ERR!   Preparing metadata (setup.py): started
                    npm ERR!   Preparing metadata (setup.py): finished with status 'done'
                    npm ERR! Collecting esptool==4.5.1 (from esphome>=2021.8)
                    npm ERR!   Using cached esptool-4.5.1.tar.gz (252 kB)
                    npm ERR!   Preparing metadata (setup.py): started
                    npm ERR!   Preparing metadata (setup.py): finished with status 'done'
                    npm ERR! Collecting click==8.1.3 (from esphome>=2021.8)
                    npm ERR!   Using cached click-8.1.3-py3-none-any.whl (96 kB)
                    npm ERR! Collecting esphome-dashboard==20230214.0 (from esphome>=2021.8)
                    npm ERR!   Using cached esphome_dashboard-20230214.0-py3-none-any.whl (1.6 MB)
                    npm ERR! Collecting aioesphomeapi==13.5.1 (from esphome>=2021.8)
                    npm ERR!   Using cached aioesphomeapi-13.5.1-py2.py3-none-any.whl (54 kB)
                    npm ERR! Collecting zeroconf==0.56.0 (from esphome>=2021.8)
                    npm ERR!   Using cached zeroconf-0.56.0.tar.gz (140 kB)
                    npm ERR!   Installing build dependencies: started
                    npm ERR!   Installing build dependencies: finished with status 'done'
                    npm ERR!   Getting requirements to build wheel: started
                    npm ERR!   Getting requirements to build wheel: finished with status 'done'
                    npm ERR!   Preparing metadata (pyproject.toml): started
                    npm ERR!   Preparing metadata (pyproject.toml): finished with status 'done'
                    npm ERR! Collecting kconfiglib==13.7.1 (from esphome>=2021.8)
                    npm ERR!   Using cached kconfiglib-13.7.1-py2.py3-none-any.whl (145 kB)
                    npm ERR! Collecting protobuf>=3.19.0 (from aioesphomeapi==13.5.1->esphome>=2021.8)
                    npm ERR!   Using cached protobuf-4.22.3-py3-none-any.whl (172 kB)
                    npm ERR! Collecting noiseprotocol<1.0,>=0.3.1 (from aioesphomeapi==13.5.1->esphome>=2021.8)
                    npm ERR!   Using cached noiseprotocol-0.3.1-py3-none-any.whl (20 kB)
                    npm ERR! Collecting async-timeout>=4.0 (from aioesphomeapi==13.5.1->esphome>=2021.8)
                    npm ERR!   Using cached async_timeout-4.0.2-py3-none-any.whl (5.8 kB)
                    npm ERR! Collecting bitstring>=3.1.6 (from esptool==4.5.1->esphome>=2021.8)
                    npm ERR!   Using cached bitstring-4.0.2-py3-none-any.whl (46 kB)
                    npm ERR! Collecting cryptography>=2.1.4 (from esptool==4.5.1->esphome>=2021.8)
                    npm ERR!   Using cached cryptography-40.0.2.tar.gz (625 kB)
                    npm ERR!   Installing build dependencies: started
                    npm ERR!   Installing build dependencies: finished with status 'error'
                    npm ERR! /usr/bin/python3: No module named pip
                    npm ERR! /usr/bin/python3: No module named ensurepip
                    npm ERR!   error: subprocess-exited-with-error
                    npm ERR!
                    npm ERR!   × pip subprocess to install build dependencies did not run successfully.
                    npm ERR!   │ exit code: 1
                    npm ERR!   ╰─> [81 lines of output]
                    npm ERR!       Collecting setuptools!=60.9.0,>=40.6.0
                    npm ERR!         Using cached setuptools-67.7.1-py3-none-any.whl (1.1 MB)
                    npm ERR!       Collecting wheel
                    npm ERR!         Using cached wheel-0.40.0-py3-none-any.whl (64 kB)
                    npm ERR!       Collecting cffi>=1.12
                    npm ERR!         Using cached cffi-1.15.1.tar.gz (508 kB)
                    npm ERR!         Preparing metadata (setup.py): started
                    npm ERR!         Preparing metadata (setup.py): finished with status 'done'
                    npm ERR!       Collecting setuptools-rust>=0.11.4
                    npm ERR!         Using cached setuptools_rust-1.5.2-py3-none-any.whl (23 kB)
                    npm ERR!       Collecting pycparser (from cffi>=1.12)
                    npm ERR!         Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
                    npm ERR!       Collecting semantic-version<3,>=2.8.2 (from setuptools-rust>=0.11.4)
                    npm ERR!         Using cached semantic_version-2.10.0-py2.py3-none-any.whl (15 kB)
                    npm ERR!       Collecting typing-extensions>=3.7.4.3 (from setuptools-rust>=0.11.4)
                    npm ERR!         Using cached typing_extensions-4.5.0-py3-none-any.whl (27 kB)
                    npm ERR!       Building wheels for collected packages: cffi
                    npm ERR!         Building wheel for cffi (setup.py): started
                    npm ERR!         Building wheel for cffi (setup.py): finished with status 'error'
                    npm ERR!         error: subprocess-exited-with-error
                    npm ERR!
                    npm ERR!         × python setup.py bdist_wheel did not run successfully.
                    npm ERR!         │ exit code: 1
                    npm ERR!         ╰─> [50 lines of output]
                    npm ERR!             /opt/iobroker/node_modules/iobroker.esphome/python_modules/lib/python3.9/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
                    npm ERR!             !!
                    npm ERR!
                    npm ERR!                     ********************************************************************************
                    npm ERR!                     The license_file parameter is deprecated, use license_files instead.
                    npm ERR!
                    npm ERR!                     By 2023-Oct-30, you need to update your project and remove deprecated calls
                    npm ERR!                     or your builds will no longer be supported.
                    npm ERR!
                    npm ERR!                     See https://setuptools.pypa.io/en/latest/https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
                    npm ERR!                     ********************************************************************************
                    npm ERR!
                    npm ERR!             !!
                    npm ERR!               parsed = self.parsers.get(option_name, lambda x: x)(value)
                    npm ERR!             running bdist_wheel
                    npm ERR!             running build
                    npm ERR!             running build_py
                    npm ERR!             creating build
                    npm ERR!             creating build/lib.linux-aarch64-cpython-39
                    npm ERR!             creating build/lib.linux-aarch64-cpython-39/cffi
                    npm ERR!             copying cffi/lock.py -> build/lib.linux-aarch64-cpython-39/cffi
                    npm ERR!             copying cffi/cparser.py -> build/lib.linux-aarch64-cpython-39/cffi
                    npm ERR!             copying cffi/verifier.py -> build/lib.linux-aarch64-cpython-39/cffi
                    npm ERR!             copying cffi/vengine_gen.py -> build/lib.linux-aarch64-cpython-39/cffi
                    npm ERR!             copying cffi/backend_ctypes.py -> build/lib.linux-aarch64-cpython-39/cffi
                    npm ERR!             copying cffi/vengine_cpy.py -> build/lib.linux-aarch64-cpython-39/cffi
                    npm ERR!             copying cffi/setuptools_ext.py -> build/lib.linux-aarch64-cpython-39/cffi
                    npm ERR!             copying cffi/error.py -> build/lib.linux-aarch64-cpython-39/cffi
                    npm ERR!             copying cffi/cffi_opcode.py -> build/lib.linux-aarch64-cpython-39/cffi
                    npm ERR!             copying cffi/__init__.py -> build/lib.linux-aarch64-cpython-39/cffi
                    npm ERR!             copying cffi/model.py -> build/lib.linux-aarch64-cpython-39/cffi
                    npm ERR!             copying cffi/pkgconfig.py -> build/lib.linux-aarch64-cpython-39/cffi
                    npm ERR!             copying cffi/recompiler.py -> build/lib.linux-aarch64-cpython-39/cffi
                    npm ERR!             copying cffi/api.py -> build/lib.linux-aarch64-cpython-39/cffi
                    npm ERR!             copying cffi/ffiplatform.py -> build/lib.linux-aarch64-cpython-39/cffi
                    npm ERR!             copying cffi/commontypes.py -> build/lib.linux-aarch64-cpython-39/cffi
                    npm ERR!             copying cffi/_cffi_include.h -> build/lib.linux-aarch64-cpython-39/cffi
                    npm ERR!             copying cffi/parse_c_type.h -> build/lib.linux-aarch64-cpython-39/cffi
                    npm ERR!             copying cffi/_embedding.h -> build/lib.linux-aarch64-cpython-39/cffi
                    npm ERR!             copying cffi/_cffi_errors.h -> build/lib.linux-aarch64-cpython-39/cffi
                    npm ERR!             running build_ext
                    npm ERR!             building '_cffi_backend' extension
                    npm ERR!             creating build/temp.linux-aarch64-cpython-39
                    npm ERR!             creating build/temp.linux-aarch64-cpython-39/c
                    npm ERR!             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 -fPIC -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/python3.9 -c c/_cffi_backend.c -o build/temp.linux-aarch64-cpython-39/c/_cffi_backend.o
                    npm ERR!             c/_cffi_backend.c:2:10: fatal error: Python.h: No such file or directory
                    npm ERR!                 2 | #include <Python.h>
                    npm ERR!                   |          ^~~~~~~~~~
                    npm ERR!             compilation terminated.
                    npm ERR!             error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1
                    npm ERR!             [end of output]
                    npm ERR!
                    npm ERR!         note: This error originates from a subprocess, and is likely not a problem with pip.
                    npm ERR!         ERROR: Failed building wheel for cffi
                    npm ERR!         Running setup.py clean for cffi
                    npm ERR!       Failed to build cffi
                    npm ERR!       ERROR: Could not build wheels for cffi, which is required to install pyproject.toml-based projects
                    npm ERR!       [end of output]
                    npm ERR!
                    npm ERR!   note: This error originates from a subprocess, and is likely not a problem with pip.
                    npm ERR! error: subprocess-exited-with-error
                    npm ERR!
                    npm ERR! × pip subprocess to install build dependencies did not run successfully.
                    npm ERR! │ exit code: 1
                    npm ERR! ╰─> See above for output.
                    npm ERR!
                    npm ERR! note: This error originates from a subprocess, and is likely not a problem with pip.
                    
                    npm ERR! A complete log of this run can be found in:
                    npm ERR!     /home/iobroker/.npm/_logs/2023-04-23T13_12_46_529Z-debug-0.log
                    host.raspberrypi Cannot install iobroker.esphome@0.2.4: 1
                    
                    
                    Thomas BraunT 1 Antwort Letzte Antwort
                    0
                    • S smarthome2020

                      @thomas-braun

                      npm ERR! code 1
                      npm ERR! path /opt/iobroker/node_modules/iobroker.esphome
                      npm ERR! command failed
                      npm ERR! command sh -c npip install
                      npm ERR! No python_modules directory; installing pip locally if needed.
                      npm ERR! Successfully completed pip check.
                      npm ERR! Collecting esphome>=2021.8
                      npm ERR!   Using cached esphome-2023.4.0-py2.py3-none-any.whl (2.6 MB)
                      npm ERR! Collecting tornado>=3.2
                      npm ERR!   Using cached tornado-6.3.1.tar.gz (508 kB)
                      npm ERR!   Installing build dependencies: started
                      npm ERR!   Installing build dependencies: finished with status 'done'
                      npm ERR!   Getting requirements to build wheel: started
                      npm ERR!   Getting requirements to build wheel: finished with status 'done'
                      npm ERR!   Preparing metadata (pyproject.toml): started
                      npm ERR!   Preparing metadata (pyproject.toml): finished with status 'done'
                      npm ERR! Collecting voluptuous==0.13.1 (from esphome>=2021.8)
                      npm ERR!   Using cached voluptuous-0.13.1-py3-none-any.whl (29 kB)
                      npm ERR! Collecting PyYAML==6.0 (from esphome>=2021.8)
                      npm ERR!   Using cached PyYAML-6.0.tar.gz (124 kB)
                      npm ERR!   Installing build dependencies: started
                      npm ERR!   Installing build dependencies: finished with status 'done'
                      npm ERR!   Getting requirements to build wheel: started
                      npm ERR!   Getting requirements to build wheel: finished with status 'done'
                      npm ERR!   Preparing metadata (pyproject.toml): started
                      npm ERR!   Preparing metadata (pyproject.toml): finished with status 'done'
                      npm ERR! Collecting paho-mqtt==1.6.1 (from esphome>=2021.8)
                      npm ERR!   Using cached paho-mqtt-1.6.1.tar.gz (99 kB)
                      npm ERR!   Preparing metadata (setup.py): started
                      npm ERR!   Preparing metadata (setup.py): finished with status 'done'
                      npm ERR! Collecting colorama==0.4.6 (from esphome>=2021.8)
                      npm ERR!   Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB)
                      npm ERR! Collecting tornado>=3.2
                      npm ERR!   Using cached tornado-6.2.tar.gz (504 kB)
                      npm ERR!   Installing build dependencies: started
                      npm ERR!   Installing build dependencies: finished with status 'done'
                      npm ERR!   Getting requirements to build wheel: started
                      npm ERR!   Getting requirements to build wheel: finished with status 'done'
                      npm ERR!   Preparing metadata (pyproject.toml): started
                      npm ERR!   Preparing metadata (pyproject.toml): finished with status 'done'
                      npm ERR! Collecting tzlocal==4.2 (from esphome>=2021.8)
                      npm ERR!   Using cached tzlocal-4.2-py3-none-any.whl (19 kB)
                      npm ERR! Collecting tzdata>=2021.1 (from esphome>=2021.8)
                      npm ERR!   Using cached tzdata-2023.3-py2.py3-none-any.whl (341 kB)
                      npm ERR! Collecting pyserial==3.5 (from esphome>=2021.8)
                      npm ERR!   Using cached pyserial-3.5-py2.py3-none-any.whl (90 kB)
                      npm ERR! Collecting platformio==6.1.6 (from esphome>=2021.8)
                      npm ERR!   Using cached platformio-6.1.6.tar.gz (236 kB)
                      npm ERR!   Preparing metadata (setup.py): started
                      npm ERR!   Preparing metadata (setup.py): finished with status 'done'
                      npm ERR! Collecting esptool==4.5.1 (from esphome>=2021.8)
                      npm ERR!   Using cached esptool-4.5.1.tar.gz (252 kB)
                      npm ERR!   Preparing metadata (setup.py): started
                      npm ERR!   Preparing metadata (setup.py): finished with status 'done'
                      npm ERR! Collecting click==8.1.3 (from esphome>=2021.8)
                      npm ERR!   Using cached click-8.1.3-py3-none-any.whl (96 kB)
                      npm ERR! Collecting esphome-dashboard==20230214.0 (from esphome>=2021.8)
                      npm ERR!   Using cached esphome_dashboard-20230214.0-py3-none-any.whl (1.6 MB)
                      npm ERR! Collecting aioesphomeapi==13.5.1 (from esphome>=2021.8)
                      npm ERR!   Using cached aioesphomeapi-13.5.1-py2.py3-none-any.whl (54 kB)
                      npm ERR! Collecting zeroconf==0.56.0 (from esphome>=2021.8)
                      npm ERR!   Using cached zeroconf-0.56.0.tar.gz (140 kB)
                      npm ERR!   Installing build dependencies: started
                      npm ERR!   Installing build dependencies: finished with status 'done'
                      npm ERR!   Getting requirements to build wheel: started
                      npm ERR!   Getting requirements to build wheel: finished with status 'done'
                      npm ERR!   Preparing metadata (pyproject.toml): started
                      npm ERR!   Preparing metadata (pyproject.toml): finished with status 'done'
                      npm ERR! Collecting kconfiglib==13.7.1 (from esphome>=2021.8)
                      npm ERR!   Using cached kconfiglib-13.7.1-py2.py3-none-any.whl (145 kB)
                      npm ERR! Collecting protobuf>=3.19.0 (from aioesphomeapi==13.5.1->esphome>=2021.8)
                      npm ERR!   Using cached protobuf-4.22.3-py3-none-any.whl (172 kB)
                      npm ERR! Collecting noiseprotocol<1.0,>=0.3.1 (from aioesphomeapi==13.5.1->esphome>=2021.8)
                      npm ERR!   Using cached noiseprotocol-0.3.1-py3-none-any.whl (20 kB)
                      npm ERR! Collecting async-timeout>=4.0 (from aioesphomeapi==13.5.1->esphome>=2021.8)
                      npm ERR!   Using cached async_timeout-4.0.2-py3-none-any.whl (5.8 kB)
                      npm ERR! Collecting bitstring>=3.1.6 (from esptool==4.5.1->esphome>=2021.8)
                      npm ERR!   Using cached bitstring-4.0.2-py3-none-any.whl (46 kB)
                      npm ERR! Collecting cryptography>=2.1.4 (from esptool==4.5.1->esphome>=2021.8)
                      npm ERR!   Using cached cryptography-40.0.2.tar.gz (625 kB)
                      npm ERR!   Installing build dependencies: started
                      npm ERR!   Installing build dependencies: finished with status 'error'
                      npm ERR! /usr/bin/python3: No module named pip
                      npm ERR! /usr/bin/python3: No module named ensurepip
                      npm ERR!   error: subprocess-exited-with-error
                      npm ERR!
                      npm ERR!   × pip subprocess to install build dependencies did not run successfully.
                      npm ERR!   │ exit code: 1
                      npm ERR!   ╰─> [81 lines of output]
                      npm ERR!       Collecting setuptools!=60.9.0,>=40.6.0
                      npm ERR!         Using cached setuptools-67.7.1-py3-none-any.whl (1.1 MB)
                      npm ERR!       Collecting wheel
                      npm ERR!         Using cached wheel-0.40.0-py3-none-any.whl (64 kB)
                      npm ERR!       Collecting cffi>=1.12
                      npm ERR!         Using cached cffi-1.15.1.tar.gz (508 kB)
                      npm ERR!         Preparing metadata (setup.py): started
                      npm ERR!         Preparing metadata (setup.py): finished with status 'done'
                      npm ERR!       Collecting setuptools-rust>=0.11.4
                      npm ERR!         Using cached setuptools_rust-1.5.2-py3-none-any.whl (23 kB)
                      npm ERR!       Collecting pycparser (from cffi>=1.12)
                      npm ERR!         Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
                      npm ERR!       Collecting semantic-version<3,>=2.8.2 (from setuptools-rust>=0.11.4)
                      npm ERR!         Using cached semantic_version-2.10.0-py2.py3-none-any.whl (15 kB)
                      npm ERR!       Collecting typing-extensions>=3.7.4.3 (from setuptools-rust>=0.11.4)
                      npm ERR!         Using cached typing_extensions-4.5.0-py3-none-any.whl (27 kB)
                      npm ERR!       Building wheels for collected packages: cffi
                      npm ERR!         Building wheel for cffi (setup.py): started
                      npm ERR!         Building wheel for cffi (setup.py): finished with status 'error'
                      npm ERR!         error: subprocess-exited-with-error
                      npm ERR!
                      npm ERR!         × python setup.py bdist_wheel did not run successfully.
                      npm ERR!         │ exit code: 1
                      npm ERR!         ╰─> [50 lines of output]
                      npm ERR!             /opt/iobroker/node_modules/iobroker.esphome/python_modules/lib/python3.9/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
                      npm ERR!             !!
                      npm ERR!
                      npm ERR!                     ********************************************************************************
                      npm ERR!                     The license_file parameter is deprecated, use license_files instead.
                      npm ERR!
                      npm ERR!                     By 2023-Oct-30, you need to update your project and remove deprecated calls
                      npm ERR!                     or your builds will no longer be supported.
                      npm ERR!
                      npm ERR!                     See https://setuptools.pypa.io/en/latest/https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
                      npm ERR!                     ********************************************************************************
                      npm ERR!
                      npm ERR!             !!
                      npm ERR!               parsed = self.parsers.get(option_name, lambda x: x)(value)
                      npm ERR!             running bdist_wheel
                      npm ERR!             running build
                      npm ERR!             running build_py
                      npm ERR!             creating build
                      npm ERR!             creating build/lib.linux-aarch64-cpython-39
                      npm ERR!             creating build/lib.linux-aarch64-cpython-39/cffi
                      npm ERR!             copying cffi/lock.py -> build/lib.linux-aarch64-cpython-39/cffi
                      npm ERR!             copying cffi/cparser.py -> build/lib.linux-aarch64-cpython-39/cffi
                      npm ERR!             copying cffi/verifier.py -> build/lib.linux-aarch64-cpython-39/cffi
                      npm ERR!             copying cffi/vengine_gen.py -> build/lib.linux-aarch64-cpython-39/cffi
                      npm ERR!             copying cffi/backend_ctypes.py -> build/lib.linux-aarch64-cpython-39/cffi
                      npm ERR!             copying cffi/vengine_cpy.py -> build/lib.linux-aarch64-cpython-39/cffi
                      npm ERR!             copying cffi/setuptools_ext.py -> build/lib.linux-aarch64-cpython-39/cffi
                      npm ERR!             copying cffi/error.py -> build/lib.linux-aarch64-cpython-39/cffi
                      npm ERR!             copying cffi/cffi_opcode.py -> build/lib.linux-aarch64-cpython-39/cffi
                      npm ERR!             copying cffi/__init__.py -> build/lib.linux-aarch64-cpython-39/cffi
                      npm ERR!             copying cffi/model.py -> build/lib.linux-aarch64-cpython-39/cffi
                      npm ERR!             copying cffi/pkgconfig.py -> build/lib.linux-aarch64-cpython-39/cffi
                      npm ERR!             copying cffi/recompiler.py -> build/lib.linux-aarch64-cpython-39/cffi
                      npm ERR!             copying cffi/api.py -> build/lib.linux-aarch64-cpython-39/cffi
                      npm ERR!             copying cffi/ffiplatform.py -> build/lib.linux-aarch64-cpython-39/cffi
                      npm ERR!             copying cffi/commontypes.py -> build/lib.linux-aarch64-cpython-39/cffi
                      npm ERR!             copying cffi/_cffi_include.h -> build/lib.linux-aarch64-cpython-39/cffi
                      npm ERR!             copying cffi/parse_c_type.h -> build/lib.linux-aarch64-cpython-39/cffi
                      npm ERR!             copying cffi/_embedding.h -> build/lib.linux-aarch64-cpython-39/cffi
                      npm ERR!             copying cffi/_cffi_errors.h -> build/lib.linux-aarch64-cpython-39/cffi
                      npm ERR!             running build_ext
                      npm ERR!             building '_cffi_backend' extension
                      npm ERR!             creating build/temp.linux-aarch64-cpython-39
                      npm ERR!             creating build/temp.linux-aarch64-cpython-39/c
                      npm ERR!             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 -fPIC -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/python3.9 -c c/_cffi_backend.c -o build/temp.linux-aarch64-cpython-39/c/_cffi_backend.o
                      npm ERR!             c/_cffi_backend.c:2:10: fatal error: Python.h: No such file or directory
                      npm ERR!                 2 | #include <Python.h>
                      npm ERR!                   |          ^~~~~~~~~~
                      npm ERR!             compilation terminated.
                      npm ERR!             error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1
                      npm ERR!             [end of output]
                      npm ERR!
                      npm ERR!         note: This error originates from a subprocess, and is likely not a problem with pip.
                      npm ERR!         ERROR: Failed building wheel for cffi
                      npm ERR!         Running setup.py clean for cffi
                      npm ERR!       Failed to build cffi
                      npm ERR!       ERROR: Could not build wheels for cffi, which is required to install pyproject.toml-based projects
                      npm ERR!       [end of output]
                      npm ERR!
                      npm ERR!   note: This error originates from a subprocess, and is likely not a problem with pip.
                      npm ERR! error: subprocess-exited-with-error
                      npm ERR!
                      npm ERR! × pip subprocess to install build dependencies did not run successfully.
                      npm ERR! │ exit code: 1
                      npm ERR! ╰─> See above for output.
                      npm ERR!
                      npm ERR! note: This error originates from a subprocess, and is likely not a problem with pip.
                      
                      npm ERR! A complete log of this run can be found in:
                      npm ERR!     /home/iobroker/.npm/_logs/2023-04-23T13_12_46_529Z-debug-0.log
                      host.raspberrypi Cannot install iobroker.esphome@0.2.4: 1
                      
                      
                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      schrieb am zuletzt editiert von
                      #116

                      @smarthome2020

                      Da stimmt was mit der python-Installation noch nicht.

                      find "/usr/lib" -name "EXTERNALLY-MANAGED"
                      

                      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

                      S 1 Antwort Letzte Antwort
                      0
                      • Thomas BraunT Thomas Braun

                        @smarthome2020

                        Da stimmt was mit der python-Installation noch nicht.

                        find "/usr/lib" -name "EXTERNALLY-MANAGED"
                        
                        S Offline
                        S Offline
                        smarthome2020
                        schrieb am zuletzt editiert von
                        #117

                        @thomas-braun
                        auf den Befehl folgt bei mir gar nichts

                        HomoranH Thomas BraunT 3 Antworten Letzte Antwort
                        0
                        • S smarthome2020

                          @thomas-braun
                          auf den Befehl folgt bei mir gar nichts

                          HomoranH Nicht stören
                          HomoranH Nicht stören
                          Homoran
                          Global Moderator Administrators
                          schrieb am zuletzt editiert von
                          #118

                          @smarthome2020 sagte in ESPHome: Reinstallation aber wie?:

                          @thomas-braun
                          auf den Befehl folgt bei mir gar nichts

                          immer alles zeigen!

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

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

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

                          1 Antwort Letzte Antwort
                          0
                          • S smarthome2020

                            @thomas-braun
                            auf den Befehl folgt bei mir gar nichts

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

                            @smarthome2020

                            python --version
                            apt policy python3 build-essential python-is-python3
                            

                            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

                            S 1 Antwort Letzte Antwort
                            0
                            • Thomas BraunT Thomas Braun

                              @smarthome2020

                              python --version
                              apt policy python3 build-essential python-is-python3
                              
                              S Offline
                              S Offline
                              smarthome2020
                              schrieb am zuletzt editiert von
                              #120

                              @thomas-braun

                              Ich kann dir die Ausgabe heute Abend zeigen. Muss nun zur Schwiegermutter . Nur Probleme heute 😂

                              1 Antwort Letzte Antwort
                              0
                              • S smarthome2020

                                @thomas-braun
                                auf den Befehl folgt bei mir gar nichts

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

                                @smarthome2020

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

                                Dann nochmal eine übliche Installation des esphome versuchen.

                                Wenn der installiert wurde:

                                cd /opt/iobroker 
                                npm uninstall nopy
                                

                                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

                                S 1 Antwort Letzte Antwort
                                0
                                • Thomas BraunT Thomas Braun

                                  @smarthome2020

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

                                  Dann nochmal eine übliche Installation des esphome versuchen.

                                  Wenn der installiert wurde:

                                  cd /opt/iobroker 
                                  npm uninstall nopy
                                  
                                  S Offline
                                  S Offline
                                  smarthome2020
                                  schrieb am zuletzt editiert von
                                  #122

                                  @thomas-braun
                                  Ging leider auch nicht . Endet wieder mit einer Error 25.
                                  Vielleicht muss ich auch den Weg über ein neu aufgesetztes linux gehen und das Backup ohne ESPHome einspielen.

                                  Thomas BraunT 1 Antwort Letzte Antwort
                                  0
                                  • S smarthome2020

                                    @thomas-braun
                                    Ging leider auch nicht . Endet wieder mit einer Error 25.
                                    Vielleicht muss ich auch den Weg über ein neu aufgesetztes linux gehen und das Backup ohne ESPHome einspielen.

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

                                    @smarthome2020 sagte in ESPHome: Reinstallation aber wie?:

                                    Ging leider auch nicht . Endet wieder mit einer Error 25.

                                    Ich brauch immer die Langfassung. Error 25 sagt gar nix.

                                    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

                                    S 1 Antwort Letzte Antwort
                                    0
                                    • Thomas BraunT Thomas Braun

                                      @smarthome2020 sagte in ESPHome: Reinstallation aber wie?:

                                      Ging leider auch nicht . Endet wieder mit einer Error 25.

                                      Ich brauch immer die Langfassung. Error 25 sagt gar nix.

                                      S Offline
                                      S Offline
                                      smarthome2020
                                      schrieb am zuletzt editiert von
                                      #124

                                      @thomas-braun

                                      
                                      $ iobroker add esphome --host raspberrypi
                                      Installing iobroker.esphome@0.2.4... (System call)
                                      host.raspberrypi Cannot install iobroker.esphome@0.2.4: 1
                                      ERROR: Process exited with code 25
                                      
                                      
                                      Thomas BraunT 1 Antwort Letzte Antwort
                                      0
                                      • S smarthome2020

                                        @thomas-braun

                                        
                                        $ iobroker add esphome --host raspberrypi
                                        Installing iobroker.esphome@0.2.4... (System call)
                                        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
                                        #125

                                        @smarthome2020 sagte in ESPHome: Reinstallation aber wie?:

                                        iobroker add esphome --host raspberrypi --debug
                                        

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

                                        S 1 Antwort Letzte Antwort
                                        0
                                        • Thomas BraunT Thomas Braun

                                          @smarthome2020 sagte in ESPHome: Reinstallation aber wie?:

                                          iobroker add esphome --host raspberrypi --debug
                                          
                                          S Offline
                                          S Offline
                                          smarthome2020
                                          schrieb am zuletzt editiert von
                                          #126

                                          @thomas-braun

                                          
                                          pi@raspberrypi:~ $ iobroker add esphome --host raspberrypi --debug
                                          NPM version: 9.5.1
                                          Installing iobroker.esphome@0.2.4... (System call)
                                          npm ERR! code 1
                                          npm ERR! path /opt/iobroker/node_modules/iobroker.esphome
                                          npm ERR! command failed
                                          npm ERR! command sh -c npip install
                                          npm ERR! No python_modules directory; installing pip locally if needed.
                                          npm ERR! Successfully completed pip check.
                                          npm ERR! Collecting esphome>=2021.8
                                          npm ERR!   Using cached esphome-2023.4.1-py2.py3-none-any.whl (2.6 MB)
                                          npm ERR! Collecting tornado>=3.2
                                          npm ERR!   Using cached tornado-6.3.1.tar.gz (508 kB)
                                          npm ERR!   Installing build dependencies: started
                                          npm ERR!   Installing build dependencies: finished with status 'done'
                                          npm ERR!   Getting requirements to build wheel: started
                                          npm ERR!   Getting requirements to build wheel: finished with status 'done'
                                          npm ERR!   Preparing metadata (pyproject.toml): started
                                          npm ERR!   Preparing metadata (pyproject.toml): finished with status 'done'
                                          npm ERR! Collecting voluptuous==0.13.1 (from esphome>=2021.8)
                                          npm ERR!   Using cached voluptuous-0.13.1-py3-none-any.whl (29 kB)
                                          npm ERR! Collecting PyYAML==6.0 (from esphome>=2021.8)
                                          npm ERR!   Using cached PyYAML-6.0.tar.gz (124 kB)
                                          npm ERR!   Installing build dependencies: started
                                          npm ERR!   Installing build dependencies: finished with status 'done'
                                          npm ERR!   Getting requirements to build wheel: started
                                          npm ERR!   Getting requirements to build wheel: finished with status 'done'
                                          npm ERR!   Preparing metadata (pyproject.toml): started
                                          npm ERR!   Preparing metadata (pyproject.toml): finished with status 'done'
                                          npm ERR! Collecting paho-mqtt==1.6.1 (from esphome>=2021.8)
                                          npm ERR!   Using cached paho-mqtt-1.6.1.tar.gz (99 kB)
                                          npm ERR!   Preparing metadata (setup.py): started
                                          npm ERR!   Preparing metadata (setup.py): finished with status 'done'
                                          npm ERR! Collecting colorama==0.4.6 (from esphome>=2021.8)
                                          npm ERR!   Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB)
                                          npm ERR! Collecting tornado>=3.2
                                          npm ERR!   Using cached tornado-6.2.tar.gz (504 kB)
                                          npm ERR!   Installing build dependencies: started
                                          npm ERR!   Installing build dependencies: finished with status 'done'
                                          npm ERR!   Getting requirements to build wheel: started
                                          npm ERR!   Getting requirements to build wheel: finished with status 'done'
                                          npm ERR!   Preparing metadata (pyproject.toml): started
                                          npm ERR!   Preparing metadata (pyproject.toml): finished with status 'done'
                                          npm ERR! Collecting tzlocal==4.2 (from esphome>=2021.8)
                                          npm ERR!   Using cached tzlocal-4.2-py3-none-any.whl (19 kB)
                                          npm ERR! Collecting tzdata>=2021.1 (from esphome>=2021.8)
                                          npm ERR!   Using cached tzdata-2023.3-py2.py3-none-any.whl (341 kB)
                                          npm ERR! Collecting pyserial==3.5 (from esphome>=2021.8)
                                          npm ERR!   Using cached pyserial-3.5-py2.py3-none-any.whl (90 kB)
                                          npm ERR! Collecting platformio==6.1.6 (from esphome>=2021.8)
                                          npm ERR!   Using cached platformio-6.1.6.tar.gz (236 kB)
                                          npm ERR!   Preparing metadata (setup.py): started
                                          npm ERR!   Preparing metadata (setup.py): finished with status 'done'
                                          npm ERR! Collecting esptool==4.5.1 (from esphome>=2021.8)
                                          npm ERR!   Using cached esptool-4.5.1.tar.gz (252 kB)
                                          npm ERR!   Preparing metadata (setup.py): started
                                          npm ERR!   Preparing metadata (setup.py): finished with status 'done'
                                          npm ERR! Collecting click==8.1.3 (from esphome>=2021.8)
                                          npm ERR!   Using cached click-8.1.3-py3-none-any.whl (96 kB)
                                          npm ERR! Collecting esphome-dashboard==20230214.0 (from esphome>=2021.8)
                                          npm ERR!   Using cached esphome_dashboard-20230214.0-py3-none-any.whl (1.6 MB)
                                          npm ERR! Collecting aioesphomeapi==13.5.1 (from esphome>=2021.8)
                                          npm ERR!   Using cached aioesphomeapi-13.5.1-py2.py3-none-any.whl (54 kB)
                                          npm ERR! Collecting zeroconf==0.56.0 (from esphome>=2021.8)
                                          npm ERR!   Using cached zeroconf-0.56.0.tar.gz (140 kB)
                                          npm ERR!   Installing build dependencies: started
                                          npm ERR!   Installing build dependencies: finished with status 'done'
                                          npm ERR!   Getting requirements to build wheel: started
                                          npm ERR!   Getting requirements to build wheel: finished with status 'done'
                                          npm ERR!   Preparing metadata (pyproject.toml): started
                                          npm ERR!   Preparing metadata (pyproject.toml): finished with status 'done'
                                          npm ERR! Collecting kconfiglib==13.7.1 (from esphome>=2021.8)
                                          npm ERR!   Using cached kconfiglib-13.7.1-py2.py3-none-any.whl (145 kB)
                                          npm ERR! Collecting protobuf>=3.19.0 (from aioesphomeapi==13.5.1->esphome>=2021.8)
                                          npm ERR!   Using cached protobuf-4.22.3-py3-none-any.whl (172 kB)
                                          npm ERR! Collecting noiseprotocol<1.0,>=0.3.1 (from aioesphomeapi==13.5.1->esphome>=2021.8)
                                          npm ERR!   Using cached noiseprotocol-0.3.1-py3-none-any.whl (20 kB)
                                          npm ERR! Collecting async-timeout>=4.0 (from aioesphomeapi==13.5.1->esphome>=2021.8)
                                          npm ERR!   Using cached async_timeout-4.0.2-py3-none-any.whl (5.8 kB)
                                          npm ERR! Collecting bitstring>=3.1.6 (from esptool==4.5.1->esphome>=2021.8)
                                          npm ERR!   Using cached bitstring-4.0.2-py3-none-any.whl (46 kB)
                                          npm ERR! Collecting cryptography>=2.1.4 (from esptool==4.5.1->esphome>=2021.8)
                                          npm ERR!   Using cached cryptography-40.0.2.tar.gz (625 kB)
                                          npm ERR!   Installing build dependencies: started
                                          npm ERR!   Installing build dependencies: finished with status 'error'
                                          npm ERR! /usr/bin/python3: No module named pip
                                          npm ERR! /usr/bin/python3: No module named ensurepip
                                          npm ERR!   error: subprocess-exited-with-error
                                          npm ERR!   
                                          npm ERR!   × pip subprocess to install build dependencies did not run successfully.
                                          npm ERR!   │ exit code: 1
                                          npm ERR!   ╰─> [81 lines of output]
                                          npm ERR!       Collecting setuptools!=60.9.0,>=40.6.0
                                          npm ERR!         Using cached setuptools-67.7.2-py3-none-any.whl (1.1 MB)
                                          npm ERR!       Collecting wheel
                                          npm ERR!         Using cached wheel-0.40.0-py3-none-any.whl (64 kB)
                                          npm ERR!       Collecting cffi>=1.12
                                          npm ERR!         Using cached cffi-1.15.1.tar.gz (508 kB)
                                          npm ERR!         Preparing metadata (setup.py): started
                                          npm ERR!         Preparing metadata (setup.py): finished with status 'done'
                                          npm ERR!       Collecting setuptools-rust>=0.11.4
                                          npm ERR!         Using cached setuptools_rust-1.5.2-py3-none-any.whl (23 kB)
                                          npm ERR!       Collecting pycparser (from cffi>=1.12)
                                          npm ERR!         Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
                                          npm ERR!       Collecting semantic-version<3,>=2.8.2 (from setuptools-rust>=0.11.4)
                                          npm ERR!         Using cached semantic_version-2.10.0-py2.py3-none-any.whl (15 kB)
                                          npm ERR!       Collecting typing-extensions>=3.7.4.3 (from setuptools-rust>=0.11.4)
                                          npm ERR!         Using cached typing_extensions-4.5.0-py3-none-any.whl (27 kB)
                                          npm ERR!       Building wheels for collected packages: cffi
                                          npm ERR!         Building wheel for cffi (setup.py): started
                                          npm ERR!         Building wheel for cffi (setup.py): finished with status 'error'
                                          npm ERR!         error: subprocess-exited-with-error
                                          npm ERR!       
                                          npm ERR!         × python setup.py bdist_wheel did not run successfully.
                                          npm ERR!         │ exit code: 1
                                          npm ERR!         ╰─> [50 lines of output]
                                          npm ERR!             /opt/iobroker/node_modules/iobroker.esphome/python_modules/lib/python3.9/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
                                          npm ERR!             !!
                                          npm ERR!       
                                          npm ERR!                     ********************************************************************************
                                          npm ERR!                     The license_file parameter is deprecated, use license_files instead.
                                          npm ERR!       
                                          npm ERR!                     By 2023-Oct-30, you need to update your project and remove deprecated calls
                                          npm ERR!                     or your builds will no longer be supported.
                                          npm ERR!       
                                          npm ERR!                     See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
                                          npm ERR!                     ********************************************************************************
                                          npm ERR!       
                                          npm ERR!             !!
                                          npm ERR!               parsed = self.parsers.get(option_name, lambda x: x)(value)
                                          npm ERR!             running bdist_wheel
                                          npm ERR!             running build
                                          npm ERR!             running build_py
                                          npm ERR!             creating build
                                          npm ERR!             creating build/lib.linux-aarch64-cpython-39
                                          npm ERR!             creating build/lib.linux-aarch64-cpython-39/cffi
                                          npm ERR!             copying cffi/lock.py -> build/lib.linux-aarch64-cpython-39/cffi
                                          npm ERR!             copying cffi/cparser.py -> build/lib.linux-aarch64-cpython-39/cffi
                                          npm ERR!             copying cffi/verifier.py -> build/lib.linux-aarch64-cpython-39/cffi
                                          npm ERR!             copying cffi/vengine_gen.py -> build/lib.linux-aarch64-cpython-39/cffi
                                          npm ERR!             copying cffi/backend_ctypes.py -> build/lib.linux-aarch64-cpython-39/cffi
                                          npm ERR!             copying cffi/vengine_cpy.py -> build/lib.linux-aarch64-cpython-39/cffi
                                          npm ERR!             copying cffi/setuptools_ext.py -> build/lib.linux-aarch64-cpython-39/cffi
                                          npm ERR!             copying cffi/error.py -> build/lib.linux-aarch64-cpython-39/cffi
                                          npm ERR!             copying cffi/cffi_opcode.py -> build/lib.linux-aarch64-cpython-39/cffi
                                          npm ERR!             copying cffi/__init__.py -> build/lib.linux-aarch64-cpython-39/cffi
                                          npm ERR!             copying cffi/model.py -> build/lib.linux-aarch64-cpython-39/cffi
                                          npm ERR!             copying cffi/pkgconfig.py -> build/lib.linux-aarch64-cpython-39/cffi
                                          npm ERR!             copying cffi/recompiler.py -> build/lib.linux-aarch64-cpython-39/cffi
                                          npm ERR!             copying cffi/api.py -> build/lib.linux-aarch64-cpython-39/cffi
                                          npm ERR!             copying cffi/ffiplatform.py -> build/lib.linux-aarch64-cpython-39/cffi
                                          npm ERR!             copying cffi/commontypes.py -> build/lib.linux-aarch64-cpython-39/cffi
                                          npm ERR!             copying cffi/_cffi_include.h -> build/lib.linux-aarch64-cpython-39/cffi
                                          npm ERR!             copying cffi/parse_c_type.h -> build/lib.linux-aarch64-cpython-39/cffi
                                          npm ERR!             copying cffi/_embedding.h -> build/lib.linux-aarch64-cpython-39/cffi
                                          npm ERR!             copying cffi/_cffi_errors.h -> build/lib.linux-aarch64-cpython-39/cffi
                                          npm ERR!             running build_ext
                                          npm ERR!             building '_cffi_backend' extension
                                          npm ERR!             creating build/temp.linux-aarch64-cpython-39
                                          npm ERR!             creating build/temp.linux-aarch64-cpython-39/c
                                          npm ERR!             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 -fPIC -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/python3.9 -c c/_cffi_backend.c -o build/temp.linux-aarch64-cpython-39/c/_cffi_backend.o
                                          npm ERR!             c/_cffi_backend.c:2:10: fatal error: Python.h: No such file or directory
                                          npm ERR!                 2 | #include <Python.h>
                                          npm ERR!                   |          ^~~~~~~~~~
                                          npm ERR!             compilation terminated.
                                          npm ERR!             error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1
                                          npm ERR!             [end of output]
                                          npm ERR!       
                                          npm ERR!         note: This error originates from a subprocess, and is likely not a problem with pip.
                                          npm ERR!         ERROR: Failed building wheel for cffi
                                          npm ERR!         Running setup.py clean for cffi
                                          npm ERR!       Failed to build cffi
                                          npm ERR!       ERROR: Could not build wheels for cffi, which is required to install pyproject.toml-based projects
                                          npm ERR!       [end of output]
                                          npm ERR!   
                                          npm ERR!   note: This error originates from a subprocess, and is likely not a problem with pip.
                                          npm ERR! error: subprocess-exited-with-error
                                          npm ERR! 
                                          npm ERR! × pip subprocess to install build dependencies did not run successfully.
                                          npm ERR! │ exit code: 1
                                          npm ERR! ╰─> See above for output.
                                          npm ERR! 
                                          npm ERR! note: This error originates from a subprocess, and is likely not a problem with pip.
                                          
                                          npm ERR! A complete log of this run can be found in:
                                          npm ERR!     /home/iobroker/.npm/_logs/2023-04-24T21_18_47_600Z-debug-0.log
                                          host.raspberrypi Cannot install iobroker.esphome@0.2.4: 1
                                          
                                          
                                          Thomas BraunT 1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

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

                                          417

                                          Online

                                          32.5k

                                          Benutzer

                                          81.7k

                                          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