Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. ESPHome: Reinstallation aber wie?

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    ESPHome: Reinstallation aber wie?

    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      klassisch Most Active @Wal last edited by

      @wal sagte in ESPHome: Reinstallation aber wie?:

      esphome run livingroom.yaml ```

      Ja, so übersetze ich auch (unter Win, "ältere" ESPHome Installation). Wenn der ESP am USB hängt wird danach gefragt, ob OTA oder USB

      esphome wizard livingroom.yaml

      Das kenne ich nicht. Was macht das?

      Wal 1 Reply Last reply Reply Quote 0
      • Wal
        Wal Developer @klassisch last edited by Wal

        @klassisch sagte in ESPHome: Reinstallation aber wie?:

        Das kenne ich nicht. Was macht das?

        Da wird vor der Firmware die Config erstellt z.B. WIFI AP mit Passwort, ESP32 oder 8266 u.s.w
        Quasi wird die yaml erzeugt.

        1 Reply Last reply Reply Quote 0
        • D
          Dieter_P @Wal last edited by

          @wal said in ESPHome: Reinstallation aber wie?:

          @dieter_p ,
          weil es mich gejuckt hat, habe ich ESPHome mal auf einem 64 Bit Debian installiert.
          Danach habe ich wie in der Anleitung mit der CLI eine 8266 und eine ESP32 (m5stack-atom) Firmware erstellt.
          Evtl. solltest du es auch mal mit der CLI testen, bevor du den Adapter nutzt.
          Meine Befehle :

          pip install esphome
          export PATH=$PATH:$HOME/.local/bin
          esphome version
          esphome wizard livingroom.yaml
          esphome run livingroom.yaml
          

          Vielen Dank! Sitze jetzt am Zielsystem und probiere erst mal den ESP32 daraein zu bekommen.

          Wenn das hoffentlich irgendwie funktioniert, dann nehme ich eine virtuelle Maschine und spiele da das Restore mittels Backitup ein. Das hat in der Vergangheit ein System erzeugt, dass keine Kompilierung mehr ermöglichte. Damit teste ich dann, wie eine Lösung im Zielsystem aussehen könnte. Nach Deiner Beschreibung im CLI. Mach mich ans Werk und melde mich

          Wal 1 Reply Last reply Reply Quote 0
          • Wal
            Wal Developer @Dieter_P last edited by Wal

            @dieter_p sagte in ESPHome: Reinstallation aber wie?:

            probiere erst mal den ESP32 daraein zu bekommen.

            Das verstehe ich nicht was du machen möchtest,
            mit

            esphome wizard ...
            

            gibst du als Firmware esp32 an und dann erstellt er eine yaml für esp32 und wenn du schon eine yaml hast für dein Device gibst du die mit

            esphome run ..yaml
            

            an und die Firmware wird erstellt.

            1 Reply Last reply Reply Quote 0
            • Wal
              Wal Developer last edited by

              Du brauchst den Adapter gar nicht installieren wenn der Unterboden schon nicht funktioniert.
              Der ESPHome -Adapter ist nur ein Frontend für ESPHome.

              D 1 Reply Last reply Reply Quote 1
              • D
                Dieter_P @Wal last edited by Dieter_P

                @wal
                Danke. Verstanden. Ich wollte vermeiden direkt weiter im Ziel/Livesystem zu arbeiten und mittels einer virtuellen Maschine und Restore mittels Backitup mir eine Kopie zu erzeugen wie ich es schon mal gemacht hab.

                Egal, hab nun die 4 Befehle getestet und er hat esphome neu installiert und auch kompiliert:

                pi@iobroker:~ $ pip 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.3.1-py2.py3-n                                                                             one-any.whl (2.6 MB)
                     |████████████████████████████████| 2.6 MB 1.6 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 8.1 MB/s
                Requirement already satisfied: pyserial==3.5 in ./.local/lib/python3.9/site-pack                                                                             ages (from esphome) (3.5)
                Collecting zeroconf==0.47.3
                  Downloading zeroconf-0.47.3.tar.gz (60 kB)
                     |████████████████████████████████| 60 kB 2.0 MB/s
                  Installing build dependencies ... done
                  Getting requirements to build wheel ... done
                    Preparing wheel metadata ... done
                Collecting tzlocal==4.2
                  Downloading https://www.piwheels.org/simple/tzlocal/tzlocal-4.2-py3-none-any.w                                                                             hl (19 kB)
                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.5 MB/s
                Collecting kconfiglib==13.7.1
                  Downloading https://www.piwheels.org/simple/kconfiglib/kconfiglib-13.7.1-py2.p                                                                             y3-none-any.whl (145 kB)
                     |████████████████████████████████| 145 kB 1.6 MB/s
                Collecting aioesphomeapi==13.5.0
                  Downloading https://www.piwheels.org/simple/aioesphomeapi/aioesphomeapi-13.5.0                                                                             -py2.py3-none-any.whl (54 kB)
                     |████████████████████████████████| 54 kB 804 kB/s
                Requirement already satisfied: platformio==6.1.6 in ./.local/lib/python3.9/site-                                                                             packages (from esphome) (6.1.6)
                Requirement already satisfied: colorama==0.4.6 in ./.local/lib/python3.9/site-pa                                                                             ckages (from esphome) (0.4.6)
                Requirement already satisfied: click==8.1.3 in ./.local/lib/python3.9/site-packa                                                                             ges (from esphome) (8.1.3)
                Collecting esphome-dashboard==20230214.0
                  Downloading https://www.piwheels.org/simple/esphome-dashboard/esphome_dashboar                                                                             d-20230214.0-py3-none-any.whl (1.6 MB)
                     |████████████████████████████████| 1.6 MB 2.5 MB/s
                Collecting tornado==6.2
                  Downloading tornado-6.2-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64                                                                             .whl (424 kB)
                     |████████████████████████████████| 424 kB 8.4 MB/s
                Collecting voluptuous==0.13.1
                  Downloading https://www.piwheels.org/simple/voluptuous/voluptuous-0.13.1-py3-n                                                                             one-any.whl (35 kB)
                Collecting tzdata>=2021.1
                  Downloading https://www.piwheels.org/simple/tzdata/tzdata-2023.2-py2.py3-none-                                                                             any.whl (342 kB)
                     |████████████████████████████████| 342 kB 4.4 MB/s
                Collecting PyYAML==6.0
                  Downloading PyYAML-6.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.                                                                             whl (731 kB)
                     |████████████████████████████████| 731 kB 9.3 MB/s
                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 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 protobuf>=3.19.0
                  Downloading protobuf-4.22.1-cp37-abi3-manylinux2014_aarch64.whl (301 kB)
                     |████████████████████████████████| 301 kB 8.4 MB/s
                Collecting bitstring>=3.1.6
                  Downloading https://www.piwheels.org/simple/bitstring/bitstring-4.0.1-py3-none                                                                             -any.whl (45 kB)
                     |████████████████████████████████| 45 kB 696 kB/s
                Collecting ecdsa>=0.16.0
                  Downloading https://www.piwheels.org/simple/ecdsa/ecdsa-0.18.0-py2.py3-none-an                                                                             y.whl (142 kB)
                     |████████████████████████████████| 142 kB 3.7 MB/s
                Collecting cryptography>=2.1.4
                  Downloading cryptography-40.0.1-cp36-abi3-manylinux_2_28_aarch64.whl (3.5 MB)
                     |████████████████████████████████| 3.5 MB 8.0 MB/s
                Collecting reedsolo<=1.6.0,>=1.5.3
                  Downloading reedsolo-1.6.0.tar.gz (278 kB)
                     |████████████████████████████████| 278 kB 10.0 MB/s
                Requirement already satisfied: aiofiles==22.1.* in ./.local/lib/python3.9/site-p                                                                             ackages (from platformio==6.1.6->esphome) (22.1.0)
                Requirement already satisfied: starlette==0.23.* in ./.local/lib/python3.9/site-                                                                             packages (from platformio==6.1.6->esphome) (0.23.1)
                Requirement already satisfied: semantic-version==2.10.* in ./.local/lib/python3.                                                                             9/site-packages (from platformio==6.1.6->esphome) (2.10.0)
                Requirement already satisfied: bottle==0.12.* in ./.local/lib/python3.9/site-pac                                                                             kages (from platformio==6.1.6->esphome) (0.12.25)
                Requirement already satisfied: pyelftools<1,>=0.27 in ./.local/lib/python3.9/sit                                                                             e-packages (from platformio==6.1.6->esphome) (0.29)
                Requirement already satisfied: tabulate==0.9.* in ./.local/lib/python3.9/site-pa                                                                             ckages (from platformio==6.1.6->esphome) (0.9.0)
                Requirement already satisfied: ajsonrpc==1.* in ./.local/lib/python3.9/site-pack                                                                             ages (from platformio==6.1.6->esphome) (1.2.0)
                Requirement already satisfied: uvicorn==0.20.* in ./.local/lib/python3.9/site-pa                                                                             ckages (from platformio==6.1.6->esphome) (0.20.0)
                Requirement already satisfied: marshmallow==3.* in ./.local/lib/python3.9/site-p                                                                             ackages (from platformio==6.1.6->esphome) (3.19.0)
                Requirement already satisfied: wsproto==1.2.* in ./.local/lib/python3.9/site-pac                                                                             kages (from platformio==6.1.6->esphome) (1.2.0)
                Requirement already satisfied: requests==2.* in /usr/lib/python3/dist-packages (                                                                             from platformio==6.1.6->esphome) (2.25.1)
                Requirement already satisfied: packaging>=17.0 in ./.local/lib/python3.9/site-pa                                                                             ckages (from marshmallow==3.*->platformio==6.1.6->esphome) (23.0)
                Requirement already satisfied: typing-extensions>=3.10.0 in ./.local/lib/python3                                                                             .9/site-packages (from starlette==0.23.*->platformio==6.1.6->esphome) (4.5.0)
                Requirement already satisfied: anyio<5,>=3.4.0 in ./.local/lib/python3.9/site-pa                                                                             ckages (from starlette==0.23.*->platformio==6.1.6->esphome) (3.6.2)
                Collecting pytz-deprecation-shim
                  Downloading https://www.piwheels.org/simple/pytz-deprecation-shim/pytz_depreca                                                                             tion_shim-0.1.0.post0-py2.py3-none-any.whl (15 kB)
                Requirement already satisfied: h11>=0.8 in ./.local/lib/python3.9/site-packages                                                                              (from uvicorn==0.20.*->platformio==6.1.6->esphome) (0.14.0)
                Collecting ifaddr>=0.1.7
                  Downloading https://www.piwheels.org/simple/ifaddr/ifaddr-0.2.0-py3-none-any.w                                                                             hl (12 kB)
                Requirement already satisfied: sniffio>=1.1 in ./.local/lib/python3.9/site-packa                                                                             ges (from anyio<5,>=3.4.0->starlette==0.23.*->platformio==6.1.6->esphome) (1.3.0                                                                             )
                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 cffi>=1.12
                  Downloading cffi-1.15.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64                                                                             .whl (448 kB)
                     |████████████████████████████████| 448 kB 8.2 MB/s
                Collecting pycparser
                  Downloading https://www.piwheels.org/simple/pycparser/pycparser-2.21-py2.py3-n                                                                             one-any.whl (119 kB)
                     |████████████████████████████████| 119 kB 1.6 MB/s
                Requirement already satisfied: six>=1.9.0 in /usr/lib/python3/dist-packages (fro                                                                             m ecdsa>=0.16.0->esptool==4.5.1->esphome) (1.16.0)
                Building wheels for collected packages: zeroconf, reedsolo
                  Building wheel for zeroconf (PEP 517) ... done
                  Created wheel for zeroconf: filename=zeroconf-0.47.3-cp39-cp39-manylinux_2_31_                                                                             aarch64.whl size=2149144 sha256=b39b227d016cb3ccbe429d8e062abb7c814977dd90fbd5b1                                                                             2656e217f9ab02e0
                  Stored in directory: /home/pi/.cache/pip/wheels/87/78/46/5c2c165377f8d0cac0a33                                                                             adf73ad3c5eef8efc388574ea9f2e
                  Building wheel for reedsolo (setup.py) ... done
                  Created wheel for reedsolo: filename=reedsolo-1.6.0-py3-none-any.whl size=3103                                                                             6 sha256=cd04bc51e4a3f7b6b66a4e16aac0a768bb0725feb694fb24610ba1d2650ff33c
                  Stored in directory: /home/pi/.cache/pip/wheels/0a/69/f4/ff4c4b80781195a115015                                                                             f14b39ba1e708ef6a77a0fd5187fb
                Successfully built zeroconf reedsolo
                Installing collected packages: pycparser, cffi, tzdata, ifaddr, cryptography, as                                                                             ync-timeout, zeroconf, reedsolo, pytz-deprecation-shim, protobuf, noiseprotocol,                                                                              ecdsa, bitstring, voluptuous, tzlocal, tornado, PyYAML, paho-mqtt, kconfiglib,                                                                              esptool, esphome-dashboard, aioesphomeapi, esphome
                Successfully installed PyYAML-6.0 aioesphomeapi-13.5.0 async-timeout-4.0.2 bitst                                                                             ring-4.0.1 cffi-1.15.1 cryptography-40.0.1 ecdsa-0.18.0 esphome-2023.3.1 esphome                                                                             -dashboard-20230214.0 esptool-4.5.1 ifaddr-0.2.0 kconfiglib-13.7.1 noiseprotocol                                                                             -0.3.1 paho-mqtt-1.6.1 protobuf-4.22.1 pycparser-2.21 pytz-deprecation-shim-0.1.                                                                             0.post0 reedsolo-1.6.0 tornado-6.2 tzdata-2023.2 tzlocal-4.2 voluptuous-0.13.1 z                                                                             eroconf-0.47.3
                pi@iobroker:~ $ export PATH=$PATH:$HOME/.local/bin
                pi@iobroker:~ $ esphome version
                Version: 2023.3.1
                pi@iobroker:~ $ esphome wizard livingroom.yaml
                Hi there!
                I'm the wizard of ESPHome :)
                And I'm here to help you get started with ESPHome.
                In 4 steps I'm going to guide you through creating a basic configuration file fo                                                                             r your custom ESP8266/ESP32 firmware. Yay!
                
                
                
                ============= STEP 1 =============
                    _____ ____  _____  ______
                   / ____/ __ \|  __ \|  ____|
                  | |   | |  | | |__) | |__
                  | |   | |  | |  _  /|  __|
                  | |___| |__| | | \ \| |____
                   \_____\____/|_|  \_\______|
                
                ===================================
                First up, please choose a name for your node.
                It should be a unique name that can be used to identify the device later.
                For example, I like calling the node in my living room livingroom.
                
                (name): livingroom
                Great! Your node is now called "livingroom".
                
                
                ============= STEP 2 =============
                      ______  _____ _____
                     |  ____|/ ____|  __ \\
                     | |__  | (___ | |__) |
                     |  __|  \___ \|  ___/
                     | |____ ____) | |
                     |______|_____/|_|
                
                ===================================
                Now I'd like to know what microcontroller you're using so that I can compile fir                                                                             mwares for it.
                Are you using an ESP32 or ESP8266 platform? (Choose ESP8266 for Sonoff devices)
                
                Please enter either ESP32 or ESP8266.
                (ESP32/ESP8266): ESP32
                Thanks! You've chosen ESP32 as your platform.
                
                Next, I need to know what board you're using.
                Please go to http://docs.platformio.org/en/latest/platforms/espressif32.html#boa                                                                             rds and choose a board.
                (Type esp01_1m for Sonoff devices)
                
                For example "nodemcu-32s".
                Options: adafruit_qtpy_esp32, adafruit_qtpy_esp32c3, adafruit_qtpy_esp32s2, alks                                                                             esp32, az-delivery-devkit-v4, bpi-bit, briki_abc_esp32, briki_mbc-wb_esp32, d-du                                                                             ino-32, esp-wrover-kit, esp32-devkitlipo, esp32-evb, esp32-gateway, esp32-poe, e                                                                             sp32-poe-iso, esp32-pro, esp320, esp32cam, esp32dev, esp32doit-devkit-v1, esp32d                                                                             oit-espduino, esp32thing, esp32thing_plus, esp32vn-iot-uno, espea32, espectro32,                                                                              espino32, etboard, featheresp32, featheresp32-s2, firebeetle32, fm-devkit, frog                                                                             board, healtypi4, heltec_wifi_kit_32, heltec_wifi_kit_32_v2, heltec_wifi_lora_32                                                                             , heltec_wifi_lora_32_V2, heltec_wireless_stick, heltec_wireless_stick_lite, hon                                                                             eylemon, hornbill32dev, hornbill32minima, imbrios-logsens-v1p1, inex_openkb, int                                                                             orobot, iotaap_magnolia, iotbusio, iotbusproteus, kits-edu, labplus_mpython, lol                                                                             in32, lolin32_lite, lolin_c3_mini, lolin_d32, lolin_d32_pro, lolin_s2_mini, lopy                                                                             , lopy4, m5stack-atom, m5stack-core-esp32, m5stack-core2, m5stack-coreink, m5sta                                                                             ck-fire, m5stack-grey, m5stack-timer-cam, m5stick-c, magicbit, mgbot-iotik32a, m                                                                             gbot-iotik32b, mhetesp32devkit, mhetesp32minikit, microduino-core-esp32, nano32,                                                                              nina_w10, node32s, nodemcu-32s, nscreen-32, odroid_esp32, onehorse32dev, oroca_                                                                             edubot, pico32, piranha_esp32, pocket_32, pycom_gpy, qchip, quantum, s_odi_ultra                                                                             , sensesiot_weizen, sg-o_airMon, sparkfun_lora_gateway_1-channel, tinypico, ttgo                                                                             -lora32-v1, ttgo-lora32-v2, ttgo-lora32-v21, ttgo-t-beam, ttgo-t-watch, ttgo-t1,                                                                              ttgo-t7-v13-mini32, ttgo-t7-v14-mini32, turta_iot_node, upesy_wroom, upesy_wrov                                                                             er, vintlabs-devkit-v1, wemos_d1_mini32, wemosbat, wesp32, widora-air, wifiduino                                                                             32, xinabox_cw02
                (board): m5stack-atom
                Way to go! You've chosen m5stack-atom as your board.
                
                
                
                ============= STEP 3 =============
                   __          ___ ______ _
                   \ \        / (_)  ____(_)
                    \ \  /\  / / _| |__   _
                     \ \/  \/ / | |  __| | |
                      \  /\  /  | | |    | |
                       \/  \/   |_|_|    |_|
                
                ===================================
                In this step, I'm going to create the configuration for WiFi.
                
                First, what's the SSID (the name) of the WiFi network livingroom should connect to?
                For example "Abraham Linksys".
                (ssid): WifiSSID
                Thank you very much! You've just chosen "Finger Weg" as your SSID.
                
                Now please state the password of the WiFi network so that I can connect to it (Leave empty for no password)
                
                For example "PASSWORD42"
                (PSK): Password42
                Perfect! WiFi is now set up (you can create static IPs and so on later).
                
                
                ============= STEP 4 =============
                       ____ _______
                      / __ \__   __|/\\
                     | |  | | | |  /  \\
                     | |  | | | | / /\ \\
                     | |__| | | |/ ____ \\
                      \____/  |_/_/    \_\\
                
                ===================================
                Almost there! ESPHome can automatically upload custom firmwares over WiFi (over the air) and integrates into Home Assistant with a native API.
                This can be insecure if you do not trust the WiFi network. Do you want to set a password for connecting to this ESP?
                
                Press ENTER for no password
                (password):
                
                DONE! I've now written a new configuration file to livingroom.yaml
                
                Next steps:
                  > Follow the rest of the getting started guide:
                  > https://esphome.io/guides/getting_started_command_line.html#adding-some-features
                  > to learn how to customize ESPHome and install it to your device.
                pi@iobroker:~ $ esphome run livingroom.yaml
                INFO Reading configuration livingroom.yaml...
                INFO Generating C++ source...
                INFO Core config or version changed, cleaning build files...
                INFO Compiling app...
                *************************************************************************************************************************************************************
                If you like PlatformIO, please:
                - follow us on Twitter to stay up-to-date on the latest project news > https://twitter.com/PlatformIO_Org
                - star it on GitHub > https://github.com/platformio/platformio
                - try PlatformIO IDE for embedded development > https://platformio.org/platformio-ide
                *************************************************************************************************************************************************************
                
                Processing livingroom (board: m5stack-atom; framework: arduino; platform: platformio/espressif32 @ 5.2.0)
                -------------------------------------------------------------------------------------------------------------------------------------------------------------
                Platform Manager: Installing platformio/espressif32 @ 5.2.0
                INFO Installing platformio/espressif32 @ 5.2.0
                Downloading  [####################################]  100%
                Unpacking  [####################################]  100%
                Platform Manager: espressif32@5.2.0 has been installed!
                INFO espressif32@5.2.0 has been installed!
                Tool Manager: Installing espressif/toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch3
                INFO Installing espressif/toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch3
                Downloading  [####################################]  100%
                Unpacking  [####################################]  100%
                Tool Manager: toolchain-xtensa-esp32@8.4.0+2021r2-patch3 has been installed!
                INFO toolchain-xtensa-esp32@8.4.0+2021r2-patch3 has been installed!
                Tool Manager: Installing platformio/framework-arduinoespressif32 @ ~3.20005.0
                INFO Installing platformio/framework-arduinoespressif32 @ ~3.20005.0
                Downloading  [####################################]  100%
                Unpacking  [####################################]  100%
                Tool Manager: framework-arduinoespressif32@3.20005.220925 has been installed!
                INFO framework-arduinoespressif32@3.20005.220925 has been installed!
                Tool Manager: Installing platformio/tool-esptoolpy @ ~1.40201.0
                INFO Installing platformio/tool-esptoolpy @ ~1.40201.0
                Downloading  [####################################]  100%
                Unpacking  [####################################]  100%
                Tool Manager: tool-esptoolpy@1.40201.0 has been installed!
                INFO tool-esptoolpy@1.40201.0 has been installed!
                Library Manager: Installing esphome/AsyncTCP-esphome @ 1.2.2
                INFO Installing esphome/AsyncTCP-esphome @ 1.2.2
                Downloading  [####################################]  100%
                Unpacking  [####################################]  100%
                Library Manager: AsyncTCP-esphome@1.2.2 has been installed!
                INFO AsyncTCP-esphome@1.2.2 has been installed!
                Library Manager: Installing esphome/ESPAsyncWebServer-esphome @ 2.1.0
                INFO Installing esphome/ESPAsyncWebServer-esphome @ 2.1.0
                Downloading  [####################################]  100%
                Unpacking  [####################################]  100%
                Library Manager: ESPAsyncWebServer-esphome@2.1.0 has been installed!
                INFO ESPAsyncWebServer-esphome@2.1.0 has been installed!
                Library Manager: Resolving dependencies...
                INFO Resolving dependencies...
                Tool Manager: Installing platformio/tool-scons @ ~4.40400.0
                INFO Installing platformio/tool-scons @ ~4.40400.0
                Downloading  [####################################]  100%
                Unpacking  [####################################]  100%
                Tool Manager: tool-scons@4.40400.0 has been installed!
                INFO tool-scons@4.40400.0 has been installed!
                HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
                 - toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch3
                LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
                Dependency Graph
                |-- AsyncTCP-esphome @ 1.2.2
                |-- WiFi @ 2.0.0
                |-- FS @ 2.0.0
                |-- Update @ 2.0.0
                |-- ESPAsyncWebServer-esphome @ 2.1.0
                |   |-- AsyncTCP-esphome @ 1.2.2
                |-- DNSServer @ 2.0.0
                |-- ESPmDNS @ 2.0.0
                Compiling .pioenvs/livingroom/src/esphome/components/api/api_connection.cpp.o
                Compiling .pioenvs/livingroom/src/esphome/components/api/api_frame_helper.cpp.o
                Compiling .pioenvs/livingroom/src/esphome/components/api/api_pb2.cpp.o
                Compiling .pioenvs/livingroom/src/esphome/components/api/api_pb2_service.cpp.o
                Compiling .pioenvs/livingroom/src/esphome/components/api/api_server.cpp.o
                Compiling .pioenvs/livingroom/src/esphome/components/api/list_entities.cpp.o
                Compiling .pioenvs/livingroom/src/esphome/components/api/proto.cpp.o
                Compiling .pioenvs/livingroom/src/esphome/components/api/subscribe_state.cpp.o
                Compiling .pioenvs/livingroom/src/esphome/components/api/user_services.cpp.o
                Compiling .pioenvs/livingroom/src/esphome/components/captive_portal/captive_portal.cpp.o
                Compiling .pioenvs/livingroom/src/esphome/components/esp32/core.cpp.o
                Compiling .pioenvs/livingroom/src/esphome/components/esp32/gpio.cpp.o
                Compiling .pioenvs/livingroom/src/esphome/components/esp32/preferences.cpp.o
                Compiling .pioenvs/livingroom/src/esphome/components/logger/logger.cpp.o
                Compiling .pioenvs/livingroom/src/esphome/components/md5/md5.cpp.o
                Compiling .pioenvs/livingroom/src/esphome/components/mdns/mdns_component.cpp.o
                Compiling .pioenvs/livingroom/src/esphome/components/mdns/mdns_esp32.cpp.o
                Compiling .pioenvs/livingroom/src/esphome/components/mdns/mdns_esp8266.cpp.o
                Compiling .pioenvs/livingroom/src/esphome/components/mdns/mdns_rp2040.cpp.o
                Compiling .pioenvs/livingroom/src/esphome/components/network/util.cpp.o
                Compiling .pioenvs/livingroom/src/esphome/components/ota/ota_backend_arduino_esp32.cpp.o
                Compiling .pioenvs/livingroom/src/esphome/components/ota/ota_backend_arduino_esp8266.cpp.o
                Compiling .pioenvs/livingroom/src/esphome/components/ota/ota_backend_arduino_rp2040.cpp.o
                Compiling .pioenvs/livingroom/src/esphome/components/ota/ota_backend_esp_idf.cpp.o
                Compiling .pioenvs/livingroom/src/esphome/components/ota/ota_component.cpp.o
                Compiling .pioenvs/livingroom/src/esphome/components/socket/bsd_sockets_impl.cpp.o
                Compiling .pioenvs/livingroom/src/esphome/components/socket/lwip_raw_tcp_impl.cpp.o
                Compiling .pioenvs/livingroom/src/esphome/components/socket/socket.cpp.o
                Compiling .pioenvs/livingroom/src/esphome/components/web_server_base/web_server_base.cpp.o
                Compiling .pioenvs/livingroom/src/esphome/components/wifi/wifi_component.cpp.o
                Compiling .pioenvs/livingroom/src/esphome/components/wifi/wifi_component_esp32_arduino.cpp.o
                Compiling .pioenvs/livingroom/src/esphome/components/wifi/wifi_component_esp8266.cpp.o
                Compiling .pioenvs/livingroom/src/esphome/components/wifi/wifi_component_esp_idf.cpp.o
                Compiling .pioenvs/livingroom/src/esphome/components/wifi/wifi_component_pico_w.cpp.o
                Compiling .pioenvs/livingroom/src/esphome/core/application.cpp.o
                Compiling .pioenvs/livingroom/src/esphome/core/color.cpp.o
                Compiling .pioenvs/livingroom/src/esphome/core/component.cpp.o
                Compiling .pioenvs/livingroom/src/esphome/core/component_iterator.cpp.o
                Compiling .pioenvs/livingroom/src/esphome/core/controller.cpp.o
                Compiling .pioenvs/livingroom/src/esphome/core/entity_base.cpp.o
                Compiling .pioenvs/livingroom/src/esphome/core/helpers.cpp.o
                Compiling .pioenvs/livingroom/src/esphome/core/log.cpp.o
                Compiling .pioenvs/livingroom/src/esphome/core/scheduler.cpp.o
                Compiling .pioenvs/livingroom/src/esphome/core/util.cpp.o
                Compiling .pioenvs/livingroom/src/main.cpp.o
                Building .pioenvs/livingroom/bootloader.bin
                Creating esp32 image...
                Successfully created esp32 image.
                Generating partitions .pioenvs/livingroom/partitions.bin
                Compiling .pioenvs/livingroom/lib583/AsyncTCP-esphome/AsyncTCP.cpp.o
                Compiling .pioenvs/livingroom/libd94/WiFi/WiFi.cpp.o
                Compiling .pioenvs/livingroom/libd94/WiFi/WiFiAP.cpp.o
                Compiling .pioenvs/livingroom/libd94/WiFi/WiFiClient.cpp.o
                Compiling .pioenvs/livingroom/libd94/WiFi/WiFiGeneric.cpp.o
                Archiving .pioenvs/livingroom/lib583/libAsyncTCP-esphome.a
                Indexing .pioenvs/livingroom/lib583/libAsyncTCP-esphome.a
                Compiling .pioenvs/livingroom/libd94/WiFi/WiFiMulti.cpp.o
                Compiling .pioenvs/livingroom/libd94/WiFi/WiFiSTA.cpp.o
                Compiling .pioenvs/livingroom/libd94/WiFi/WiFiScan.cpp.o
                Compiling .pioenvs/livingroom/libd94/WiFi/WiFiServer.cpp.o
                Compiling .pioenvs/livingroom/libd94/WiFi/WiFiUdp.cpp.o
                Compiling .pioenvs/livingroom/lib1e0/FS/FS.cpp.o
                Compiling .pioenvs/livingroom/lib1e0/FS/vfs_api.cpp.o
                Compiling .pioenvs/livingroom/lib155/Update/HttpsOTAUpdate.cpp.o
                Archiving .pioenvs/livingroom/libd94/libWiFi.a
                Indexing .pioenvs/livingroom/libd94/libWiFi.a
                Compiling .pioenvs/livingroom/lib155/Update/Updater.cpp.o
                Compiling .pioenvs/livingroom/lib5f0/ESPAsyncWebServer-esphome/AsyncEventSource.cpp.o
                Compiling .pioenvs/livingroom/lib5f0/ESPAsyncWebServer-esphome/AsyncWebSocket.cpp.o
                Archiving .pioenvs/livingroom/lib1e0/libFS.a
                Indexing .pioenvs/livingroom/lib1e0/libFS.a
                Compiling .pioenvs/livingroom/lib5f0/ESPAsyncWebServer-esphome/WebAuthentication.cpp.o
                Archiving .pioenvs/livingroom/lib155/libUpdate.a
                Indexing .pioenvs/livingroom/lib155/libUpdate.a
                Compiling .pioenvs/livingroom/lib5f0/ESPAsyncWebServer-esphome/WebHandlers.cpp.o
                Compiling .pioenvs/livingroom/lib5f0/ESPAsyncWebServer-esphome/WebRequest.cpp.o
                Compiling .pioenvs/livingroom/lib5f0/ESPAsyncWebServer-esphome/WebResponses.cpp.o
                Compiling .pioenvs/livingroom/lib5f0/ESPAsyncWebServer-esphome/WebServer.cpp.o
                Compiling .pioenvs/livingroom/lib83c/DNSServer/DNSServer.cpp.o
                Compiling .pioenvs/livingroom/liba62/ESPmDNS/ESPmDNS.cpp.o
                Archiving .pioenvs/livingroom/lib5f0/libESPAsyncWebServer-esphome.a
                Archiving .pioenvs/livingroom/lib83c/libDNSServer.a
                Indexing .pioenvs/livingroom/lib5f0/libESPAsyncWebServer-esphome.a
                Indexing .pioenvs/livingroom/lib83c/libDNSServer.a
                Compiling .pioenvs/livingroom/FrameworkArduino/Esp.cpp.o
                Compiling .pioenvs/livingroom/FrameworkArduino/FirmwareMSC.cpp.o
                Compiling .pioenvs/livingroom/FrameworkArduino/FunctionalInterrupt.cpp.o
                Compiling .pioenvs/livingroom/FrameworkArduino/HWCDC.cpp.o
                Compiling .pioenvs/livingroom/FrameworkArduino/HardwareSerial.cpp.o
                Archiving .pioenvs/livingroom/liba62/libESPmDNS.a
                Indexing .pioenvs/livingroom/liba62/libESPmDNS.a
                Compiling .pioenvs/livingroom/FrameworkArduino/IPAddress.cpp.o
                Compiling .pioenvs/livingroom/FrameworkArduino/IPv6Address.cpp.o
                Compiling .pioenvs/livingroom/FrameworkArduino/MD5Builder.cpp.o
                Compiling .pioenvs/livingroom/FrameworkArduino/Print.cpp.o
                Compiling .pioenvs/livingroom/FrameworkArduino/Stream.cpp.o
                Compiling .pioenvs/livingroom/FrameworkArduino/StreamString.cpp.o
                Compiling .pioenvs/livingroom/FrameworkArduino/Tone.cpp.o
                Compiling .pioenvs/livingroom/FrameworkArduino/USB.cpp.o
                Compiling .pioenvs/livingroom/FrameworkArduino/USBCDC.cpp.o
                Compiling .pioenvs/livingroom/FrameworkArduino/USBMSC.cpp.o
                Compiling .pioenvs/livingroom/FrameworkArduino/WMath.cpp.o
                Compiling .pioenvs/livingroom/FrameworkArduino/WString.cpp.o
                Compiling .pioenvs/livingroom/FrameworkArduino/base64.cpp.o
                Compiling .pioenvs/livingroom/FrameworkArduino/cbuf.cpp.o
                Compiling .pioenvs/livingroom/FrameworkArduino/esp32-hal-adc.c.o
                Compiling .pioenvs/livingroom/FrameworkArduino/esp32-hal-bt.c.o
                Compiling .pioenvs/livingroom/FrameworkArduino/esp32-hal-cpu.c.o
                Compiling .pioenvs/livingroom/FrameworkArduino/esp32-hal-dac.c.o
                Compiling .pioenvs/livingroom/FrameworkArduino/esp32-hal-gpio.c.o
                Compiling .pioenvs/livingroom/FrameworkArduino/esp32-hal-i2c-slave.c.o
                Compiling .pioenvs/livingroom/FrameworkArduino/esp32-hal-i2c.c.o
                Compiling .pioenvs/livingroom/FrameworkArduino/esp32-hal-ledc.c.o
                Compiling .pioenvs/livingroom/FrameworkArduino/esp32-hal-matrix.c.o
                Compiling .pioenvs/livingroom/FrameworkArduino/esp32-hal-misc.c.o
                Compiling .pioenvs/livingroom/FrameworkArduino/esp32-hal-psram.c.o
                Compiling .pioenvs/livingroom/FrameworkArduino/esp32-hal-rgb-led.c.o
                Compiling .pioenvs/livingroom/FrameworkArduino/esp32-hal-rmt.c.o
                Compiling .pioenvs/livingroom/FrameworkArduino/esp32-hal-sigmadelta.c.o
                Compiling .pioenvs/livingroom/FrameworkArduino/esp32-hal-spi.c.o
                Compiling .pioenvs/livingroom/FrameworkArduino/esp32-hal-time.c.o
                Compiling .pioenvs/livingroom/FrameworkArduino/esp32-hal-timer.c.o
                Compiling .pioenvs/livingroom/FrameworkArduino/esp32-hal-tinyusb.c.o
                Compiling .pioenvs/livingroom/FrameworkArduino/esp32-hal-touch.c.o
                Compiling .pioenvs/livingroom/FrameworkArduino/esp32-hal-uart.c.o
                Compiling .pioenvs/livingroom/FrameworkArduino/firmware_msc_fat.c.o
                Compiling .pioenvs/livingroom/FrameworkArduino/libb64/cdecode.c.o
                Compiling .pioenvs/livingroom/FrameworkArduino/libb64/cencode.c.o
                Compiling .pioenvs/livingroom/FrameworkArduino/main.cpp.o
                Compiling .pioenvs/livingroom/FrameworkArduino/stdlib_noniso.c.o
                Compiling .pioenvs/livingroom/FrameworkArduino/wiring_pulse.c.o
                Compiling .pioenvs/livingroom/FrameworkArduino/wiring_shift.c.o
                Archiving .pioenvs/livingroom/libFrameworkArduino.a
                Indexing .pioenvs/livingroom/libFrameworkArduino.a
                Linking .pioenvs/livingroom/firmware.elf
                RAM:   [=         ]  12.4% (used 40512 bytes from 327680 bytes)
                Flash: [=====     ]  45.2% (used 829753 bytes from 1835008 bytes)
                Building .pioenvs/livingroom/firmware.bin
                Creating esp32 image...
                Successfully created esp32 image.
                esp32_create_combined_bin([".pioenvs/livingroom/firmware.bin"], [".pioenvs/livingroom/firmware.elf"])
                Wrote 0xdbfc0 bytes to file /home/pi/.esphome/build/livingroom/.pioenvs/livingroom/firmware-factory.bin, ready to flash to offset 0x0
                =============================================================== [SUCCESS] Took 469.96 seconds ===============================================================
                INFO Successfully compiled program.
                Found multiple options, please choose one:
                  [1] /dev/ttyUSB0 (USB Serial)
                  [2] Over The Air (livingroom.local)
                (number): 2
                INFO Resolving IP address of livingroom.local
                ERROR Error resolving IP address of livingroom.local. Is it connected to WiFi?
                ERROR (If this error persists, please set a static IP address: https://esphome.io/components/wifi.html#manual-ips)
                ERROR Error resolving IP address: Error resolving address with mDNS: Did not respond. Maybe the device is offline., [Errno -2] Name or service not known
                pi@iobroker:~ $
                
                
                

                Der Unterbau scheint zu funktionieren. Wechsel ich wieder in den Adapter schlägt eine Kompilierung weiter fehl:

                INFO Reading configuration /opt/iobroker/iobroker-data/esphome.0/esphome-web-9fb8e8.yaml...
                INFO Generating C++ source...
                INFO Compiling app...
                Processing esp32-flur (board: m5stack-core-esp32; framework: arduino; platform: platformio/espressif32 @ 5.2.0)
                --------------------------------------------------------------------------------
                HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
                 - toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch3
                LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
                Dependency Graph
                |-- AsyncTCP-esphome @ 1.2.2
                |-- WiFi @ 2.0.0
                |-- FS @ 2.0.0
                |-- Update @ 2.0.0
                |-- ESPAsyncWebServer-esphome @ 2.1.0
                |   |-- AsyncTCP-esphome @ 1.2.2
                |-- DNSServer @ 2.0.0
                |-- ESPmDNS @ 2.0.0
                |-- ArduinoJson @ 6.18.5
                |-- FastLED @ 3.3.2
                Compiling .pioenvs/esp32-flur/libe2e/FastLED/FastLED.cpp.o
                Compiling .pioenvs/esp32-flur/libe2e/FastLED/bitswap.cpp.o
                Compiling .pioenvs/esp32-flur/libe2e/FastLED/colorpalettes.cpp.o
                In file included from .piolibdeps/esp32-flur/FastLED/led_sysdefs.h:48,
                                 from .piolibdeps/esp32-flur/FastLED/FastLED.h:41,
                                 from .piolibdeps/esp32-flur/FastLED/FastLED.cpp:2:
                /home/iobroker/.platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:32:10: fatal error: esp_arduino_version.h: No such file or directory
                
                *****************************************************************************
                * Looking for esp_arduino_version.h dependency? Check our library registry!
                *
                * CLI  > platformio lib search "header:esp_arduino_version.h"
                * Web  > https://registry.platformio.org/search?q=header:esp_arduino_version.h
                *
                *****************************************************************************
                
                 #include "esp_arduino_version.h"
                          ^~~~~~~~~~~~~~~~~~~~~~~
                compilation terminated.
                *** [.pioenvs/esp32-flur/libe2e/FastLED/FastLED.cpp.o] Error 1
                Compiling .pioenvs/esp32-flur/libe2e/FastLED/colorutils.cpp.o
                In file included from .piolibdeps/esp32-flur/FastLED/led_sysdefs.h:48,
                                 from .piolibdeps/esp32-flur/FastLED/FastLED.h:41,
                                 from .piolibdeps/esp32-flur/FastLED/bitswap.cpp:2:
                /home/iobroker/.platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:32:10: fatal error: esp_arduino_version.h: No such file or directory
                
                *****************************************************************************
                * Looking for esp_arduino_version.h dependency? Check our library registry!
                *
                * CLI  > platformio lib search "header:esp_arduino_version.h"
                * Web  > https://registry.platformio.org/search?q=header:esp_arduino_version.h
                *
                *****************************************************************************
                
                 #include "esp_arduino_version.h"
                          ^~~~~~~~~~~~~~~~~~~~~~~
                compilation terminated.
                *** [.pioenvs/esp32-flur/libe2e/FastLED/bitswap.cpp.o] Error 1
                In file included from .piolibdeps/esp32-flur/FastLED/led_sysdefs.h:48,
                                 from .piolibdeps/esp32-flur/FastLED/FastLED.h:41,
                                 from .piolibdeps/esp32-flur/FastLED/colorpalettes.cpp:4:
                /home/iobroker/.platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:32:10: fatal error: esp_arduino_version.h: No such file or directory
                
                *****************************************************************************
                * Looking for esp_arduino_version.h dependency? Check our library registry!
                *
                * CLI  > platformio lib search "header:esp_arduino_version.h"
                * Web  > https://registry.platformio.org/search?q=header:esp_arduino_version.h
                *
                *****************************************************************************
                
                 #include "esp_arduino_version.h"
                          ^~~~~~~~~~~~~~~~~~~~~~~
                compilation terminated.
                *** [.pioenvs/esp32-flur/libe2e/FastLED/colorpalettes.cpp.o] Error 1
                In file included from .piolibdeps/esp32-flur/FastLED/led_sysdefs.h:48,
                                 from .piolibdeps/esp32-flur/FastLED/FastLED.h:41,
                                 from .piolibdeps/esp32-flur/FastLED/colorutils.cpp:7:
                /home/iobroker/.platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:32:10: fatal error: esp_arduino_version.h: No such file or directory
                
                *****************************************************************************
                * Looking for esp_arduino_version.h dependency? Check our library registry!
                *
                * CLI  > platformio lib search "header:esp_arduino_version.h"
                * Web  > https://registry.platformio.org/search?q=header:esp_arduino_version.h
                *
                *****************************************************************************
                
                 #include "esp_arduino_version.h"
                          ^~~~~~~~~~~~~~~~~~~~~~~
                compilation terminated.
                *** [.pioenvs/esp32-flur/libe2e/FastLED/colorutils.cpp.o] Error 1
                ========================== [FAILED] Took 4.81 seconds ==========================
                
                Wal Thomas Braun 2 Replies Last reply Reply Quote 0
                • Wal
                  Wal Developer @Dieter_P last edited by Wal

                  @dieter_p ,
                  da sind wir also weiter, es liegt am Adapter. 😉

                  Edit: Stop!!! Du musst den Export Path noch dauerhaft machen.

                  echo 'export PATH=$PATH:$HOME/.local/bin' >> $HOME/.bashrc
                  

                  und danach neu starten.

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

                    @dieter_p

                    Hast du auch das virtu environment für esphome angelegt?

                    python3 -m venv venv
                    source venv/bin/activate
                    

                    Some people install ESPHome without the virtual environment, which can lead to issues with PATHs etc. Non virtual environment installations are considered not “supported” as people end up having to know your exact system setup.

                    Wal 1 Reply Last reply Reply Quote 0
                    • Wal
                      Wal Developer @Thomas Braun last edited by

                      @thomas-braun ,
                      upps hatte ich auch glatt übersehen, das war bei mir durch den Tasmocompiler schon vorhanden.

                      D 1 Reply Last reply Reply Quote 0
                      • D
                        Dieter_P @Wal last edited by

                        @wal @Thomas-Braun

                        Das erzeugt bei mir einen Fehler bzw. ist nicht installiert:

                        pi@iobroker:~ $ python3 -m venv venv
                        The virtual environment was not created successfully because ensurepip is not
                        available.  On Debian/Ubuntu systems, you need to install the python3-venv
                        package using the following command.
                        
                            apt-get install python3-venv
                        
                        You may need to use sudo with that command.  After installing the python3-venv
                        package, recreate your virtual environment.
                        
                        Failing command: ['/home/pi/venv/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']
                        
                        pi@iobroker:~ $
                        
                        
                        D Thomas Braun 2 Replies Last reply Reply Quote 0
                        • D
                          Dieter_P @Dieter_P last edited by

                          nun scheint es nach installation ok:

                          
                          pi@iobroker:~ $ python3 -m venv venv
                          source venv/bin/activate
                          (venv) pi@iobroker:~ $
                          
                          
                          Wal Thomas Braun 2 Replies Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @Dieter_P last edited by

                            @dieter_p sagte in ESPHome: Reinstallation aber wie?:

                            Das erzeugt bei mir einen Fehler bzw. ist nicht installiert:

                            Dann installier es.

                            Ich würde wohl auch

                            sudo apt install python3-full python3-venv
                            

                            installieren.

                            1 Reply Last reply Reply Quote 0
                            • Wal
                              Wal Developer @Dieter_P last edited by

                              @dieter_p ,
                              du wirst aber ESPHome in der virt. Umgebung neu installieren müssen.

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

                                @dieter_p

                                Ich hätte das ja in ein em eigenen Verzeichnis gemacht...

                                1 Reply Last reply Reply Quote 0
                                • D
                                  Dieter_P @Wal last edited by

                                  @wal ok, versuche es mit pip wie du es oben gezeigt hast hast nur in der virtuellen Umgebung

                                  Wal Thomas Braun 2 Replies Last reply Reply Quote 0
                                  • Wal
                                    Wal Developer @Dieter_P last edited by Wal

                                    @dieter_p sagte in ESPHome: Reinstallation aber wie?:

                                    @wal ok, versuche es mit pip wie du es oben gezeigt hast hast nur in der virtuellen Umgebung

                                    Gehe doch einfach die Anleitung auf ESPHome durch.
                                    ESPHome

                                    danach die CLI-Anleitung

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

                                      @dieter_p

                                      echad@chet:~ $ mkdir esphome
                                      echad@chet:~ $ cd esphome/
                                      echad@chet:~/esphome $ python3 -m venv venv
                                      echad@chet:~/esphome $ source venv/bin/activate
                                      (venv) echad@chet:~/esphome $ pip3 install esphome
                                      

                                      Man beachte das (venv) im login prompt.

                                      Wal D 2 Replies Last reply Reply Quote 0
                                      • Wal
                                        Wal Developer @Thomas Braun last edited by

                                        @thomas-braun ,
                                        hält die virt, Umgebung einem reboot stand ? Habe da noch keine großen Aktien drin.

                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • D
                                          Dieter_P @Thomas Braun last edited by

                                          @thomas-braun said in ESPHome: Reinstallation aber wie?:

                                          @dieter_p

                                          echad@chet:~ $ mkdir esphome
                                          echad@chet:~ $ cd esphome/
                                          echad@chet:~/esphome $ python3 -m venv venv
                                          echad@chet:~/esphome $ source venv/bin/activate
                                          (venv) echad@chet:~/esphome $ pip3 install esphome
                                          

                                          Man beachte das (venv) im login prompt.

                                          Danke. Ist das Verständnis korreckt, dass Du in der virtuellen Umgebung einen Ordner "esphome" zur Installation vorsiehst, ich es nun aber einfach ins "root"-Verzeichnis installiert hab?

                                          pi@iobroker:~ $ python3 --version
                                          Python 3.9.2
                                          pi@iobroker:~ $ python3 -m venv venv
                                          pi@iobroker:~ $ source venv/bin/activate
                                          (venv) pi@iobroker:~ $ pip3 install esphome
                                          
                                          
                                          Wal Thomas Braun 3 Replies Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @Wal last edited by

                                            @wal sagte in ESPHome: Reinstallation aber wie?:

                                            hält die virt, Umgebung einem reboot stand ? Habe da noch keine großen Aktien drin.

                                            Ich auch nicht. Hab das gerade zum ersten mal installiert...

                                            Alternativ geht es wohl auch mit

                                            echad@chet:~/esphome $ pipx install esphome
                                              installed package esphome 2023.3.1, installed using Python 3.11.2
                                              These apps are now globally available
                                                - esphome
                                            done! ✨ 🌟 ✨
                                            echad@chet:~/esphome $ esp
                                            espefuse   esphome    espsecure  esptool
                                            echad@chet:~/esphome $ esphome
                                            
                                            1 Reply Last reply Reply Quote 2
                                            • First post
                                              Last post

                                            Support us

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

                                            973
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            esp32 esphome m5stack
                                            8
                                            137
                                            8843
                                            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