Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. ESPHome pls upgr to pio Core 6 obwohl v6.1.6 installiert

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    ESPHome pls upgr to pio Core 6 obwohl v6.1.6 installiert

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @mayokleckz last edited by Thomas Braun

      @mayokleckz sagte in ESPHome pls upgr to pio Core 6 obwohl v6.1.6 installiert:

      python3-full

      Installier das mal nach.

      sudo apt install python3-full python3.9-dev libpython3.9-dev
      
      M 1 Reply Last reply Reply Quote 0
      • M
        mayokleckz @Thomas Braun last edited by

        @thomas-braun
        Die Installation funktioniert nun.
        Es war also

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

        und

        sudo apt install python3-full python3.9-dev libpython3.9-dev
        

        notwendig.
        Danke.

        Beim Kompilieren komme ich in einen neuen Fehler. Nach erstem suchen ein 32-bit<>64-bit os Problem?!

        INFO Reading configuration /opt/iobroker/iobroker-data/esphome.0/esphome-web-7a8069.yaml...
        INFO Generating C++ source...
        INFO Compiling app...
        Processing esphome--brunnen-web-7a8069 (board: esp01_1m; framework: arduino; platform: platformio/espressif8266 @ 3.2.0)
        --------------------------------------------------------------------------------
        HARDWARE: ESP8266 80MHz, 80KB RAM, 1MB Flash
        Dependency Graph
        |-- ESPAsyncTCP-esphome @ 1.2.3
        |-- ESPAsyncWebServer-esphome @ 2.1.0
        |   |-- ESPAsyncTCP-esphome @ 1.2.3
        |   |-- Hash @ 1.0
        |   |-- ESP8266WiFi @ 1.0
        |-- DNSServer @ 1.1.1
        |-- ESP8266WiFi @ 1.0
        |-- ESP8266mDNS @ 1.2
        |-- noise-c @ 0.1.4
        |   |-- libsodium @ 1.10018.1
        Compiling .pioenvs/esphome--brunnen-web-7a8069/src/esphome/components/api/api_connection.cpp.o
        sh: 1: xtensa-lx106-elf-g++: not found
        Compiling .pioenvs/esphome--brunnen-web-7a8069/src/esphome/components/api/api_frame_helper.cpp.o
        sh: 1: xtensa-lx106-elf-g++: not found
        Compiling .pioenvs/esphome--brunnen-web-7a8069/src/esphome/components/api/api_pb2.cpp.o
        sh: 1: xtensa-lx106-elf-g++: not found
        *** [.pioenvs/esphome--brunnen-web-7a8069/src/esphome/components/api/api_connection.cpp.o] Error 127
        Compiling .pioenvs/esphome--brunnen-web-7a8069/src/esphome/components/api/api_pb2_service.cpp.o
        *** [.pioenvs/esphome--brunnen-web-7a8069/src/esphome/components/api/api_frame_helper.cpp.o] Error 127
        *** [.pioenvs/esphome--brunnen-web-7a8069/src/esphome/components/api/api_pb2.cpp.o] Error 127
        sh: 1: xtensa-lx106-elf-g++: not found
        *** [.pioenvs/esphome--brunnen-web-7a8069/src/esphome/components/api/api_pb2_service.cpp.o] Error 127
        ========================== [FAILED] Took 2.55 seconds ==========================
        

        Der erste Lösungsversuch schlug schonmal fehl.

        flo@raspberrypi:~ $ sudo apt-get install xtensa-lx106-elf
        Reading package lists... Done
        Building dependency tree... Done
        Reading state information... Done
        E: Unable to locate package xtensa-lx106-elf
        flo@raspberrypi:~ $ 
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @mayokleckz last edited by

          @mayokleckz sagte in ESPHome pls upgr to pio Core 6 obwohl v6.1.6 installiert:

          xtensa-lx106-elf-g++

          Versuch es mit

          sudo apt install gcc-xtensa-lx106
          
          M 1 Reply Last reply Reply Quote 0
          • M
            mayokleckz @Thomas Braun last edited by

            @thomas-braun
            Das ging durch.

            Ich stolper trotzdem nur ahnungslos von Fehler zu Fehler.

            INFO Reading configuration /opt/iobroker/iobroker-data/esphome.0/esp-home-brunnen.yaml...
            INFO Generating C++ source...
            INFO Compiling app...
            Processing esphome-brunnen (board: d1_mini; framework: arduino; platform: platformio/espressif8266 @ 3.2.0)
            --------------------------------------------------------------------------------
            HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
            Dependency Graph
            |-- ESPAsyncTCP-esphome @ 1.2.3
            |-- ESPAsyncWebServer-esphome @ 2.1.0
            |   |-- ESPAsyncTCP-esphome @ 1.2.3
            |   |-- Hash @ 1.0
            |   |-- ESP8266WiFi @ 1.0
            |-- DNSServer @ 1.1.1
            |-- ESP8266WiFi @ 1.0
            |-- ESP8266mDNS @ 1.2
            Compiling .pioenvs/esphome-brunnen/src/esphome/components/api/api_connection.cpp.o
            Compiling .pioenvs/esphome-brunnen/src/esphome/components/api/api_frame_helper.cpp.o
            xtensa-lx106-elf-g++: fatal error: cannot execute 'cc1plus': execvp: No such file or directory
            compilation terminated.
            xtensa-lx106-elf-g++: fatal error: cannot execute 'cc1plus': execvp: No such file or directory
            compilation terminated.
            Compiling .pioenvs/esphome-brunnen/src/esphome/components/api/api_pb2.cpp.o
            xtensa-lx106-elf-g++: fatal error: cannot execute 'cc1plus': execvp: No such file or directory
            compilation terminated.
            *** [.pioenvs/esphome-brunnen/src/esphome/components/api/api_connection.cpp.o] Error 1
            *** [.pioenvs/esphome-brunnen/src/esphome/components/api/api_frame_helper.cpp.o] Error 1
            *** [.pioenvs/esphome-brunnen/src/esphome/components/api/api_pb2.cpp.o] Error 1
            Compiling .pioenvs/esphome-brunnen/src/esphome/components/api/api_pb2_service.cpp.o
            xtensa-lx106-elf-g++: fatal error: cannot execute 'cc1plus': execvp: No such file or directory
            compilation terminated.
            *** [.pioenvs/esphome-brunnen/src/esphome/components/api/api_pb2_service.cpp.o] Error 1
            ========================== [FAILED] Took 2.38 seconds ==========================
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @mayokleckz last edited by Thomas Braun

              @mayokleckz

              Da fehlt dir der Cross Compiler
              https://packages.debian.org/search?searchon=contents&keywords=cc1plus&mode=exactfilename&suite=stable&arch=any

              Musst Mal schauen welcher gcc und welche Architektur da bei dir am Start ist. Danach richtet sich das zu installierende Paket.

              uname -m
              gcc --version
              

              sagt dir Näheres.

              Edit:
              Ich sehe gerade, das sollte eigentlich auch im Paket gcc-xtensa-lx106 drin sein. Dann weiß ich nicht was dem System noch fehlt.

              M 1 Reply Last reply Reply Quote 0
              • M
                mayokleckz @Thomas Braun last edited by

                @thomas-braun
                ok schade. trotzdem danke.

                Evtl. ließt hier noch jemand drüber und weiß weiter Rat.

                Ich hab mal nachgeschaut, also vorhanden scheint es zu sein.

                flo@raspberrypi:~ $ find /usr/ -name "*cc1*"
                /usr/share/terminfo/x/xterm+pcc1
                /usr/share/doc/libcc1-0
                /usr/lib/debug/.build-id/97/fca3e5a4e23a7a9dc3429293fe5f810dcc1cd6.debug
                /usr/lib/debug/.build-id/ac/24d09573ac4b8d5987190d274d9128cc1aeb38.debug
                find: ‘/usr/lib/mysql/plugin/auth_pam_tool_dir’: Permission denied
                /usr/lib/arm-linux-gnueabihf/libcc1.so.0.0.0
                /usr/lib/arm-linux-gnueabihf/libcc1.so.0
                /usr/lib/gcc/arm-linux-gnueabihf/10/cc1
                /usr/lib/gcc/arm-linux-gnueabihf/10/cc1plus
                /usr/lib/gcc/arm-linux-gnueabihf/10/libcc1.so
                /usr/lib/gcc/arm-linux-gnueabihf/10/plugin/libcc1plugin.so
                /usr/lib/gcc/arm-linux-gnueabihf/10/plugin/libcc1plugin.so.0.0.0
                /usr/lib/gcc/arm-linux-gnueabihf/10/plugin/libcc1plugin.so.0
                /usr/lib/gcc/xtensa-lx106-elf/10.2.1/cc1
                /usr/lib/gcc/xtensa-lx106-elf/10.2.1/cc1plus
                /usr/lib/gcc/xtensa-lx106-elf/10.2.1/plugin/libcc1plugin.so
                /usr/lib/gcc/xtensa-lx106-elf/10.2.1/plugin/libcc1plugin.so.0.0.0
                /usr/lib/gcc/xtensa-lx106-elf/10.2.1/plugin/libcc1plugin.so.0
                /usr/lib/gcc/xtensa-lx106-elf/10.2.1/plugin/libcc1plugin.la
                flo@raspberrypi:~ $ find /usr/ -name "*execvp*"
                /usr/share/man/man3/execvpe.3.gz
                /usr/share/man/man3/execvp.3.gz
                find: ‘/usr/lib/mysql/plugin/auth_pam_tool_dir’: Permission denied
                flo@raspberrypi:~ $ ^C
                
                

                da eine Rechtevergabe schon mal geklappt hat, hab ich mal verzweifelt chmod versucht.

                
                flo@raspberrypi:~ $ sudo -u iobroker chmod a+x /usr/lib/gcc/xtensa-lx106-elf/10.2.1/c*
                chmod: changing permissions of '/usr/lib/gcc/xtensa-lx106-elf/10.2.1/cc1': Operation not permitted
                chmod: changing permissions of '/usr/lib/gcc/xtensa-lx106-elf/10.2.1/cc1plus': Operation not permitted
                chmod: changing permissions of '/usr/lib/gcc/xtensa-lx106-elf/10.2.1/collect2': Operation not permitted
                chmod: changing permissions of '/usr/lib/gcc/xtensa-lx106-elf/10.2.1/crtbegin.o': Operation not permitted
                chmod: changing permissions of '/usr/lib/gcc/xtensa-lx106-elf/10.2.1/crtend.o': Operation not permitted
                chmod: changing permissions of '/usr/lib/gcc/xtensa-lx106-elf/10.2.1/crti.o': Operation not permitted
                chmod: changing permissions of '/usr/lib/gcc/xtensa-lx106-elf/10.2.1/crtn.o': Operation not permitted
                flo@raspberrypi:~ $
                

                Dann noch in die Umgebungsvariable

                flo@raspberrypi:~ $ export PATH=$PATH:/usr/lib/gcc/xtensa-lx106-elf/10.2.1
                flo@raspberrypi:~ $ $PATH
                -bash: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games:/usr/bin/g++::/usr/lib/gcc/xtensa-lx106-elf/10.2.1:
                flo@raspberrypi:~ $ 
                
                

                Den Adapter auch noch mal neu installiert. Kompiliert einfach nicht.

                Hänge also weiter bei

                @mayokleckz said in ESPHome pls upgr to pio Core 6 obwohl v6.1.6 installiert:

                @thomas-braun
                Das ging durch.

                Ich stolper trotzdem nur ahnungslos von Fehler zu Fehler.

                INFO Reading configuration /opt/iobroker/iobroker-data/esphome.0/esp-home-brunnen.yaml...
                INFO Generating C++ source...
                INFO Compiling app...
                Processing esphome-brunnen (board: d1_mini; framework: arduino; platform: platformio/espressif8266 @ 3.2.0)
                --------------------------------------------------------------------------------
                HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
                Dependency Graph
                |-- ESPAsyncTCP-esphome @ 1.2.3
                |-- ESPAsyncWebServer-esphome @ 2.1.0
                |   |-- ESPAsyncTCP-esphome @ 1.2.3
                |   |-- Hash @ 1.0
                |   |-- ESP8266WiFi @ 1.0
                |-- DNSServer @ 1.1.1
                |-- ESP8266WiFi @ 1.0
                |-- ESP8266mDNS @ 1.2
                Compiling .pioenvs/esphome-brunnen/src/esphome/components/api/api_connection.cpp.o
                Compiling .pioenvs/esphome-brunnen/src/esphome/components/api/api_frame_helper.cpp.o
                xtensa-lx106-elf-g++: fatal error: cannot execute 'cc1plus': execvp: No such file or directory
                compilation terminated.
                xtensa-lx106-elf-g++: fatal error: cannot execute 'cc1plus': execvp: No such file or directory
                compilation terminated.
                Compiling .pioenvs/esphome-brunnen/src/esphome/components/api/api_pb2.cpp.o
                xtensa-lx106-elf-g++: fatal error: cannot execute 'cc1plus': execvp: No such file or directory
                compilation terminated.
                *** [.pioenvs/esphome-brunnen/src/esphome/components/api/api_connection.cpp.o] Error 1
                *** [.pioenvs/esphome-brunnen/src/esphome/components/api/api_frame_helper.cpp.o] Error 1
                *** [.pioenvs/esphome-brunnen/src/esphome/components/api/api_pb2.cpp.o] Error 1
                Compiling .pioenvs/esphome-brunnen/src/esphome/components/api/api_pb2_service.cpp.o
                xtensa-lx106-elf-g++: fatal error: cannot execute 'cc1plus': execvp: No such file or directory
                compilation terminated.
                *** [.pioenvs/esphome-brunnen/src/esphome/components/api/api_pb2_service.cpp.o] Error 1
                ========================== [FAILED] Took 2.38 seconds ==========================
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @mayokleckz last edited by Thomas Braun

                  @mayokleckz sagte in ESPHome pls upgr to pio Core 6 obwohl v6.1.6 installiert:

                  da eine Rechtevergabe schon mal geklappt hat, hab ich mal verzweifelt chmod versucht.

                  Schlachte dich da nicht so durch das Rechtegefüge. Das die Rechte bei per Paketmanager installierten Softwarepaketen nicht stimmen kommt nur extrem selten vor, ich würde behaupten nie. Eher fehlen da Gruppenzugehörigkeiten für die User.

                  Gibt es da wo der Code herkommt keine Hinweise was für eine build chain benötigt wird?

                  Edith: Gerade noch was herumgeschaut. Hab ähnliche Probleme gefunden, wenn ältere Versionen von esphome verwendet wurden.

                  echad@chet:~ $ esphome version
                  Version: 2023.4.1
                  echad@chet:~ $
                  

                  Was spuckt das bei dir aus?

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    mayokleckz @Thomas Braun last edited by mayokleckz

                    @thomas-braun

                    
                    flo@raspberrypi:~ $ esphome version
                    -bash: esphome: command not found
                    flo@raspberrypi:~ $ 
                    

                    Gibt es da wo der Code herkommt keine Hinweise was für eine build chain benötigt wird?

                    Welchen Code meinst du? Falls der YAML Code zum kompilieren gemeint ist, das ist die initiale yaml Datei, die vom ESPHome Adapter beim hinzufügen eines Geräts automatisch erzeugt wird.

                    esphome:
                      name: esphome-brunnen
                     
                    esp8266:
                      board: d1_mini
                     
                    # Enable logging
                    logger:
                     
                    # Enable Home Assistant API
                    api:
                        password: 'MyPassword'
                    ota:
                      password: "d960f666ab261cb6fbcd4e21b4cd9a59"
                     
                    wifi:
                      ssid: !secret wifi_ssid
                      password: !secret wifi_password
                     
                      # Enable fallback hotspot (captive portal) in case wifi connection fails
                      ap:
                        ssid: "Esphome-Brunnen Fallback Hotspot"
                        password: "15dOCTm1PxgU"
                     
                    captive_portal:
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @mayokleckz last edited by

                      @mayokleckz

                      Keine Ahnung, hab mit esphome eigentlich nix am Hut.

                      M 1 Reply Last reply Reply Quote 0
                      • M
                        mayokleckz @Thomas Braun last edited by

                        @thomas-braun

                        Das esphome version keine Antwort gab, hab ich folgendes versucht. Brachte aber auch keine Änderung am Ergebnis. Und im falschen Verzeichnis hab ichs wohl auch noch installiert.

                        flo@raspberrypi:~ $ pip3 install esphome
                        Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
                        Collecting esphome
                          Downloading https://www.piwheels.org/simple/esphome/esphome-2023.4.1-py2.py3-none-any.whl (2.6 MB)
                             |████████████████████████████████| 2.6 MB 1.2 MB/s
                        Collecting tzdata>=2021.1
                          Downloading https://www.piwheels.org/simple/tzdata/tzdata-2023.3-py2.py3-none-any.whl (341 kB)
                             |████████████████████████████████| 341 kB 7.1 MB/s
                        Collecting colorama==0.4.6
                          Downloading https://www.piwheels.org/simple/colorama/colorama-0.4.6-py2.py3-none-any.whl (25 kB)
                        Collecting tzlocal==4.2
                          Downloading https://www.piwheels.org/simple/tzlocal/tzlocal-4.2-py3-none-any.whl (19 kB)
                        Collecting PyYAML==6.0
                          Downloading https://www.piwheels.org/simple/pyyaml/PyYAML-6.0-cp39-cp39-linux_armv7l.whl (45 kB)
                             |████████████████████████████████| 45 kB 1.5 MB/s
                        Collecting kconfiglib==13.7.1
                          Downloading https://www.piwheels.org/simple/kconfiglib/kconfiglib-13.7.1-py2.py3-none-any.whl (145 kB)
                             |████████████████████████████████| 145 kB 1.2 MB/s
                        Collecting platformio==6.1.6
                          Downloading https://www.piwheels.org/simple/platformio/platformio-6.1.6-py3-none-any.whl (416 kB)
                             |████████████████████████████████| 416 kB 6.9 MB/s
                        Collecting esptool==4.5.1
                          Downloading https://www.piwheels.org/simple/esptool/esptool-4.5.1-py3-none-any.whl (320 kB)
                             |████████████████████████████████| 320 kB 3.8 MB/s
                        Collecting tornado==6.2
                          Downloading https://www.piwheels.org/simple/tornado/tornado-6.2-cp37-abi3-linux_armv7l.whl (422 kB)
                             |████████████████████████████████| 422 kB 2.9 MB/s
                        Collecting pyserial==3.5
                          Downloading https://www.piwheels.org/simple/pyserial/pyserial-3.5-py2.py3-none-any.whl (90 kB)
                             |████████████████████████████████| 90 kB 2.9 MB/s
                        Collecting zeroconf==0.56.0
                          Downloading https://www.piwheels.org/simple/zeroconf/zeroconf-0.56.0-cp39-cp39-manylinux_2_31_armv7l.whl (2.1 MB)
                             |████████████████████████████████| 2.1 MB 1.2 MB/s
                        Collecting voluptuous==0.13.1
                          Downloading https://www.piwheels.org/simple/voluptuous/voluptuous-0.13.1-py3-none-any.whl (35 kB)
                        Collecting click==8.1.3
                          Downloading https://www.piwheels.org/simple/click/click-8.1.3-py3-none-any.whl (96 kB)
                             |████████████████████████████████| 96 kB 1.6 MB/s
                        Collecting esphome-dashboard==20230214.0
                          Downloading https://www.piwheels.org/simple/esphome-dashboard/esphome_dashboard-20230214.0-py3-none-any.whl (1.6 MB)
                             |████████████████████████████████| 1.6 MB 6.8 MB/s
                        Collecting paho-mqtt==1.6.1
                          Downloading https://www.piwheels.org/simple/paho-mqtt/paho_mqtt-1.6.1-py3-none-any.whl (75 kB)
                             |████████████████████████████████| 75 kB 1.6 MB/s
                        Collecting aioesphomeapi==13.5.1
                          Downloading https://www.piwheels.org/simple/aioesphomeapi/aioesphomeapi-13.5.1-py2.py3-none-any.whl (54 kB)
                             |████████████████████████████████| 54 kB 802 kB/s
                        Collecting protobuf>=3.19.0
                          Downloading https://www.piwheels.org/simple/protobuf/protobuf-4.22.3-cp39-cp39-linux_armv7l.whl (924 kB)
                             |████████████████████████████████| 924 kB 1.2 MB/s
                        Collecting async-timeout>=4.0
                          Downloading https://www.piwheels.org/simple/async-timeout/async_timeout-4.0.2-py3-none-any.whl (5.8 kB)
                        Collecting noiseprotocol<1.0,>=0.3.1
                          Downloading https://www.piwheels.org/simple/noiseprotocol/noiseprotocol-0.3.1-py3-none-any.whl (20 kB)
                        Collecting cryptography>=2.1.4
                          Downloading https://www.piwheels.org/simple/cryptography/cryptography-40.0.2-cp39-cp39-linux_armv7l.whl (1.5 MB)
                             |████████████████████████████████| 1.5 MB 1.2 MB/s
                        Collecting reedsolo<=1.6.0,>=1.5.3
                          Downloading https://www.piwheels.org/simple/reedsolo/reedsolo-1.6.0-cp39-cp39-linux_armv7l.whl (897 kB)
                             |████████████████████████████████| 897 kB 6.9 MB/s
                        Collecting ecdsa>=0.16.0
                          Downloading https://www.piwheels.org/simple/ecdsa/ecdsa-0.18.0-py2.py3-none-any.whl (142 kB)
                             |████████████████████████████████| 142 kB 7.0 MB/s
                        Collecting bitstring>=3.1.6
                          Downloading https://www.piwheels.org/simple/bitstring/bitstring-4.0.2-py3-none-any.whl (46 kB)
                             |████████████████████████████████| 46 kB 1.6 MB/s
                        Collecting semantic-version==2.10.*
                          Downloading https://www.piwheels.org/simple/semantic-version/semantic_version-2.10.0-py2.py3-none-any.whl (19 kB)
                        Collecting tabulate==0.9.*
                          Downloading https://www.piwheels.org/simple/tabulate/tabulate-0.9.0-py3-none-any.whl (35 kB)
                        Collecting starlette==0.23.*
                          Downloading https://www.piwheels.org/simple/starlette/starlette-0.23.1-py3-none-any.whl (64 kB)
                             |████████████████████████████████| 64 kB 1.4 MB/s
                        Collecting pyelftools<1,>=0.27
                          Downloading https://www.piwheels.org/simple/pyelftools/pyelftools-0.29-py2.py3-none-any.whl (174 kB)
                             |████████████████████████████████| 174 kB 6.9 MB/s
                        Collecting ajsonrpc==1.*
                          Downloading https://www.piwheels.org/simple/ajsonrpc/ajsonrpc-1.2.0-py3-none-any.whl (22 kB)
                        Requirement already satisfied: requests==2.* in /usr/lib/python3/dist-packages (from platformio==6.1.6->esphome) (2.25.1)
                        Collecting aiofiles==22.1.*
                          Downloading https://www.piwheels.org/simple/aiofiles/aiofiles-22.1.0-py3-none-any.whl (14 kB)
                        Collecting wsproto==1.2.*
                          Downloading https://www.piwheels.org/simple/wsproto/wsproto-1.2.0-py3-none-any.whl (24 kB)
                        Collecting bottle==0.12.*
                          Downloading https://www.piwheels.org/simple/bottle/bottle-0.12.25-py3-none-any.whl (90 kB)
                             |████████████████████████████████| 90 kB 2.8 MB/s
                        Collecting marshmallow==3.*
                          Downloading marshmallow-3.19.0-py3-none-any.whl (49 kB)
                             |████████████████████████████████| 49 kB 1.6 MB/s
                        Collecting uvicorn==0.20.*
                          Downloading https://www.piwheels.org/simple/uvicorn/uvicorn-0.20.0-py3-none-any.whl (56 kB)
                             |████████████████████████████████| 56 kB 787 kB/s
                        Collecting packaging>=17.0
                          Downloading https://www.piwheels.org/simple/packaging/packaging-23.1-py3-none-any.whl (48 kB)
                             |████████████████████████████████| 48 kB 992 kB/s
                        Collecting typing-extensions>=3.10.0
                          Downloading https://www.piwheels.org/simple/typing-extensions/typing_extensions-4.5.0-py3-none-any.whl (27 kB)
                        Collecting anyio<5,>=3.4.0
                          Downloading https://www.piwheels.org/simple/anyio/anyio-3.6.2-py3-none-any.whl (80 kB)
                             |████████████████████████████████| 80 kB 937 kB/s
                        Collecting pytz-deprecation-shim
                          Downloading https://www.piwheels.org/simple/pytz-deprecation-shim/pytz_deprecation_shim-0.1.0.post0-py2.py3-none-any.whl (15 kB)
                        Collecting h11>=0.8
                          Downloading https://www.piwheels.org/simple/h11/h11-0.14.0-py3-none-any.whl (58 kB)
                             |████████████████████████████████| 58 kB 2.0 MB/s
                        Collecting ifaddr>=0.1.7
                          Downloading https://www.piwheels.org/simple/ifaddr/ifaddr-0.2.0-py3-none-any.whl (12 kB)
                        Requirement already satisfied: idna>=2.8 in /usr/lib/python3/dist-packages (from anyio<5,>=3.4.0->starlette==0.23.*->platformio==6.1.6->esphome) (2.10)
                        Collecting sniffio>=1.1
                          Downloading https://www.piwheels.org/simple/sniffio/sniffio-1.3.0-py3-none-any.whl (10 kB)
                        Collecting cffi>=1.12
                          Downloading https://www.piwheels.org/simple/cffi/cffi-1.15.1-cp39-cp39-linux_armv7l.whl (364 kB)
                             |████████████████████████████████| 364 kB 1.2 MB/s
                        Collecting pycparser
                          Downloading https://www.piwheels.org/simple/pycparser/pycparser-2.21-py2.py3-none-any.whl (119 kB)
                             |████████████████████████████████| 119 kB 6.9 MB/s
                        Requirement already satisfied: six>=1.9.0 in /usr/lib/python3/dist-packages (from ecdsa>=0.16.0->esptool==4.5.1->esphome) (1.16.0)
                        Installing collected packages: pycparser, sniffio, cffi, tzdata, typing-extensions, packaging, ifaddr, h11, cryptography, click, async-timeout, anyio, zeroconf, wsproto, uvicorn, tabulate, starlette, semantic-version, reedsolo, pytz-deprecation-shim, pyserial, pyelftools, protobuf, noiseprotocol, marshmallow, ecdsa, colorama, bottle, bitstring, ajsonrpc, aiofiles, voluptuous, tzlocal, tornado, PyYAML, platformio, paho-mqtt, kconfiglib, esptool, esphome-dashboard, aioesphomeapi, esphome
                          WARNING: The script uvicorn is installed in '/home/flo/.local/bin' which is not on PATH.
                          Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
                          WARNING: The script tabulate is installed in '/home/flo/.local/bin' which is not on PATH.
                          Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
                          WARNING: The scripts pyserial-miniterm and pyserial-ports are installed in '/home/flo/.local/bin' which is not on PATH.
                          Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
                          WARNING: The script async-json-rpc-server is installed in '/home/flo/.local/bin' which is not on PATH.
                          Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
                          WARNING: The scripts pio, piodebuggdb and platformio are installed in '/home/flo/.local/bin' which is not on PATH.
                          Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
                          WARNING: The scripts alldefconfig, allmodconfig, allnoconfig, allyesconfig, defconfig, genconfig, guiconfig, listnewconfig, menuconfig, oldconfig, olddefconfig, savedefconfig and setconfig are installed in '/home/flo/.local/bin' which is not on PATH.
                          Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
                          WARNING: The script esphome is installed in '/home/flo/.local/bin' which is not on PATH.
                          Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
                        Successfully installed PyYAML-6.0 aioesphomeapi-13.5.1 aiofiles-22.1.0 ajsonrpc-1.2.0 anyio-3.6.2 async-timeout-4.0.2 bitstring-4.0.2 bottle-0.12.25 cffi-1.15.1 click-8.1.3 colorama-0.4.6 cryptography-40.0.2 ecdsa-0.18.0 esphome-2023.4.1 esphome-dashboard-20230214.0 esptool-4.5.1 h11-0.14.0 ifaddr-0.2.0 kconfiglib-13.7.1 marshmallow-3.19.0 noiseprotocol-0.3.1 packaging-23.1 paho-mqtt-1.6.1 platformio-6.1.6 protobuf-4.22.3 pycparser-2.21 pyelftools-0.29 pyserial-3.5 pytz-deprecation-shim-0.1.0.post0 reedsolo-1.6.0 semantic-version-2.10.0 sniffio-1.3.0 starlette-0.23.1 tabulate-0.9.0 tornado-6.2 typing-extensions-4.5.0 tzdata-2023.3 tzlocal-4.2 uvicorn-0.20.0 voluptuous-0.13.1 wsproto-1.2.0 zeroconf-0.56.0
                        flo@raspberrypi:~ $ esphome version
                        -bash: esphome: command not found
                        flo@raspberrypi:~ $ ^C
                        flo@raspberrypi:~ $ export PATH=$PATH:/home/flo/.local/bin
                        flo@raspberrypi:~ $ esphome version
                        Version: 2023.4.1
                        flo@raspberrypi:~ $
                        
                        

                        Ich glaub den ESPHome Adapter lass ich dann mal bleiben, oder versuchs mal bei HA.

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

                          @mayokleckz

                          pipx install esphome
                          

                          ist aber möglich das des Adapter das anders braucht/selber mitbringt.

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            mayokleckz @Thomas Braun last edited by

                            @thomas-braun
                            Ich weiß ja, dass es kein iobroker Thema mehr ist, würde es aber trotzdem hier Dokumentieren, falls ich zu einer Lösung komme. Kann ja nicht sein, dass es nicht geht. . .

                            Im Abhängigkeitsbaum zu Beginn der Kompilierung, habe ich festgestellt, dass im Vergleich zu anderen noise-c und libsodium fehlen. Kann es daran liegen?
                            Falls ja, wie kann ich das installieren? Wenn ich google, bekomm ich nur noise canceling und audio Ergebnisse.

                            Mein "Error"Log auf dem Raspi

                            HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
                            Dependency Graph
                            |-- ESPAsyncTCP-esphome @ 1.2.3
                            |-- ESPAsyncWebServer-esphome @ 2.1.0
                            |   |-- ESPAsyncTCP-esphome @ 1.2.3
                            |   |-- Hash @ 1.0
                            |   |-- ESP8266WiFi @ 1.0
                            |-- DNSServer @ 1.1.1
                            |-- ESP8266WiFi @ 1.0
                            |-- ESP8266mDNS @ 1.2
                            Compiling .pioenvs/esphome-brunnen/src/esphome/components/api/api_connection.cpp.o
                            Compiling .pioenvs/esphome-brunnen/src/esphome/components/api/api_frame_helper.cpp.o
                            xtensa-lx106-elf-g++: fatal error: cannot execute 'cc1plus': execvp: No such file or directory
                            

                            Hier aus dem log einer funktionierenden Kompilierung

                            Dependency Graph
                            |-- ESPAsyncTCP-esphome @ 1.2.3
                            |-- ESPAsyncWebServer-esphome @ 2.1.0
                            |   |-- ESPAsyncTCP-esphome @ 1.2.3
                            |   |-- Hash @ 1.0
                            |   |-- ESP8266WiFi @ 1.0
                            |-- DNSServer @ 1.1.1
                            |-- ESP8266WiFi @ 1.0
                            |-- ESP8266mDNS @ 1.2
                            |-- noise-c @ 0.1.4
                            |   |-- libsodium @ 1.10018.1
                            Compiling .pioenvs\esp-home-brunnen-defsettings\src\esphome\components\api\api_connection.cpp.o
                            Compiling .pioenvs\esp-home-brunnen-defsettings\src\esphome\components\api\api_frame_helper.cpp.o
                            Compiling .pioenvs\esp-home-brunnen-defsettings\src\esphome\components\api\api_pb2.cpp.o
                            
                            M 1 Reply Last reply Reply Quote 0
                            • M
                              mayokleckz @mayokleckz last edited by

                              @mayokleckz
                              SD Karte formatieren und RaspOS 64 bit drauf. Alles installieren und es läuft.
                              Ich brech zam.

                              Danke @Thomas-Braun für den support und sorry, war offensichtlich unnötig.

                              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

                              461
                              Online

                              31.9k
                              Users

                              80.2k
                              Topics

                              1.3m
                              Posts

                              esphome platformio python wemos d1 mini
                              3
                              29
                              1678
                              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