Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. EspHome Adapter kann nicht mehr compilieren

    NEWS

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    EspHome Adapter kann nicht mehr compilieren

    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      WolfgangFB last edited by

      Ich wollte ein neues Device programmieren und jetzt kommt:

      INFO Generating C++ source...
      INFO Compiling app...
      Processing esp32-083af28e375c (board: nodemcu-32s; framework: arduino; platform: platformio/espressif32 @ 5.2.0)
      --------------------------------------------------------------------------------
      HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
       - toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch3
      
      warning: Calling missing SConscript without error is deprecated.
      Transition by adding must_exist=False to SConscript calls.
      Missing SConscript '/home/iobroker/.platformio/packages/framework-arduinoespressif32/tools/platformio-build.py'
      File "/home/iobroker/.platformio/platforms/espressif32/builder/frameworks/arduino.py", line 41, in <module>
      LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
      Library Manager: Installing FS
      Warning! Could not find the package with 'FS' requirements for your system 'linux_armv7l'
      Library Manager: Installing Update
      Warning! Could not find the package with 'Update' requirements for your system 'linux_armv7l'
      Library Manager: Installing ESPmDNS
      Warning! Could not find the package with 'ESPmDNS' requirements for your system 'linux_armv7l'
      Library Manager: Installing Wire
      Warning! Could not find the package with 'Wire' requirements for your system 'linux_armv7l'
      Dependency Graph
      |-- AsyncTCP-esphome @ 1.2.2
      |-- WiFi @ 1.2.7
      |-- ESPAsyncWebServer-esphome @ 2.1.0
      |   |-- AsyncTCP-esphome @ 1.2.2
      |-- DNSServer @ 1.1.0
      |-- ArduinoJson @ 6.18.5
      Compiling .pioenvs/esp32-083af28e375c/src/esphome/components/ads1115/ads1115.cpp.o
      Compiling .pioenvs/esp32-083af28e375c/src/esphome/components/api/api_connection.cpp.o
      Compiling .pioenvs/esp32-083af28e375c/src/esphome/components/api/api_frame_helper.cpp.o
      Compiling .pioenvs/esp32-083af28e375c/src/esphome/components/api/api_pb2.cpp.o
      In file included from src/esphome/components/sensor/sensor.h:3,
                       from src/esphome/components/ads1115/ads1115.h:4,
                       from src/esphome/components/ads1115/ads1115.cpp:1:
      src/esphome/core/log.h:14:10: fatal error: esp_err.h: No such file or directory
      
      *****************************************************************
      * Looking for esp_err.h dependency? Check our library registry!
      *
      * CLI  > platformio lib search "header:esp_err.h"
      * Web  > https://registry.platformio.org/search?q=header:esp_err.h
      *
      *****************************************************************
      
       #include <esp_err.h>
                ^~~~~~~~~~~
      compilation terminated.
      In file included from src/esphome/components/socket/socket.h:5,
                       from src/esphome/components/api/api_frame_helper.h:13,
                       from src/esphome/components/api/api_connection.h:3,
                       from src/esphome/components/api/api_connection.cpp:1:
      src/esphome/components/socket/headers.h:116:10: fatal error: sys/ioctl.h: No such file or directory
       #include <sys/ioctl.h>
                ^~~~~~~~~~~~~
      compilation terminated.
      In file included from src/esphome/components/socket/socket.h:5,
                       from src/esphome/components/api/api_frame_helper.h:13,
                       from src/esphome/components/api/api_frame_helper.cpp:1:
      src/esphome/components/socket/headers.h:116:10: fatal error: sys/ioctl.h: No such file or directory
       #include <sys/ioctl.h>
                ^~~~~~~~~~~~~
      compilation terminated.
      In file included from src/esphome/components/api/proto.h:4,
                       from src/esphome/components/api/api_pb2.h:5,
                       from src/esphome/components/api/api_pb2.cpp:3:
      src/esphome/core/log.h:14:10: fatal error: esp_err.h: No such file or directory
      
      *****************************************************************
      * Looking for esp_err.h dependency? Check our library registry!
      *
      * CLI  > platformio lib search "header:esp_err.h"
      * Web  > https://registry.platformio.org/search?q=header:esp_err.h
      *
      *****************************************************************
      
       #include <esp_err.h>
                ^~~~~~~~~~~
      compilation terminated.
      *** [.pioenvs/esp32-083af28e375c/src/esphome/components/api/api_pb2.cpp.o] Error 1
      *** [.pioenvs/esp32-083af28e375c/src/esphome/components/api/api_frame_helper.cpp.o] Error 1
      *** [.pioenvs/esp32-083af28e375c/src/esphome/components/ads1115/ads1115.cpp.o] Error 1
      *** [.pioenvs/esp32-083af28e375c/src/esphome/components/api/api_connection.cpp.o] Error 1
      ========================= [FAILED] Took 38.35 seconds =========================
      

      Wie bekomme ich das repariert?

      A 1 Reply Last reply Reply Quote 0
      • A
        Ahnungsbefreit @WolfgangFB last edited by

        @wolfgangfb Installier mal neu von GitHub

        W 1 Reply Last reply Reply Quote 0
        • W
          WolfgangFB @Ahnungsbefreit last edited by

          @ahnungsbefreit sagte in EspHome Adapter kann nicht mehr compilieren:

          @wolfgangfb Installier mal neu von GitHub

          Das war das erste was ich gemacht habe. Hat nichts gebracht. IO-Broker und Raspi auch nue gestartet.

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

            @wolfgangfb

            Gibt es da eine Datei?

            find "/usr/lib/" -iname "EXTERNALLY*"
            
            W 1 Reply Last reply Reply Quote 0
            • W
              WolfgangFB @Thomas Braun last edited by

              @thomas-braun sagte in EspHome Adapter kann nicht mehr compilieren:

              @wolfgangfb

              Gibt es da eine Datei?

              find "/usr/lib/" -iname "EXTERNALLY*"
              

              Nein, da kommt kein Ergebnis:

              pi@raspberrypi:/opt/iobroker $ find "/usr/lib/" -iname "EXTERNALLY*"
              pi@raspberrypi:/opt/iobroker $
              

              Aber auf eiem zweitn pi auf dem ESPHome läuft gibt es diese Datei auch nicht.

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

                @wolfgangfb

                python --version
                apt policy python3-pip-whl python3-full
                pipx esphome
                

                sagt?

                W 1 Reply Last reply Reply Quote 0
                • W
                  WolfgangFB @Thomas Braun last edited by

                  @thomas-braun sagte in EspHome Adapter kann nicht mehr compilieren:

                  @wolfgangfb

                  python --version
                  apt policy python3-pip-whl python3-full
                  pipx esphome
                  

                  sagt?

                  Auf beiden pi Rechnern das gleiche:

                  pi@raspberrypi:/opt/iobroker $ python --version
                  Python 3.9.2
                  whl python3-full
                  pipx esphomepi@raspberrypi:/opt/iobroker $ apt policy python3-pip-whl python3-full
                  python3-full:
                    Installiert:           (keine)
                    Installationskandidat: 3.9.2-3
                    Versionstabelle:
                       3.9.2-3 500
                          500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                  N: Paket python3-pip-whl kann nicht gefunden werden.
                  pi@raspberrypi:/opt/iobroker $ pipx esphome
                  -bash: pipx: Kommando nicht gefunden.
                  pi@raspberrypi:/opt/iobroker $
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @WolfgangFB last edited by

                    @wolfgangfb sagte in EspHome Adapter kann nicht mehr compilieren:

                    python3-full

                    Installier das mal.

                    W 1 Reply Last reply Reply Quote 0
                    • W
                      WolfgangFB @Thomas Braun last edited by

                      @thomas-braun sagte in EspHome Adapter kann nicht mehr compilieren:

                      @wolfgangfb sagte in EspHome Adapter kann nicht mehr compilieren:

                      python3-full

                      Installier das mal.

                      pi@raspberrypi:/opt/iobroker $ python --version
                      on3-pip-whl python3-full
                      pipx esphomePython 3.9.2
                      pi@raspberrypi:/opt/iobroker $ apt policy python3-pip-whl python3-full
                      python3-full:
                        Installiert:           3.9.2-3
                        Installationskandidat: 3.9.2-3
                        Versionstabelle:
                       *** 3.9.2-3 500
                              500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                              100 /var/lib/dpkg/status
                      N: Paket python3-pip-whl kann nicht gefunden werden.
                      pi@raspberrypi:/opt/iobroker $ pipx esphome
                      -bash: pipx: Kommando nicht gefunden.
                      pi@raspberrypi:/opt/iobroker $
                      

                      Ich habe übrigens gerade festgestellt, dass das Problem nur beim compilieren von ESP32 Code auftritt, ESP8266 funktioniert.

                      1 Reply Last reply Reply Quote 0
                      • S
                        smarthome2020 last edited by

                        Gibt es mittlerweile eine Lösung ? Habe das gleiche Problem .

                        1 Reply Last reply Reply Quote 0
                        • W
                          WolfgangFB last edited by

                          @smarthome2020

                          Hallo, leider habe ich keine Lösung. Es beruigt mich, dass ich nciht alleine mit diesem Problem bin (scheint also nicht an mir zu liegen), aber ich vermute dass das einfach so bleibt weil dieser Adapter eben leider nicht mehr weiter entwickelt wird. Schade.

                          S 1 Reply Last reply Reply Quote 0
                          • S
                            smarthome2020 @WolfgangFB last edited by

                            @wolfgangfb

                            Ja, leider . War dabei so praktisch 🙂 nun muss ich einen Umweg über die Konsole von Windows gehen . Ist deutlich mühsamer als nun. Kann ich nicht mehr so bequem erledigen wie zuvor .

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post

                            Support us

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

                            848
                            Online

                            32.0k
                            Users

                            80.5k
                            Topics

                            1.3m
                            Posts

                            4
                            12
                            670
                            Loading More Posts
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes
                            Reply
                            • Reply as topic
                            Log in to reply
                            Community
                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                            The ioBroker Community 2014-2023
                            logo