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 Наука
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!
I would need to test it - mine is still not updated - I think it's on 2023.4 ESPHome or similar.
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.
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.
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.
@@BeardedTinker Thank you! I look forward to the new code, figuring out how to fix it was a little beyond my skillset!
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.
Will appreciate it the closer can be updated to fix esptime
Interesting display as well Andrej!
Thank you Ed :)
I bought the exact same display for the same idea.
But I haven't found the time to do it. Thanks for the video
Time is always an issue! Hope you'll manage to do something great with it!
Very cool. Thanks B.T.
Thank you Ron for the comment!!!
Thank you
You're welcome
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.
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.
Nice, that is a cool display. I am curious how easy will work with the touch.
Actually, it should be super easy, but haven't had time to play with it. esphome.io/components/touchscreen/lilygo_t5_47.html
Cool, I have one still laying around...
Hope you find a good use for it 😉
Hvala!
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.
Do you have a link to the battery case stl as well as the T5. Thanks for another great video!!!!!
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
Do you find the refresh rate of the e-Ink display causes issues, or do you mostly just show static displays?
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.
Thank you for this video. Could you please shared with us the 3d print model that you used please ?
I think, this was the one I used: www.printables.com/model/522518-lilygo-t5-47-s3-e-paper-case
Nice, I would really like to see how to use the touch cover on it.
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
@@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...
@@BeardedTinker I've got it working, had to downgrade ESPHome to 2022.11.5 ... then it worked.
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.
the link to LilyGo T5 says Sorry, this item is no longer available! :-(
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.
Wish the screens would come down in price. Feel they are too expensive, for what you get at the moment.
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!
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👍
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'?
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.