Custom ESPHome dashboards on LilyGo T5 4.7" ePaper device

Поделиться
HTML-код
  • Опубликовано: 20 июл 2024
  • Lilygo T5-4.7 ePaper screen is ALL-IN-ON IoT device that combines excellent screen with standard ESP32 board, allowing us to use it in various IoT projects.
    Today we will be creating Dashboard for this eInk screen via ESPHome Addon in Home Assistant.
    I really would like to thank ALL of the community members for their contribution, as large portion of the code was taken from some excellent projects.
    Link to LilyGo T5 device: s.click.aliexpress.com/e/_Dnb... (*)
    Link to touch panel: s.click.aliexpress.com/e/_DBJ... (*)
    Link to GitHub T5 Issue: github.com/BeardedTinker/Home...
    00:00 - Intro
    00:35 - Let's look at T5 4.7 ePaper screen
    02:13 - Awesome community projects
    03:48 - All the code - for ESPHome
    06:22 - YAML code - part 1
    07:33 - Battery Life??!
    09:53 - Externa components for T5 4.7 display
    11:05 - YAML code - part 2
    17:09 - Flashing the device and adding to HA
    20:07 - Final thoughts
    Links to some community projects:
    www.creatingsmarthome.com/ind...
    github.com/tolnai/esphome-das...
    / lilygo_t5_epaper_displ...
    github.com/kotope/esphome_ein...
    Link to MDI: pictogrammers.github.io/@mdi/...
    Don't forget to give this video thumb up if you liked it, subscribe if you still haven't and I'll see you next time!
    Have fun!
    Bearded Tinker
    ____________________________________________________________
    👕☕Awesome merchandise? Sure - here it is!
    ▶ shop.beardedtinker.com/
    ____________________________________________________________
    🧡 If you would like to support me and this channel, you can JOIN and become RUclips channel member! 🙏 ruclips.net/user/BeardedTinker...
    ____________________________________________________________
    📣Follow me on other platforms📣
    ✅Twitter: @BeardedTinker
    ✅Instagram: @2BeardedTinker
    ✅Discord: / discord
    ____________________________________________________________
    (*) if any, should indicate links that are affiliated links. They don't cost you anything extra but provide small income to get this channel going, and finance future projects I make.
    #homeassistant #esphome #lilygo
  • НаукаНаука

