New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More Instructions please #1
Comments
yup i get that too. you need to:
|
I cant compile the code, in ESPHome, it tells me that the board is not exist, where did you compile it? |
Are you on esphome 9.1? |
Im on 2022.3.1 in Home Assistant, how do i get esphome 9.1? |
Check for updates in hacs |
I dont have it installed from HACS i have it directly from Home assistant Addons |
sorry my bad that's right. at the bottom of my esphome ui i see "ESPHome by Nabu Casa | Fund development | v2022.9.1 Documentation" |
Error: Unknown development platform 'espressif32' when i try to manual download the program it says that |
I'm attempting this as well. In the s3.yaml file: - "file:///config/esphome/tdisplays3/TFT_eSPI". Apparently, landonr has cloned this repository to the esphome directory. To do that, you could install the SAMBA plugin and then copy to the shared config folder. There is likely a way to do a "git clone" command as well. But an easier option for picking up libraries is to use git from the s3.yaml file. Landonr, not sure how to do that exactly, but would it be easier to install that way? |
That worked. In the .yaml file replace: |
I did what you said, but now it's throwing an error: Unknown developer platform 'espressif32' |
Settings / Add-ons / ESPome... at the top does it say: Current version: 2022.9.1 ? |
NO! omg! how do I update! for crying out loud, isnt it automatic? |
Autoupdate should be the fourth button below... Should be. |
No wonder I'm struggling, rage uninstall installing again |
Been there. It gets better... At this point everything has gotten pretty mature and polished. It's super powerful and rock solid... Its worth the trouble. I'm now working on adding LVGL widgets. With this display they look great. |
Oh my goodness, I cant beleive this, h've been struggling with this for two days! TWO days! and it was just a missing update! |
Well, it now went further but once it starts compiling the *.cpp files, it starts throwing a bunch of errors, any ideas? by the way i got the files in my config/esphome/... so shouldnt be a problem there, allthough i also tried it going through the git address as you suggested, and same thing, a bunch of errors saying the functions are declared void and stuff |
That's odd. Paste the errors for us. We will get it. |
Dependency Graph |
Thanks @TLCary the github change also made the build action pass in github. I have a branch with some lvgl stuff in this repo but I didn't get very far |
Is there any way to use the esphome normal display: section and the normal text, ui drawing elements with this setup? The only thing I see is the two hardcoded functions in the class for drawing the bar and text string. (figured out part, at least I can use the tft_espi graphic commands in script. Just moved the tft variable declaration from Private: to Public: so it can be accessed in esphome script directly. |
Do you have any docs for this? I am used to the display sections, but with an example or two, I can figure it out. I am basically looking to make boxes, and fill them with text, at least for now :) |
Could you explain more ? |
yes, pretty easy, but a hack. It would really be nicer to integrate the standard esphome display component to use this library so we can use the display commands. You should have downloaded the tdisplay3 folder from git into your esphome folder already if you have got this far. I used a file editor HACS add-on to edit this file: /config/esphome/tdisplays3/tft_espi_display.h Then save the file. Next time you edit / compile and upload to the S3 board it will expose the tft class to esphome. You can then just use the standard tft_espi drawing functions (not the typical esphome "display:" section / drawing components). Then in your script, use a lambda section and call the tft class functions like this:
There are some examples for "C" on this page, just use the displayControllerComponent->tft.xxxxfunction_name |
You are the man! I am trying to use the code from tft_espi_display.h as a template, and I am trying to display the value of a sensor (host_ip) which is for all intents and purposes a string - it is defined as a text sensor:
This is the line I am using in the YAML config:
And this is the error I am seeing:
Any ideas where to start? |
@rperciaccante
|
thanks for helping out @jamesarm97! can we improve the docs to make it easier for other people? |
I put everything up on Github, hopefully a little way to give back :) |
Thanks for the advice here, but is there any possibility of getting the esphome display graph component working? I'm keen to display a power graph from a home assistant sensor. |
I've submitted a pr (#10) with which this could be used as a normal display component, and thus the standard esphom API would work (graph, images, animations,...). |
Im trying to install this through HomeAssistant ESPHome Plugin, but i am no savy and im not being able to do it, it says that the board doesnot exist...
Please help
The text was updated successfully, but these errors were encountered: