Help, relay pins for ESP32 4 -Relay board

well I got this from Amazon thinking it would be easy deal, i was able to load ESPhome standard config on it, but no documentation or anything on which GPIO pins control which relays?? I have tried guessing some and so far I can only switch one of the GPIO27 to relay3, but cant figure out the rest
anyone got this one before?

https://www.amazon.com/gp/product/B0DF2KVQ3X

esphome:
  name: esp-geesewater
  friendly_name: ESP-GeeseWater

esp32:
  board: denky32
  framework:
    type: arduino

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: ""

ota:
  - platform: esphome
    password: ""

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Esp-Geesewater Fallback Hotspot"
    password: "Kl8C17ONVnZ6"

captive_portal:

switch:
  - platform: gpio
    pin: GPIO20
    name: "Bucket1 Fill"
    id: relay1

  - platform: gpio
    pin: GPIO23
    name: "Bucket1 Empty"
    id: relay2

  - platform: gpio
    pin: GPIO27
    name: "Bucket2 Fill"
    id: relay3

  - platform: gpio
    pin: GPIO25
    name: "Bucket2 Empty"
    id: relay4
    

From https://thedorhea.com/ (the seller)

Community and Support
Join a vibrant community of makers and developers. Benefit from excellent customer support and comprehensive resources to help you succeed with your projects.

But nowhere on their site I’m able to find that community or support.

Also, if you share YAML code, do that properly as requested in How to help us help you - or How to ask a good question

1 Like
2 Likes

fixed :slight_smile: (darn phone autocorrect)

1 Like

so quick q, I copied the code from two other working boards I have, they are the LILYGO TTGO T-Relay ESP32 type…how come those two dont need the separate output and switch defs? it seems its combined into one section, but for this new board they need to be separate? is that just a a hardware thing?

You can switch to the gpio switch.
It depends on your application/preference

1 Like