Skip to content
Christopher Masto edited this page Jan 22, 2022 · 12 revisions
  • Fixing the touch offset for EU panels:
    Add lcd_dev fffb 0002 0000 0020 to Program.s (at the top of the Nextion Editor)
    Important: This needs to go above page 0
  • Swipe detection by kernel_k
  • Automatically dimming the display by Andre Klärner. See HMI here.
    • YouTube video with a walkthrough of how to use this to turn off the screen
  • TFT uploads with MQTT (thanks to ESPHome Discord)
    • # Update Display button
      - platform: template
        name: Update TFT display
        id: tft_update
        turn_on_action:
            - delay: 16ms
            - lambda: 'id(disp1).upload_tft();'
            - switch.turn_off: tft_update
      
      The crucial piece here is the 16ms delay that forces asynchronous action.
Clone this wiki locally