Page 2 of 13
Re: New project, a small wall display to control Domoticz using CYD (Cheap ESP32 touchscreen)
Posted: Tuesday 06 February 2024 18:57
by kniazio
Has anyone raised the issue of @Thorgal789 regarding a display system for our beloved Domoticz?
I have been struggling for several weeks with no results. It keeps giving me some errors in Platformio. If we do not improve the operation of our Domoticz ourselves, the project will eventually die in favor of Home Assistant. I'm not saying HA is bad. It is a very well-supported system. This happens because of the users. My friend @Thorgal789's project seems great. Only from the movie for now

If anyone managed to get something out of this project, please let me know on this forum.
My friend @Thorgal789 is trying very hard. It keeps sending me files but without success. It's hard to create something blindly because my friend @Thorgal789 doesn't have any other displays apart from Sunton. I have a Makerfabs 4.3" display and together with @Thorgal789 we are trying to do something with it. I am counting on my friends from the forum. Let's not give up.
Re: New project, a small wall display to control Domoticz using CYD (Cheap ESP32 touchscreen)
Posted: Tuesday 06 February 2024 19:22
by waltervl
@knazio I can understand your doubts using this new development. I can only not see why failing this development would run you to HA? What has that to do with this? There are also other nice Domoticz dashboards on Android possible.
If you have issue on platformio don't blame Domoticz.....
And you do not share here what exact your issues are. You could also support Thorgal789 with the funds to buy a makerfab 4.3?
Re: New project, a small wall display to control Domoticz using CYD (Cheap ESP32 touchscreen)
Posted: Tuesday 06 February 2024 20:27
by kniazio
I don't blame Domoticz. It didn't even occur to me. I love Domoticz.
I am from Poland and my English is poor. I use Google translator. Maybe that's why you misunderstood me. I'll say it again: I love Domoticz and use it all the time. I can't think of a better system to use at home.
Re: New project, a small wall display to control Domoticz using CYD (Cheap ESP32 touchscreen)
Posted: Tuesday 06 February 2024 20:33
by waltervl
Good! Love that

Re: New project, a small wall display to control Domoticz using CYD (Cheap ESP32 touchscreen)
Posted: Tuesday 06 February 2024 21:10
by Thorgal789
He don't share his issues because they are specific to his hardware, but we are trying to adapt the code to the esp32-E32S3RGB43 hardware.
There is a branch "called" test on the github where were are working ATM but for the moment not a success.
As issue it's simple, not working at all ^^.
Re: New project, a small wall display to control Domoticz using CYD (Cheap ESP32 touchscreen)
Posted: Tuesday 06 February 2024 21:18
by kniazio
Maybe I'm just uploading this file to my display incorrectly. I do it with flash_download_tool_3.9.5
In the same way, I upload the bin file from Openhasp and it works. The only thing is that I load the Full.bin file into Openhasp and @Thorgal789 probably sends me OTA files from Platformio. That's why I wanted him to send me the Full.bin file
Re: New project, a small wall display to control Domoticz using CYD (Cheap ESP32 touchscreen)
Posted: Tuesday 06 February 2024 21:30
by kniazio
As far as I know, in order to obtain two files full.bin and ota.bin in Platformio, the project must be loaded via Git
Re: New project, a small wall display to control Domoticz using CYD (Cheap ESP32 touchscreen)
Posted: Wednesday 07 February 2024 11:09
by Thorgal789
On your capture you are using DIO, and they are saying here to use QIO
https://wiki.makerfabs.com/ESP32_S3_Par ... Touch.html
There is so much contradictory information for this device ...
On my platformio I haven't configured anything for OTA, when I start a compilation, I have only 1 file every time. Can you share your platformio logs when launching the compilation ? (But on separate site, like pastebin pls ?)
Re: New project, a small wall display to control Domoticz using CYD (Cheap ESP32 touchscreen)
Posted: Wednesday 07 February 2024 11:35
by kniazio
I uploaded it with the QIO setting. Same. Black screen. If you do as I wrote in the last post on the forum (pictures), you will receive two files from Platformio. (full and ota)
But I'm telling you again that you need to change line 14 in the esp32-E32S3RGB43.json file from the boards directory "-DTFT_BACKLIGHT_ON=HIGH" to "-DTFT_BACKLIGHT_ON=LOW",
otherwise my display with a soldered resistor will not work. The screen will be turned off.
Re: New project, a small wall display to control Domoticz using CYD (Cheap ESP32 touchscreen)
Posted: Tuesday 13 February 2024 7:12
by kniazio
Is the CYD project dead?
Re: New project, a small wall display to control Domoticz using CYD (Cheap ESP32 touchscreen)
Posted: Tuesday 13 February 2024 19:07
by Thorgal789
Nope, I m still ont it.
For the moment, I m searching a square device but less than 7cm*7cm (after reflexion all my wall switch/plug are square)
Re: New project, a small wall display to control Domoticz using CYD (Cheap ESP32 touchscreen)
Posted: Friday 16 February 2024 20:37
by kniazio

