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. Tester
  4. [ESPHome] Beta release

NEWS

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

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

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

[ESPHome] Beta release

Geplant Angeheftet Gesperrt Verschoben Tester
591 Beiträge 48 Kommentatoren 157.3k 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.
  • K Offline
    K Offline
    klassisch
    Most Active
    schrieb am zuletzt editiert von
    #144

    @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 Antwort Letzte Antwort
    0
    • K Offline
      K Offline
      klassisch
      Most Active
      schrieb am zuletzt editiert von
      #145

      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 Antwort Letzte Antwort
      0
      • K klassisch

        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 Offline
        E Offline
        e-s
        schrieb am zuletzt editiert von
        #146

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

        K 1 Antwort Letzte Antwort
        0
        • E e-s

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

          K Offline
          K Offline
          klassisch
          Most Active
          schrieb am zuletzt editiert von
          #147

          @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.

          DutchmanD 1 Antwort Letzte Antwort
          0
          • K klassisch

            @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.

            DutchmanD Online
            DutchmanD Online
            Dutchman
            Developer Most Active Administrators
            schrieb am zuletzt editiert von
            #148

            @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 Antwort Letzte Antwort
            0
            • DutchmanD Online
              DutchmanD Online
              Dutchman
              Developer Most Active Administrators
              schrieb am zuletzt editiert von
              #149

              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 Antwort Letzte Antwort
              1
              • DutchmanD Dutchman

                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 Offline
                K Offline
                klassisch
                Most Active
                schrieb am zuletzt editiert von
                #150

                @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
                

                DutchmanD 1 Antwort Letzte Antwort
                0
                • K klassisch

                  @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
                  

                  DutchmanD Online
                  DutchmanD Online
                  Dutchman
                  Developer Most Active Administrators
                  schrieb am zuletzt editiert von Dutchman
                  #151

                  @klassisch sagte in [ESPHome] Beta release:

                  Version 2.1.0 angezeigt
                  Installationslog:

                  0.2.1-0 ;)

                  K 1 Antwort Letzte Antwort
                  0
                  • DutchmanD Dutchman

                    @klassisch sagte in [ESPHome] Beta release:

                    Version 2.1.0 angezeigt
                    Installationslog:

                    0.2.1-0 ;)

                    K Offline
                    K Offline
                    klassisch
                    Most Active
                    schrieb am zuletzt editiert von
                    #152

                    @dutchman Ja, sorry 0.2.1-0

                    1 Antwort Letzte Antwort
                    0
                    • FredFF Online
                      FredFF Online
                      FredF
                      Most Active Forum Testing
                      schrieb am zuletzt editiert von FredF
                      #153

                      @Dutchman Das wird ja immer besser mit dem Adapter :flushed: Super Arbeit :clap:

                      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

                      DutchmanD 1 Antwort Letzte Antwort
                      1
                      • FredFF FredF

                        @Dutchman Das wird ja immer besser mit dem Adapter :flushed: Super Arbeit :clap:

                        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

                        DutchmanD Online
                        DutchmanD Online
                        Dutchman
                        Developer Most Active Administrators
                        schrieb am zuletzt editiert von
                        #154

                        @fredf sagte in [ESPHome] Beta release:

                        Edit: Noch was, das ist leer

                        browser refresh :)

                        Johannes BauerstatterJ 1 Antwort Letzte Antwort
                        0
                        • DutchmanD Dutchman

                          @fredf sagte in [ESPHome] Beta release:

                          Edit: Noch was, das ist leer

                          browser refresh :)

                          Johannes BauerstatterJ Offline
                          Johannes BauerstatterJ Offline
                          Johannes Bauerstatter
                          schrieb am zuletzt editiert von Johannes Bauerstatter
                          #155

                          @dutchman Vielen Dank. Wahnsinn was du da auf die Beine stellst.

                          Irgendwie hackt etwas bei mir:
                          9e78e1a9-9546-4f3e-a7fb-152f1a35a8b5-image.png

                          Dashboard ist da:
                          4c186c3c-4080-452e-859d-33ea2bd1b916-image.png

                          Bei Update passiert nichts und das Dashboard bleibt leer:
                          e924f9a9-aa64-4f50-9402-c59f494fcd42-image.png

                          localhost hat nicht funktioniert, da es ein LXC in Proxmox ist. Nach Eingabe der IoBroker IP kommt das Dashboard.

                          Esphome erstell ich auf dem Laptop. Müsste ich ESPHOME in den LXC - Container installieren (wo auch IoBroker läuft) und die Geräte in Zukunt über diesen programmieren? Wäre etwas blöd da dieser Server verbaut im Keller steht....

                          A DutchmanD 3 Antworten Letzte Antwort
                          0
                          • Johannes BauerstatterJ Johannes Bauerstatter

                            @dutchman Vielen Dank. Wahnsinn was du da auf die Beine stellst.

                            Irgendwie hackt etwas bei mir:
                            9e78e1a9-9546-4f3e-a7fb-152f1a35a8b5-image.png

                            Dashboard ist da:
                            4c186c3c-4080-452e-859d-33ea2bd1b916-image.png

                            Bei Update passiert nichts und das Dashboard bleibt leer:
                            e924f9a9-aa64-4f50-9402-c59f494fcd42-image.png

                            localhost hat nicht funktioniert, da es ein LXC in Proxmox ist. Nach Eingabe der IoBroker IP kommt das Dashboard.

                            Esphome erstell ich auf dem Laptop. Müsste ich ESPHOME in den LXC - Container installieren (wo auch IoBroker läuft) und die Geräte in Zukunt über diesen programmieren? Wäre etwas blöd da dieser Server verbaut im Keller steht....

                            A Online
                            A Online
                            Ahnungsbefreit
                            schrieb am zuletzt editiert von
                            #156

                            @johannes-bauerstatter Ich hatte die gleiche Frage. Damit die im Dashboard erscheinen, müssen die YAML-Dateien hier liegen:

                            /opt/iobroker/node_modules/iobroker.esphome/config/
                            

                            Einfach hin kopieren und freuen...

                            Wenn meine Antwort hilfreich war, dürft Ihr das gerne durch einen "Upvote" (der kleine "^" unten rechts) zum Ausdruck bringen.

                            1 Antwort Letzte Antwort
                            0
                            • Johannes BauerstatterJ Johannes Bauerstatter

                              @dutchman Vielen Dank. Wahnsinn was du da auf die Beine stellst.

                              Irgendwie hackt etwas bei mir:
                              9e78e1a9-9546-4f3e-a7fb-152f1a35a8b5-image.png

                              Dashboard ist da:
                              4c186c3c-4080-452e-859d-33ea2bd1b916-image.png

                              Bei Update passiert nichts und das Dashboard bleibt leer:
                              e924f9a9-aa64-4f50-9402-c59f494fcd42-image.png

                              localhost hat nicht funktioniert, da es ein LXC in Proxmox ist. Nach Eingabe der IoBroker IP kommt das Dashboard.

                              Esphome erstell ich auf dem Laptop. Müsste ich ESPHOME in den LXC - Container installieren (wo auch IoBroker läuft) und die Geräte in Zukunt über diesen programmieren? Wäre etwas blöd da dieser Server verbaut im Keller steht....

                              DutchmanD Online
                              DutchmanD Online
                              Dutchman
                              Developer Most Active Administrators
                              schrieb am zuletzt editiert von Dutchman
                              #157

                              @johannes-bauerstatter sagte in [ESPHome] Beta release:

                              Esphome erstell ich auf dem Laptop. Müsste ich ESPHOME in den LXC - Container installieren (wo auch IoBroker läuft) und die Geräte in Zukunt über diesen programmieren? Wäre etwas blöd da dieser Server verbaut im Keller steht....

                              doku gelesen ?

                              https://drozmotix.github.io/languages/de/Adapter/ESPHome/03.adapterConfig.html#esphome-dashboard

                              entweder du nimmst ESPHome vom adapter, oder hast irgendwo ESPHome laufen
                              Egal auf welche art, der adapter kan sich mit alle ESP Geräten verbinden solange der richtige API. pass eingetragen ist

                              Ihr könnt euch selber entscheiden ob ihr das ESPHomme dashboard in ioBroker oder woanders haben wollt ;)

                              Johannes BauerstatterJ 1 Antwort Letzte Antwort
                              0
                              • DutchmanD Dutchman

                                @johannes-bauerstatter sagte in [ESPHome] Beta release:

                                Esphome erstell ich auf dem Laptop. Müsste ich ESPHOME in den LXC - Container installieren (wo auch IoBroker läuft) und die Geräte in Zukunt über diesen programmieren? Wäre etwas blöd da dieser Server verbaut im Keller steht....

                                doku gelesen ?

                                https://drozmotix.github.io/languages/de/Adapter/ESPHome/03.adapterConfig.html#esphome-dashboard

                                entweder du nimmst ESPHome vom adapter, oder hast irgendwo ESPHome laufen
                                Egal auf welche art, der adapter kan sich mit alle ESP Geräten verbinden solange der richtige API. pass eingetragen ist

                                Ihr könnt euch selber entscheiden ob ihr das ESPHomme dashboard in ioBroker oder woanders haben wollt ;)

                                Johannes BauerstatterJ Offline
                                Johannes BauerstatterJ Offline
                                Johannes Bauerstatter
                                schrieb am zuletzt editiert von
                                #158

                                @dutchman Sorry hatte die Doku noch nicht gelesen. Vielen Dank.

                                DutchmanD 1 Antwort Letzte Antwort
                                0
                                • Johannes BauerstatterJ Johannes Bauerstatter

                                  @dutchman Sorry hatte die Doku noch nicht gelesen. Vielen Dank.

                                  DutchmanD Online
                                  DutchmanD Online
                                  Dutchman
                                  Developer Most Active Administrators
                                  schrieb am zuletzt editiert von
                                  #159

                                  @johannes-bauerstatter sagte in [ESPHome] Beta release:

                                  @dutchman Sorry hatte die Doku noch nicht gelesen. Vielen Dank.

                                  :joy: und ich hab mir soviel mühe gegeben :P

                                  1 Antwort Letzte Antwort
                                  1
                                  • Johannes BauerstatterJ Johannes Bauerstatter

                                    @dutchman Vielen Dank. Wahnsinn was du da auf die Beine stellst.

                                    Irgendwie hackt etwas bei mir:
                                    9e78e1a9-9546-4f3e-a7fb-152f1a35a8b5-image.png

                                    Dashboard ist da:
                                    4c186c3c-4080-452e-859d-33ea2bd1b916-image.png

                                    Bei Update passiert nichts und das Dashboard bleibt leer:
                                    e924f9a9-aa64-4f50-9402-c59f494fcd42-image.png

                                    localhost hat nicht funktioniert, da es ein LXC in Proxmox ist. Nach Eingabe der IoBroker IP kommt das Dashboard.

                                    Esphome erstell ich auf dem Laptop. Müsste ich ESPHOME in den LXC - Container installieren (wo auch IoBroker läuft) und die Geräte in Zukunt über diesen programmieren? Wäre etwas blöd da dieser Server verbaut im Keller steht....

                                    DutchmanD Online
                                    DutchmanD Online
                                    Dutchman
                                    Developer Most Active Administrators
                                    schrieb am zuletzt editiert von
                                    #160

                                    @johannes-bauerstatter sagte in [ESPHome] Beta release:

                                    Bei Update passiert nichts und das Dashboard bleibt leer:

                                    btw.... wen du keine yaml konfiguriert hast passiert da auch nix, update ist dafuer da alle zu updaten (die konfiguriert sind :)

                                    E 1 Antwort Letzte Antwort
                                    0
                                    • DutchmanD Dutchman

                                      @johannes-bauerstatter sagte in [ESPHome] Beta release:

                                      Bei Update passiert nichts und das Dashboard bleibt leer:

                                      btw.... wen du keine yaml konfiguriert hast passiert da auch nix, update ist dafuer da alle zu updaten (die konfiguriert sind :)

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

                                      @dutchman
                                      habe inzwischen auf time based Cover umgestellt zum testen. endstop teste ich die Tage noch mal.
                                      Als DP wird mir position of cover angezeigt, dieser bleibt aber immer auf 0%, flackert aber immer wieder grün auf unter objekte(wird also neu geschrieben) im esphome log kann man aber andere %Werte sehen wenn man Up/Down drückt(Relays schalten auch Ordnungsgemäß)

                                      Das PW Problem besteht auch weiterhin.

                                      DutchmanD 1 Antwort Letzte Antwort
                                      0
                                      • E e-s

                                        @dutchman
                                        habe inzwischen auf time based Cover umgestellt zum testen. endstop teste ich die Tage noch mal.
                                        Als DP wird mir position of cover angezeigt, dieser bleibt aber immer auf 0%, flackert aber immer wieder grün auf unter objekte(wird also neu geschrieben) im esphome log kann man aber andere %Werte sehen wenn man Up/Down drückt(Relays schalten auch Ordnungsgemäß)

                                        Das PW Problem besteht auch weiterhin.

                                        DutchmanD Online
                                        DutchmanD Online
                                        Dutchman
                                        Developer Most Active Administrators
                                        schrieb am zuletzt editiert von Dutchman
                                        #162

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

                                        Als DP wird mir position of cover angezeigt, dieser bleibt aber immer auf 0%, flackert aber immer wieder grün auf unter objekte(wird also neu geschrieben) im esphome log kann man aber andere %Werte sehen wenn man Up/Down drückt(Relays schalten auch Ordnungsgemäß)
                                        Das PW Problem besteht auch weiterhin.

                                        hmm ja problem ist das die werte nicht tumber die api rein kommen, da muessen wir bestimmt irgendwas zu basteln in ESPHome das er da auch ausgibt

                                        Edit : Wen ich das so lesen muessen da noch automation Aktionen rein damit die werte gesetzt werden:

                                        # Example configuration entry
                                        cover:
                                          - platform: template
                                            name: "Template Cover"
                                            lambda: |-
                                              if (id(top_end_stop).state) {
                                                return COVER_OPEN;
                                              } else {
                                                return COVER_CLOSED;
                                              }
                                            open_action:
                                              - switch.turn_on: open_cover_switch
                                            close_action:
                                              - switch.turn_on: close_cover_switch
                                            stop_action:
                                              - switch.turn_on: stop_cover_switch
                                            optimistic: true
                                        

                                        https://esphome.io/components/cover/template.html

                                        ScroungerS 1 Antwort Letzte Antwort
                                        0
                                        • DutchmanD Dutchman

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

                                          Als DP wird mir position of cover angezeigt, dieser bleibt aber immer auf 0%, flackert aber immer wieder grün auf unter objekte(wird also neu geschrieben) im esphome log kann man aber andere %Werte sehen wenn man Up/Down drückt(Relays schalten auch Ordnungsgemäß)
                                          Das PW Problem besteht auch weiterhin.

                                          hmm ja problem ist das die werte nicht tumber die api rein kommen, da muessen wir bestimmt irgendwas zu basteln in ESPHome das er da auch ausgibt

                                          Edit : Wen ich das so lesen muessen da noch automation Aktionen rein damit die werte gesetzt werden:

                                          # Example configuration entry
                                          cover:
                                            - platform: template
                                              name: "Template Cover"
                                              lambda: |-
                                                if (id(top_end_stop).state) {
                                                  return COVER_OPEN;
                                                } else {
                                                  return COVER_CLOSED;
                                                }
                                              open_action:
                                                - switch.turn_on: open_cover_switch
                                              close_action:
                                                - switch.turn_on: close_cover_switch
                                              stop_action:
                                                - switch.turn_on: stop_cover_switch
                                              optimistic: true
                                          

                                          https://esphome.io/components/cover/template.html

                                          ScroungerS Offline
                                          ScroungerS Offline
                                          Scrounger
                                          Developer
                                          schrieb am zuletzt editiert von
                                          #163

                                          @dutchman
                                          Erstmal vielen Dank für den nächsten super Adapter von Dir und die gute, sehr übersichtliche Doku :+1:

                                          Hab heute endlich mal ein bissle testen können. Folgende Sachen sind mir aufgefallen:

                                          • Adapter lässt sich nur installieren, wenn pip3 auch installiert ist, evtl. willst das mit in die Doku aufnehmen?
                                          • Per Admin Webinterface (Reiter esphome.0) lässt sich EspHome Dashboard nicht öffnen, folgende Fehlermeldung kommt (Firefox):
                                            d0ccfff2-b1ba-4df6-b110-a494b2968f8e-grafik.png
                                          • Automatic device detection denkt das meine Unifi UDM ein ESP sei:
                                          2021-04-02 17:42:37.468  - info: esphome.0 (1951) [AutoDiscovery] New ESPHome device found at IP 10.25.1.1
                                          2021-04-02 17:42:37.469  - info: esphome.0 (1951) Try to connect to 10.25.1.1
                                          2021-04-02 17:42:37.470  - debug: esphome.0 (1951) trying to connect to 10.25.1.1
                                          2021-04-02 17:42:37.472  - error: esphome.0 (1951) ESPHome client 10.25.1.1 Error: connect ECONNREFUSED 10.25.1.1:6053
                                          
                                          • Wenn ich den Adapter neustarte verliert er die Verbindung zu meinem Gerät. Ich muss dann in die Adapter settings gehen, mein Gerät anklicken, edit, PW neu eingeben und Adapter Config schließen. Dann ist das Gerät wieder verbunden. Allerdings werden die States nicht aktualisiert. Im Log steht meiner Meinung nach auch nicht wirklich was. Verbindung übers Dashboard geht immer.
                                            Was für Infos kann ich dir hier zum debuggen zur Verfügung stellen?

                                          <a href="https://github.com/Scrounger/ioBroker.linkeddevices">LinkedDevices Adapter</a>

                                          <a href="https://github.com/Scrounger/ioBroker.vis-materialdesign">Material Design Widgets</a>

                                          E 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

                                          844

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          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