esphome / feature-requests

ESPHome Feature Request Tracker
https://esphome.io/
413 stars 26 forks source link

Add support for Adafruit SSD1331 OLED color display #760

Closed hapklaar closed 2 years ago

hapklaar commented 4 years ago

Describe the problem you have/What new integration you would like Please add support for the cheap Adafruit SSD1331 96x64 OLED color display.

Please describe your use case for this integration and alternatives you've tried: Trying to create a CO2 sensor module that shows the current CO2 level and temperature from a MH-Z19B sensor on a display with a bargraph with color based on that level (400-600 green, 600-1000 yellow, 1000+ red). Have it working in txt only on a SSD1306, but now would like to move on to a color display in the same family and finish the module for use with Home Assistant.

Additional context This is an SPI controlled display. Library is available from Adafruit (Adafruit_SSD1331.h)

kbx81 commented 4 years ago

I've recently picked up a couple of their SSD1351 displays -- hopefully the SSD1331 is similar enough that it can be part of the same component. I may take a stab at implementing this in the not-too-distant future, unless someone beats me to it. 😄

kbx81 commented 4 years ago

Unfortunately this display isn't quite as similar to the SSD1351 as it probably should be to roll into a single component. Next time I order some hardware, I just might add one of these to the order so I can properly build and test it.

hapklaar commented 4 years ago

I see you finished the SSD1351 integration, great! Let me know if it would help if I send you one of these SSD1331's.

kbx81 commented 4 years ago

I have one of these on order, but it seems everybody is out of stock and they are not due to ship until late October. 😞

If you would like this added sooner and are willing to send one, I won't turn it down! 😄

hapklaar commented 4 years ago

October really? You're not ordering from Ali I guess :)

If you PM me your address, I'll see to that you get one delivered!

kbx81 commented 4 years ago

@hapklaar I received the display -- thank you! 🎉 It's been implemented and PR'd. Just needs approval and merging. 😄

hapklaar commented 4 years ago

@kbx81 That's great news, you're fast!

Will have a go at it as soon as it's available. Thanks again! :)

emeyedeejay commented 3 years ago

Hi! Is there any update on this at all? Also keen to get my SSD1331 screen integrated into ESPHome.

Thanks!

kbx81 commented 3 years ago

It was merged into dev a while ago. It'll be in the next release, or if you need it now, you can run dev. 😄

emeyedeejay commented 3 years ago

Thanks!

I found the updated documents and am now running dev. Still can't get it working though :D

emeyedeejay commented 3 years ago

Now working 🙌

2020-12-16_19h38_38