- PXL_20240216_184830329_rs.jpg (18.48 KiB) Viewed 1761 times
I also compiled and uploaded your project to esp32-2432S028R. I connected to the network (selected my SSID) and entered the password. I also filled in the data for Domoticz (IP and Port). I entered the IDX of three of my devices. This is what I got on the screen:
And that's all. I can't see my idx. I don't even know if it connected to my Domoticz. It's useless to me for now
Re: New project, a small wall display to control Domoticz using CYD (Cheap ESP32 touchscreen)
Posted: Friday 16 February 2024 20:38
by kniazio
And where are the water fountains shown in the film?
Re: New project, a small wall display to control Domoticz using CYD (Cheap ESP32 touchscreen)
Posted: Saturday 17 February 2024 8:57
by gropi
Is there a possibiity to display Dashticz on that screen? Like to cast it or serve the html from the server where Domoticz is located.
In that case You could edit the screen content quite easily and have a fancy site.
Re: New project, a small wall display to control Domoticz using CYD (Cheap ESP32 touchscreen)
Posted: Saturday 17 February 2024 10:04
by Thorgal789
@kniazio, on your first capture, go in "setting".
- Check or uncheck "Invert colors"
- On bottom "Dft devices", set the devices you want to be displayed in home page, else it will be 1,2,3,4,5,6,7,8,9.
If you want to be faster on the code, on file platoformio.ini enable the line 33
and you can set all your setings in main.cpp file. Wifi, domoticz and IDX to display, easier than using the touchpad to set them.
Code: Select all
const static int t[] = {37, 81, 16, 36, 28, 35, 57, 3, 45};
On your last capture, press "light", you will see all your "lights" devices.
"Water foutain" ? was not an Humidity sensor ?
@gropi, no, those devices are not powerfull enought to use a complete web browser.
Re: New project, a small wall display to control Domoticz using CYD (Cheap ESP32 touchscreen)
Posted: Tuesday 20 February 2024 17:03
by kniazio
Work on the Makerfabs display is in full swing. Working with @Thorgal789 is a pleasure. He reacts and responds to my requests and inquiries immediately. Every comment I make is accepted and resolved as far as possible. @Thorgal789 approaches it very professionally.
Here are samples of my display made by @Thorgal789.
Re: New project, a small wall display to control Domoticz using CYD (Cheap ESP32 touchscreen)
Posted: Wednesday 21 February 2024 8:18
by kniazio
homescreen
Re: New project, a small wall display to control Domoticz using CYD (Cheap ESP32 touchscreen)
Posted: Friday 23 February 2024 21:04
by palnic
Thank you for your amazing job, it is going to be a good addition to domoticz. I am trying to use esp32-2432S024C board, updated the board definition but still got an error "error: 'TFT_WIDTH' was not declared in this scope" and " 'TFT_HEIGTH' was not declared in this scope". Your help will be greatly appreciated. Thanks.
Re: New project, a small wall display to control Domoticz using CYD (Cheap ESP32 touchscreen)
Posted: Saturday 24 February 2024 21:14
by Thorgal789
I have updated the code to "trying" to support your device (just comment/uncomment in platformio.ini file), I m using pin from here
https://github.com/Smanar/CYD-Domoticz-Remote/issues/2
The code compile, but I think your device don't use the same driver, I m using DILI9341_2_DRIVER but I think you need to use DILI9341_DRIVER, problem with this driver you will miss some declaration.
I m searching a working project with this device, and you will probably need the same lib than @kniazio (lovyanGFX), but I prefer make try first with TFT_eSPI
Edit:
Have found a new configuration
Code: Select all
"-DILI9341_DRIVER=1",
"-DESP32_2432S024C",
This one is compiling, I don't think the touch will work but I think the display will be fine.
This last change is not yet on the github.
Re: New project, a small wall display to control Domoticz using CYD (Cheap ESP32 touchscreen)
Posted: Sunday 25 February 2024 15:21
by madpatrick
Thorgal789 wrote: ↑Tuesday 13 February 2024 19:07
Nope, I m still ont it.
For the moment, I m searching a square device but less than 7cm*7cm (after reflexion all my wall switch/plug are square)
Maybe this is womething your are looking for ?
https://nl.aliexpress.com/item/10050063 ... pt=glo2nld

- 2024-02-25 15_23_08-ESP32-S3 3.92 Inch Ips Lcd Touch Display 3.92 ''Smart Screen Displaywall Schakel.png (275.99 KiB) Viewed 1420 times