esphome's People
Forkers
g2dolphinesphome's Issues
How use a 240x320 ST7789v with this driver please?
Hello,
i have a ST7789v of 240x320 pixels and the image is just use the 135x240 of the TTGO screen.
How can i specify in Esphome to use a 240x320 pixel screen please?
Thanks!
EDIT : i have put back the 240 and 320 value in "st7789v.cpp" line 265 and 269 but it boot loop.
Does i need some more modifications please?
esphome+TTBO T-Display: no screen refresh
Operating environment/Installation:
Raspberry Pi3B+
Hass.IO
Home Assistant 0.107.7
ESPHome 1.14.3
ESP32, TTGO T-Display
Affected component:
ESP32, TTGO T-Display
Description of problem:
The information on the display becomes overwritten on every update of the sensors. This is my current .yaml code:
`spi:
clk_pin: GPIO18
mosi_pin: GPIO19
font:
- file: "SFNSRounded.ttf"
id: font_cs
size: 40
sensor: - platform: homeassistant
entity_id: sensor.sonda_ph_aquari
id: ph_aqua
internal: true - platform: homeassistant
entity_id: sensor.temperatura_aquari
id: temp_aqua
internal: true
display: - platform: st7789v
id: st7789vdisplay
reset_pin: GPIO23
dc_pin: GPIO16
cs_pin: GPIO5
bl_pin: GPIO4
rotation: 90°
brightness: 75%
update_interval: 1s
lambda: |-
if (id(ph_aqua).has_state()) {
it.printf(55, 10, id(font_cs), 0xF800, "%.1f °C", id(temp_aqua).state);
it.printf(55, 60, id(font_cs), 0x7E0, "%.1f pH", id(ph_aqua).state);
}`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.