Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Benutzen von ESPHome an einem Beispiel **Update 05.01.22 **

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Benutzen von ESPHome an einem Beispiel **Update 05.01.22 **

    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      Tontechniker @Dieter_P last edited by Tontechniker

      @dieter_p said in Benutzen von ESPHome an einem Beispiel **Update 05.01.22 **:

      m5stack-core-esp32

      Ist denn die Bezeichnung: m5stack-core-esp32 richtig? Bei mir sieht es so aus

      esphome:
      # V:20221104
      
        name: temp-hum
      
      esp32:
        board: nodemcu-32s
        framework:
          type: arduino
          
      

      Er meckert ja auch

      #include "esp_arduino_version.h"
                ^~~~~~~~~~~~~~~~~~~~~~~
      

      dieses "include" an. Ist denn "esp_arduino_version.h" überhaupt vorhanden?

      In der ESPHome Doku find ich den incude - Befehl z.B. so:

      <<: !include common.yaml
      
      D 1 Reply Last reply Reply Quote 1
      • D
        Dieter_P @Tontechniker last edited by

        @tontechniker said in Benutzen von ESPHome an einem Beispiel **Update 05.01.22 **:

        @dieter_p said in Benutzen von ESPHome an einem Beispiel **Update 05.01.22 **:

        m5stack-core-esp32

        Ist denn die Bezeichnung: m5stack-core-esp32 richtig? Bei mir sieht es so aus

        esphome:
        # V:20221104
        
          name: temp-hum
        
        esp32:
          board: nodemcu-32s
          framework:
            type: arduino
        

        Ich kann nur sagen, dass es bisher so funktioniert hat und die Angaben haben ich aus dem Netz kopiert. Die entsprechende Github-Seite (aus 2021) finde ich gerade nicht aber hier wird Gleiches beschrieben: https://www.emadashi.com/2021/01/m5-atom-lite-home-assistant-esphome-and-capacitive-soil-sensor/

        Ich hab mich gefragt da auch aus 2021 ob es hier Änderungen gegeben hat, die jetzt nicht mehr funktionieren.

        Er meckert ja auch 
        

        #include "esp_arduino_version.h"
        ^~~~~~~~~~~~~~~~~~~~~~~

        dieses "include" an. Ist denn "esp_arduino_version.h" überhaupt vorhanden?
        

        Nach meinem Verständnis wird die "esp_adruino_version.h" über den FastLed Aufruf ebenfalls aufgerufen. Aber nein der Pfad /home/iobroker/platformio/... ist leer/nicht existend. Entsprechend fehlt ihm die Datei.

        In der ESPHome Doku find ich den incude - Befehl z.B. so:

        <<: !include common.yaml
        

        Wie gesagt, aktuell includiere ich die esp_adruino_version.h gar nicht direkt selbst. Also muß ich mal bei FastLed suchen ob da issues und sogar fixe bekannt sind?

        Beste Grüße

        1 Reply Last reply Reply Quote 0
        • S
          stenmic @ChrisXY last edited by

          @chrisxy sagte in Benutzen von ESPHome an einem Beispiel **Update 05.01.22 **:

          encryption löschen in der config

          Kannst du das bitte näher erklären, hab gerade das gleiche Problem und komm nicht weiter.

          1 Reply Last reply Reply Quote -1
          • A
            andreas_n @Lordcyber last edited by

            @lordcyber Konntest du dies Problem schon lösen?

            HTTPClientError: Please upgrade to the PlatformIO Core 6:
            

            ... jedenfalls konnte ich keine Antwort finden, die zu deiner Frage passt.
            Hoffentlich ja - ansonsten hilft nur eine Neuinstallation von ioBroker .....

            S 1 Reply Last reply Reply Quote 0
            • S
              smarthome2020 @andreas_n last edited by

              Hallo Leute,

              ich musste meinen Adapter neu installieren. Nun habe ich folgendes Problem: Ich kann das ESPHome-Dashboard nicht mehr über den ioBroker aufrufen. Es kommt folgende Meldung bei dem Versuch:

              192.168.xxx.xxx hat eine Verbindung verweigert.
              

              Das ist die IP meines ioBrokers.

              Im Log steht:

              
              esphome.0
              2023-04-22 12:48:55.208	error	[dashboardProcess ERROR]
              
              esphome.0
              2023-04-22 12:48:55.206	error	[dashboardProcess ERROR] nopy: Permission denied
              
              esphome.0
              2023-04-22 12:48:55.204	error	[dashboardProcess ERROR] sh: 1:
              
              esphome.0
              2023-04-22 12:46:22.764	error	[dashboardProcess ERROR] sh: 1: nopy: Permission denied
              

              Hat einer eine Idee?

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

                @smarthome2020

                Welches OS mit welcher Python-Version?

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

                  @thomas-braun

                  Debian Bullseye
                  Python 3.9.2

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

                    @smarthome2020

                    https://forum.iobroker.net/topic/63437/esphome-reinstallation-aber-wie/91

                    1 Reply Last reply Reply Quote 0
                    • Stefan Wilke
                      Stefan Wilke @Lordcyber last edited by

                      @lordcyber sagte in Benutzen von ESPHome an einem Beispiel **Update 05.01.22 **:

                      Guten Morgen,
                      ich versuch mich gerade auch da dran.
                      Adapter Installieren hat Problemlos geklappt.
                      allerdings kann ich keinen ESP Flashen.

                      Mein IoBroker ist auf einem Proxmox Container auf dem IOT Rechner.

                      Processing t5-epaper (board: esp32dev; framework: arduino; platform: platformio/espressif32 @ 3.5.0)
                      --------------------------------------------------------------------------------
                      Platform Manager: Installing platformio/espressif32 @ 3.5.0
                      Error: Please upgrade to the PlatformIO Core 6
                      

                      Wie behebe ich das?
                      Danke

                      Ich habe die gleiche Fehlermeldung allerdings läuft mein IoB direkt auf einem Rasberry Pi und der ESP ist an meinem Laptop angeschlossen.

                      Danke

                      1 Reply Last reply Reply Quote 0
                      • S
                        Sushibomba last edited by Sushibomba

                        Habe mir 3 ESP32 besorgt und diese mit dem ESPHome Adapter verbunden.
                        Problem ist nur, dass er andauernd die Verbindung verliert und Fehler ausspuckt.

                        
                        esphome.0
                        2023-05-11 15:03:36.111	warn	Client 192.168.178.28 Timeout, connection Lost, will reconnect automatically when device is available!
                        
                        esphome.0
                        2023-05-11 15:03:33.262	error	ESPHome client 192.168.178.47 Error: Bad format. Expected 0 at the begin
                        
                        esphome.0
                        2023-05-11 15:03:31.132	error	ESPHome client 192.168.178.28 Error: Bad format. Expected 0 at the begin
                        
                        esphome.0
                        2023-05-11 15:03:31.120	error	ESPHome client 192.168.178.28 Error: Bad format. Expected 0 at the begin
                        
                        esphome.0
                        2023-05-11 15:03:08.129	warn	Client 192.168.178.47 Timeout, connection Lost, will reconnect automatically when device is available!
                        
                        esphome.0
                        2023-05-11 15:03:03.146	error	ESPHome client 192.168.178.47 Error: Bad format. Expected 0 at the begin
                        
                        esphome.0
                        2023-05-11 15:03:00.949	warn	Client 192.168.178.28 Timeout, connection Lost, will reconnect automatically when device is available!
                        
                        esphome.0
                        2023-05-11 15:02:55.981	error	ESPHome client 192.168.178.28 Error: Bad format. Expected 0 at the begin
                        
                        esphome.0
                        2023-05-11 15:02:55.969	error	ESPHome client 192.168.178.28 Error: Bad format. Expected 0 at the begin
                        
                        esphome.0
                        2023-05-11 15:02:38.025	warn	Client 192.168.178.47 Timeout, connection Lost, will reconnect automatically when device is available!
                        
                        esphome.0
                        2023-05-11 15:02:33.034	error	ESPHome client 192.168.178.47 Error: Bad format. Expected 0 at the begin
                        
                        esphome.0
                        2023-05-11 15:02:25.662	warn	Client 192.168.178.28 Timeout, connection Lost, will reconnect automatically when device is available!
                        
                        esphome.0
                        2023-05-11 15:02:20.682	error	ESPHome client 192.168.178.28 Error: Bad format. Expected 0 at the begin
                        
                        esphome.0
                        2023-05-11 15:02:20.674	error	ESPHome client 192.168.178.28 Error: Bad format. Expected 0 at the begin
                        

                        Meine YAML sieht folgendermaßen aus:

                        esphome:
                          name: esphome-web-850998
                          friendly_name: ESPHome Web ESP32-1
                        
                        esp32:
                          board: esp32dev
                          framework:
                            type: arduino
                        
                        # Enable logging
                        logger:
                        
                        # Enable ESPHome API
                        api:
                            password: '1234'
                        
                        ota:
                            password: '1234'
                        
                        web_server:
                            port: 80
                        
                        wifi:
                          ssid: !secret wifi_ssid
                          password: !secret wifi_password
                        
                          # Enable fallback hotspot (captive portal) in case wifi connection fails
                          ap:
                            ssid: "Esphome-Web-850998"
                            password: "8OZ3LRcaUpNL"
                        
                        captive_portal:
                        

                        Und wenn ich einen neuen ESP32 im Dashboard hinzugefügt habe und auf Install gehe läuft er auch durch nur am Ende kommt immer folgende Meldung:

                        INFO Successfully compiled program.
                        INFO Resolving IP address of esphome-web-30b00c.local
                        ERROR Error resolving IP address of esphome-web-30b00c.local. Is it connected to WiFi?
                        ERROR (If this error persists, please set a static IP address: https://esphome.io/components/wifi.html#manual-ips)
                        ERROR Error resolving IP address: Error resolving address with mDNS: Did not respond. Maybe the device is offline., [Errno -2] Name or service not known
                        

                        Weiß einer woran das liegt?

                        EDIT: Hat sich erledigt. Lag daran dass ich keine statische IP vergeben hatte. Jetzt läuft alles wie es soll 🙂

                        Example configuration entry

                        wifi:
                        ssid: MyHomeNetwork
                        password: VerySafePassword

                        Optional manual IP

                        manual_ip:
                        static_ip: 192.168.0.123
                        gateway: 192.168.0.1
                        subnet: 255.255.255.0

                        It is highly recommended to use secrets

                        wifi:
                        ssid: !secret wifi_ssid
                        password: !secret wifi_password

                        1 Reply Last reply Reply Quote 0
                        • F
                          Fox1985 last edited by

                          Guten Abend,
                          ich habe da ein Verständnisproblem.
                          Ich würde gerne das esphome mhi-ac-ctrl flashen.
                          https://github.com/ginkage/MHI-AC-Ctrl-ESPHome
                          Leider weiß ich nicht wo ich die zwei Dateien hin kopieren soll.
                          Kann mir einer helfen?

                          Vielen Dank und viele Grüße

                          Stefan

                          D 1 Reply Last reply Reply Quote 0
                          • D
                            Dieter_P @Fox1985 last edited by Dieter_P

                            @fox1985

                            Wenn man die yaml neu erstellt bzw. den Inhalt aus git kompiliert, dürfte es selbsterklärend sein wohin die 3 files gehören:

                            includes: 
                                
                                Could not find file '/opt/iobroker/iobroker-data/esphome.0/mhi_ac_ctrl.h'. Please make sure it exists (full path: /opt/iobroker/iobroker-data/esphome.0/mhi_ac_ctrl.h).
                                - mhi_ac_ctrl.h
                                
                                Could not find file '/opt/iobroker/iobroker-data/esphome.0/MHI-AC-Ctrl-core.h'. Please make sure it exists (full path: /opt/iobroker/iobroker-data/esphome.0/MHI-AC-Ctrl-core.h).
                                - MHI-AC-Ctrl-core.h
                                
                                Could not find file '/opt/iobroker/iobroker-data/esphome.0/MHI-AC-Ctrl-core.cpp'. Please make sure it exists (full path: /opt/iobroker/iobroker-data/esphome.0/MHI-AC-Ctrl-core.cpp).
                                - MHI-AC-Ctrl-core.cpp
                            

                            Ob das allerdings in IObroker bei der spezifischen HA Lösung funktionieren kann k.A.

                            F 1 Reply Last reply Reply Quote 0
                            • F
                              Fox1985 @Dieter_P last edited by

                              @dieter_p
                              Vielen Dank, werde es heute abend versuchen

                              1 Reply Last reply Reply Quote 0
                              • J
                                Jacke last edited by

                                Hallo ich bekomme beim manuellen hinzufügen immer den Fehler
                                ESPHome client 192.168.1.122 Error: Bad format. Expected 0 at the begin
                                Hat jemand ein ähnliches Problem?

                                P 1 Reply Last reply Reply Quote 0
                                • P
                                  pi-mod @Jacke last edited by

                                  @jacke
                                  Ich hatte einen ähnliche Fehler und es lag bei mir am api-password. Ich habe es dann in den secrets.yaml eingetragen:

                                  api_password: "test1234" # Passwort zum aktivieren der ESPHome API, zur Steuerung z.b. über IOBroker, Logging etc.

                                  Im esp-xxx.yaml steht dann der Verweis auf das secret

                                  api:
                                  password: !secret api_password

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    Tontechniker last edited by Tontechniker

                                    Error: Please upgrade to the PlatformIO Core 6
                                    Ich bekomme neuerdings beim Kompilieren meiner ESP-Programme obigen Fehler.
                                    Kann mir jemand sage, wie der Upgrade funktioniert? Habe gesucht und leider nichts gefunden.
                                    Habe ESPHome gelöscht und neu installiert - bekomme gleiche Fehlermeldung.

                                    X 1 Reply Last reply Reply Quote 0
                                    • X
                                      xdelta @Tontechniker last edited by xdelta

                                      @tontechniker said in Benutzen von ESPHome an einem Beispiel **Update 05.01.22 **:

                                      Error: Please upgrade to the PlatformIO Core 6
                                      Ich bekomme neuerdings beim Kompilieren meiner ESP-Programme obigen Fehler.
                                      Kann mir jemand sage, wie der Upgrade funktioniert? Habe gesucht und leider nichts gefunden.
                                      Habe ESPHome gelöscht und neu installiert - bekomme gleiche Fehlermeldung.

                                      Keine Ahnung welche Version du installiert hast, aber die mehr oder weniger letzte ESPHome Version erhälst du, indem du einfach die aktuelle Adapter version drüberbügelst, also wie eine Neuinstallation...(Einstellungen bleiben erhalten). Meines Wissens, wurde auch bis ca. Juni/Juli so der neue Teil von ESPHome mitinstalliert.
                                      Bei mir lassen sich die Programme problemlos kompilieren, auch wenn gelegentlich der Hinweis zu einer neuen Version im Log auftaucht...

                                      T 1 Reply Last reply Reply Quote 1
                                      • T
                                        Tontechniker @xdelta last edited by

                                        @xdelta Bei mir ist die 0.2.4 installiert, bekomme auch keine neuere angeboten.

                                        X 1 Reply Last reply Reply Quote 0
                                        • X
                                          xdelta @Tontechniker last edited by

                                          @tontechniker said in Benutzen von ESPHome an einem Beispiel **Update 05.01.22 **:

                                          @xdelta Bei mir ist die 0.2.4 installiert, bekomme auch keine neuere angeboten.

                                          Das ist die "aktuelle" V. - aber genau diese Versionsnummer ändert sich auch nicht beim drüberbügeln, lediglich der ESPhome "Inhalt" der von extern gezogen wird... wird irgendwo im Forum hier näher erklärt... versuch einfach mal.

                                          T 1 Reply Last reply Reply Quote 1
                                          • T
                                            Tontechniker @xdelta last edited by

                                            @xdelta Wie bügelst du die drüber?

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

                                            Support us

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

                                            597
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            esphome
                                            41
                                            165
                                            38291
                                            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