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

[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.
  • DutchmanD Dutchman

    @noah3112 sagte in [ESPHome] Beta release:

    In Home Assistant läuft das Ganze wunderbar. Habe ich von dort übernommen.

    Und was fehlt in ioBroker?

    ? Offline
    ? Offline
    Ein ehemaliger Benutzer
    schrieb am zuletzt editiert von
    #288

    @dutchman In Home Assistant gibt es eine spezielle Karte um das Bild bzw Video in die Visualisierung einzubinden. Wie würde ich das in ioBroker machen wenn ich nicht gerade Vis nutze. Bin zZ mit Jarvis unterwegs...

    DutchmanD 1 Antwort Letzte Antwort
    0
    • ? Ein ehemaliger Benutzer

      @dutchman In Home Assistant gibt es eine spezielle Karte um das Bild bzw Video in die Visualisierung einzubinden. Wie würde ich das in ioBroker machen wenn ich nicht gerade Vis nutze. Bin zZ mit Jarvis unterwegs...

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

      @noah3112 sagte in [ESPHome] Beta release:

      @dutchman In Home Assistant gibt es eine spezielle Karte um das Bild bzw Video in die Visualisierung einzubinden. Wie würde ich das in ioBroker machen wenn ich nicht gerade Vis nutze. Bin zZ mit Jarvis unterwegs...

      Hmm keine Ahnung das ist mehr Visu kein Teil von diesen Adapter eher frage wie den Streamen oder Snapshot in Jarvis/vis Anzeigen

      ? 1 Antwort Letzte Antwort
      0
      • DutchmanD Dutchman

        @noah3112 sagte in [ESPHome] Beta release:

        @dutchman In Home Assistant gibt es eine spezielle Karte um das Bild bzw Video in die Visualisierung einzubinden. Wie würde ich das in ioBroker machen wenn ich nicht gerade Vis nutze. Bin zZ mit Jarvis unterwegs...

        Hmm keine Ahnung das ist mehr Visu kein Teil von diesen Adapter eher frage wie den Streamen oder Snapshot in Jarvis/vis Anzeigen

        ? Offline
        ? Offline
        Ein ehemaliger Benutzer
        schrieb am zuletzt editiert von
        #290

        @dutchman Zumindest habe ich jetzt schon mal ein Bild. Danke für die Hilfe den Rest sollte ich wohl hinbekommen.

        1 Antwort Letzte Antwort
        1
        • K Offline
          K Offline
          klassisch
          Most Active
          schrieb am zuletzt editiert von
          #291

          Gibt es eine Möglichkeit, einzelne ESPs zu pausieren? Ich habe oft auch Entwicklungsprojekte, die nur temporär in Betrieb sind. Dann wächst das Log an.

          DutchmanD 1 Antwort Letzte Antwort
          0
          • K klassisch

            Gibt es eine Möglichkeit, einzelne ESPs zu pausieren? Ich habe oft auch Entwicklungsprojekte, die nur temporär in Betrieb sind. Dann wächst das Log an.

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

            @klassisch sagte in [ESPHome] Beta release:

            Gibt es eine Möglichkeit, einzelne ESPs zu pausieren? Ich habe oft auch Entwicklungsprojekte, die nur temporär in Betrieb sind. Dann wächst das Log an.

            Wie meinst pausieren? Log kommt doch nur beim Start und verbinden?

            K 1 Antwort Letzte Antwort
            0
            • DutchmanD Dutchman

              @klassisch sagte in [ESPHome] Beta release:

              Gibt es eine Möglichkeit, einzelne ESPs zu pausieren? Ich habe oft auch Entwicklungsprojekte, die nur temporär in Betrieb sind. Dann wächst das Log an.

              Wie meinst pausieren? Log kommt doch nur beim Start und verbinden?

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

              @dutchman Wenn ich einen ESP abschalte, versucht sich der Adapter immer wieder zu verbinden und loggt einen timeout Fehler.

              DutchmanD 1 Antwort Letzte Antwort
              0
              • K klassisch

                @dutchman Wenn ich einen ESP abschalte, versucht sich der Adapter immer wieder zu verbinden und loggt einen timeout Fehler.

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

                @klassisch sagte in [ESPHome] Beta release:

                @dutchman Wenn ich einen ESP abschalte, versucht sich der Adapter immer wieder zu verbinden und loggt einen timeout Fehler.

                schick mal log bitte das sollte nicht passieren

                K 1 Antwort Letzte Antwort
                0
                • DutchmanD Dutchman

                  @klassisch sagte in [ESPHome] Beta release:

                  @dutchman Wenn ich einen ESP abschalte, versucht sich der Adapter immer wieder zu verbinden und loggt einen timeout Fehler.

                  schick mal log bitte das sollte nicht passieren

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

                  @dutchman Einfaches info log:

                  esphome.0	2021-09-12 11:08:23.519	error	(9540) ESPHome client 192.168.1.113 Error: connect ETIMEDOUT 192.168.1.113:6053
                  esphome.0	2021-09-12 11:07:32.464	error	(9540) ESPHome client 192.168.1.113 Error: connect ETIMEDOUT 192.168.1.113:6053
                  esphome.0	2021-09-12 11:06:41.422	error	(9540) ESPHome client 192.168.1.113 Error: connect ETIMEDOUT 192.168.1.113:6053
                  esphome.0	2021-09-12 11:05:50.360	error	(9540) ESPHome client 192.168.1.113 Error: connect ETIMEDOUT 192.168.1.113:6053
                  esphome.0	2021-09-12 11:04:59.307	error	(9540) ESPHome client 192.168.1.113 Error: connect ETIMEDOUT 192.168.1.113:6053
                  esphome.0	2021-09-12 11:04:08.247	error	(9540) ESPHome client 192.168.1.113 Error: connect ETIMEDOUT 192.168.1.113:6053
                  esphome.0	2021-09-12 11:03:17.200	error	(9540) ESPHome client 192.168.1.113 Error: connect ETIMEDOUT 192.168.1.113:6053
                  esphome.0	2021-09-12 11:02:26.149	warn	(9540) ESPHome client pulse-counter disconnected
                  esphome.0	2021-09-12 11:02:26.145	warn	(9540) Client 192.168.1.113 Connection Lost, will reconnect automatically when device is available!
                  
                  

                  Die zuerst erscheinenden "gelben" "warn" Meldungen sind ok. Er stellt fest, daß das Gerät nicht mehr erreichbar ist.
                  Dann scheint er regelmäßig einen reconnect zu versuchen, der aber scheitert und dessen Scheitern mit einer roten Errormeldung quittiert wird.

                  DutchmanD 1 Antwort Letzte Antwort
                  0
                  • K klassisch

                    @dutchman Einfaches info log:

                    esphome.0	2021-09-12 11:08:23.519	error	(9540) ESPHome client 192.168.1.113 Error: connect ETIMEDOUT 192.168.1.113:6053
                    esphome.0	2021-09-12 11:07:32.464	error	(9540) ESPHome client 192.168.1.113 Error: connect ETIMEDOUT 192.168.1.113:6053
                    esphome.0	2021-09-12 11:06:41.422	error	(9540) ESPHome client 192.168.1.113 Error: connect ETIMEDOUT 192.168.1.113:6053
                    esphome.0	2021-09-12 11:05:50.360	error	(9540) ESPHome client 192.168.1.113 Error: connect ETIMEDOUT 192.168.1.113:6053
                    esphome.0	2021-09-12 11:04:59.307	error	(9540) ESPHome client 192.168.1.113 Error: connect ETIMEDOUT 192.168.1.113:6053
                    esphome.0	2021-09-12 11:04:08.247	error	(9540) ESPHome client 192.168.1.113 Error: connect ETIMEDOUT 192.168.1.113:6053
                    esphome.0	2021-09-12 11:03:17.200	error	(9540) ESPHome client 192.168.1.113 Error: connect ETIMEDOUT 192.168.1.113:6053
                    esphome.0	2021-09-12 11:02:26.149	warn	(9540) ESPHome client pulse-counter disconnected
                    esphome.0	2021-09-12 11:02:26.145	warn	(9540) Client 192.168.1.113 Connection Lost, will reconnect automatically when device is available!
                    
                    

                    Die zuerst erscheinenden "gelben" "warn" Meldungen sind ok. Er stellt fest, daß das Gerät nicht mehr erreichbar ist.
                    Dann scheint er regelmäßig einen reconnect zu versuchen, der aber scheitert und dessen Scheitern mit einer roten Errormeldung quittiert wird.

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

                    @klassisch sagte in [ESPHome] Beta release:

                    Die zuerst erscheinenden "gelben" "warn" Meldungen sind ok. Er stellt fest, daß das Gerät nicht mehr erreichbar ist.
                    Dann scheint er regelmäßig einen reconnect zu versuchen, der aber scheitert und dessen Scheitern mit einer roten Errormeldung quittiert wird.

                    Welche Adapter Version? Das Verhalten habe ich nicht

                    K 1 Antwort Letzte Antwort
                    0
                    • DutchmanD Dutchman

                      @klassisch sagte in [ESPHome] Beta release:

                      Die zuerst erscheinenden "gelben" "warn" Meldungen sind ok. Er stellt fest, daß das Gerät nicht mehr erreichbar ist.
                      Dann scheint er regelmäßig einen reconnect zu versuchen, der aber scheitert und dessen Scheitern mit einer roten Errormeldung quittiert wird.

                      Welche Adapter Version? Das Verhalten habe ich nicht

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

                      @dutchman V0.2.4 Ich habe allerdings Dashboard deaktiviert.
                      Edit: Automatische Geräteerkennung ist aktiviert
                      Konfiguration als Zustände anzeigen ist aktiviert

                      DutchmanD 1 Antwort Letzte Antwort
                      0
                      • K klassisch

                        @dutchman V0.2.4 Ich habe allerdings Dashboard deaktiviert.
                        Edit: Automatische Geräteerkennung ist aktiviert
                        Konfiguration als Zustände anzeigen ist aktiviert

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

                        @klassisch sagte in [ESPHome] Beta release:

                        @dutchman V0.2.4 Ich habe allerdings Dashboard deaktiviert.
                        Edit: Automatische Geräteerkennung ist aktiviert
                        Konfiguration als Zustände anzeigen ist aktiviert

                        Kannste mir mal debug log schicken oder deine logs an meinen seq logger?

                        K 1 Antwort Letzte Antwort
                        0
                        • DutchmanD Dutchman

                          @klassisch sagte in [ESPHome] Beta release:

                          @dutchman V0.2.4 Ich habe allerdings Dashboard deaktiviert.
                          Edit: Automatische Geräteerkennung ist aktiviert
                          Konfiguration als Zustände anzeigen ist aktiviert

                          Kannste mir mal debug log schicken oder deine logs an meinen seq logger?

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

                          @dutchman sagte in [ESPHome] Beta release:

                          Vielen Dank für Deine Mühe

                          oder deine logs an meinen seq logger?

                          Was ist das?

                          Kannste mir mal debug log schicken

                          Menge Zeug mit Pwd etc.
                          Habe das jetzt durchgeführt und gefiltert. Die logs des betreffenden Gerätes sehen aber identisch aus.

                          2021-09-12 12:27:53.674 - debug: esphome.0 (14180) 192.168.1.65 client data 
                          2021-09-12 12:27:53.674 - debug: esphome.0 (14180) 192.168.1.65 client log PingResponse
                          2021-09-12 12:27:57.437 - warn: esphome.0 (14180) Client 192.168.1.113 Connection Lost, will reconnect automatically when device is available!
                          2021-09-12 12:27:57.437 - warn: esphome.0 (14180) ESPHome client pulse-counter disconnected
                          2021-09-12 12:28:01.078 - debug: esphome.0 (14180) 192.168.1.90 client data 
                          2021-09-12 12:28:01.078 - debug: esphome.0 (14180) 192.168.1.90 client log PingResponse
                          
                          

                          Das war kurz nach dem Ausschalten. Also nihcts neues zu dem betroffenen Gerät

                          Hier noch die Errormeldung in ihrem unmittelbaren Umfeld

                          2021-09-12 12:28:46.129 - debug: esphome.0 (14180) 192.168.1.90 client data 
                          2021-09-12 12:28:46.130 - debug: esphome.0 (14180) 192.168.1.90 client log PingResponse
                          2021-09-12 12:28:48.493 - error: esphome.0 (14180) ESPHome client 192.168.1.113 Error: connect ETIMEDOUT 192.168.1.113:6053
                          2021-09-12 12:28:54.035 - debug: esphome.0 (14180) 192.168.1.65 client data 
                          2021-09-12 12:28:54.035 - debug: esphome.0 (14180) 192.168.1.65 client log PingResponse
                          2021-09-12 12:29:01.167 - debug: esphome.0 (14180) 192.168.1.90 client data 
                          2021-09-12 12:29:01.167 - debug: esphome.0 (14180) 192.168.1.90 client log PingResponse
                          
                          

                          Ich kann daraus leider nicht mehr Erkenntnisse als im loglevel "Info" ziehen.

                          1 Antwort Letzte Antwort
                          0
                          • B Offline
                            B Offline
                            bernd33-1
                            schrieb am zuletzt editiert von
                            #300

                            Hi,

                            ich hab an einem ESP8266 ein EPaper angeschlossen und mit der YAML unten kann ich auch Text auf dem EPaper Display anzeigen.

                            Weis jemand wie man Werte vom IOBroker (z.B. vom Homematic Adapter) auf dem Display anzeigen kann?

                            Grüße, Bernd

                            esphome:
                              name: test12345
                              platform: ESP8266
                              board: d1_mini 
                            
                            wifi:
                              ssid: "WLANNAME"
                              password: "WLANPASSWORT"
                            
                              # Enable fallback hotspot (captive portal) in case wifi connection fails
                              ap:
                                ssid: "Fallback Hotspot"
                                password: "istgeheim"
                            
                            captive_portal:
                            
                            # Enable logging
                            logger:
                            
                            # Enable Home Assistant API
                            api:
                            
                            ota:
                            
                            http_request:
                              useragent: esphome
                              timeout: 10s
                            
                            interval:
                              - interval: 1min
                                then:
                                  - http_request.get: http://e4310:8087/getPlainValue/javascript.0.SolarTestLV
                            time:
                              - platform: sntp
                                id: meine_time
                            
                            spi:
                              clk_pin: D5
                              mosi_pin: D7
                              
                            font:
                              - file: 'arial.ttf' #'slkscr.ttf'
                                id: font1
                                size: 12
                                glyphs: '!\"%()+,-_.:°0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyzßäöü'
                            
                            display:
                              - platform: waveshare_epaper
                                cs_pin: D8
                                dc_pin: D4
                                reset_pin: D1
                                busy_pin: D2
                                model: 4.20in
                                #model: 2.90in
                                update_interval: 60s
                                lambda: |-
                                  it.print(2, 2, id(font1), "Test 1 2 3 4 5 6 7 ° ä ö ü");
                                  it.print(2, 14, id(font1), "Test 1 2 3 4 5 6 7");
                                  it.print(2, 26, id(font1), "Test 1 2 3 4 5 6 7");
                                  it.strftime(2, 38, id(font1), "%d.%m.%Y %H:%M Uhr", id(meine_time).now());
                            
                            DutchmanD P 2 Antworten Letzte Antwort
                            0
                            • B bernd33-1

                              Hi,

                              ich hab an einem ESP8266 ein EPaper angeschlossen und mit der YAML unten kann ich auch Text auf dem EPaper Display anzeigen.

                              Weis jemand wie man Werte vom IOBroker (z.B. vom Homematic Adapter) auf dem Display anzeigen kann?

                              Grüße, Bernd

                              esphome:
                                name: test12345
                                platform: ESP8266
                                board: d1_mini 
                              
                              wifi:
                                ssid: "WLANNAME"
                                password: "WLANPASSWORT"
                              
                                # Enable fallback hotspot (captive portal) in case wifi connection fails
                                ap:
                                  ssid: "Fallback Hotspot"
                                  password: "istgeheim"
                              
                              captive_portal:
                              
                              # Enable logging
                              logger:
                              
                              # Enable Home Assistant API
                              api:
                              
                              ota:
                              
                              http_request:
                                useragent: esphome
                                timeout: 10s
                              
                              interval:
                                - interval: 1min
                                  then:
                                    - http_request.get: http://e4310:8087/getPlainValue/javascript.0.SolarTestLV
                              time:
                                - platform: sntp
                                  id: meine_time
                              
                              spi:
                                clk_pin: D5
                                mosi_pin: D7
                                
                              font:
                                - file: 'arial.ttf' #'slkscr.ttf'
                                  id: font1
                                  size: 12
                                  glyphs: '!\"%()+,-_.:°0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyzßäöü'
                              
                              display:
                                - platform: waveshare_epaper
                                  cs_pin: D8
                                  dc_pin: D4
                                  reset_pin: D1
                                  busy_pin: D2
                                  model: 4.20in
                                  #model: 2.90in
                                  update_interval: 60s
                                  lambda: |-
                                    it.print(2, 2, id(font1), "Test 1 2 3 4 5 6 7 ° ä ö ü");
                                    it.print(2, 14, id(font1), "Test 1 2 3 4 5 6 7");
                                    it.print(2, 26, id(font1), "Test 1 2 3 4 5 6 7");
                                    it.strftime(2, 38, id(font1), "%d.%m.%Y %H:%M Uhr", id(meine_time).now());
                              
                              DutchmanD Online
                              DutchmanD Online
                              Dutchman
                              Developer Most Active Administrators
                              schrieb am zuletzt editiert von
                              #301

                              @bernd33-1 sagte in [ESPHome] Beta release:

                              Weis jemand wie man Werte vom IOBroker (z.B. vom Homematic Adapter) auf dem Display anzeigen kann?

                              leider noch nicht, du kannst. werten von Sensoren etc weiterreichen aber texte selber kan ich leider noch nicht schicken: https://github.com/DrozmotiX/ioBroker.esphome/issues/103

                              1 Antwort Letzte Antwort
                              0
                              • B bernd33-1

                                Hi,

                                ich hab an einem ESP8266 ein EPaper angeschlossen und mit der YAML unten kann ich auch Text auf dem EPaper Display anzeigen.

                                Weis jemand wie man Werte vom IOBroker (z.B. vom Homematic Adapter) auf dem Display anzeigen kann?

                                Grüße, Bernd

                                esphome:
                                  name: test12345
                                  platform: ESP8266
                                  board: d1_mini 
                                
                                wifi:
                                  ssid: "WLANNAME"
                                  password: "WLANPASSWORT"
                                
                                  # Enable fallback hotspot (captive portal) in case wifi connection fails
                                  ap:
                                    ssid: "Fallback Hotspot"
                                    password: "istgeheim"
                                
                                captive_portal:
                                
                                # Enable logging
                                logger:
                                
                                # Enable Home Assistant API
                                api:
                                
                                ota:
                                
                                http_request:
                                  useragent: esphome
                                  timeout: 10s
                                
                                interval:
                                  - interval: 1min
                                    then:
                                      - http_request.get: http://e4310:8087/getPlainValue/javascript.0.SolarTestLV
                                time:
                                  - platform: sntp
                                    id: meine_time
                                
                                spi:
                                  clk_pin: D5
                                  mosi_pin: D7
                                  
                                font:
                                  - file: 'arial.ttf' #'slkscr.ttf'
                                    id: font1
                                    size: 12
                                    glyphs: '!\"%()+,-_.:°0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyzßäöü'
                                
                                display:
                                  - platform: waveshare_epaper
                                    cs_pin: D8
                                    dc_pin: D4
                                    reset_pin: D1
                                    busy_pin: D2
                                    model: 4.20in
                                    #model: 2.90in
                                    update_interval: 60s
                                    lambda: |-
                                      it.print(2, 2, id(font1), "Test 1 2 3 4 5 6 7 ° ä ö ü");
                                      it.print(2, 14, id(font1), "Test 1 2 3 4 5 6 7");
                                      it.print(2, 26, id(font1), "Test 1 2 3 4 5 6 7");
                                      it.strftime(2, 38, id(font1), "%d.%m.%Y %H:%M Uhr", id(meine_time).now());
                                
                                P Offline
                                P Offline
                                pboeck
                                schrieb am zuletzt editiert von
                                #302

                                @bernd33-1 Über MQTT funktioniert. es.
                                Ein Ausschnitt aus der YAML:

                                display:
                                  - platform: ili9341
                                    model: TFT 2.4
                                    id: Display1
                                    cs_pin: GPIO5
                                    dc_pin: GPIO4
                                    led_pin: GPIO15  
                                    reset_pin: GPIO22
                                    rotation: 90°
                                    pages:
                                      - id: page1
                                        lambda: |-
                                          it.strftime(160, 0, id(RB1), TextAlign::TOP_CENTER, "%X    %d.%m.%y", id(timeact).now());
                                          it.printf(5, 25, id(RB3), id(green_01), "%s", id(Zeile11).state.c_str());
                                          it.printf(5, 60, id(RB3), id(green_01), "%s", id(Zeile12).state.c_str());
                                          it.printf(5, 90, id(RB3), id(green_01), "%s", id(Zeile13).state.c_str());
                                          it.printf(5, 120, id(RB3), id(green_01), "%s", id(Zeile14).state.c_str());
                                          it.printf(5, 150, id(RB3), id(green_01), "%s", id(Zeile15).state.c_str());
                                          it.printf(5, 180, id(RB3), id(blue_01), "%s", id(Zeile16).state.c_str());
                                          it.printf(5, 210, id(RB3), id(blue_01), "%s", id(Zeile17).state.c_str());
                                      - id: page2
                                        lambda: |-
                                          it.strftime(160, 0, id(RB1), TextAlign::TOP_CENTER, "%X    %d.%m.%y", id(timeact).now());
                                          it.printf(5, 25, id(RB3), id(green_01), "%s", id(Zeile21).state.c_str());
                                          it.printf(5, 60, id(RB3), id(green_01), "%s", id(Zeile22).state.c_str());
                                          it.printf(5, 90, id(RB3), id(green_01), "%s", id(Zeile23).state.c_str());
                                          it.printf(5, 120, id(RB3), id(green_01), "%s", id(Zeile24).state.c_str());
                                          it.printf(5, 150, id(RB3), id(green_01), "%s", id(Zeile25).state.c_str());
                                          it.printf(5, 180, id(RB3), id(blue_01), "%s", id(Zeile26).state.c_str());
                                          it.printf(5, 210, id(RB3), id(blue_01), "%s", id(Zeile27).state.c_str());
                                text_sensor:
                                  - platform: mqtt_subscribe
                                    name: "Zeile 1.1"
                                    id: Zeile11
                                    topic: Seite1/Zeile1
                                  - platform: mqtt_subscribe
                                    name: "Zeile 1.2"
                                    id: Zeile12
                                    topic: Seite1/Zeile2
                                  - platform: mqtt_subscribe
                                    name: "Zeile 1.3"
                                    id: Zeile13
                                    topic: Seite1/Zeile3    
                                  - platform: mqtt_subscribe
                                    name: "Zeile 1.4"
                                    id: Zeile14
                                    topic: Seite1/Zeile4    
                                  - platform: mqtt_subscribe
                                    name: "Zeile 1.5"
                                    id: Zeile15
                                    topic: Seite1/Zeile5     
                                  - platform: mqtt_subscribe
                                    name: "Zeile 1.6"
                                    id: Zeile16
                                    topic: Seite1/Zeile6   
                                  - platform: mqtt_subscribe
                                    name: "Zeile 1.7"
                                    id: Zeile17
                                    topic: Seite1/Zeile7   
                                
                                  - platform: mqtt_subscribe
                                    name: "Zeile 2.1"
                                    id: Zeile21
                                    topic: Seite2/Zeile1
                                  - platform: mqtt_subscribe
                                    name: "Zeile 2.2"
                                    id: Zeile22
                                    topic: Seite2/Zeile2
                                  - platform: mqtt_subscribe
                                    name: "Zeile 2.3"
                                    id: Zeile23
                                    topic: Seite2/Zeile3    
                                  - platform: mqtt_subscribe
                                    name: "Zeile 2.4"
                                    id: Zeile24
                                    topic: Seite2/Zeile4    
                                  - platform: mqtt_subscribe
                                    name: "Zeile 2.5"
                                    id: Zeile25
                                    topic: Seite2/Zeile5     
                                  - platform: mqtt_subscribe
                                    name: "Zeile 2.6"
                                    id: Zeile26
                                    topic: Seite2/Zeile6   
                                  - platform: mqtt_subscribe
                                    name: "Zeile 2.7"
                                    id: Zeile27
                                    topic: Seite2/Zeile7           
                                    
                                
                                ? 1 Antwort Letzte Antwort
                                0
                                • P pboeck

                                  @bernd33-1 Über MQTT funktioniert. es.
                                  Ein Ausschnitt aus der YAML:

                                  display:
                                    - platform: ili9341
                                      model: TFT 2.4
                                      id: Display1
                                      cs_pin: GPIO5
                                      dc_pin: GPIO4
                                      led_pin: GPIO15  
                                      reset_pin: GPIO22
                                      rotation: 90°
                                      pages:
                                        - id: page1
                                          lambda: |-
                                            it.strftime(160, 0, id(RB1), TextAlign::TOP_CENTER, "%X    %d.%m.%y", id(timeact).now());
                                            it.printf(5, 25, id(RB3), id(green_01), "%s", id(Zeile11).state.c_str());
                                            it.printf(5, 60, id(RB3), id(green_01), "%s", id(Zeile12).state.c_str());
                                            it.printf(5, 90, id(RB3), id(green_01), "%s", id(Zeile13).state.c_str());
                                            it.printf(5, 120, id(RB3), id(green_01), "%s", id(Zeile14).state.c_str());
                                            it.printf(5, 150, id(RB3), id(green_01), "%s", id(Zeile15).state.c_str());
                                            it.printf(5, 180, id(RB3), id(blue_01), "%s", id(Zeile16).state.c_str());
                                            it.printf(5, 210, id(RB3), id(blue_01), "%s", id(Zeile17).state.c_str());
                                        - id: page2
                                          lambda: |-
                                            it.strftime(160, 0, id(RB1), TextAlign::TOP_CENTER, "%X    %d.%m.%y", id(timeact).now());
                                            it.printf(5, 25, id(RB3), id(green_01), "%s", id(Zeile21).state.c_str());
                                            it.printf(5, 60, id(RB3), id(green_01), "%s", id(Zeile22).state.c_str());
                                            it.printf(5, 90, id(RB3), id(green_01), "%s", id(Zeile23).state.c_str());
                                            it.printf(5, 120, id(RB3), id(green_01), "%s", id(Zeile24).state.c_str());
                                            it.printf(5, 150, id(RB3), id(green_01), "%s", id(Zeile25).state.c_str());
                                            it.printf(5, 180, id(RB3), id(blue_01), "%s", id(Zeile26).state.c_str());
                                            it.printf(5, 210, id(RB3), id(blue_01), "%s", id(Zeile27).state.c_str());
                                  text_sensor:
                                    - platform: mqtt_subscribe
                                      name: "Zeile 1.1"
                                      id: Zeile11
                                      topic: Seite1/Zeile1
                                    - platform: mqtt_subscribe
                                      name: "Zeile 1.2"
                                      id: Zeile12
                                      topic: Seite1/Zeile2
                                    - platform: mqtt_subscribe
                                      name: "Zeile 1.3"
                                      id: Zeile13
                                      topic: Seite1/Zeile3    
                                    - platform: mqtt_subscribe
                                      name: "Zeile 1.4"
                                      id: Zeile14
                                      topic: Seite1/Zeile4    
                                    - platform: mqtt_subscribe
                                      name: "Zeile 1.5"
                                      id: Zeile15
                                      topic: Seite1/Zeile5     
                                    - platform: mqtt_subscribe
                                      name: "Zeile 1.6"
                                      id: Zeile16
                                      topic: Seite1/Zeile6   
                                    - platform: mqtt_subscribe
                                      name: "Zeile 1.7"
                                      id: Zeile17
                                      topic: Seite1/Zeile7   
                                  
                                    - platform: mqtt_subscribe
                                      name: "Zeile 2.1"
                                      id: Zeile21
                                      topic: Seite2/Zeile1
                                    - platform: mqtt_subscribe
                                      name: "Zeile 2.2"
                                      id: Zeile22
                                      topic: Seite2/Zeile2
                                    - platform: mqtt_subscribe
                                      name: "Zeile 2.3"
                                      id: Zeile23
                                      topic: Seite2/Zeile3    
                                    - platform: mqtt_subscribe
                                      name: "Zeile 2.4"
                                      id: Zeile24
                                      topic: Seite2/Zeile4    
                                    - platform: mqtt_subscribe
                                      name: "Zeile 2.5"
                                      id: Zeile25
                                      topic: Seite2/Zeile5     
                                    - platform: mqtt_subscribe
                                      name: "Zeile 2.6"
                                      id: Zeile26
                                      topic: Seite2/Zeile6   
                                    - platform: mqtt_subscribe
                                      name: "Zeile 2.7"
                                      id: Zeile27
                                      topic: Seite2/Zeile7           
                                      
                                  
                                  ? Offline
                                  ? Offline
                                  Ein ehemaliger Benutzer
                                  schrieb am zuletzt editiert von
                                  #303

                                  @pboeck Könntest du ein vollständiges Beispiel zur Verfügung stellen? Versuche mich gerade mit Nextion Displays. Allerdings habe ich auch das von dir verwendete Display hier um es mal zu testen.

                                  DutchmanD 1 Antwort Letzte Antwort
                                  0
                                  • ? Ein ehemaliger Benutzer

                                    @pboeck Könntest du ein vollständiges Beispiel zur Verfügung stellen? Versuche mich gerade mit Nextion Displays. Allerdings habe ich auch das von dir verwendete Display hier um es mal zu testen.

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

                                    @noah3112 sagte in [ESPHome] Beta release:

                                    @pboeck Könntest du ein vollständiges Beispiel zur Verfügung stellen? Versuche mich gerade mit Nextion Displays. Allerdings habe ich auch das von dir verwendete Display hier um es mal zu testen.

                                    Die yaml steht in seinem Beitrag, ich bin auf 50% es im Adapter ohne mqtt zu lösen muss nur noch den Proto Bluff begreifen

                                    ? 1 Antwort Letzte Antwort
                                    0
                                    • DutchmanD Dutchman

                                      @noah3112 sagte in [ESPHome] Beta release:

                                      @pboeck Könntest du ein vollständiges Beispiel zur Verfügung stellen? Versuche mich gerade mit Nextion Displays. Allerdings habe ich auch das von dir verwendete Display hier um es mal zu testen.

                                      Die yaml steht in seinem Beitrag, ich bin auf 50% es im Adapter ohne mqtt zu lösen muss nur noch den Proto Bluff begreifen

                                      ? Offline
                                      ? Offline
                                      Ein ehemaliger Benutzer
                                      schrieb am zuletzt editiert von
                                      #305

                                      @dutchman Ich wollte gern ein komplettes Beispiel nicht nur ein Ausschnitt. Vielleicht bekomme ich ja noch eine Antwort vom Autor ;-)
                                      Wenn es bald ohne den Umweg über MQTT funktioniert wäre das der Knaller. Danke für deine Arbeit 👍

                                      P 1 Antwort Letzte Antwort
                                      1
                                      • ? Ein ehemaliger Benutzer

                                        @dutchman Ich wollte gern ein komplettes Beispiel nicht nur ein Ausschnitt. Vielleicht bekomme ich ja noch eine Antwort vom Autor ;-)
                                        Wenn es bald ohne den Umweg über MQTT funktioniert wäre das der Knaller. Danke für deine Arbeit 👍

                                        P Offline
                                        P Offline
                                        pboeck
                                        schrieb am zuletzt editiert von
                                        #306

                                        @noah3112
                                        Hier ist die komplette .yaml und das Blockly:

                                        esphome:
                                          name: testdisplay
                                          platform: ESP32
                                          board: nodemcu-32s
                                        
                                        wifi:
                                          ssid: "XX"
                                          password: "XX"
                                          manual_ip:
                                            static_ip: X
                                            gateway: X
                                            subnet: X
                                        
                                          # Enable fallback hotspot (captive portal) in case wifi connection fails
                                          ap:
                                            ssid: "Test Display Fallback Hotspot"
                                            password: "X"
                                        
                                        captive_portal:
                                        
                                        # Enable logging
                                        logger:
                                          baud_rate: 0
                                        #  level: ERROR
                                        
                                        # Enable Home Assistant API
                                        # api:
                                        #  password: "XX"
                                        mqtt:
                                          broker: XX
                                          username: XX
                                          password: XX
                                        
                                        ota:
                                          password: "X"
                                          
                                        web_server:
                                          port: 80
                                          auth:
                                            username: XX
                                            password: XX
                                            
                                        time:
                                          - platform: sntp
                                            servers: XX
                                            id: timeact 
                                        spi:
                                          clk_pin: GPIO18
                                          mosi_pin: GPIO23
                                          miso_pin: GPIO19
                                          
                                        sensor:
                                          - platform: wifi_signal
                                            id: WLAN
                                            name: "WiFi Signal"
                                            update_interval: 60s
                                          
                                        font:
                                          - file: "Roboto-Regular.ttf"
                                            id: RB3
                                            size: 24
                                          - file: "Roboto-Regular.ttf"
                                            id: 
                                            size: 20
                                          - file: "Roboto-Regular.ttf"
                                            id: RB1
                                            size: 16  
                                        color:
                                          - id: red_01
                                            red: 100%
                                            green: 0%
                                            blue: 0%    
                                          - id: blue_01
                                            red: 0%
                                            green: 0%
                                            blue: 100%
                                          - id: green_01
                                            red: 0%
                                            green: 100%
                                            blue: 0%    
                                        display:
                                          - platform: ili9341
                                            model: TFT 2.4
                                            id: Display1
                                            cs_pin: GPIO5
                                            dc_pin: GPIO4
                                            led_pin: GPIO15  
                                            reset_pin: GPIO22
                                            rotation: 90°
                                            pages:
                                              - id: page1
                                                lambda: |-
                                                  it.strftime(160, 0, id(RB1), TextAlign::TOP_CENTER, "%X    %d.%m.%y", id(timeact).now());
                                                  it.printf(5, 25, id(RB3), id(green_01), "%s", id(Zeile11).state.c_str());
                                                  it.printf(5, 60, id(RB3), id(green_01), "%s", id(Zeile12).state.c_str());
                                                  it.printf(5, 90, id(RB3), id(green_01), "%s", id(Zeile13).state.c_str());
                                                  it.printf(5, 120, id(RB3), id(green_01), "%s", id(Zeile14).state.c_str());
                                                  it.printf(5, 150, id(RB3), id(green_01), "%s", id(Zeile15).state.c_str());
                                                  it.printf(5, 180, id(RB3), id(blue_01), "%s", id(Zeile16).state.c_str());
                                                  it.printf(5, 210, id(RB3), id(blue_01), "%s", id(Zeile17).state.c_str());
                                              - id: page2
                                                lambda: |-
                                                  it.strftime(160, 0, id(RB1), TextAlign::TOP_CENTER, "%X    %d.%m.%y", id(timeact).now());
                                                  it.printf(5, 25, id(RB3), id(green_01), "%s", id(Zeile21).state.c_str());
                                                  it.printf(5, 60, id(RB3), id(green_01), "%s", id(Zeile22).state.c_str());
                                                  it.printf(5, 90, id(RB3), id(green_01), "%s", id(Zeile23).state.c_str());
                                                  it.printf(5, 120, id(RB3), id(green_01), "%s", id(Zeile24).state.c_str());
                                                  it.printf(5, 150, id(RB3), id(green_01), "%s", id(Zeile25).state.c_str());
                                                  it.printf(5, 180, id(RB3), id(blue_01), "%s", id(Zeile26).state.c_str());
                                                  it.printf(5, 210, id(RB3), id(blue_01), "%s", id(Zeile27).state.c_str());
                                        text_sensor:
                                          - platform: mqtt_subscribe
                                            name: "Zeile 1.1"
                                            id: Zeile11
                                            topic: Seite1/Zeile1
                                          - platform: mqtt_subscribe
                                            name: "Zeile 1.2"
                                            id: Zeile12
                                            topic: Seite1/Zeile2
                                          - platform: mqtt_subscribe
                                            name: "Zeile 1.3"
                                            id: Zeile13
                                            topic: Seite1/Zeile3    
                                          - platform: mqtt_subscribe
                                            name: "Zeile 1.4"
                                            id: Zeile14
                                            topic: Seite1/Zeile4    
                                          - platform: mqtt_subscribe
                                            name: "Zeile 1.5"
                                            id: Zeile15
                                            topic: Seite1/Zeile5     
                                          - platform: mqtt_subscribe
                                            name: "Zeile 1.6"
                                            id: Zeile16
                                            topic: Seite1/Zeile6   
                                          - platform: mqtt_subscribe
                                            name: "Zeile 1.7"
                                            id: Zeile17
                                            topic: Seite1/Zeile7   
                                        
                                          - platform: mqtt_subscribe
                                            name: "Zeile 2.1"
                                            id: Zeile21
                                            topic: Seite2/Zeile1
                                          - platform: mqtt_subscribe
                                            name: "Zeile 2.2"
                                            id: Zeile22
                                            topic: Seite2/Zeile2
                                          - platform: mqtt_subscribe
                                            name: "Zeile 2.3"
                                            id: Zeile23
                                            topic: Seite2/Zeile3    
                                          - platform: mqtt_subscribe
                                            name: "Zeile 2.4"
                                            id: Zeile24
                                            topic: Seite2/Zeile4    
                                          - platform: mqtt_subscribe
                                            name: "Zeile 2.5"
                                            id: Zeile25
                                            topic: Seite2/Zeile5     
                                          - platform: mqtt_subscribe
                                            name: "Zeile 2.6"
                                            id: Zeile26
                                            topic: Seite2/Zeile6   
                                          - platform: mqtt_subscribe
                                            name: "Zeile 2.7"
                                            id: Zeile27
                                            topic: Seite2/Zeile7           
                                            
                                        output:
                                          - platform: ledc
                                            pin: GPIO15
                                            id: gpio_32_backlight_pwm
                                            inverted: yes
                                            
                                            
                                        light:
                                          - platform: monochromatic
                                            output: gpio_32_backlight_pwm
                                            name: "ILI9341 Display Backlight"
                                            id: back_light
                                            restore_mode: ALWAYS_OFF
                                            on_turn_on:
                                            - delay: 10s
                                            - light.turn_off: back_light
                                        
                                        xpt2046:
                                          id: touchscreen
                                          cs_pin: GPIO14
                                          irq_pin: GPIO27
                                          update_interval: 50ms
                                          report_interval: 1s
                                          threshold: 400
                                          dimension_x: 240
                                          dimension_y: 320
                                          calibration_x_min: 3860
                                          calibration_x_max: 280
                                          calibration_y_min: 340
                                          calibration_y_max: 3860
                                          swap_x_y: false
                                          on_state:
                                            - lambda: |-
                                                ESP_LOGI("main", "args x=%d, y=%d, touched=%s", x, y, (touched ? "touch" : "release"));
                                                ESP_LOGI("main", "member x=%d, y=%d, touched=%d, x_raw=%d, y_raw=%d, z_raw=%d",
                                                    id(touchscreen).x,
                                                    id(touchscreen).y,
                                                    (int) id(touchscreen).touched,
                                                    id(touchscreen).x_raw,
                                                    id(touchscreen).y_raw,
                                                    id(touchscreen).z_raw
                                                    );
                                        
                                        binary_sensor:
                                          - platform: xpt2046
                                            xpt2046_id: touchscreen
                                            name: Touch1
                                            id: touch_key0
                                            x_min: 20
                                            x_max: 80
                                            y_min: 200
                                            y_max: 280
                                            on_press:
                                              - display.page.show_next: Display1
                                              - component.update: Display1
                                              
                                          - platform: xpt2046
                                            xpt2046_id: touchscreen
                                            name: Touch2
                                            id: touch_key2
                                            x_min: 90
                                            x_max: 140
                                            y_min: 100
                                            y_max: 160
                                            on_press:
                                              - light.turn_on: back_light
                                        

                                        Bildschirmfoto 2021-09-27 um 08.29.30.png

                                        ? draexlerD 2 Antworten Letzte Antwort
                                        1
                                        • P pboeck

                                          @noah3112
                                          Hier ist die komplette .yaml und das Blockly:

                                          esphome:
                                            name: testdisplay
                                            platform: ESP32
                                            board: nodemcu-32s
                                          
                                          wifi:
                                            ssid: "XX"
                                            password: "XX"
                                            manual_ip:
                                              static_ip: X
                                              gateway: X
                                              subnet: X
                                          
                                            # Enable fallback hotspot (captive portal) in case wifi connection fails
                                            ap:
                                              ssid: "Test Display Fallback Hotspot"
                                              password: "X"
                                          
                                          captive_portal:
                                          
                                          # Enable logging
                                          logger:
                                            baud_rate: 0
                                          #  level: ERROR
                                          
                                          # Enable Home Assistant API
                                          # api:
                                          #  password: "XX"
                                          mqtt:
                                            broker: XX
                                            username: XX
                                            password: XX
                                          
                                          ota:
                                            password: "X"
                                            
                                          web_server:
                                            port: 80
                                            auth:
                                              username: XX
                                              password: XX
                                              
                                          time:
                                            - platform: sntp
                                              servers: XX
                                              id: timeact 
                                          spi:
                                            clk_pin: GPIO18
                                            mosi_pin: GPIO23
                                            miso_pin: GPIO19
                                            
                                          sensor:
                                            - platform: wifi_signal
                                              id: WLAN
                                              name: "WiFi Signal"
                                              update_interval: 60s
                                            
                                          font:
                                            - file: "Roboto-Regular.ttf"
                                              id: RB3
                                              size: 24
                                            - file: "Roboto-Regular.ttf"
                                              id: 
                                              size: 20
                                            - file: "Roboto-Regular.ttf"
                                              id: RB1
                                              size: 16  
                                          color:
                                            - id: red_01
                                              red: 100%
                                              green: 0%
                                              blue: 0%    
                                            - id: blue_01
                                              red: 0%
                                              green: 0%
                                              blue: 100%
                                            - id: green_01
                                              red: 0%
                                              green: 100%
                                              blue: 0%    
                                          display:
                                            - platform: ili9341
                                              model: TFT 2.4
                                              id: Display1
                                              cs_pin: GPIO5
                                              dc_pin: GPIO4
                                              led_pin: GPIO15  
                                              reset_pin: GPIO22
                                              rotation: 90°
                                              pages:
                                                - id: page1
                                                  lambda: |-
                                                    it.strftime(160, 0, id(RB1), TextAlign::TOP_CENTER, "%X    %d.%m.%y", id(timeact).now());
                                                    it.printf(5, 25, id(RB3), id(green_01), "%s", id(Zeile11).state.c_str());
                                                    it.printf(5, 60, id(RB3), id(green_01), "%s", id(Zeile12).state.c_str());
                                                    it.printf(5, 90, id(RB3), id(green_01), "%s", id(Zeile13).state.c_str());
                                                    it.printf(5, 120, id(RB3), id(green_01), "%s", id(Zeile14).state.c_str());
                                                    it.printf(5, 150, id(RB3), id(green_01), "%s", id(Zeile15).state.c_str());
                                                    it.printf(5, 180, id(RB3), id(blue_01), "%s", id(Zeile16).state.c_str());
                                                    it.printf(5, 210, id(RB3), id(blue_01), "%s", id(Zeile17).state.c_str());
                                                - id: page2
                                                  lambda: |-
                                                    it.strftime(160, 0, id(RB1), TextAlign::TOP_CENTER, "%X    %d.%m.%y", id(timeact).now());
                                                    it.printf(5, 25, id(RB3), id(green_01), "%s", id(Zeile21).state.c_str());
                                                    it.printf(5, 60, id(RB3), id(green_01), "%s", id(Zeile22).state.c_str());
                                                    it.printf(5, 90, id(RB3), id(green_01), "%s", id(Zeile23).state.c_str());
                                                    it.printf(5, 120, id(RB3), id(green_01), "%s", id(Zeile24).state.c_str());
                                                    it.printf(5, 150, id(RB3), id(green_01), "%s", id(Zeile25).state.c_str());
                                                    it.printf(5, 180, id(RB3), id(blue_01), "%s", id(Zeile26).state.c_str());
                                                    it.printf(5, 210, id(RB3), id(blue_01), "%s", id(Zeile27).state.c_str());
                                          text_sensor:
                                            - platform: mqtt_subscribe
                                              name: "Zeile 1.1"
                                              id: Zeile11
                                              topic: Seite1/Zeile1
                                            - platform: mqtt_subscribe
                                              name: "Zeile 1.2"
                                              id: Zeile12
                                              topic: Seite1/Zeile2
                                            - platform: mqtt_subscribe
                                              name: "Zeile 1.3"
                                              id: Zeile13
                                              topic: Seite1/Zeile3    
                                            - platform: mqtt_subscribe
                                              name: "Zeile 1.4"
                                              id: Zeile14
                                              topic: Seite1/Zeile4    
                                            - platform: mqtt_subscribe
                                              name: "Zeile 1.5"
                                              id: Zeile15
                                              topic: Seite1/Zeile5     
                                            - platform: mqtt_subscribe
                                              name: "Zeile 1.6"
                                              id: Zeile16
                                              topic: Seite1/Zeile6   
                                            - platform: mqtt_subscribe
                                              name: "Zeile 1.7"
                                              id: Zeile17
                                              topic: Seite1/Zeile7   
                                          
                                            - platform: mqtt_subscribe
                                              name: "Zeile 2.1"
                                              id: Zeile21
                                              topic: Seite2/Zeile1
                                            - platform: mqtt_subscribe
                                              name: "Zeile 2.2"
                                              id: Zeile22
                                              topic: Seite2/Zeile2
                                            - platform: mqtt_subscribe
                                              name: "Zeile 2.3"
                                              id: Zeile23
                                              topic: Seite2/Zeile3    
                                            - platform: mqtt_subscribe
                                              name: "Zeile 2.4"
                                              id: Zeile24
                                              topic: Seite2/Zeile4    
                                            - platform: mqtt_subscribe
                                              name: "Zeile 2.5"
                                              id: Zeile25
                                              topic: Seite2/Zeile5     
                                            - platform: mqtt_subscribe
                                              name: "Zeile 2.6"
                                              id: Zeile26
                                              topic: Seite2/Zeile6   
                                            - platform: mqtt_subscribe
                                              name: "Zeile 2.7"
                                              id: Zeile27
                                              topic: Seite2/Zeile7           
                                              
                                          output:
                                            - platform: ledc
                                              pin: GPIO15
                                              id: gpio_32_backlight_pwm
                                              inverted: yes
                                              
                                              
                                          light:
                                            - platform: monochromatic
                                              output: gpio_32_backlight_pwm
                                              name: "ILI9341 Display Backlight"
                                              id: back_light
                                              restore_mode: ALWAYS_OFF
                                              on_turn_on:
                                              - delay: 10s
                                              - light.turn_off: back_light
                                          
                                          xpt2046:
                                            id: touchscreen
                                            cs_pin: GPIO14
                                            irq_pin: GPIO27
                                            update_interval: 50ms
                                            report_interval: 1s
                                            threshold: 400
                                            dimension_x: 240
                                            dimension_y: 320
                                            calibration_x_min: 3860
                                            calibration_x_max: 280
                                            calibration_y_min: 340
                                            calibration_y_max: 3860
                                            swap_x_y: false
                                            on_state:
                                              - lambda: |-
                                                  ESP_LOGI("main", "args x=%d, y=%d, touched=%s", x, y, (touched ? "touch" : "release"));
                                                  ESP_LOGI("main", "member x=%d, y=%d, touched=%d, x_raw=%d, y_raw=%d, z_raw=%d",
                                                      id(touchscreen).x,
                                                      id(touchscreen).y,
                                                      (int) id(touchscreen).touched,
                                                      id(touchscreen).x_raw,
                                                      id(touchscreen).y_raw,
                                                      id(touchscreen).z_raw
                                                      );
                                          
                                          binary_sensor:
                                            - platform: xpt2046
                                              xpt2046_id: touchscreen
                                              name: Touch1
                                              id: touch_key0
                                              x_min: 20
                                              x_max: 80
                                              y_min: 200
                                              y_max: 280
                                              on_press:
                                                - display.page.show_next: Display1
                                                - component.update: Display1
                                                
                                            - platform: xpt2046
                                              xpt2046_id: touchscreen
                                              name: Touch2
                                              id: touch_key2
                                              x_min: 90
                                              x_max: 140
                                              y_min: 100
                                              y_max: 160
                                              on_press:
                                                - light.turn_on: back_light
                                          

                                          Bildschirmfoto 2021-09-27 um 08.29.30.png

                                          ? Offline
                                          ? Offline
                                          Ein ehemaliger Benutzer
                                          schrieb am zuletzt editiert von
                                          #307

                                          @pboeck Supi 😊 Danke 👍

                                          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

                                          812

                                          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