I have no idea how the st7789v works. But in the code of esphome (st7789v.cpp) there are some hardcoded offsets. (method “write_display_data” line 137 - 140) and the “get_width_internal” and “get_height_internal” return hardcoded resolution values.
If I were in your situation I would play around with those values.
Yes the same wrong resolution.
But i believe i am changing it in the wrong place. I have the addon of esphome (docker installation)
And i made the change under \config\esphome\project name
Yes very likely it got overwriten when you rebuild the firmware (if you open the file again it will be the original file again).
I don’t know where the esphome addon stores its source code. Normaly you are not supposed to edit that. But for a quick test to see if that fixes the issue (then you can provide that info into the issue in github and some dev may fix it) I think it is OK.
Grab the ST7789v source code from Github (see below), and copy it to a folder beneath Home Assistant’s esphome directory named custom_components/st7789v/. Then edit the CPP and H source files there; they will be used to compile, and they will not be overwritten.
i give up month ago, because i have made what @FredTheFrog tell to do at first but without any luck…post here after to ask…nothing more found about those screens…
i just stay on my ILI9341 320x240 3.2", its cheap and reliable.