Navigation

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

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [ESPHome] Beta release

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

      @fredf Danke, war noch auf der Doku zur 0.1.0 hängen geblieben. Sorry

      FredF 1 Reply Last reply Reply Quote 0
      • FredF
        FredF Most Active Forum Testing @klassisch last edited by

        @klassisch sagte in [ESPHome] Beta release:

        Sorry

        Dafür nicht

        1 Reply Last reply Reply Quote 0
        • K
          klassisch Most Active last edited by

          Oh, sehe nodejs >= 12. Könnte Schwierigkeiten geben. bin noch bei v10.17.0
          Mal testen.

          FredF 1 Reply Last reply Reply Quote 0
          • FredF
            FredF Most Active Forum Testing @klassisch last edited by

            @klassisch Windows, oder?

            K 1 Reply Last reply Reply Quote 0
            • K
              klassisch Most Active @FredF last edited by

              @fredf Ja, läuft prima und ich kann es warten. Aber bei den Updates bin ich zurückhaltend. Hatte auf einen runderneuerten Installer gehofft. Hatte in Summe mit meinen Linux SBCs mehr Unanehmlichkeiten als mit dem Windows System. Gut der vergleich ist sicher nicht fair, aber eben meine persönliche History. Und auf meinem ioBroker rechner läuft noch anderes Zeug, das teilweise nur mit Win geht.

              1 Reply Last reply Reply Quote 0
              • K
                klassisch Most Active last edited by klassisch

                Python ist jetzt drauf (Anleitung hat geholfen ) und von der ioBroker Konsole aus aufrufbar.

                
                **********************************************************
                ***               Welcome to ioBroker.                 ***
                ***                                                    ***
                ***   Type 'iobroker help' for list of instructions.   ***
                ***                For more help see                   ***
                ***     https://github.com/ioBroker/ioBroker.docs      ***
                **********************************************************
                
                Your environment has been set up for using Node.js 10.17.0 (x64) and npm.
                
                
                C:\Program Files\iobroker\ioBrMain026>python
                Python 3.9.2 (tags/v3.9.2:1a79785, Feb 19 2021, 13:44:55) [MSC v.1928 64 bit (AMD64)] on win32
                Type "help", "copyright", "credits" or "license" for more information.
                >>>
                
                

                Aber noch immer die Fehlermeldung, daß python nicht zur verfügung stünde.
                Hängt das an der node.js Version oder könnte ein ioBroker Neustart helfen, damit er die geänderten Pfade vereinnahmen kann?

                Dutchman 1 Reply Last reply Reply Quote 0
                • Dutchman
                  Dutchman Developer Most Active Administrators @klassisch last edited by

                  @klassisch sagte in [ESPHome] Beta release:

                  Aber noch immer die Fehlermeldung, daß python nicht zur verfügung stünde.

                  was kommt im log ?

                  K 1 Reply Last reply Reply Quote 0
                  • Dutchman
                    Dutchman Developer Most Active Administrators last edited by

                    Ich habe bei der Gelegenheit diesmal auch an die doc gedacht 🙂

                    https://drozmotix.github.io/languages/de/ESPHome/03.adapterConfig.html

                    ESPHome_Docu.png

                    1 Reply Last reply Reply Quote 1
                    • K
                      klassisch Most Active @Dutchman last edited by

                      @dutchman sagte in [ESPHome] Beta release:

                      was kommt im log ?

                      Noch immer

                       host.DESKTOP-0UPK22M(ioBrMain2) iobroker Error: No python executable.
                      2021-03-27 21:06:21.055 - info: host.DESKTOP-0UPK22M(ioBrMain2) iobroker at getPythonInfo (C:\Program Files\iobroker\ioBrMain026\node_modules\nopy\src\api.js:52:11)
                      at Promise.then.catch.error (C:\Program Files\iobroker\ioBrMain026\node_modules\nopy\src\api.js:115:14)
                      at process._tickCallback (internal/process/next_tick.js:68:7)
                      2021-03-27 21:06:23.635 - info: host.DESKTOP-0UPK22M(ioBrMain2) iobroker npm ERR! code ELIFECYCLE
                      2021-03-27 21:06:23.637 - info: host.DESKTOP-0UPK22M(ioBrMain2) iobroker npm ERR! errno 1
                      2021-03-27 21:06:23.638 - info: host.DESKTOP-0UPK22M(ioBrMain2) iobroker npm ERR! iobroker.esphome@0.2.0-0 install: `npip install`
                      npm ERR! Exit status 1
                      

                      Aber ich mache gerade ein langaufgeschobenes Windows Update und danach einen Restart des ganzen Rechners incl. ioBroker. Vielleicht sind dann die Pfade aktualisiert.

                      Dutchman 1 Reply Last reply Reply Quote 0
                      • Dutchman
                        Dutchman Developer Most Active Administrators @klassisch last edited by

                        @klassisch sagte in [ESPHome] Beta release:

                        Aber ich mache gerade ein langaufgeschobenes Windows Update

                        hmm möglich das ich fuer Windows da was ändern muss, linux läuft 🤕

                        1 Reply Last reply Reply Quote 0
                        • K
                          klassisch Most Active last edited by

                          @dutchman Reboot tut gut. Jetzt ist das Update auch hier erfolgreich durchgelaufen

                          Wahrscheinlich wird nach einer frischen python Installation ein Reboot oder zumindest ein Schließen der ioBroker Instanz benötigt.
                          Hatte den Effekt auch im CMD Fenster:

                          • Vor der python Installation ein CMD Fenster geöffnet um zu sehen, ob python da ist
                          • python installiert über den Installer
                          • Im selben CMD-Fenster wie oben nochmals geschaut ob auf die Eingabe python reagiert wird. Negativ
                          • CMD Fenster geschlossen und ein neues aufgemacht. Diesmal war der Python Test positiv.

                          Deshalb denke ich, daß man nach einer frischen python Installation mindestens einen ioBroker restart braucht.

                          
                          $ ./iobroker url "https://github.com/Drozmotix/ioBroker.esphome" --debug
                          install Drozmotix/ioBroker.esphome#f0ac4791144bff01437f4d07ef4e9f8c62420eb5
                          NPM version: 6.11.3
                          npm install Drozmotix/ioBroker.esphome#f0ac4791144bff01437f4d07ef4e9f8c62420eb5 --loglevel error (System call)
                          
                          > node-aead-crypto@2.2.0 preinstall C:\Program Files\iobroker\ioBrMain026\node_modules\node-aead-crypto
                          > node lib/preinstall.js
                          
                          node-aead-crypto not needed on this system, since all ciphers are natively supported
                          
                          > iobroker.esphome@0.2.0-0 install C:\Program Files\iobroker\ioBrMain026\node_modules\iobroker.esphome
                          > npip install
                          
                          No python_modules directory; installing pip locally if needed.
                          C:\Program Files\Python39\lib\site-packages\setuptools\distutils_patch.py:25: UserWarning: Distutils was imported before Setuptools. This usage is discouraged and may exhibit undesirable behaviors or errors. Please use Setuptools' objects directly or at least import Setuptools first.
                           warnings.warn(
                          Successfully completed pip check.
                          Collecting esphome>=1.16.2
                           Downloading esphome-1.16.2-py2.py3-none-any.whl (1.7 MB)
                          Collecting tornado>=3.2
                           Downloading tornado-6.1-cp39-cp39-win_amd64.whl (422 kB)
                          Collecting ifaddr==0.1.7
                           Downloading ifaddr-0.1.7-py2.py3-none-any.whl (10 kB)
                          Collecting click==7.1.2
                           Downloading click-7.1.2-py2.py3-none-any.whl (82 kB)
                          Collecting colorama==0.4.4
                           Downloading colorama-0.4.4-py2.py3-none-any.whl (16 kB)
                          Collecting voluptuous==0.12.0
                           Downloading voluptuous-0.12.0-py3-none-any.whl (29 kB)
                          Collecting PyYAML==5.3.1
                           Downloading PyYAML-5.3.1-cp39-cp39-win_amd64.whl (212 kB)
                          Collecting protobuf==3.13.0
                           Downloading protobuf-3.13.0-py2.py3-none-any.whl (438 kB)
                          Collecting pyserial==3.5
                           Downloading pyserial-3.5-py2.py3-none-any.whl (90 kB)
                          Collecting paho-mqtt==1.5.1
                           Downloading paho-mqtt-1.5.1.tar.gz (101 kB)
                          Collecting colorlog==4.6.2
                           Downloading colorlog-4.6.2-py2.py3-none-any.whl (10.0 kB)
                          Collecting platformio==5.0.4
                           Downloading platformio-5.0.4.tar.gz (213 kB)
                          Collecting esptool==2.8
                           Downloading esptool-2.8.tar.gz (84 kB)
                          Collecting tzlocal==2.1
                           Downloading tzlocal-2.1-py2.py3-none-any.whl (16 kB)
                          Collecting pytz==2020.5
                           Downloading pytz-2020.5-py2.py3-none-any.whl (510 kB)
                          Collecting pyaes
                           Downloading pyaes-1.6.1.tar.gz (28 kB)
                          Collecting ecdsa
                           Downloading ecdsa-0.16.1-py2.py3-none-any.whl (104 kB)
                          Collecting bottle<0.13
                           Downloading bottle-0.12.19-py3-none-any.whl (89 kB)
                          Collecting requests<3,>=2.4.0
                           Downloading requests-2.25.1-py2.py3-none-any.whl (61 kB)
                          Collecting semantic_version<3,>=2.8.1
                           Downloading semantic_version-2.8.5-py2.py3-none-any.whl (15 kB)
                          Collecting tabulate<1,>=0.8.3
                           Downloading tabulate-0.8.9-py3-none-any.whl (25 kB)
                          Collecting pyelftools<1,>=0.25
                           Downloading pyelftools-0.27-py2.py3-none-any.whl (151 kB)
                          Collecting marshmallow>=2
                           Downloading marshmallow-3.10.0-py2.py3-none-any.whl (46 kB)
                          Requirement already satisfied: setuptools in c:\program files\python39\lib\site-packages (from protobuf==3.13.0->esphome>=1.16.2) (49.2.1)
                          Collecting six>=1.9
                           Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
                          Collecting certifi>=2017.4.17
                           Downloading certifi-2020.12.5-py2.py3-none-any.whl (147 kB)
                          Collecting urllib3<1.27,>=1.21.1
                           Downloading urllib3-1.26.4-py2.py3-none-any.whl (153 kB)
                          Collecting chardet<5,>=3.0.2
                           Downloading chardet-4.0.0-py2.py3-none-any.whl (178 kB)
                          Collecting idna<3,>=2.5
                           Downloading idna-2.10-py2.py3-none-any.whl (58 kB)
                          Building wheels for collected packages: esptool, paho-mqtt, platformio, pyaes
                           Building wheel for esptool (setup.py): started
                           Building wheel for esptool (setup.py): finished with status 'done'
                           Created wheel for esptool: filename=esptool-2.8-py3-none-any.whl size=75627 sha256=2bd4a78cec7404d2e9ed930573bbdc27de5e45d93c000a2499d99d3b90e12ee8
                           Stored in directory: c:\windows\serviceprofiles\iobroker(iobrmain026)\appdata\local\pip\cache\wheels\6e\81\1a\5869d28ddbb117ffcfd13d359913001cd0df1e71dc6a80c02e
                           Building wheel for paho-mqtt (setup.py): started
                           Building wheel for paho-mqtt (setup.py): finished with status 'done'
                           Created wheel for paho-mqtt: filename=paho_mqtt-1.5.1-py3-none-any.whl size=64847 sha256=00489527a8449e9d646853c44a45a0d6b04bf1305196e11e6aba0d57cafed019
                           Stored in directory: c:\windows\serviceprofiles\iobroker(iobrmain026)\appdata\local\pip\cache\wheels\22\b9\0f\9a1f64674f849b8ae88620232f2023f0ff2a50a4479b8a32ed
                           Building wheel for platformio (setup.py): started
                           Building wheel for platformio (setup.py): finished with status 'done'
                           Created wheel for platformio: filename=platformio-5.0.4-py3-none-any.whl size=330229 sha256=6422ba15fd8766b1f640b57eaf1d17c0c1e4bf100fa2f68b11e001819f58a7f0
                           Stored in directory: c:\windows\serviceprofiles\iobroker(iobrmain026)\appdata\local\pip\cache\wheels\6b\fc\5a\88dc65eb601a746a4583320896ef5730839e5683b38d43b653
                           Building wheel for pyaes (setup.py): started
                           Building wheel for pyaes (setup.py): finished with status 'done'
                           Created wheel for pyaes: filename=pyaes-1.6.1-py3-none-any.whl size=26345 sha256=cc85786aa2189fea5d1b0cceedfadfb3729b1caf926d08ffd71e2db525be9864
                           Stored in directory: c:\windows\serviceprofiles\iobroker(iobrmain026)\appdata\local\pip\cache\wheels\33\13\e9\ef9894385084d8e4fab38f5f83afda49a3d593d8afc907c8fd
                          Successfully built esptool paho-mqtt platformio pyaes
                          Installing collected packages: urllib3, six, idna, chardet, certifi, tabulate, semantic-version, requests, pytz, pyserial, pyelftools, pyaes, marshmallow, ecdsa, colorama, click, bottle, voluptuous, tzlocal, tornado, PyYAML, protobuf, platformio, paho-mqtt, ifaddr, esptool, colorlog, esphome
                          Successfully installed PyYAML-5.3.1 bottle-0.12.19 certifi-2020.12.5 chardet-4.0.0 click-7.1.2 colorama-0.4.4 colorlog-4.6.2 ecdsa-0.16.1 esphome-1.16.2 esptool-2.8 idna-2.10 ifaddr-0.1.7 marshmallow-3.10.0 paho-mqtt-1.5.1 platformio-5.0.4 protobuf-3.13.0 pyaes-1.6.1 pyelftools-0.27 pyserial-3.5 pytz-2020.5 requests-2.25.1 semantic-version-2.8.5 six-1.15.0 tabulate-0.8.9 tornado-6.1 tzlocal-2.1 urllib3-1.26.4 voluptuous-0.12.0
                          + iobroker.esphome@0.2.0-0
                          added 10 packages from 8 contributors, removed 1 package, updated 1 package and audited 2311 packages in 101.58s
                          found 169 vulnerabilities (124 low, 9 moderate, 36 high)
                           run `npm audit fix` to fix them, or `npm audit` for details
                          upload [5] esphome.admin C:/Program Files/iobroker/ioBrMain026/node_modules/iobroker.esphome/admin/words.js words.js application/javascript
                          upload [4] esphome.admin C:/Program Files/iobroker/ioBrMain026/node_modules/iobroker.esphome/admin/style.css style.css text/css
                          upload [3] esphome.admin C:/Program Files/iobroker/ioBrMain026/node_modules/iobroker.esphome/admin/index_m.html index_m.html text/html
                          upload [2] esphome.admin C:/Program Files/iobroker/ioBrMain026/node_modules/iobroker.esphome/admin/img/dashboard.png img/dashboard.png image/png
                          upload [1] esphome.admin C:/Program Files/iobroker/ioBrMain026/node_modules/iobroker.esphome/admin/esphome.png esphome.png image/png
                          upload [0] esphome.admin C:/Program Files/iobroker/ioBrMain026/node_modules/iobroker.esphome/admin/admin.d.ts admin.d.ts video/mp2t
                          Update "system.adapter.esphome.0"
                          process exited with code 0
                          

                          1 Reply Last reply Reply Quote 0
                          • K
                            klassisch Most Active last edited by

                            Allerdings bleibt der Adapter nach Start rot und im Log sehe ich wieder das Parser-Problem.
                            Wahrscheinlich geht es mit Node.JS 10 doch nicht.

                            2021-03-27 22:27:05.600  - info: host.DESKTOP-0UPK22M(ioBrMain2) instance system.adapter.esphome.0 started with pid 9028
                            2021-03-27 22:27:06.648  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[0]: C:\Program
                            2021-03-27 22:27:06.648  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[1]:  Files\iobroker\ioBrMain026\node_modules\esphome-native-api\lib\utils\messages.js:55
                            
                            2021-03-27 22:27:06.649  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[1]: const type_to_id = Object.fromEntries(Object.entries(id_t
                            2021-03-27 22:27:06.649  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[2]: o_type).map(([k, v]) => [v, k]));
                            
                            2021-03-27 22:27:06.649  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[2]:                           ^
                            
                            2021-03-27 22:27:06.649  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[2]: 
                            
                            2021-03-27 22:27:06.649  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[2]: TypeError: Object.fromEnt
                            2021-03-27 22:27:06.649  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[3]: ries
                            2021-03-27 22:27:06.649  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[4]:  
                            2021-03-27 22:27:06.650  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[5]: i
                            2021-03-27 22:27:06.650  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[6]: s
                            2021-03-27 22:27:06.650  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[7]:  
                            2021-03-27 22:27:06.650  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[8]: n
                            2021-03-27 22:27:06.650  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[9]: o
                            2021-03-27 22:27:06.650  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[10]: t a function
                            
                            2021-03-27 22:27:06.651  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[10]:     at Object.<anonymous
                            2021-03-27 22:27:06.651  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[11]: > (C:\Program Files\iobroker\ioBrMain026
                            2021-03-27 22:27:06.651  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[12]: \nod
                            2021-03-27 22:27:06.651  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[13]: e_modules\esphome-native-api\lib\utils\messages.js:55:27)
                            
                            2021-03-27 22:27:06.651  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[13]:     at Module._compile (internal/modules/cjs/loader.js:778:30)
                            
                            2021-03-27 22:27:06.651  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[13]:     at Object.Module._extensions..js (inte
                            2021-03-27 22:27:06.651  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[14]: rnal/
                            2021-03-27 22:27:06.651  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[15]: modules/cjs/loader.js:789:10)
                            
                            2021-03-27 22:27:06.651  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[15]:     at Module.load (internal/modules/cjs/loader.js:653:32)
                            
                            2021-03-27 22:27:06.652  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[15]:    
                            2021-03-27 22:27:06.652  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[16]:  at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
                            
                            2021-03-27 22:27:06.652  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[17]:     at Function.Module._load (internal/modules/cjs/loader.js:585:3)
                            
                            2021-03-27 22:27:06.652  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[17]:     at Module.req
                            2021-03-27 22:27:06.652  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[18]: uire (internal/modules/cjs/loader.js:692:17)
                            
                            2021-03-27 22:27:06.652  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[18]:     at req
                            2021-03-27 22:27:06.652  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[19]: uire (internal/modules/cjs/helpers.js:25:18)
                            
                            2021-03-27 22:27:06.652  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[19]:     at Object.<anonymous> (C:\Program Files\iobroker\ioBrMain026\n
                            2021-03-27 22:27:06.653  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[20]: ode_modules\esphome-native-api\lib\connection.js:3:40)
                            
                            2021-03-27 22:27:06.653  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[20]:     at Module._compile (internal/modules/cjs/loader.js:778:30)
                            
                            2021-03-27 22:27:06.653  - error: host.DESKTOP-0UPK22M(ioBrMain2) instance system.adapter.esphome.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                            2021-03-27 22:27:06.653  - info: host.DESKTOP-0UPK22M(ioBrMain2) Restart adapter system.adapter.esphome.0 because enabled
                            2021-03-27 22:27:36.671  - info: host.DESKTOP-0UPK22M(ioBrMain2) instance system.adapter.esphome.0 started with pid 11364
                            2021-03-27 22:27:37.118  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[0]: C:\Program Files\i
                            2021-03-27 22:27:37.118  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[1]: obroker\ioBrMain026\node_modules\esphome-native-api\lib\utils\messages.js:55
                            
                            2021-03-27 22:27:37.118  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[1]: const type_to_id = Object.fromEntries(Object.entries(id_
                            2021-03-27 22:27:37.118  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[2]: to_type).map(([k, v]) => [v, k]));
                            
                            2021-03-27 22:27:37.118  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[3]:                           ^
                            
                            2021-03-27 22:27:37.118  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[3]: 
                            
                            2021-03-27 22:27:37.118  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[3]: TypeError: Object.fromE
                            2021-03-27 22:27:37.119  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[4]: ntries is not a function
                            
                            2021-03-27 22:27:37.119  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[5]:     at Object.<anonymous> (C:\Program Files\iobroker
                            2021-03-27 22:27:37.119  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[6]: \ioBrMain026\node_modul
                            2021-03-27 22:27:37.119  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[7]: es\esphome-native-api\lib\utils\messages.js:55:27)
                            
                            2021-03-27 22:27:37.119  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[8]:     at Module._compile (in
                            2021-03-27 22:27:37.119  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[9]: ternal/modules/cjs/loader.js:778:30)
                            
                            2021-03-27 22:27:37.119  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[9]:     at Object.M
                            2021-03-27 22:27:37.119  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[10]: odule._extensions..js (internal/
                            2021-03-27 22:27:37.119  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[11]: modules/cjs/loader.js:789:10)
                            
                            2021-03-27 22:27:37.119  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[11]:     at Module.load (i
                            2021-03-27 22:27:37.119  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[12]: nternal/modules/cjs/loader
                            2021-03-27 22:27:37.119  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[13]: .js:653:32)
                            
                            2021-03-27 22:27:37.119  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[13]:     at tryModuleLoad (internal/modules/cj
                            2021-03-27 22:27:37.119  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[14]: s/loader.js:593:12)
                            
                            2021-03-27 22:27:37.119  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[14]:     at Function.Module._load (in
                            2021-03-27 22:27:37.120  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[15]: ternal/modules/cjs/loader.js:58
                            2021-03-27 22:27:37.120  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[16]: 5:3)
                            
                            2021-03-27 22:27:37.120  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[16]:     at Module.require (internal/modules/cjs/loa
                            2021-03-27 22:27:37.120  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[17]: der.js:692:17)
                            
                            2021-03-27 22:27:37.120  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[17]:     at require (
                            2021-03-27 22:27:37.120  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[18]: internal/modules/cjs/helpers.js:25:18)
                            
                            2021-03-27 22:27:37.120  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[18]:     at Object
                            2021-03-27 22:27:37.120  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[19]: .<anonymous> (C:\Program F
                            2021-03-27 22:27:37.120  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[20]: iles\iobroker\ioBrMain026\node_modules\esphome-native-api\lib\co
                            2021-03-27 22:27:37.120  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[21]: nnection.js:3:40)
                            
                            2021-03-27 22:27:37.120  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[21]:     at Modu
                            2021-03-27 22:27:37.120  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[22]: le._compile (internal/modules/cjs/loader.js:778:30)
                            
                            2021-03-27 22:27:37.120  - error: host.DESKTOP-0UPK22M(ioBrMain2) instance system.adapter.esphome.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                            2021-03-27 22:27:37.121  - info: host.DESKTOP-0UPK22M(ioBrMain2) Restart adapter system.adapter.esphome.0 because enabled
                            2021-03-27 22:28:07.140  - info: host.DESKTOP-0UPK22M(ioBrMain2) instance system.adapter.esphome.0 started with pid 11944
                            2021-03-27 22:28:07.632  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[0]: C:\Program Files\iobroker\ioBrMain026\node_modules\esphome-native-api\lib\utils\messages.js:55
                            
                            2021-03-27 22:28:07.632  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[0]: const type_to_id = Object.fromEntries(Object.entries(id_to_type).map(([k, v]) => [v, k]));
                            
                            2021-03-27 22:28:07.632  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[0]:                           ^
                            
                            2021-03-27 22:28:07.632  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[0]: 
                            
                            2021-03-27 22:28:07.632  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[0]: TypeError: Object.fromEntries is not a function
                            
                            2021-03-27 22:28:07.632  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[0]:     at Object.<anonymous> (C:\Program Files\iobroker\ioBrMain026\node_modules\esphome-native-api\lib\utils\messages.js:55:27)
                            
                            2021-03-27 22:28:07.633  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[0]:     at Module._compile (internal/modules/cjs/loader.js:778:30)
                            
                            2021-03-27 22:28:07.633  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[0]:     at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
                            
                            2021-03-27 22:28:07.633  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[0]:     at 
                            2021-03-27 22:28:07.633  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[1]: Module.load (internal/modules/cjs/loader.js:653:32)
                            
                            2021-03-27 22:28:07.633  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[1]:     at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
                            
                            2021-03-27 22:28:07.633  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[1]:    
                            2021-03-27 22:28:07.633  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[2]:  at Function.Module._load (internal/modules/cjs/loade
                            2021-03-27 22:28:07.633  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[3]: r.js:585:3)
                            
                            2021-03-27 22:28:07.633  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[3]:     at Module.require (i
                            2021-03-27 22:28:07.633  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[4]: nternal/modules/cjs/loader.js:692:17)
                            
                            2021-03-27 22:28:07.633  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[4]:     at require (inter
                            2021-03-27 22:28:07.633  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[5]: nal/modules/cjs/helpers.js:25:18)
                            
                            2021-03-27 22:28:07.633  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[5]:     at Object.<anonymous>
                            2021-03-27 22:28:07.633  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[6]:  (C:\Program Files\iobroker\ioBrMain026\node_modules\esphome-native-api\lib\connection.js:3:40)
                            
                            2021-03-27 22:28:07.633  - error: host.DESKTOP-0UPK22M(ioBrMain2) Caught by controller[6]:     at Module._compile (internal/modules/cjs/loader.js:778:30)
                            
                            2021-03-27 22:28:07.633  - error: host.DESKTOP-0UPK22M(ioBrMain2) instance system.adapter.esphome.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                            2021-03-27 22:28:07.634  - info: host.DESKTOP-0UPK22M(ioBrMain2) Restart adapter system.adapter.esphome.0 because enabled
                            

                            E 1 Reply Last reply Reply Quote 0
                            • E
                              e-s @klassisch last edited by

                              @klassisch
                              Hast du überhaupt mal probiert ob esphome auf windows funktioniert, also ohne iobroker?

                              K 1 Reply Last reply Reply Quote 0
                              • K
                                klassisch Most Active @e-s last edited by

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

                                @klassisch

                                Hast du überhaupt mal probiert ob esphome auf windows funktioniert, also ohne iobroker?

                                Ja, aber auf einem anderen Rechner und ist schon eine Weile her.

                                Habe einen CO2 Sensor damit gebaut weil man damals nur mit ESPHome die "Automatikkalibrierung" abschalten konnte. Der läuft tapfer und liefert seine Daten über MQTT.

                                Das Konzept von ESPHome gefällt mir gut.

                                Das Problem jetzt sieht aus wie ein ioBroker Problem beim Parsen des Adaptercodes. Da scheinen Bruchstücke der Befehle bzw. Dateinamen als Befehle interpretiert zu werden, was keinen Sinn macht und dann zum Einschreiten der Ordnungsmacht führt.

                                Dutchman 1 Reply Last reply Reply Quote 0
                                • Dutchman
                                  Dutchman Developer Most Active Administrators @klassisch last edited by

                                  @klassisch sagte in [ESPHome] Beta release:

                                  Da scheinen Bruchstücke der Befehle bzw. Dateinamen als Befehle interpretiert zu werden, was keinen Sinn macht und dann zum Einschreiten der Ordnungsmacht führt.

                                  Wahrscheinlich der unterschied von Pfad Namen bei Windows zu Linux

                                  1 Reply Last reply Reply Quote 0
                                  • Dutchman
                                    Dutchman Developer Most Active Administrators last edited by

                                    0.2.1-0 (2021-03-30)

                                    • (DutchmanNL) Logging improved, solves #48
                                    • (DutchmanNL) Name of states changed, solves #49

                                    0.2.0 (2021-03-29)

                                    • (DutchmanNL) Translations updated
                                    • (DutchmanNL) Configuration page updated
                                    • (DutchmanNL) Added to sentry error reporting
                                    • (DutchmanNL) Native integration of ESPHome Dashboard added

                                    ESPHome_LoggingImproved.png
                                    ESPHome_StateName.png
                                    ESPHome_LoggingOptimized.png

                                    K 1 Reply Last reply Reply Quote 1
                                    • K
                                      klassisch Most Active @Dutchman last edited by

                                      @dutchman Vielen Dank!
                                      Bei mir wird jetzt Version 2.1.0 angezeigt
                                      Installationslog:

                                      $ ./iobroker url "https://github.com/Drozmotix/ioBroker.esphome"
                                      install Drozmotix/ioBroker.esphome#d6e97181c1e6dfa4c928be3cce5b518875494f96
                                      NPM version: 6.11.3
                                      npm install Drozmotix/ioBroker.esphome#d6e97181c1e6dfa4c928be3cce5b518875494f96 --loglevel error (System call)
                                      node-aead-crypto not needed on this system, since all ciphers are natively supported
                                      C:\Program Files\Python39\lib\site-packages\setuptools\distutils_patch.py:25: UserWarning: Distutils was imported before Setuptools. This usage is discouraged and may exhibit undesirable behaviors or errors. Please use Setuptools' objects directly or at least import Setuptools first.
                                       warnings.warn(
                                      Cache entry deserialization failed, entry ignored
                                      upload [5] esphome.admin C:/Program Files/iobroker/ioBrMain026/node_modules/iobroker.esphome/admin/words.js words.js application/javascript
                                      upload [4] esphome.admin C:/Program Files/iobroker/ioBrMain026/node_modules/iobroker.esphome/admin/style.css style.css text/css
                                      upload [3] esphome.admin C:/Program Files/iobroker/ioBrMain026/node_modules/iobroker.esphome/admin/index_m.html index_m.html text/html
                                      upload [2] esphome.admin C:/Program Files/iobroker/ioBrMain026/node_modules/iobroker.esphome/admin/img/dashboard.png img/dashboard.png image/png
                                      upload [1] esphome.admin C:/Program Files/iobroker/ioBrMain026/node_modules/iobroker.esphome/admin/esphome.png esphome.png image/png
                                      upload [0] esphome.admin C:/Program Files/iobroker/ioBrMain026/node_modules/iobroker.esphome/admin/admin.d.ts admin.d.ts video/mp2t
                                      Update "system.adapter.esphome.0"
                                      process exited with code 0
                                      

                                      Dutchman 1 Reply Last reply Reply Quote 0
                                      • Dutchman
                                        Dutchman Developer Most Active Administrators @klassisch last edited by Dutchman

                                        @klassisch sagte in [ESPHome] Beta release:

                                        Version 2.1.0 angezeigt
                                        Installationslog:

                                        0.2.1-0 😉

                                        K 1 Reply Last reply Reply Quote 0
                                        • K
                                          klassisch Most Active @Dutchman last edited by

                                          @dutchman Ja, sorry 0.2.1-0

                                          1 Reply Last reply Reply Quote 0
                                          • FredF
                                            FredF Most Active Forum Testing last edited by FredF

                                            @Dutchman Das wird ja immer besser mit dem Adapter 😳 Super Arbeit 👏

                                            Kleiner Punkt: Ich musste bei der ESPHomeDashboardIP die IP meines Hosts eintragen, localhost klappt nicht. Ist eine Proxmox VM

                                            Edit: Noch was, das ist leer
                                            d7811605-22e8-421e-99d6-84e5f96071e3-grafik.png

                                            Dutchman 1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            606
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            48
                                            591
                                            102995
                                            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