HowTo - masto/NSPanel-Demo-Files GitHub Wiki
- Fixing the touch offset for EU panels:
Addlcd_dev fffb 0002 0000 0020to Program.s (at the top of the Nextion Editor)
Important: This needs to go abovepage 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 switch
switch:
- 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.