MCP

Specifications

43% Complete
10/23 fields · click for tiers
Priority 1 (Core)75%
Priority 2 (Smart Specs)25%
Priority 3 (Extended)28%
BrandDingtian
Manufacturer—
Model NumberDT-R004
Also Known As—
ASIN—
Price—
Official Sitehttps://www.dingtian-tech.com/en_us/relay4.html
Dimensions—
Weight—
Color / Material— / —
Cloud Control—
Local ControlYes
Hardware Requirements—
Requirement Notes—
Release / Discontinued— / Active
Connectivity
Power Types—
USB Type—
Battery—
Sensors—
Voice Assistants—
Compatible Apps—
Compatible Services
Sourceblakadder_templates

Description

## 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), or use "#define DISABLE_PSRAMCHECK true" in user_config_override.h upon building.

### 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.

Example for the 4 relay board:
![image](/assets/device_images/dingtian_DT-R004_pinout.webp)

Pinout for the 4 relay board:
![image](/assets/pinouts/dingtian_DT-R004.webp)

### MQTT Messages

Inputs state are reported through SENSOR message at teleperiod:

```shell
MQT: tele/dingtian1/SENSOR = "{"Time":"2024-04-26T09:17:15","Switch1":"ON","Switch2":"ON","Switch3":"ON","Switch4":"ON"}"
```

I

Additional Attributes

Device TypeRelay Board
Electrical Standardglobal

Gallery

Related Hardware

Browse Catalog
Compare