musk95 / esphome

18 stars 0 forks source link

esphome+TTBO T-Display: no screen refresh #1

Open busqui04 opened 4 years ago

busqui04 commented 4 years ago

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:

kbmetz commented 4 years ago

I have the same issue as well. Also there does not appear to be any way to turn off the display

busqui04 commented 4 years ago

This issue is already fixed. This is a wrong library code. You can find the solution on this link:

https://community.home-assistant.io/t/esphome-ttgo-t-display-no-screen-refresh/183025

kbmetz commented 4 years ago

Thank you!

How do you turn the display off?

busqui04 commented 4 years ago

You can try: lambda: |- // Turn the whole display on. it.fill(COLOR_ON); // Turn the whole display off. it.fill(COLOR_OFF);

You can replace COLOR_OFF by 0x0000 (black)

kbmetz commented 4 years ago

That does not turn the display off. You can still see that its on looking at the side and it consumes power