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

  1. ioBroker Community Home
  2. Deutsch
  3. Tester
  4. [ESPHome] Beta release

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.2k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.9k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.2k

[ESPHome] Beta release

Geplant Angeheftet Gesperrt Verschoben Tester
591 Beiträge 48 Kommentatoren 156.0k Aufrufe 39 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.
  • O Offline
    O Offline
    OPatrick
    schrieb am zuletzt editiert von
    #458

    @thomas-braun

    pi@mospi:~ $ python3:
      Installiert:           3.9.2-3
      Installationskandidat: 3.9.2-3
      Versionstabelle:
     *** 3.9.2-3 500
            500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Package                          s
            100 /var/lib/dpkg/statuspython3
    

    beim which Befehl passiert rein gar nichts keine anzeige kein Fehler..

    Thomas BraunT 1 Antwort Letzte Antwort
    0
    • O OPatrick

      @thomas-braun

      pi@mospi:~ $ python3:
        Installiert:           3.9.2-3
        Installationskandidat: 3.9.2-3
        Versionstabelle:
       *** 3.9.2-3 500
              500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Package                          s
              100 /var/lib/dpkg/statuspython3
      

      beim which Befehl passiert rein gar nichts keine anzeige kein Fehler..

      Thomas BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      schrieb am zuletzt editiert von Thomas Braun
      #459

      @opatrick

      Dann hast du dir python3 irgendwoher irgendwie ins System gekloppt.
      Dein erschwindeltes python3.8 wieder deinstallieren und die vorgesehene Version 3.9.2-3 installieren. Dann funktioniert auch die Installation des Adapters wie bei mir.

      Und bitte auch die Ausgabe auf die zweite Befehlskette noch liefern. Nicht das du dir das ähnlich schief ins System gedübelt hast.

      Linux-Werkzeugkasten:
      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
      NodeJS Fixer Skript:
      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

      O 1 Antwort Letzte Antwort
      0
      • Thomas BraunT Thomas Braun

        @opatrick

        Dann hast du dir python3 irgendwoher irgendwie ins System gekloppt.
        Dein erschwindeltes python3.8 wieder deinstallieren und die vorgesehene Version 3.9.2-3 installieren. Dann funktioniert auch die Installation des Adapters wie bei mir.

        Und bitte auch die Ausgabe auf die zweite Befehlskette noch liefern. Nicht das du dir das ähnlich schief ins System gedübelt hast.

        O Offline
        O Offline
        OPatrick
        schrieb am zuletzt editiert von OPatrick
        #460

        @thomas-braun

        which geht jetzt aber immer noch Fehler...

        pi@mospi:~ $ which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
        /usr/bin/node
        /usr/bin/npm
        pi@mospi:~ $ iobroker add esphome
        NPM version: 6.14.15
        npm install iobroker.esphome@0.2.4 --loglevel error --prefix "/opt/iobroker" (System call)
        /usr/local/lib/python3.8/site-packages/_distutils_hack/__init__.py:24: UserWarning: Distutils was imported before Setuptools, but importing Setuptools also replaces the `distutils` module in `sys.modules`. This may lead to undesirable behaviors or errors. To avoid these issues, avoid using distutils directly, ensure that setuptools is installed in the traditional way (e.g. not an editable install), and/or make sure that setuptools is always imported before distutils.
          warnings.warn(
        /usr/local/lib/python3.8/site-packages/_distutils_hack/__init__.py:36: UserWarning: Setuptools is replacing distutils.
          warnings.warn("Setuptools is replacing distutils.")
        Traceback (most recent call last):
          File "/opt/iobroker/node_modules/nopy/src/get-pip.py", line 20061, in <module>
            main()
          File "/opt/iobroker/node_modules/nopy/src/get-pip.py", line 194, in main
            bootstrap(tmpdir=tmpdir)
          File "/opt/iobroker/node_modules/nopy/src/get-pip.py", line 119, in bootstrap
            import setuptools  # noqa
          File "/usr/local/lib/python3.8/site-packages/setuptools/__init__.py", line 8, in <module>
            import _distutils_hack.override  # noqa: F401
          File "/usr/local/lib/python3.8/site-packages/_distutils_hack/override.py", line 1, in <module>
            __import__('_distutils_hack').do_override()
          File "/usr/local/lib/python3.8/site-packages/_distutils_hack/__init__.py", line 73, in do_override
            ensure_local_distutils()
          File "/usr/local/lib/python3.8/site-packages/_distutils_hack/__init__.py", line 61, in ensure_local_distutils
            assert '_distutils' in core.__file__, core.__file__
        AssertionError: /usr/local/lib/python3.8/distutils/core.py
        Error: Exited with code 1.
            at ChildProcess.<anonymous> (/opt/iobroker/node_modules/nopy/src/api.js:277:20)
            at ChildProcess.emit (events.js:400:28)
            at maybeClose (internal/child_process.js:1058:16)
            at Process.ChildProcess._handle.onexit (internal/child_process.js:293:5)
        npm ERR! code ELIFECYCLE
        npm ERR! errno 1
        npm ERR! iobroker.esphome@0.2.4 install: `npip install`
        npm ERR! Exit status 1
        npm ERR!
        npm ERR! Failed at the iobroker.esphome@0.2.4 install script.
        npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
        
        npm ERR! A complete log of this run can be found in:
        npm ERR!     /home/iobroker/.npm/_logs/2022-01-02T20_55_04_809Z-debug.log
        host.mospi Cannot install iobroker.esphome@0.2.4: 1
        pi@mospi:~ $
        

        da scheint python immer noch verbogen zu sein.. 🙂 ok wie bekomme ich das weg?

        Thomas BraunT 1 Antwort Letzte Antwort
        0
        • O OPatrick

          @thomas-braun

          which geht jetzt aber immer noch Fehler...

          pi@mospi:~ $ which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
          /usr/bin/node
          /usr/bin/npm
          pi@mospi:~ $ iobroker add esphome
          NPM version: 6.14.15
          npm install iobroker.esphome@0.2.4 --loglevel error --prefix "/opt/iobroker" (System call)
          /usr/local/lib/python3.8/site-packages/_distutils_hack/__init__.py:24: UserWarning: Distutils was imported before Setuptools, but importing Setuptools also replaces the `distutils` module in `sys.modules`. This may lead to undesirable behaviors or errors. To avoid these issues, avoid using distutils directly, ensure that setuptools is installed in the traditional way (e.g. not an editable install), and/or make sure that setuptools is always imported before distutils.
            warnings.warn(
          /usr/local/lib/python3.8/site-packages/_distutils_hack/__init__.py:36: UserWarning: Setuptools is replacing distutils.
            warnings.warn("Setuptools is replacing distutils.")
          Traceback (most recent call last):
            File "/opt/iobroker/node_modules/nopy/src/get-pip.py", line 20061, in <module>
              main()
            File "/opt/iobroker/node_modules/nopy/src/get-pip.py", line 194, in main
              bootstrap(tmpdir=tmpdir)
            File "/opt/iobroker/node_modules/nopy/src/get-pip.py", line 119, in bootstrap
              import setuptools  # noqa
            File "/usr/local/lib/python3.8/site-packages/setuptools/__init__.py", line 8, in <module>
              import _distutils_hack.override  # noqa: F401
            File "/usr/local/lib/python3.8/site-packages/_distutils_hack/override.py", line 1, in <module>
              __import__('_distutils_hack').do_override()
            File "/usr/local/lib/python3.8/site-packages/_distutils_hack/__init__.py", line 73, in do_override
              ensure_local_distutils()
            File "/usr/local/lib/python3.8/site-packages/_distutils_hack/__init__.py", line 61, in ensure_local_distutils
              assert '_distutils' in core.__file__, core.__file__
          AssertionError: /usr/local/lib/python3.8/distutils/core.py
          Error: Exited with code 1.
              at ChildProcess.<anonymous> (/opt/iobroker/node_modules/nopy/src/api.js:277:20)
              at ChildProcess.emit (events.js:400:28)
              at maybeClose (internal/child_process.js:1058:16)
              at Process.ChildProcess._handle.onexit (internal/child_process.js:293:5)
          npm ERR! code ELIFECYCLE
          npm ERR! errno 1
          npm ERR! iobroker.esphome@0.2.4 install: `npip install`
          npm ERR! Exit status 1
          npm ERR!
          npm ERR! Failed at the iobroker.esphome@0.2.4 install script.
          npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
          
          npm ERR! A complete log of this run can be found in:
          npm ERR!     /home/iobroker/.npm/_logs/2022-01-02T20_55_04_809Z-debug.log
          host.mospi Cannot install iobroker.esphome@0.2.4: 1
          pi@mospi:~ $
          

          da scheint python immer noch verbogen zu sein.. 🙂 ok wie bekomme ich das weg?

          Thomas BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          schrieb am zuletzt editiert von
          #461

          @opatrick

          sudo ln -s /usr/bin/node /usr/bin/nodejs
          which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
          

          Und wie hast du python3.8 nun ins System gekloppt? Muss ja von 'irgendwoher' manuell kommen, in den Repos liegt die Version ja nicht vor.

          Linux-Werkzeugkasten:
          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
          NodeJS Fixer Skript:
          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

          Thomas BraunT O 2 Antworten Letzte Antwort
          0
          • Thomas BraunT Thomas Braun

            @opatrick

            sudo ln -s /usr/bin/node /usr/bin/nodejs
            which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
            

            Und wie hast du python3.8 nun ins System gekloppt? Muss ja von 'irgendwoher' manuell kommen, in den Repos liegt die Version ja nicht vor.

            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            schrieb am zuletzt editiert von Thomas Braun
            #462

            @OPatrick

            Deine schiefe Installation ist übrigens was für einen eigenen, neuen Thread wert, das hat mit dem Beta-Testen des Adapters ja nix zu tun.

            Linux-Werkzeugkasten:
            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
            NodeJS Fixer Skript:
            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

            1 Antwort Letzte Antwort
            0
            • Thomas BraunT Thomas Braun

              @opatrick

              sudo ln -s /usr/bin/node /usr/bin/nodejs
              which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
              

              Und wie hast du python3.8 nun ins System gekloppt? Muss ja von 'irgendwoher' manuell kommen, in den Repos liegt die Version ja nicht vor.

              O Offline
              O Offline
              OPatrick
              schrieb am zuletzt editiert von
              #463

              @thomas-braun
              ja das kam leider etwas unglücklich. Weil beim aller ersten Versuch der Adapter Installation kamen zig Fehler Meldungen weil das Modul cryptography von python gefehlt usw..
              Da habe ich dann wahrscheinlich python manuell installiert 😞

              jetzt habe ich es zwar manuel gelöscht.. Aber die ganzen Pfade stimmen nimmer 😞

              ein sudo und er which befehl brachten nix..

              
              pi@mospi:/usr/local/lib $ iobroker add esphome                                                            NPM version: 6.14.15
              npm install iobroker.esphome@0.2.4 --loglevel error --prefix "/opt/iobroker" (System call)
              Error: Python site module exited with code 1.
              Could not find platform independent libraries <prefix>
              Could not find platform dependent libraries <exec_prefix>
              Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
              Python path configuration:
                PYTHONHOME = (not set)
                PYTHONPATH = '/opt/iobroker/node_modules/iobroker.esphome'
                program name = 'python3.8'
              
              
              Thomas BraunT A 3 Antworten Letzte Antwort
              0
              • O OPatrick

                @thomas-braun
                ja das kam leider etwas unglücklich. Weil beim aller ersten Versuch der Adapter Installation kamen zig Fehler Meldungen weil das Modul cryptography von python gefehlt usw..
                Da habe ich dann wahrscheinlich python manuell installiert 😞

                jetzt habe ich es zwar manuel gelöscht.. Aber die ganzen Pfade stimmen nimmer 😞

                ein sudo und er which befehl brachten nix..

                
                pi@mospi:/usr/local/lib $ iobroker add esphome                                                            NPM version: 6.14.15
                npm install iobroker.esphome@0.2.4 --loglevel error --prefix "/opt/iobroker" (System call)
                Error: Python site module exited with code 1.
                Could not find platform independent libraries <prefix>
                Could not find platform dependent libraries <exec_prefix>
                Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
                Python path configuration:
                  PYTHONHOME = (not set)
                  PYTHONPATH = '/opt/iobroker/node_modules/iobroker.esphome'
                  program name = 'python3.8'
                
                
                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                schrieb am zuletzt editiert von Thomas Braun
                #464

                @opatrick sagte in [ESPHome] Beta release:

                ein sudo und er which befehl brachten nix..

                Konkret? Du verfrickelst dein System immer mehr...

                Linux-Werkzeugkasten:
                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                NodeJS Fixer Skript:
                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                O 1 Antwort Letzte Antwort
                0
                • O OPatrick

                  @thomas-braun
                  ja das kam leider etwas unglücklich. Weil beim aller ersten Versuch der Adapter Installation kamen zig Fehler Meldungen weil das Modul cryptography von python gefehlt usw..
                  Da habe ich dann wahrscheinlich python manuell installiert 😞

                  jetzt habe ich es zwar manuel gelöscht.. Aber die ganzen Pfade stimmen nimmer 😞

                  ein sudo und er which befehl brachten nix..

                  
                  pi@mospi:/usr/local/lib $ iobroker add esphome                                                            NPM version: 6.14.15
                  npm install iobroker.esphome@0.2.4 --loglevel error --prefix "/opt/iobroker" (System call)
                  Error: Python site module exited with code 1.
                  Could not find platform independent libraries <prefix>
                  Could not find platform dependent libraries <exec_prefix>
                  Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
                  Python path configuration:
                    PYTHONHOME = (not set)
                    PYTHONPATH = '/opt/iobroker/node_modules/iobroker.esphome'
                    program name = 'python3.8'
                  
                  
                  Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  schrieb am zuletzt editiert von
                  #465

                  @opatrick sagte in [ESPHome] Beta release:

                  jetzt habe ich es zwar manuel gelöscht.. Aber die ganzen Pfade stimmen nimmer

                  Noch konkreter? Ich sehe nicht was du da jetzt wie warum wo gemacht hast.

                  Linux-Werkzeugkasten:
                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                  NodeJS Fixer Skript:
                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                  1 Antwort Letzte Antwort
                  0
                  • Thomas BraunT Thomas Braun

                    @opatrick sagte in [ESPHome] Beta release:

                    ein sudo und er which befehl brachten nix..

                    Konkret? Du verfrickelst dein System immer mehr...

                    O Offline
                    O Offline
                    OPatrick
                    schrieb am zuletzt editiert von
                    #466

                    @thomas-braun
                    naja ich habe über apt-get reinstall python3 etc.. versucht die Verzeichniss links richtig zu setzten..

                    
                    pi@mospi:/usr/local/lib $ which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
                    /usr/bin/nodejs
                    /usr/bin/node
                    /usr/bin/npm
                    v14.18.2
                    v14.18.2
                    6.14.15
                    OK:1 http://phoscon.de/apt/deconz bullseye-beta InRelease
                    OK:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                    OK:3 http://archive.raspberrypi.org/debian bullseye InRelease
                    OK:4 https://deb.nodesource.com/node_14.x bullseye InRelease
                    Paketlisten werden gelesen… Fertig
                    Abhängigkeitsbaum wird aufgebaut… Fertig
                    Statusinformationen werden eingelesen… Fertig
                    Alle Pakete sind aktuell.
                    OK:1 http://phoscon.de/apt/deconz bullseye-beta InRelease
                    OK:2 http://archive.raspberrypi.org/debian bullseye InRelease
                    OK:3 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                    OK:4 https://deb.nodesource.com/node_14.x bullseye InRelease
                    Paketlisten werden gelesen… Fertig
                    Abhängigkeitsbaum wird aufgebaut… Fertig
                    Statusinformationen werden eingelesen… Fertig
                    Alle Pakete sind aktuell.
                    nodejs:
                      Installiert:           14.18.2-deb-1nodesource1
                      Installationskandidat: 14.18.2-deb-1nodesource1
                      Versionstabelle:
                     *** 14.18.2-deb-1nodesource1 500
                            500 https://deb.nodesource.com/node_14.x bullseye/main armhf Packages
                            100 /var/lib/dpkg/status
                         12.22.5~dfsg-2~11u1 500
                            500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                    
                    

                    das sieht gut aus 🙂 aber beim
                    das nicht 😞

                    
                    pi@mospi:/usr/local/lib $ iobroker add esphome
                    NPM version: 6.14.15
                    npm install iobroker.esphome@0.2.4 --loglevel error --prefix "/opt/iobroker" (System call)
                    Error: Python site module exited with code 1.
                    Could not find platform independent libraries <prefix>
                    Could not find platform dependent libraries <exec_prefix>
                    Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
                    Python path configuration:
                      PYTHONHOME = (not set)
                      PYTHONPATH = '/opt/iobroker/node_modules/iobroker.esphome'
                      program name = 'python3.8'
                      isolated = 0
                      environment = 1
                      user site = 1
                      import site = 1
                      sys._base_executable = '/usr/local/bin/python3.8'
                      sys.base_prefix = '/usr/local'
                      sys.base_exec_prefix = '/usr/local'
                      sys.executable = '/usr/local/bin/python3.8'
                      sys.prefix = '/usr/local'
                      sys.exec_prefix = '/usr/local'
                      sys.path = [
                        '/opt/iobroker/node_modules/iobroker.esphome',
                        '/usr/local/lib/python38.zip',
                        '/usr/local/lib/python3.8',
                        '/usr/local/lib/lib-dynload',
                      ]
                    Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
                    Python runtime state: core initialized
                    ModuleNotFoundError: No module named 'encodings'
                    
                    Current thread 0x76f87040 (most recent call first):
                    <no Python frame>
                    
                        at ChildProcess.<anonymous> (/opt/iobroker/node_modules/nopy/src/api.js:106:16)
                        at ChildProcess.emit (events.js:400:28)
                        at maybeClose (internal/child_process.js:1058:16)
                        at Process.ChildProcess._handle.onexit (internal/child_process.js:293:5)
                    npm ERR! code ELIFECYCLE
                    npm ERR! errno 1
                    npm ERR! iobroker.esphome@0.2.4 install: `npip install`
                    npm ERR! Exit status 1
                    npm ERR!
                    npm ERR! Failed at the iobroker.esphome@0.2.4 install script.
                    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                    
                    npm ERR! A complete log of this run can be found in:
                    npm ERR!     /home/iobroker/.npm/_logs/2022-01-02T21_11_14_284Z-debug.log
                    host.mospi Cannot install iobroker.esphome@0.2.4: 1
                    
                    
                    Thomas BraunT 1 Antwort Letzte Antwort
                    0
                    • O OPatrick

                      @thomas-braun
                      naja ich habe über apt-get reinstall python3 etc.. versucht die Verzeichniss links richtig zu setzten..

                      
                      pi@mospi:/usr/local/lib $ which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
                      /usr/bin/nodejs
                      /usr/bin/node
                      /usr/bin/npm
                      v14.18.2
                      v14.18.2
                      6.14.15
                      OK:1 http://phoscon.de/apt/deconz bullseye-beta InRelease
                      OK:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                      OK:3 http://archive.raspberrypi.org/debian bullseye InRelease
                      OK:4 https://deb.nodesource.com/node_14.x bullseye InRelease
                      Paketlisten werden gelesen… Fertig
                      Abhängigkeitsbaum wird aufgebaut… Fertig
                      Statusinformationen werden eingelesen… Fertig
                      Alle Pakete sind aktuell.
                      OK:1 http://phoscon.de/apt/deconz bullseye-beta InRelease
                      OK:2 http://archive.raspberrypi.org/debian bullseye InRelease
                      OK:3 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                      OK:4 https://deb.nodesource.com/node_14.x bullseye InRelease
                      Paketlisten werden gelesen… Fertig
                      Abhängigkeitsbaum wird aufgebaut… Fertig
                      Statusinformationen werden eingelesen… Fertig
                      Alle Pakete sind aktuell.
                      nodejs:
                        Installiert:           14.18.2-deb-1nodesource1
                        Installationskandidat: 14.18.2-deb-1nodesource1
                        Versionstabelle:
                       *** 14.18.2-deb-1nodesource1 500
                              500 https://deb.nodesource.com/node_14.x bullseye/main armhf Packages
                              100 /var/lib/dpkg/status
                           12.22.5~dfsg-2~11u1 500
                              500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                      
                      

                      das sieht gut aus 🙂 aber beim
                      das nicht 😞

                      
                      pi@mospi:/usr/local/lib $ iobroker add esphome
                      NPM version: 6.14.15
                      npm install iobroker.esphome@0.2.4 --loglevel error --prefix "/opt/iobroker" (System call)
                      Error: Python site module exited with code 1.
                      Could not find platform independent libraries <prefix>
                      Could not find platform dependent libraries <exec_prefix>
                      Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
                      Python path configuration:
                        PYTHONHOME = (not set)
                        PYTHONPATH = '/opt/iobroker/node_modules/iobroker.esphome'
                        program name = 'python3.8'
                        isolated = 0
                        environment = 1
                        user site = 1
                        import site = 1
                        sys._base_executable = '/usr/local/bin/python3.8'
                        sys.base_prefix = '/usr/local'
                        sys.base_exec_prefix = '/usr/local'
                        sys.executable = '/usr/local/bin/python3.8'
                        sys.prefix = '/usr/local'
                        sys.exec_prefix = '/usr/local'
                        sys.path = [
                          '/opt/iobroker/node_modules/iobroker.esphome',
                          '/usr/local/lib/python38.zip',
                          '/usr/local/lib/python3.8',
                          '/usr/local/lib/lib-dynload',
                        ]
                      Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
                      Python runtime state: core initialized
                      ModuleNotFoundError: No module named 'encodings'
                      
                      Current thread 0x76f87040 (most recent call first):
                      <no Python frame>
                      
                          at ChildProcess.<anonymous> (/opt/iobroker/node_modules/nopy/src/api.js:106:16)
                          at ChildProcess.emit (events.js:400:28)
                          at maybeClose (internal/child_process.js:1058:16)
                          at Process.ChildProcess._handle.onexit (internal/child_process.js:293:5)
                      npm ERR! code ELIFECYCLE
                      npm ERR! errno 1
                      npm ERR! iobroker.esphome@0.2.4 install: `npip install`
                      npm ERR! Exit status 1
                      npm ERR!
                      npm ERR! Failed at the iobroker.esphome@0.2.4 install script.
                      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                      
                      npm ERR! A complete log of this run can be found in:
                      npm ERR!     /home/iobroker/.npm/_logs/2022-01-02T21_11_14_284Z-debug.log
                      host.mospi Cannot install iobroker.esphome@0.2.4: 1
                      
                      
                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      schrieb am zuletzt editiert von
                      #467

                      @opatrick sagte in [ESPHome] Beta release:

                      naja ich habe über apt-get reinstall python3 etc.. versucht die Verzeichniss links richtig zu setzten..

                      Konkret?
                      Das bitte in einem eigenen Thread. Hat wie gesagt mit dem Adapter nix zu tun.

                      Linux-Werkzeugkasten:
                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                      NodeJS Fixer Skript:
                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                      1 Antwort Letzte Antwort
                      0
                      • E e-s

                        @draexler
                        Werden denn im esphome Adapter Daten vom esp über api angezeigt, ich würde tippen das das passwort im esphome Adapter nicht drin steht.

                        draexlerD Nicht stören
                        draexlerD Nicht stören
                        draexler
                        schrieb am zuletzt editiert von
                        #468

                        @e-s said in [ESPHome] Beta release:

                        Werden denn im esphome Adapter Daten vom esp über api angezeigt, ich würde tippen das das passwort im esphome Adapter nicht drin steht.

                        Habe des ESP mal aus dem Adapter gelöscht und wieder mit hinzugefügt und zwar mit dem API Passwort was in der YAML hinterlegt. Die Meldung das das PW falsch ist, kommt aber immer noch...
                        Noch irgendeine Idee?

                        E 1 Antwort Letzte Antwort
                        0
                        • draexlerD draexler

                          @e-s said in [ESPHome] Beta release:

                          Werden denn im esphome Adapter Daten vom esp über api angezeigt, ich würde tippen das das passwort im esphome Adapter nicht drin steht.

                          Habe des ESP mal aus dem Adapter gelöscht und wieder mit hinzugefügt und zwar mit dem API Passwort was in der YAML hinterlegt. Die Meldung das das PW falsch ist, kommt aber immer noch...
                          Noch irgendeine Idee?

                          E Offline
                          E Offline
                          e-s
                          schrieb am zuletzt editiert von
                          #469

                          @draexler
                          Hast du mal ein extrem einfaches pw getestet und auf nicht gewünschte Leerzeichen geachtet?

                          1 Antwort Letzte Antwort
                          0
                          • DutchmanD Dutchman
                            Aktuelle Test Version 0.1.0
                            Veröffentlichungsdatum 28-02-2021
                            Github Link https://github.com/Drozmotix/ioBroker.esphome
                            Dokumentation https://Drozmotix.github.io/languages/de/ESPHome/

                            Der Adapter stellt über seine native API eine Verbindung zum von ESPHome verwalteten Gerät her und stellt sicher, dass alle Daten bei jeder Änderung synchronisiert werden

                            dashboard.png

                            Unterstützte Typen

                            Der adapter unterstützt momentan folgende sensor typen

                            Type Funktionalität mehr Informationen
                            BinarySensor Sie können verschiedene Arten von Binärsensoren verwenden. Diese werden automatisch in ioBroker angezeigt und verfügen über mehrere Konfigurationsoptionen. Binary Sensor Component
                            Climate ESPHome unterstützt Klimageräte. Klimageräte können verschiedene Arten von Hardware darstellen, aber der entscheidende Faktor ist, dass Klimageräte eine einstellbare Zieltemperatur haben und in verschiedene Modi wie HEAT, COOL, AUTO oder OFF geschaltet werden können. Climate Component
                            Sensor ESPHome unterstützt viele verschiedene Sensoren. Jeder von ihnen ist eine Plattform der Sensordomäne und jeder Sensor verfügt über mehrere Basiskonfigurationsoptionen. Sensor Component
                            TextSensor Textsensoren sind normalen Sensoren sehr ähnlich. Wenn die „normalen“ Sensoren jedoch nur Sensoren darstellen, die Zahlen ausgeben, kann diese Komponente einen beliebigen Text darstellen. Text Sensor Component
                            Switch Mit der GPIO-Switch-Plattform können Sie einen beliebigen Pin auf Ihrem Knoten als Switch verwenden. Sie können beispielsweise ein Relais an einen GPIO-Pin anschließen und über diese Plattform verwenden. GPIO Switch

                            Viel spass !

                            PS: Habe diesmal sogar Doku geschrieben 🤓

                            liv-in-skyL Offline
                            liv-in-skyL Offline
                            liv-in-sky
                            schrieb am zuletzt editiert von
                            #470

                            @dutchman

                            sorry aber konnte mein thema nicht finden - wird aber sicher irgendwo stehen

                            habe 3 esphome devices. wollte heute nach einem jahr mal wieder etwas in einem device ändern (ich habe den adapter nicht installiert), und bekam auf meinem win10 bei "esphome run ...yaml" immer einen fehler

                            also wollte ich mal über den adapter probieren. der wird installiert und ich kann von hand die devices einbinden und bekomme datenpunkte

                            was ich nicht verstehe: wie bekomme ich nun die geräte in iobroker über das dashboard - das ist im moment leer - ich konnte auf dem pc das esphome wieder zum laufen bringen. mit "esphome dashboard config/" kann ich auf dem pc das dashboard aktivieren und erst dann sehe ich in iobroker auch ein dashboard - ist aber leer und zeigt keine devices an

                            was muss ich jetzt machen ? ich möchte das dashboard nicht auf dem pc starten, sondern immer haben - muss das auf dem iobroker server installiert werden ?

                            und .. wie bekomme ich dann die schon geflashten devices in dieses dashboard

                            sorry für die fragen - aber irgendwie check ich es nicht

                            nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

                            FredFF 1 Antwort Letzte Antwort
                            0
                            • liv-in-skyL liv-in-sky

                              @dutchman

                              sorry aber konnte mein thema nicht finden - wird aber sicher irgendwo stehen

                              habe 3 esphome devices. wollte heute nach einem jahr mal wieder etwas in einem device ändern (ich habe den adapter nicht installiert), und bekam auf meinem win10 bei "esphome run ...yaml" immer einen fehler

                              also wollte ich mal über den adapter probieren. der wird installiert und ich kann von hand die devices einbinden und bekomme datenpunkte

                              was ich nicht verstehe: wie bekomme ich nun die geräte in iobroker über das dashboard - das ist im moment leer - ich konnte auf dem pc das esphome wieder zum laufen bringen. mit "esphome dashboard config/" kann ich auf dem pc das dashboard aktivieren und erst dann sehe ich in iobroker auch ein dashboard - ist aber leer und zeigt keine devices an

                              was muss ich jetzt machen ? ich möchte das dashboard nicht auf dem pc starten, sondern immer haben - muss das auf dem iobroker server installiert werden ?

                              und .. wie bekomme ich dann die schon geflashten devices in dieses dashboard

                              sorry für die fragen - aber irgendwie check ich es nicht

                              FredFF Online
                              FredFF Online
                              FredF
                              Most Active Forum Testing
                              schrieb am zuletzt editiert von
                              #471

                              @liv-in-sky sagte in [ESPHome] Beta release:

                              nd .. wie bekomme ich dann die schon geflashten devices in dieses dashboard

                              Das liegt imho daran, dass das Dashboard im ESPHome Adapter älter ist, als das mit du deine ESP programmiert hast

                              liv-in-skyL 1 Antwort Letzte Antwort
                              0
                              • FredFF FredF

                                @liv-in-sky sagte in [ESPHome] Beta release:

                                nd .. wie bekomme ich dann die schon geflashten devices in dieses dashboard

                                Das liegt imho daran, dass das Dashboard im ESPHome Adapter älter ist, als das mit du deine ESP programmiert hast

                                liv-in-skyL Offline
                                liv-in-skyL Offline
                                liv-in-sky
                                schrieb am zuletzt editiert von liv-in-sky
                                #472

                                @fredf

                                und das bedeutet ??

                                sehe ich das richtig, dass ich auf dem iobroker server nichts außer phyton instaliert haben muss - und das sollte rein theoretisch funktionieren ?

                                nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

                                FredFF SBorgS 2 Antworten Letzte Antwort
                                0
                                • liv-in-skyL liv-in-sky

                                  @fredf

                                  und das bedeutet ??

                                  sehe ich das richtig, dass ich auf dem iobroker server nichts außer phyton instaliert haben muss - und das sollte rein theoretisch funktionieren ?

                                  FredFF Online
                                  FredFF Online
                                  FredF
                                  Most Active Forum Testing
                                  schrieb am zuletzt editiert von
                                  #473

                                  @liv-in-sky Ganz verstehe ich das Problem nicht... und das was ich vorher schrieb ist blödsinn...
                                  Darüber öffnest du das Dashboard?
                                  1ae771ae-0f7e-4dbc-acc7-4df3087495f9-grafik.png
                                  Bei den Adapter Einstellungen ist die IP des ioBroker eingetragen?

                                  liv-in-skyL 1 Antwort Letzte Antwort
                                  1
                                  • FredFF FredF

                                    @liv-in-sky Ganz verstehe ich das Problem nicht... und das was ich vorher schrieb ist blödsinn...
                                    Darüber öffnest du das Dashboard?
                                    1ae771ae-0f7e-4dbc-acc7-4df3087495f9-grafik.png
                                    Bei den Adapter Einstellungen ist die IP des ioBroker eingetragen?

                                    liv-in-skyL Offline
                                    liv-in-skyL Offline
                                    liv-in-sky
                                    schrieb am zuletzt editiert von
                                    #474

                                    @fredf

                                    ok - die iobroker adresse ist jetzt drin und ann geht es auch auf - ein problem weniger

                                    und warum ist das leer ?

                                    Image 2.png Image 1.png

                                    nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

                                    1 Antwort Letzte Antwort
                                    0
                                    • liv-in-skyL liv-in-sky

                                      @fredf

                                      und das bedeutet ??

                                      sehe ich das richtig, dass ich auf dem iobroker server nichts außer phyton instaliert haben muss - und das sollte rein theoretisch funktionieren ?

                                      SBorgS Offline
                                      SBorgS Offline
                                      SBorg
                                      Forum Testing Most Active
                                      schrieb am zuletzt editiert von
                                      #475

                                      @liv-in-sky Du hast wahrscheinlich nicht deine yaml-Dateien in den ioB kopiert? Dann weiß er auch im Dashboard IMO nichts von deinen Geräten.

                                      /opt/iobroker/iobroker-data/esphome.0/xyz.yaml

                                      LG SBorg ( SBorg auf GitHub)
                                      Projekte: Lebensmittelwarnung.de | WLAN-Wetterstation | PimpMyStation

                                      liv-in-skyL 4 Antworten Letzte Antwort
                                      2
                                      • SBorgS SBorg

                                        @liv-in-sky Du hast wahrscheinlich nicht deine yaml-Dateien in den ioB kopiert? Dann weiß er auch im Dashboard IMO nichts von deinen Geräten.

                                        /opt/iobroker/iobroker-data/esphome.0/xyz.yaml

                                        liv-in-skyL Offline
                                        liv-in-skyL Offline
                                        liv-in-sky
                                        schrieb am zuletzt editiert von
                                        #476

                                        @sborg das mach ich gleich mal 🙂

                                        nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

                                        1 Antwort Letzte Antwort
                                        0
                                        • SBorgS SBorg

                                          @liv-in-sky Du hast wahrscheinlich nicht deine yaml-Dateien in den ioB kopiert? Dann weiß er auch im Dashboard IMO nichts von deinen Geräten.

                                          /opt/iobroker/iobroker-data/esphome.0/xyz.yaml

                                          liv-in-skyL Offline
                                          liv-in-skyL Offline
                                          liv-in-sky
                                          schrieb am zuletzt editiert von
                                          #477

                                          @sborg
                                          @FredF

                                          danke euch beiden

                                          Image 3.png

                                          nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

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


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          738

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          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