esphome / feature-requests

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

DWIN HMI display support? #2321

Open BrownC0de opened 1 year ago

BrownC0de commented 1 year ago

Describe the problem you have/What new integration you would like Good afternoon, I discovered excellent HMI displays (https://www.dwin-global.com/) that are superior to others (nextion example) both in price and in characteristics (color, resolution, viewing angle, touch sensor) and appearance. But they are quite problematic in setting, from the side of the esphome. Is it possible to finish off their support, and facilitate customization by the user?

Please describe your use case for this integration and alternatives you've tried: Devices with high-quality displays that do not load esp Additional context

Unfortunately, these beautiful displays are not currently usable on anything without programming knowledge. (At the same time, setting up the interface itself is not a problem, it has a rather convenient interface), but its communication through the UART with the ESP is not very easy and not pleasant :)

BrownC0de commented 1 year ago

By the way, the manufacturer DWIN is very willing to provide screens for development and testing.

arnaudcart commented 10 months ago

Any news on that? I would be interested as well. Thanks!

pdacity commented 10 months ago

I am also requesting direct support for DWIN displays

ReliableBob commented 10 months ago

Yes, these displays are very interesting! Especially those models that have built-in ESP8266 modules. Really need support!

O-X-I-G-E-N commented 10 months ago

Yes, there are really not enough screens! I'm also looking forward to progress in this direction.

nagyrobi commented 10 months ago

Which screen models are we talking about here? They offer Android and Linux-based screens also. Which model is ESP8266-based? Also I see most of the screens require further case development - but are there any screens witch complete housing, which could be interest for ESPHome?

BrownC0de commented 10 months ago

Also I see most of the screens require further case development - but are there any screens witch complete housing, which could be interest for ESPHome?

Interested in the COF series https://www.dwin-global.com/cof-uart-lcd-module/ Option directly with the housing https://www.dwin-global.com/4-inch-iot-smart-home-wire-controllermodel-tc040c12-uw-00-product/

As for immediately with esp inside, I don’t know such options.

nagyrobi commented 10 months ago

Wow, the TC040C12U00 is indeed very appealing, and price-wise is also not bad. Seen even on Aliexpress.

TC040C12U00 install

What's very interesting is that it supports RS485, which is usually ModBUS. If it's really ModBUS, then ESPHome supports it. That component allows making sensors, switches etc from what the device offers - in this case I guess graphic elements on the screen...?

The other big advantage of RS485 is that it supports long cable runs, so you don't need to put the ESP directly near the screen.

Dev docs: https://www.dwin-global.com/development-guide/

BrownC0de commented 10 months ago

Wow, the TC040C12U00 is indeed very appealing, and price-wise is also not bad. Seen even on Aliexpress.

And this is what it looks like from the inside. There is space for the radio module. It works via UART Screenshot_17

To draw UI - They offer special software DGUS: https://www.dwin-global.com/tool-page/ Next, the screen exchanges information via the UART with the ESP (or another microcontroller)

Some information on how to set it up. https://iotprojectsideas.com/esp32-smart-home-automation-using-dwin-hmi-display/ https://how2electronics.com/smart-home-controller-using-dwin-hmi-display-esp32/ Here the whole difficulty in use is from the point of view that you need to have programming knowledge, but you want there to be integration (Similar to the Nextion components in esphome)

BrownC0de commented 10 months ago

Screen quality, colors, viewing angles, interface speed and touch screen responsiveness. In the video below: https://github.com/esphome/feature-requests/assets/34803844/aa2b7968-5650-4aa2-9b1f-4e80eb8c8b43 This is truly an extremely interesting screen for this price.

nagyrobi commented 10 months ago

And this is what it looks like from the inside.

Yes there's an unpopulated header for a WiFi module. Chances are we could even find an ESP-based module which could fit.

Can you take a closer shot of that part of the board?

randybb commented 10 months ago

It is called "wifi-10" and it is an ancient esp8266 https://www.aliexpress.com/i/1005001392531088.html would rather use any esp32 (m5stamp, or any other module, and some wires would do it).

BrownC0de commented 10 months ago

Can you take a closer shot of that part of the board?

Unfortunately it won’t work out, this is not my photo. I have screens without housings, there is a different board, with pins simply displayed

photo_2023-11-15_16-28-07

photo_2023-11-15_16-17-25

photo_2023-11-15_16-17-26

It is called "wifi-10" and it is an ancient esp8266

Yes, it's very similar. For esp32 you can use the board HDL662S there is a UART or do without this board and connect the cable via connector FPC\FFC 50Pin.

pkejval commented 9 months ago

I'm considering switching from Nextion to DWIN because of better price and smaller dimensions of boards. Does anyone have it working with ESPHome? Is it difficult to make it work with UART commands only?

hayschan commented 8 months ago

I'm considering switching from Nextion to DWIN because of better price and smaller dimensions of boards. Does anyone have it working with ESPHome? Is it difficult to make it work with UART commands only?

They have an Arduino Library for DWIN DGUS T5L HMI Displays.

edwardtfn commented 8 months ago

By the way, the manufacturer DWIN is very willing to provide screens for development and testing.

I would be happy to work on an ESPHome component for this. Which model is more popular here?

BrownC0de commented 8 months ago

I would be happy to work on an ESPHome component for this. Which model is more popular here?

It would be great. СOF products (https://www.dwin-global.com/cof-uart-lcd-module/) It is best suited for use with esphome. I use DMG48320F035_01WTC In my opinion, this is the most successful diagonal, it is also available with a body. I can take part in testing.

edwardtfn commented 6 months ago

I finally got my displays. I will try to find some time to play with this.

u20p17 commented 3 months ago

any news on this topic? :)