Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. ESPHome zeigt Dashboard nicht

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    16
    1
    1.7k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    867

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.1k

ESPHome zeigt Dashboard nicht

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
6 Beiträge 3 Kommentatoren 894 Aufrufe 3 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • J Offline
    J Offline
    JacquesNorris
    schrieb am zuletzt editiert von
    #1

    Hallo Miteinander,

    ich wollte (bzw. will immer noch) in die ESPHome-Welt mit einsteigen.
    Leider wird das Dashboard nicht angezeigt.
    Unter Instanzen->esphome.0->Einstellungen werden neue Geräte erkannt, den Haken bei Dashboard habe ich gesetzt und sowohl mit 'localhost' als auch der IP des ioBrokers probiert - leider immer ohne Erfolg.
    Bildschirmfoto 2024-07-16 um 11.37.44.png
    Scheinbar habe ich ein Problem mit meiner Python-Installation, zumindest im Log gibt's da einen dicken Eintrag:

    home.0
    2024-07-16 11:26:37.171	info	Native Integration of ESPHome Dashboard enabled
    
    esphome.0
    2024-07-16 11:26:37.624	info	[Error caught and send to Sentry, thank you collaborating!] error: Error: Command failed with exit code 1: /home/iobroker/.cache/autopy/python/3.11.9/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.9/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.9/lib/python3.11' sys._base_executable = '/home/iobroker/.cache/autopy/python/3.11.9/bin/python3' sys.base_prefix = '/home/iobroker/.cache/autopy/python/3.11.9' sys.base_exec_prefix = '/home/iobroker/.cache/autopy/python/3.11.9' sys.platlibdir = 'lib' sys.executable = '/home/iobroker/.cache/autopy/python/3.11.9/bin/python3' sys.prefix = '/home/iobroker/.cache/autopy/python/3.11.9' sys.exec_prefix = '/home/iobroker/.cache/autopy/python/3.11.9' sys.path = [ '/home/iobroker/.cache/autopy/python/3.11.9/lib/python311.zip', '/home/iobroker/.cache/autopy/python/3.11.9/lib/python3.11', '/home/iobroker/.cache/autopy/python/3.11.9/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 0x0000007fba574040 (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 process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async $df9eabe9bda49ea8$export$e522f41234ab669a (file:///opt/iobroker/node_modules/autopy/dist/index.js:138:9) at async Esphome.espHomeDashboard (/opt/iobroker/node_modules/iobroker.esphome/main.js:110:19) at async Esphome.onReady (/opt/iobroker/node_modules/iobroker.esphome/main.js:78:5)
    

    Ich nehme an dass der 'Fatal Python error: init_fs_encoding' hier irgendwas schuld ist, bin aber leider auf dem Gebiet eine absolute Null.
    Das ganze läuft auf einem Raspberry Pi 4, sicherheitshalber hatte ich 'sudo apt install python3-full python3.11-dev libpython3.11-dev python3-pip' schon nachinstalliert. Weitere Ideen oder Infos, die ihr braucht?

    arteckA 1 Antwort Letzte Antwort
    0
    • J JacquesNorris

      Hallo Miteinander,

      ich wollte (bzw. will immer noch) in die ESPHome-Welt mit einsteigen.
      Leider wird das Dashboard nicht angezeigt.
      Unter Instanzen->esphome.0->Einstellungen werden neue Geräte erkannt, den Haken bei Dashboard habe ich gesetzt und sowohl mit 'localhost' als auch der IP des ioBrokers probiert - leider immer ohne Erfolg.
      Bildschirmfoto 2024-07-16 um 11.37.44.png
      Scheinbar habe ich ein Problem mit meiner Python-Installation, zumindest im Log gibt's da einen dicken Eintrag:

      home.0
      2024-07-16 11:26:37.171	info	Native Integration of ESPHome Dashboard enabled
      
      esphome.0
      2024-07-16 11:26:37.624	info	[Error caught and send to Sentry, thank you collaborating!] error: Error: Command failed with exit code 1: /home/iobroker/.cache/autopy/python/3.11.9/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.9/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.9/lib/python3.11' sys._base_executable = '/home/iobroker/.cache/autopy/python/3.11.9/bin/python3' sys.base_prefix = '/home/iobroker/.cache/autopy/python/3.11.9' sys.base_exec_prefix = '/home/iobroker/.cache/autopy/python/3.11.9' sys.platlibdir = 'lib' sys.executable = '/home/iobroker/.cache/autopy/python/3.11.9/bin/python3' sys.prefix = '/home/iobroker/.cache/autopy/python/3.11.9' sys.exec_prefix = '/home/iobroker/.cache/autopy/python/3.11.9' sys.path = [ '/home/iobroker/.cache/autopy/python/3.11.9/lib/python311.zip', '/home/iobroker/.cache/autopy/python/3.11.9/lib/python3.11', '/home/iobroker/.cache/autopy/python/3.11.9/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 0x0000007fba574040 (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 process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async $df9eabe9bda49ea8$export$e522f41234ab669a (file:///opt/iobroker/node_modules/autopy/dist/index.js:138:9) at async Esphome.espHomeDashboard (/opt/iobroker/node_modules/iobroker.esphome/main.js:110:19) at async Esphome.onReady (/opt/iobroker/node_modules/iobroker.esphome/main.js:78:5)
      

      Ich nehme an dass der 'Fatal Python error: init_fs_encoding' hier irgendwas schuld ist, bin aber leider auf dem Gebiet eine absolute Null.
      Das ganze läuft auf einem Raspberry Pi 4, sicherheitshalber hatte ich 'sudo apt install python3-full python3.11-dev libpython3.11-dev python3-pip' schon nachinstalliert. Weitere Ideen oder Infos, die ihr braucht?

      arteckA Offline
      arteckA Offline
      arteck
      Developer Most Active
      schrieb am zuletzt editiert von arteck
      #2

      @jacquesnorris sagte in ESPHome zeigt Dashboard nicht:

      3.11

      da wird bestimmt noch eine 2.7x Version von python im zugriff sein

      probiermal damit

      sudo apt install --reinstall python3-full python3.11-dev libpython3.11-dev python3-pip
      sudo apt-get install --reinstall $(dpkg -S '/usr/lib/python3*' | cut -d ':' -f1 | cut -d ',' -f1 | sort | uniq | tr '\n' ' ')
      

      zigbee hab ich, zwave auch, nuc's genauso und HA auch

      J 1 Antwort Letzte Antwort
      0
      • arteckA arteck

        @jacquesnorris sagte in ESPHome zeigt Dashboard nicht:

        3.11

        da wird bestimmt noch eine 2.7x Version von python im zugriff sein

        probiermal damit

        sudo apt install --reinstall python3-full python3.11-dev libpython3.11-dev python3-pip
        sudo apt-get install --reinstall $(dpkg -S '/usr/lib/python3*' | cut -d ':' -f1 | cut -d ',' -f1 | sort | uniq | tr '\n' ' ')
        
        J Offline
        J Offline
        JacquesNorris
        schrieb am zuletzt editiert von JacquesNorris
        #3

        @arteck
        Hey,
        die erste Zeile davon hatte ich schon probiert - also den forced reinstall, der zweite liefert folgendes zurück:

        Reading package lists... Done
        Building dependency tree... Done
        Reading state information... Done
        E: Unable to locate package diversion
        E: Unable to locate package by
        E: Unable to locate package from
        E: Unable to locate package diversion
        E: Unable to locate package by
        E: Unable to locate package to
        

        Das ist wohl nicht das, was es machen sollte - glaube ich zumindest ;)

        // EDIT:
        An einer python2-Version kann es meiner Meinung nach nicht liegen:

        dpkg -S /usr/lib/python*
        python3-wheel, python3-smbc, python3-gi, python3-cupshelpers, python3-dbus, python3-cups:arm64, python3-cairo:arm64, python3-idna, python3-pycryptodome, python3.11, python3-pip, ssh-import-id, python3-urllib3, python3-toml, python3-spidev, python3-smbus2, python3-six, python3-rpi.gpio, python3-requests, python3-pkg-resources, python3-pigpio, python3-libgpiod:arm64, python3-lgpio, python3-gpiozero, python3-distro, python3-debconf, python3-colorzero, python3-charset-normalizer, python3-chardet, python3-certifi, python3-apt, python3-setuptools: /usr/lib/python3
        python3.11-venv, raspberrypi-sys-mods, libpython3.11-testsuite, libpython3.11-stdlib:arm64, python3-tk:arm64, python3.11, libpython3.11:arm64, idle-python3.11, libpython3.11-minimal:arm64, libpython3.11-dev:arm64, python3-lib2to3, python3-distutils, python3-gdbm:arm64, python3.11-examples: /usr/lib/python3.11
        
        
        simonf04S 1 Antwort Letzte Antwort
        0
        • J JacquesNorris

          @arteck
          Hey,
          die erste Zeile davon hatte ich schon probiert - also den forced reinstall, der zweite liefert folgendes zurück:

          Reading package lists... Done
          Building dependency tree... Done
          Reading state information... Done
          E: Unable to locate package diversion
          E: Unable to locate package by
          E: Unable to locate package from
          E: Unable to locate package diversion
          E: Unable to locate package by
          E: Unable to locate package to
          

          Das ist wohl nicht das, was es machen sollte - glaube ich zumindest ;)

          // EDIT:
          An einer python2-Version kann es meiner Meinung nach nicht liegen:

          dpkg -S /usr/lib/python*
          python3-wheel, python3-smbc, python3-gi, python3-cupshelpers, python3-dbus, python3-cups:arm64, python3-cairo:arm64, python3-idna, python3-pycryptodome, python3.11, python3-pip, ssh-import-id, python3-urllib3, python3-toml, python3-spidev, python3-smbus2, python3-six, python3-rpi.gpio, python3-requests, python3-pkg-resources, python3-pigpio, python3-libgpiod:arm64, python3-lgpio, python3-gpiozero, python3-distro, python3-debconf, python3-colorzero, python3-charset-normalizer, python3-chardet, python3-certifi, python3-apt, python3-setuptools: /usr/lib/python3
          python3.11-venv, raspberrypi-sys-mods, libpython3.11-testsuite, libpython3.11-stdlib:arm64, python3-tk:arm64, python3.11, libpython3.11:arm64, idle-python3.11, libpython3.11-minimal:arm64, libpython3.11-dev:arm64, python3-lib2to3, python3-distutils, python3-gdbm:arm64, python3.11-examples: /usr/lib/python3.11
          
          
          simonf04S Offline
          simonf04S Offline
          simonf04
          schrieb am zuletzt editiert von
          #4

          @jacquesnorris

          Auch hier (gab schonmal ein Topic dazu: https://forum.iobroker.net/topic/69974/esphome-weboberfläche-nicht-erreichbar/3) :
          Sorry, topic erst jetzt gesehen (bin im Forum nicht so aktiv)

          Kann das Problem leider nicht reproduzieren.
          Auf Github kam heute gleicher Bug report rein, vielleicht hilft dir das ja weiter: https://github.com/DrozmotiX/ioBroker.esphome/issues/209

          Das ganze läuft auf einem Raspberry Pi 4, sicherheitshalber hatte ich 'sudo apt install python3-full python3.11-dev libpython3.11-dev python3-pip' schon nachinstalliert. Weitere Ideen oder Infos, die ihr braucht?

          Ein paar mehr Infos zum System wären nett:
          Welche Version? Debian 11/12?, 32 oder 64bit System?

          J 1 Antwort Letzte Antwort
          0
          • simonf04S simonf04

            @jacquesnorris

            Auch hier (gab schonmal ein Topic dazu: https://forum.iobroker.net/topic/69974/esphome-weboberfläche-nicht-erreichbar/3) :
            Sorry, topic erst jetzt gesehen (bin im Forum nicht so aktiv)

            Kann das Problem leider nicht reproduzieren.
            Auf Github kam heute gleicher Bug report rein, vielleicht hilft dir das ja weiter: https://github.com/DrozmotiX/ioBroker.esphome/issues/209

            Das ganze läuft auf einem Raspberry Pi 4, sicherheitshalber hatte ich 'sudo apt install python3-full python3.11-dev libpython3.11-dev python3-pip' schon nachinstalliert. Weitere Ideen oder Infos, die ihr braucht?

            Ein paar mehr Infos zum System wären nett:
            Welche Version? Debian 11/12?, 32 oder 64bit System?

            J Offline
            J Offline
            JacquesNorris
            schrieb am zuletzt editiert von JacquesNorris
            #5

            @simon42

            Auch hier und damit ein Forumsbenutzer in Zukunft vielleicht die Lösung hier finden kann:

            Dein Tipp auf Github hat geholfen, einmal den adapter deinstalliert, adapter-cache aufräumen:
            rm -rf /home/iobroker/.cache/autopy und dann adapter neu installieren.

            ob das deinstallieren / installieren notwendig war kann ich jetzt nicht mehr nachvollziehen, aber bei mir war die installation ja eh noch leer - also kein Problem.

            Danke für deine Hilfe - den anderen Forumsbeitrag hatte ich in der Tat nicht gefunden.

            simonf04S 1 Antwort Letzte Antwort
            0
            • J JacquesNorris

              @simon42

              Auch hier und damit ein Forumsbenutzer in Zukunft vielleicht die Lösung hier finden kann:

              Dein Tipp auf Github hat geholfen, einmal den adapter deinstalliert, adapter-cache aufräumen:
              rm -rf /home/iobroker/.cache/autopy und dann adapter neu installieren.

              ob das deinstallieren / installieren notwendig war kann ich jetzt nicht mehr nachvollziehen, aber bei mir war die installation ja eh noch leer - also kein Problem.

              Danke für deine Hilfe - den anderen Forumsbeitrag hatte ich in der Tat nicht gefunden.

              simonf04S Offline
              simonf04S Offline
              simonf04
              schrieb am zuletzt editiert von
              #6

              @jacquesnorris
              No problem, der andere Forumspost hatte ja auch keine Lösung.
              Super dass das auch dir geholfen hat.

              Auch hier für Forumsuser:
              PS: Adapter Neuinstallation sollte nicht notwendig sein,. Schadet aber nicht, falls man eh noch nichts konfiguriert hat.
              Cache löschen und Adapter neustart sollte reichen.

              PS 2:
              Es ist geplant das cache leeren zukünftig in der Adapterconfig zu integrieren, um nicht den Befehl nutzen zu müssen, siehe: https://github.com/DrozmotiX/ioBroker.esphome/issues/211

              1 Antwort Letzte Antwort
              0
              Antworten
              • In einem neuen Thema antworten
              Anmelden zum Antworten
              • Älteste zuerst
              • Neuste zuerst
              • Meiste Stimmen


              Support us

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

              413

              Online

              32.6k

              Benutzer

              82.1k

              Themen

              1.3m

              Beiträge
              Community
              Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
              ioBroker Community 2014-2025
              logo
              • Anmelden

              • Du hast noch kein Konto? Registrieren

              • Anmelden oder registrieren, um zu suchen
              • Erster Beitrag
                Letzter Beitrag
              0
              • Home
              • Aktuell
              • Tags
              • Ungelesen 0
              • Kategorien
              • Unreplied
              • Beliebt
              • GitHub
              • Docu
              • Hilfe