Navigation

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

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    [ESPHome] Beta release

    This topic has been deleted. Only users with topic management privileges can see it.
    • ?
      A Former User @Dutchman last edited by

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

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

        @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 Reply Last reply Reply Quote 0
        • ?
          A Former User @Dutchman last edited by

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

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

            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.

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

              @klassisch sagte in [ESPHome] Beta release:

              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 Reply Last reply Reply Quote 0
              • K
                klassisch Most Active @Dutchman last edited by

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

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

                  @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 Reply Last reply Reply Quote 0
                  • K
                    klassisch Most Active @Dutchman last edited by

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

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

                      @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 Reply Last reply Reply Quote 0
                      • K
                        klassisch Most Active @Dutchman last edited by klassisch

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

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

                          @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 Reply Last reply Reply Quote 0
                          • K
                            klassisch Most Active @Dutchman last edited by

                            @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 Reply Last reply Reply Quote 0
                            • B
                              bernd33-1 last edited by

                              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());
                              
                              Dutchman P 2 Replies Last reply Reply Quote 0
                              • Dutchman
                                Dutchman Developer Most Active Administrators @bernd33-1 last edited by

                                @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

                                ahnungsbefreit created this issue in DrozmotiX/ioBroker.esphome

                                closed Support for Displays #103

                                1 Reply Last reply Reply Quote 0
                                • P
                                  pboeck @bernd33-1 last edited by

                                  @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 Reply Last reply Reply Quote 0
                                  • ?
                                    A Former User @pboeck last edited by

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

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

                                      @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 Reply Last reply Reply Quote 0
                                      • ?
                                        A Former User @Dutchman last edited by

                                        @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 Reply Last reply Reply Quote 1
                                        • P
                                          pboeck @Guest last edited by

                                          @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

                                          ? draexler 2 Replies Last reply Reply Quote 1
                                          • ?
                                            A Former User @pboeck last edited by

                                            @pboeck Supi 😊 Danke 👍

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            865
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

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