Skip to content

Use Lilygo T5-4.7 inch ESP32-S3 (aka "plus"/V2.3) e-paper module with ESPHome. Supports updating from framebuffer without clearing screen

License

Notifications You must be signed in to change notification settings

PrototypeSomething/esphome-lilygo-t547plus

 
 

Repository files navigation

USE AT YOUR OWN RISK

I AM NOT HELD RESPONSIBLE IF ANYTHING HAPPENS TO YOUR DISPLAY

I modified the original component to allow quick refresh wich means that you have the option to update the display without it flashing black and white

The original update function that refreshes the display and flashed black and white is still present in this fork

The function to update the display can be called from lambda:

- lambda: |
            // Will do a full refresh, but not flash the screen
            my_display->update_from_framebuffer();

            // Will do a full refresh and flash the screen, this method works with the original component too
            my_display->update();

Credits to Nickolay and thanks for creating this component!

This repository contains a Display component for ESPHome to support the ESP32-S3 LILYGO T5 4.7" Plus E-paper display.

(Do not confuse it with the original ESP32-based Lilygo T5 4.7 board.)

For more info in the display components, see the ESPHome display documentation

Usage

To use the board with ESPHome you have to put quite a number of options in your esphome config:

  • Configure the aprpopriate board, variant, and framework versions in the esp32 platform
  • Set a bunch of platformio_options
  • Include the component from this repository as external_components

If you clone this repository, a working example is included:

git clone https://github.com/PrototypeSomething/esphome-lilygo-t547plus.git
cd esphome-lilygo-t547plus
esphome run basic.yaml

If you don't want to clone, copy the necessary pieces from basic.yaml and adapt the external_components configuration as follows:

# ... required esp32, platformio_options configuration omitted for brevity ...

external_components:
  - source: github://PrototypeSomething/esphome-lilygo-t547plus
    components: ["t547"]

## for those using ESPHome 2023.6.5 and earlier:
# external_components:
#   - source: github://PrototypeSomething/[email protected] # Not tested by me but provided by nickolay (github://nickolay/[email protected])
#     components: [t547]


display:
- platform: t547
  id: t5_display
  update_interval: 30s # Remember to set to "update_interval: never" if using LVGL

Discussion

esphome/feature-requests#1960

About

Use Lilygo T5-4.7 inch ESP32-S3 (aka "plus"/V2.3) e-paper module with ESPHome. Supports updating from framebuffer without clearing screen

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 89.2%
  • C++ 7.8%
  • Python 3.0%