Has anyone used Dingtian 8ch Ethernet Relay?

Yes, but you should leave a comment when submitting an order. The seller will then send you a dev board with an unlocked bootloader on ESP, and you can flash it with ESPHome, e.g.
If you didn’t do that, 99% you have a locked bootloader. You can check it with the espefuse utility from Espressif, look at the ABS_DONE_0 and ABS_DONE_1 parameters, if some of these are true, then it is locked.
espefuse.py - ESP32-S3 - — esptool.py latest documentation (espressif.com)

1 Like

What is the benefit of flashing ESPHome firmware?

Because the original firmware is buggy (random reboots, drop connection, hard to debug, no support compared to esphome), On the other hand ESPHome is much better if you want to use it with Home Assistant and stable

Having the option to flash ESPHome is always good - if you don’t need it, just don’t use it. If I would order a second relay board I would order “dev” model.

Reading espefuse.py - ESP32-S3 - — esptool.py latest documentation one thing is not clear to me - HOW exactly do I check that? Do I have to open the case and connect my USB-to-TTL-programmer to the relay board or can I check via Ethernet?

I’ve been using the boards for a while now and don’t have any issues with the random reboots, connections drops,…

The support could be better in updates, but the customer service is good :slight_smile:

Hello David,
I have also ordered the dev version and would like to flash ESpHome. Could you please you give me a hint, how did you physically flash it?
How did you connect it to the flashing computer?
Thank you.
Best Regards,
Dominik

Thats also my question, can you already answer it?

I connected a FTDi232 to my computer and connected this one to the Dingitian Board.
FTDI - Dingtian
GRD - GRD
RX -
TX -
VCC(3.3V)- 3,3V

espefuse.exe gave me an error.
PS D:\progs\Treiber\esptool-v4.7.0-win64\esptool-win64> .\espefuse.exe -c auto -p COM9 summary
espefuse.py v4.7.0
Connecting…

A fatal error occurred: Failed to connect to Espressif device: No serial data received.

Io0 pull to ground did the trick

Hello, you may need to activate “retain”

Hello kecajtop, do you have any idea how to make modification for 16ch?

Hello,

I tried with the pins on the board But it is not recognized.
image

Is your code still working?
Do you think it will work for the 16x relay board as well?

Great work!

Any one know how to reed ip, hw, mac etc informwation from 8ch board from mqtt? ha found entities but not read value
1

Just in case, I was able to use both inputs and relays on an 8-channel board with pure ESPHome, but instead of going with a custom component, made hardware changes (pretty easy 2-wire soldering). If anyone is interested, here’s the guide Github - serg987/HomeAutomationMisc/Dingtian-relay-8ch-ESPHome

First try to use a terminal programm, on boot there should be any boot msg.
In this Case you can be sure u connecte RX/TX right to IO1/IO3. To flash the device IO0 have to pulled to GND (BOOT Button). I also had to connnect NRST to DIR Pin of my USB-TTL converter. Just to recognice I got a locked ESP32 :frowning:
Well, now I’ll replace the esp32. Order some modul long time ago, didn’t finished the project. Now they’re usefull :stuck_out_tongue:

Hi! I see there is this https://devices.esphome.io/devices/Dingtian-DT-R008 esphome sketch for the 8 version relay board. I have the 16 channel flashable version. Does anyone know how to flash esphome on it?

EDIT: Solved: DT-R016 Dev Board · Issue #7 · kecajtop/dtr0xx_io · GitHub