Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. [ESPHome] Beta release 0.5.0-beta.1 ready

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [ESPHome] Beta release 0.5.0-beta.1 ready

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

      Am besten schaut ihr euch eure Installation an.
      Hier läuft mal wieder alles tutti...

      echad@chet:~ $ iob url https://github.com/DrozmotiX/ioBroker.esphome --host chet --debug
      install DrozmotiX/ioBroker.esphome#6b97f67d1d1ce6af3a0e598ba77eec8f570a0854
      NPM version: 10.2.4
      Installing DrozmotiX/ioBroker.esphome#6b97f67d1d1ce6af3a0e598ba77eec8f570a0854... (System call)
      npm WARN skipping integrity check for git dependency ssh://git@github.com/DrozmotiX/ioBroker.esphome.git
      
      added 97 packages in 24s
      
      114 packages are looking for funding
        run `npm fund` for details
      upload [21] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/admin.d.ts admin.d.ts video/mp2t
      upload [20] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/esphome.png esphome.png image/png
      upload [19] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/i18n/de/translations.json i18n/de/translations.json application/json
      upload [18] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/i18n/en/translations.json i18n/en/translations.json application/json
      upload [17] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/i18n/es/translations.json i18n/es/translations.json application/json
      upload [16] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/i18n/fr/translations.json i18n/fr/translations.json application/json
      upload [15] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/i18n/it/translations.json i18n/it/translations.json application/json
      upload [14] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/i18n/nl/translations.json i18n/nl/translations.json application/json
      upload [13] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/i18n/pl/translations.json i18n/pl/translations.json application/json
      upload [12] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/i18n/pt/translations.json i18n/pt/translations.json application/json
      upload [11] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/i18n/ru/translations.json i18n/ru/translations.json application/json
      upload [10] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json
      upload [9] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/img/ESPhomeDashboardIP.png img/ESPhomeDashboardIP.png image/png
      upload [8] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/img/connectionIssue.png img/connectionIssue.png image/png
      upload [7] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/img/connectionOK.png img/connectionOK.png image/png
      upload [6] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/img/dashboard.png img/dashboard.png image/png
      upload [5] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/img/deviceTabEmpty.png img/deviceTabEmpty.png image/png
      upload [4] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/img/deviceTree.png img/deviceTree.png image/png
      upload [3] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/index_m.html index_m.html text/html
      upload [2] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/jsonConfig.json5 jsonConfig.json5 application/json5
      upload [1] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/style.css style.css text/css
      upload [0] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/words.js words.js application/javascript
      
      echad@chet:~ $ iobroker add esphome auto --host chet --debug
      host.chet object system.adapter.esphome.0.cpu created
      host.chet object system.adapter.esphome.0 created
      Process exited with code 0
      

      Benötigte python Versionen:
      285f7cb2-cd05-417f-9aa3-a41b9151ffdf-image.png

      Hier bei mir:

      echad@chet:/opt/iobroker $ python --version
      Python 3.12.1
      
      X 1 Reply Last reply Reply Quote 0
      • X
        xdelta @Thomas Braun last edited by xdelta

        @thomas-braun

        Das "Problem" betrifft nur das Pillow Package. Die Fehlermeldung dazu tritt nur dann auf, wenn man Displays mit lokal eingebundenen Fonts einbindet.

        Hast du ein Display mit lokalen fonts am laufen? Ansonsten siehst du auch den Fehler des Pillow Pakets nicht (YAML...)

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

          @xdelta

          Nein, habe ich zugegebenermaßen nicht.

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

            @thomas-braun das ganze war eigentlich auch mal dynmisch auf immer die neuste Version, kein plan warum es hier geändert / auf eine Version fixiert wurde: https://github.com/DrozmotiX/ioBroker.esphome/commit/6600a6aeb9a82fcecc5f848aa72a780d73998402

            0 yazgoo committed to DrozmotiX/ioBroker.esphome
            bind pillow package to version 10.0.1
            Webranger 1 Reply Last reply Reply Quote 0
            • Webranger
              Webranger @Simon42 last edited by

              Kann mir evtl wer helfen?

              Hab gerade espHome installiert und komme nicht auf das dashbord.

              in den logs taucht dieser Fehler auf.

              [Error caught and send to Sentry, thank you collaborating!] error: Error: Command failed with exit code 1: /home/iobroker/.cache/autopy/python/3.11.7/bin/python3 -m venv /home/iobroker/.cache/autopy/venv/esphomePython path configuration: PYTHONHOME = (not set) PYTHONPATH = (not set) program name = '/home/iobroker/.cache/autopy/python/3.11.7/bin/python3' isolated = 0 environment = 1 user site = 1 safe_path = 0 import site = 1 is in build tree = 0 stdlib dir = '/home/iobroker/.cache/autopy/python/3.11.7/lib/python3.11' sys._base_executable = '/home/iobroker/.cache/autopy/python/3.11.7/bin/python3' sys.base_prefix = '/home/iobroker/.cache/autopy/python/3.11.7' sys.base_exec_prefix = '/home/iobroker/.cache/autopy/python/3.11.7' sys.platlibdir = 'lib' sys.executable = '/home/iobroker/.cache/autopy/python/3.11.7/bin/python3' sys.prefix = '/home/iobroker/.cache/autopy/python/3.11.7' sys.exec_prefix = '/home/iobroker/.cache/autopy/python/3.11.7' sys.path = [ '/home/iobroker/.cache/autopy/python/3.11.7/lib/python311.zip', '/home/iobroker/.cache/autopy/python/3.11.7/lib/python3.11', '/home/iobroker/.cache/autopy/python/3.11.7/lib/python3.11/lib-dynload', ]Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encodingPython runtime state: core initializedLookupError: no codec search functions registered: can't find encodingCurrent thread 0x00007f282281c740 (most recent call first): <no Python frame> at makeError (file:///opt/iobroker/node_modules/autopy/node_modules/execa/lib/error.js:60:11) at handlePromise (file:///opt/iobroker/node_modules/autopy/node_modules/execa/index.js:124:26) at processTicksAndRejections (node:internal/process/task_queues:95:5) at $df9eabe9bda49ea8$export$e522f41234ab669a (file:///opt/iobroker/node_modules/autopy/src/index.ts:228:9) at Esphome.espHomeDashboard (/opt/iobroker/node_modules/iobroker.esphome/main.js:110:19) at Esphome.onReady (/opt/iobroker/node_modules/iobroker.esphome/main.js:78:5)
              

              Kann damit jemand was anfangen und mir sagen was ich falsch gemacht habe?

              B 1 Reply Last reply Reply Quote 0
              • B
                bernd33-1 @Webranger last edited by bernd33-1

                Hi, nachdem ich meinen ESPHome Adapter aktualisiert hab (0.5.0. Beta 8), bekomme ich auch die Meldung:

                  Please update your pillow installation to 10.1.0. (pip install "pillow==10.1.0").
                  - file: arial.ttf
                    id: font20
                    glyphs: 
                

                Wie kann ich auf pillow 10.1.0 aktualisieren? mit pip install "pillow==10.1.0" bekomm ich pip:command not found

                Danke und Grüße, Bernd

                Simon42 1 Reply Last reply Reply Quote 0
                • Simon42
                  Simon42 @bernd33-1 last edited by

                  @bernd33-1 Hi, teste bitte mal mit install direkt von git: https://github.com/SimonFischer04/ioBroker.esphome/tree/fix/latestpillow

                  B 1 Reply Last reply Reply Quote 0
                  • B
                    bernd33-1 @Simon42 last edited by

                    @simon42 Danke für die schnelle Antwort leider kein Erfolg. Oder muss der Raspy neu gestartetet werden?

                    INFO ESPHome 2023.12.9
                    INFO Reading configuration /opt/iobroker/iobroker-data/esphome.0/42display.yaml...
                    Failed config
                    
                    font: [source <unicode string>:43]
                      
                      Please update your pillow installation to 10.1.0. (pip install "pillow==10.1.0").
                      - file: arial.ttf
                        id: font1
                        glyphs: 
                          - &
                          - @
                          - !
                          - ,
                          - .
                          - ?
                          - "
                    
                    B 1 Reply Last reply Reply Quote 0
                    • B
                      bernd33-1 @bernd33-1 last edited by

                      @bernd33-1 Moment mal... das scheint nur den ESP mit dem EPaper Display zu betreffen. Ein anderer ESP der nur 2 Relais ein/aus schaltet tut. Da kann ich das Projekt compilieren. Scheint mit der arial.ttf Datei zusammen zu hängen?

                      Simon42 1 Reply Last reply Reply Quote 0
                      • Simon42
                        Simon42 @bernd33-1 last edited by

                        @bernd33-1 ja das package braucht er nur für bestimmte esphome Komponenten. pls nochmal probiern, hab jetzt fix auf neuere Version geändert.

                        B 1 Reply Last reply Reply Quote 1
                        • B
                          bernd33-1 @Simon42 last edited by

                          @simon42 Hi Simon, jetzt geht es. Ich hab/musste die ESPHome Instanz nach der Installation einmal von Hand neu starten und jetzt geht alles wieder. Log und Installieren via OTA.

                          Super vielen lieben Dank für die schnelle hilfe! 👍 😊 👏

                          Grüße und noch ein schönes WE, Bernd

                          Simon42 1 Reply Last reply Reply Quote 0
                          • Simon42
                            Simon42 @bernd33-1 last edited by

                            @bernd33-1 Top 👍, No Problem und danke für die Rückmeldung.

                            1 Reply Last reply Reply Quote 0
                            • P
                              PhilippIO last edited by

                              Guten Abend die Herren!

                              Ich springe auch von Version zu Version, bleibe aber immer beim selben Punkt stecken:
                              Mit der Adapter-Version aus den iobroker.net Beta repositories kam der Pillow-Fehler:

                              Please update your pillow installation to 10.1.0. (pip install "pillow==10.1.0")
                              

                              Nach diversen Versuchen habe ich dieses Forum gefunden, und auf v0.5.0-beta.10 aktualisiert. Das Fehlerbild war minimal anders: 10.2.0 statt 10.1.0:

                              INFO ESPHome 2024.2.0b1   
                              INFO Reading configuration /opt/iobroker/iobroker-data/esphome.0/waage1.yaml...
                              Failed config
                              
                              font: [source /opt/iobroker/iobroker-data/esphome.0/waage1.yaml:90]
                                
                                Please update your pillow installation to 10.2.0. (pip install "pillow==10.2.0").
                                - file: fonts/Antenna-Bold.ttf
                                  id: my_font
                                  size: 32
                              

                              Den letzten Beiträgen folgend, habe ich nochmal auf SimonFischer-latestpillow aktualisiert:
                              Der Fehler blieb unverändert.

                              Mein Setup ist wie folgt:
                              Raspi3B+ mit Debian Bookworm 6.1.73 aarch64
                              iobroker v6.13.16 ... frisch installiert als einzige Software auf dem Raspi
                              ESPhome als quasi einziger Adapter
                              Python 3.11.2
                              NPM version 10.2.3
                              Node.js version 18.19.0

                              Python3-pil und pil-imagetk sind aktuell:

                              philipp@testiobroker:~ $ apt policy python3-pil python3-pil.imagetk
                              python3-pil:
                                Installed: 9.4.0-1.1+b1
                                Candidate: 9.4.0-1.1+b1
                                Version table:
                               *** 9.4.0-1.1+b1 500
                                      500 http://deb.debian.org/debian bookworm/main arm64 Packages
                                      100 /var/lib/dpkg/status
                              python3-pil.imagetk:
                                Installed: 9.4.0-1.1+b1
                                Candidate: 9.4.0-1.1+b1
                                Version table:
                               *** 9.4.0-1.1+b1 500
                                      500 http://deb.debian.org/debian bookworm/main arm64 Packages
                                      100 /var/lib/dpkg/status
                              
                              

                              Ich bin für jeden Hinweis dankbar! 🙇‍♂️

                              1 Reply Last reply Reply Quote 0
                              • Simon42
                                Simon42 last edited by Simon42

                                @philippio said in [ESPHome] Beta release 0.5.0-beta.1 ready:

                                Nach diversen Versuchen habe ich dieses Forum gefunden, und auf v0.5.0-beta.10 aktualisiert. Das Fehlerbild war minimal anders: 10.2.0 statt 10.1.0:

                                Genau das das Problem, gab schonwieder ein notwendiges update.
                                Habs wieder geupdated
                                Pls nochmal probiern: https://github.com/SimonFischer04/ioBroker.esphome/tree/fix/latestpillow

                                liegt halt wahrscheinlich dran das du hier eine beta 2024.2.0b1 dashboard installed hast, sonst hätt 10.1.0 reichen müssen, aber habs jetzt auf 10.2.0 updated

                                P F 3 Replies Last reply Reply Quote 1
                                • P
                                  PhilippIO @Simon42 last edited by

                                  @simon42 Hallo Simon!
                                  Zunächst mal vielen Dank für Deine schnelle Hilfe!
                                  Über den Pillow-Fehler ist das Installationsskript hinausgelaufen. 👍
                                  Jetzt compiliert er seit einer Stunde vor sich hin ... ich werde berichten.

                                  1 Reply Last reply Reply Quote 1
                                  • P
                                    PhilippIO @Simon42 last edited by

                                    @simon42 Hallo Simon!

                                    Good news: mit der latestpillow-Version hat es funktioniert: mein Projekt ist online, im Netz, sendet Daten, OTA ist möglich ... Vielen Dank!
                                    Kleines Aber: Beim Compilieren bleibt der Raspi jedes 2. Mal hängen ... ich habe schon über Nacht gewartet, kein Erfolg. Ausschalten, neu booten, neuer Versuch ... meistens ging es dann weiter. Jetzt aber nicht mehr: nur eine kleine Änderung am YAML-Skript, und er bleibt immer an dieser Stelle stehen:

                                    INFO ESPHome 2024.2.0b1
                                    INFO Reading configuration /opt/iobroker/iobroker-data/esphome.0/waage1.yaml...
                                    INFO Generating C++ source...
                                    INFO Compiling app...
                                    Processing waage1 (board: lolin32_lite; framework: arduino; platform: platformio/espressif32@5.4.0)
                                    --------------------------------------------------------------------------------
                                    Cannot read termcap database;
                                    using dumb terminal settings.
                                    HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
                                     - toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
                                    Dependency Graph
                                    |-- AsyncTCP-esphome @ 2.0.1
                                    |-- WiFi @ 2.0.0
                                    |-- FS @ 2.0.0
                                    |-- Update @ 2.0.0
                                    |-- ESPAsyncWebServer-esphome @ 3.1.0
                                    |-- DNSServer @ 2.0.0
                                    |-- ESPmDNS @ 2.0.0
                                    |-- noise-c @ 0.1.4
                                    |-- SPI @ 2.0.0
                                    Compiling .pioenvs/waage1/src/esphome/components/api/api_connection.cpp.o
                                    Compiling .pioenvs/waage1/src/esphome/components/api/api_frame_helper.cpp.o
                                    Compiling .pioenvs/waage1/src/esphome/components/api/api_pb2.cpp.o
                                    Compiling .pioenvs/waage1/src/esphome/components/api/api_pb2_service.cpp.o
                                    

                                    Erst dreht sich noch der farbige Kreis, dann "Session expired", neu laden des Dashboards funktioniert nicht, dann habe ich auch über SSH keinen Zugriff mehr auf den Raspi. Soweit reproduzierbar. Gibt es noch andere LOG-Dateien, die zeigen könnten, woran es scheitert?

                                    Verzweifelt, Philipp

                                    Simon42 1 Reply Last reply Reply Quote 0
                                    • Simon42
                                      Simon42 @PhilippIO last edited by

                                      @philippio hm, hat die yaml recht viele komponenten? schaut aus als würds im pi zu viel werden und stürzt ab maybe? glaub nicht, dass hier der adapter schuld ist

                                      P 1 Reply Last reply Reply Quote 0
                                      • P
                                        PhilippIO @Simon42 last edited by

                                        @simon42 ... dann mache ich mich mal an den Umzug. Der "nackte" Raspi3 sollte zunächst nur der Erstbetankung via USB dienen. Mein operativer iobroker ist auf einem Raspi4 (mit Docker) daheim. Wenn es an der Rechenleistung hängt, sollte dieser dann mit dem Compilieren und späteren OTA-Update weniger Probleme haben. Ich probiere es aus und werde berichten! Danke soweit. 🙂

                                        Simon42 1 Reply Last reply Reply Quote 0
                                        • Simon42
                                          Simon42 @PhilippIO last edited by Simon42

                                          @philippio naja pi3 sollte ja eigentlich "nur langsamer" sein und nicht ewig komplett aufhängen. aber mal schauen vielleicht hilft der umzug ja: andere iobroker installation, ... 👍🏾

                                          P 1 Reply Last reply Reply Quote 0
                                          • P
                                            PhilippIO @Simon42 last edited by

                                            @simon42 Hallo Simon!

                                            Entschuldige die späte Antwort. Ich habe mich einige Abende mit Update und Backup (inkl. der ganzen Docker-Umgebung) beschäftigt, bevor ich mich an den Umzug des ESPhome device machen konnte. Ergebnis: Erfolg! Das Compilieren läuft komplett durch, Flashen OTA funktioniert reibungslos, alles top! 👍

                                            Offenbar reicht ein Raspi3B+ dann doch nicht aus ... wie gesagt: frisch aufgesetzt, iobroker als einzige Software, ESPhome als einziger Adapter. Das yaml-Skript sollte auch keine große Herausforderung gewesen sein: eine HX711-Waage mit Display

                                            Letzter offener Punkt: Ich schaffe es nicht, den Umzug ganz abzuschließen. Ich sehe mein Device unter Instanzeinstellungen.esphome - Geräte als gelistet und connected. Und nach Import des yaml-Files nach /opt/iobroker/iobroker-data/esphome.0/ sehe ich das device auf dem Dashboard. Aber: immer als offline. "edit" und "log" funktionieren problemlos, nachdem ich eine manual-IP im yaml-Skript ergänzt habe.

                                            Bildschirmfoto vom 2024-02-26 23-03-35.png
                                            Fehlt mir da beim Umzug noch ein letzter Schritt? Meine Vermutung ist, dass er den Eintrag unter Geräte und das Device auf dem Dashboard nicht miteinander in Verbindung bringt ... denn sonst hätte er die IP gewusst.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            721
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            adapter entwicklung adapter update esphome
                                            14
                                            67
                                            5791
                                            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