DollaTek 5 V SP8266 Four Channel Wifi Relay

Is this something that can be programmed with ESPHome?


Hi,
A good reference source is:

In general though:

  • This device uses a rather old ESP01S module which has only a few usable I/O pins, limited memory, and often limited flash storage.
  • Instead of using GPIO pins to directly switch relays, it appears to have some form of I/O expander on the main PCB to “fan out” a few pins to 4x.
  • This means you need to program the ESP and also fully understand the I/O expander protocol. Other boards have done this, but it can be a PITA.
  • I have purchased no-name-ESP boards with I/O expanders, done the research, only to find the copy-of-a-copy-of-a-copy hadn’t bothered programming a ST microcontroller used as the I/O controller making the whole board e-waste.

I’d recommend buying something with a more modern ESP8266 or even ESP32. Direct control via one GPIO per relay is significantly easier.

Beware as designs change regularly - what you order may not match what arrives. I’ve had some cheap kit work well, but something like a Sonoff 4CH is easier to work with.

If this helps, :heart: this post!