feature-requests icon indicating copy to clipboard operation
feature-requests copied to clipboard

Add support round display: GC9A01 240x240 IPS

Open error105 opened this issue 2 years ago • 12 comments

Describe the problem you have/What new integration you would like Add support for beautiful round display with GC9A01 driver.

Please describe your use case for this integration and alternatives you've tried: Support for round charts.

Additional context Documentation from Waveshare: https://www.waveshare.com/1.28inch-lcd-module.htm

error105 avatar Apr 10 '22 09:04 error105

I second this! Would love to use this screen, particularly if the example renders like the 'gauge' could be included as a parameter rather than needing to draw it manually.

nickwilkie avatar Jun 16 '22 10:06 nickwilkie

This would be an amazing addition for devices like temperature/humidity sensors!

jlips24 avatar Jun 28 '22 05:06 jlips24

Just found this pull request: https://github.com/esphome/esphome/pull/3625

Nilaik avatar Jul 16 '22 10:07 Nilaik

Just found this pull request: esphome/esphome#3625

Got this working with:

Example config.yaml

external_components:
  - source: github://pr#3625
    components: [ gc9a01 ]

spi:
  mosi_pin: GPIO13
  clk_pin: GPIO14

display:
- platform: gc9a01
  reset_pin: GPIO26
  cs_pin: GPIO15
  dc_pin: GPIO33
  rotation: 180
  lambda: |-
      it.line(0, 0, 100, 50);

pvh0 avatar Sep 29 '22 12:09 pvh0

Thanks for this, I bought a few of these ages ago but never got around to doing anything and was pleased to see all the hard work done. They are really nice and very very cheap, I assume they are surplus/rejected smartwatch displays.

Just wondering if there are any components/packages/examples for drawing a gauge on a display with ESPHome? I haven't done much with displays yet other than drawing text, and I'm sure it's a common thing for people to do.

garethm79 avatar Feb 17 '23 14:02 garethm79

I make gauges on it, but in PlatformIO and just read values from mqtt from HA. Thats simple ;)

error105 avatar Feb 17 '23 15:02 error105

Yeah I want to keep everything in ESPHome really. I'm just writing a component to draw a nice needle gauge from a sensor, based on the graph component.

garethm79 avatar Feb 21 '23 12:02 garethm79

Can u show ?

error105 avatar Feb 21 '23 14:02 error105

I'd like to see the needle guage drawing component also

KevynWithaY avatar Aug 13 '23 22:08 KevynWithaY

https://github.com/esphome/feature-requests/assets/43261479/58352a18-5d58-4b9f-b1d0-64e6d66e0264

I'm working on this device but the screen being too slow affects the matrix keyboard

nguyenquangduc avatar Dec 11 '23 07:12 nguyenquangduc

Support is going mainline! https://github.com/esphome/esphome/pull/6351

clowrey avatar Mar 12 '24 02:03 clowrey

Is there any tool to create a nice gui with his display?

TheOriginal92 avatar Apr 01 '24 23:04 TheOriginal92

Try https://github.com/esphome/esphome/pull/6363, it's still work in progress, but already pretty stable.

nagyrobi avatar Apr 02 '24 08:04 nagyrobi