WT32-ETH01 to control relays?

Hi guys, this will be my first ESPHome project.
I would like to control multiple relays and saw that the ‘WT32-ETH01 ESP32 Ethernet Development Board’ can be used with ESPHome and somewhere (can’t find it right now) I read that you don’t have to worry about connecting the pins but this seems odd to me.

  1. It’s correct this board can be used, right?
  2. How many relays can be controlled - I plan to use relays with octocoupler
  3. What about which pins to use?
  4. Anyone here who has done this and if so, would you do it again?

Thanks for any help!


As many as you have spare gpio pins

Take a look at this great guide ESP32 Pinout Reference: Which GPIO pins should you use? | Random Nerd Tutorials

I would probably use a board that was prepopulated with relays. There was a recent thread, if I find it I’ll post a link.

1 Like

Or more if you make use of port extender(s).

1 Like

I have used one with a couple of optos and a switch, I like playing with hardware stuff so I rolled my own but as the other Nick said, look for an ESP board with ethernet and relays.

1 Like

Thanks guys for jumping in!
I don’t have any experience when it comes to ESP stuff except helping a friend once to program a RC robot he bought with an ESP board and had no clue how to start with it.

I found this one: https://www.aliexpress.us/item/1005003738525547.html
It says ESPhome so would it work OOTB?

Any other suggestions?

It advertises “esphome|yes” so I’d hope so.

I have seen a lot of positive comments about Kincony gear on this forum.

Not really a solution to the initial question but maybe for someone else who bumped on this.
Finally it became this: KC868-E16S ESP32 DIN Rail Relay Module