Комментарии • 45

  • @SpiralOut09
    @SpiralOut09 Год назад +5

    I appreciate the detailed guide!
    I can't get the code to compile due to errors around ESPTime (src/common.h:4:47: error: 'ESPTime' is not a member of 'esphome::time'). I am not a programmer, but I suspect that this is broken due to the 2023.6.0 Esphome update. ("Breaking Changes: Move ESPTime into core esphome namespace esphome#4926 by @jesserockz (breaking-change)").
    Like I said...not a programmer, but this is my uneducated guess. Thanks!

    • @BeardedTinker
      @BeardedTinker  Год назад +1

      I would need to test it - mine is still not updated - I think it's on 2023.4 ESPHome or similar.

    • @BeardedTinker
      @BeardedTinker  Год назад +3

      Yes, looks like breaking change in 2023.6. I still haven't fixed it as screen is working with 2023.4 version of ESPHome. Will try to do it over the weekend if I get some free time to look into it.

    • @davescheinman5645
      @davescheinman5645 Год назад +3

      Can this comment be pinned / added to the video description? I just spent a lot of time following this tutorial and troubleshooting it when it didn't work only to learn it doesn't work.

    • @BeardedTinker
      @BeardedTinker  Год назад +4

      Done! Will pin link to new code after I find time to play with it.
      From what I've seen, non of the older codes were updated on any repositories.

    • @davescheinman5645
      @davescheinman5645 Год назад +1

      @@BeardedTinker Thank you! I look forward to the new code, figuring out how to fix it was a little beyond my skillset!

  • @jonasniesner
    @jonasniesner Год назад +4

    If you want to have a battery powered ePaper display with a really long battery live(multiple years) you may want to take a look at the OpenEpaperLink project. It uses repurposed pricetags and an esp32. And I am developing an HA integration for it.

  • @kinghuzi
    @kinghuzi 3 месяца назад +2

    Will appreciate it the closer can be updated to fix esptime

  • @SmartHomeJunkie
    @SmartHomeJunkie Год назад +3

    Interesting display as well Andrej!

  • @lodesmets9815
    @lodesmets9815 Год назад +2

    I bought the exact same display for the same idea.
    But I haven't found the time to do it. Thanks for the video

    • @BeardedTinker
      @BeardedTinker  Год назад +1

      Time is always an issue! Hope you'll manage to do something great with it!

  • @ronm6585
    @ronm6585 Год назад +1

    Very cool. Thanks B.T.

  • @DirtDays-th
    @DirtDays-th Месяц назад +1

    Thank you

  • @joshcliffejones
    @joshcliffejones 6 месяцев назад +2

    I have had one of these devices for a long time and the recent updates to ESPHome have broken it. I managed to find someone else who'd updated the display component to work with the new versions, however this new component doesnt work with the touchscreen as thats also been changed within ESPHome.
    Such a shame for such a cool and versitile device to now be essentially useless unless you happen to be a developer and can write new components to keep up with the ESPHome changes.

    • @BeardedTinker
      @BeardedTinker  6 месяцев назад

      Firmware on mine is still from last year. I didn't update it for two reasons - original FW worked and also due to changes in dependencies it didn't compile. Hoped to get it fixed last summer, but simply don't have enough free time to play with it.

  • @adifoto6362
    @adifoto6362 Год назад +3

    Nice, that is a cool display. I am curious how easy will work with the touch.

    • @BeardedTinker
      @BeardedTinker  Год назад

      Actually, it should be super easy, but haven't had time to play with it. esphome.io/components/touchscreen/lilygo_t5_47.html

  • @bastian433
    @bastian433 Год назад +1

    Cool, I have one still laying around...

  • @code__on
    @code__on 4 месяца назад +1

    Hvala!

    • @BeardedTinker
      @BeardedTinker  4 месяца назад

      Nema na čemu :) Jedino što ne radi s novim ESPHome, treba koristiti neku raniju verziju (tipa 2023.1 ili slično). Nikako provjeriti što se promijenilo.

  • @carltonwbrooks
    @carltonwbrooks Год назад

    Do you have a link to the battery case stl as well as the T5. Thanks for another great video!!!!!

    • @BeardedTinker
      @BeardedTinker  Год назад +1

      What battery type? 18650 or those flat ones.
      For example: www.printables.com/model/272575 - this is OK case if battery is flat.
      For 18650 there is for example also this one: www.printables.com/model/130235
      You can try looking here for more ideas and cases: thangs.com/search/lilygo%20t5%204.7?scope=all

  • @EsotericArctos
    @EsotericArctos Год назад +1

    Do you find the refresh rate of the e-Ink display causes issues, or do you mostly just show static displays?

    • @BeardedTinker
      @BeardedTinker  Год назад +1

      Yes, that can be problem with frequent screen refresh as it takes time to draw/change screen.
      But most of the things I display don't update that often.

  • @hugbig
    @hugbig 3 месяца назад +1

    Thank you for this video. Could you please shared with us the 3d print model that you used please ?

    • @BeardedTinker
      @BeardedTinker  3 месяца назад

      I think, this was the one I used: www.printables.com/model/522518-lilygo-t5-47-s3-e-paper-case

  • @SliphRahl
    @SliphRahl Год назад +1

    Nice, I would really like to see how to use the touch cover on it.

    • @BeardedTinker
      @BeardedTinker  Год назад

      Still haven't tried. According to the documentation, after connecting it to T5 board, you only need few lines of code:esphome.io/components/touchscreen/lilygo_t5_47.html

    • @SliphRahl
      @SliphRahl Год назад +1

      @@BeardedTinker Bought one, tried it ... everything works fine without the touchscreen code. When I add the code from the above link, the device keeps rebooting...

    • @SliphRahl
      @SliphRahl Год назад

      @@BeardedTinker I've got it working, had to downgrade ESPHome to 2022.11.5 ... then it worked.

    • @BeardedTinker
      @BeardedTinker  Год назад

      Still haven't had time to try. My guess, problem with RAM. But would need to test it. Way to test it is to remove parts of the sensors that are pulled from HA and see if it than loads it or not.

  • @jesperpedersen5783
    @jesperpedersen5783 5 месяцев назад +1

    the link to LilyGo T5 says Sorry, this item is no longer available! :-(

    • @BeardedTinker
      @BeardedTinker  5 месяцев назад

      Looks like it's not available any more - there is alternative, but that one is using ESP32-S3 and it would require a bit different code from what I know.

  • @BartAfterDark
    @BartAfterDark Год назад +4

    Wish the screens would come down in price. Feel they are too expensive, for what you get at the moment.

    • @BeardedTinker
      @BeardedTinker  Год назад

      That would be great. A lot of devices from Lilygo had price increase a year or so ago. Haven't found if this was also the case with this device or not, but price decrease would be awesome!

    • @bennylloyd-willner9667
      @bennylloyd-willner9667 Год назад

      If they throw in the touch panel for that priceI would buy one to try out, but for now I'll just enjoy BeardedTinker's videos and learn for free👍

  • @as31415rin
    @as31415rin 7 месяцев назад +1

    thanks for this nice video. I get however always the following error and even if I change it from DisplayBufferRef to DisplayRef, then it does compile, but it does not work. Any update on a currently working yaml file?
    File "/data/external_components/fa8d4a0f/esphome/components/lilygo_t5_47_display/display.py", line 44, in to_code
    config[CONF_LAMBDA], [(display.DisplayBufferRef, "it")], return_type=cg.void
    ^^^^^^^^^^^^^^^^^^^^^^^^
    AttributeError: module 'esphome.components.display' has no attribute 'DisplayBufferRef'. Did you mean: 'DisplayBuffer'?

    • @BeardedTinker
      @BeardedTinker  7 месяцев назад +1

      There were some changes in ESPHome and libraries that are used. I hoped to have enough time and dig into it few months back, but haven't still touched it.