Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
blakadder committed Jun 17, 2024
1 parent c6139b2 commit 1394cfb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions _templates/dingtian_DT-R004
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,23 @@
date_added: 2024-04-26
title: Dingtian 4 Channel
model: DT-R004
image: https://raw.githubusercontent.com/jeroenst/templates/8a4aa285e4ab283d993165501f67824d985b936d/assets/device_images/dingtian_DT-R004.webp
image: /assets/device_images/dingtian_DT-R004.webp
template32: '{"NAME":"Dingtian DT-R004","GPIO":[0,9408,225,9440,0,0,0,0,227,9952,0,0,224,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,226,162,0,163,160,0,0,161],"FLAG":0,"BASE":1}'
link: https://nl.aliexpress.com/item/4000091488766.html
link: https://www.aliexpress.com/item/4000091488766.html
mlink: https://www.dingtian-tech.com/en_us/relay4.html
flash: serial
category: relay
type: Relay Board
standard: global
---
## Warning

When ordering this board ask for relay board with test firmware, otherwise the ESP32 will be locked.

Relay 1 is connected to GPIO 16 which is used for PSRAM in Tasmota, to prevent a pulse on Relay 1 upon boot use the tasmota32-nopsram firmware. (https://github.com/arendst/Tasmota/discussions/21266)

### Description

Dingtian relay boards are ESP32 based boards with 2, 4, 8, 16, 24 or 32 relays and inputs.

At the 2 and 4 relay boards the relays and inputs are directly connected to the gpio's of the ESP32.
Expand All @@ -27,7 +29,8 @@ Example for the 4 relay board:
Pinout for the 4 relay board:
![image](https://raw.githubusercontent.com/jeroenst/templates/8a4aa285e4ab283d993165501f67824d985b936d/assets/pinouts/dingtian_DT-R004.webp)

### Mqtt Messages
### MQTT Messages

Inputs state are reported through SENSOR message at teleperiod:

```shell
Expand Down
Binary file modified assets/device_images/dingtian_DT-R004.webp
Binary file not shown.

0 comments on commit 1394cfb

Please sign in to comment.