Hi all,
I’m configuring WT32-ETH01 with DHT22 and I got it working by using GPIO15
esphome:
name: room-matrimoniale-esp
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
password: "asdfasdfasdfasdfasdf"
ethernet:
type: LAN8720
mdc_pin: GPIO23
mdio_pin: GPIO18
clk_mode: GPIO0_IN
phy_addr: 1
power_pin: GPIO16
sensor:
- platform: dht
pin: GPIO15
model: DHT22_TYPE2
temperature:
name: "Room ESP Matrimoniale Temperature"
humidity:
name: "Room ESP Matrimoniale Humidity"
update_interval: 60s
Unfortunately, in a room I need to use 8 pins to control relays so, I tried connecting DHT22 to GPIO36 (input only) but it doesn’t work.
sensor:
- platform: dht
pin: GPIO36
model: DHT22_TYPE2
temperature:
name: "Room ESP Matrimoniale Temperature"
humidity:
name: "Room ESP Matrimoniale Humidity"
update_interval: 60s
Any idea why I can’t use that GPIO?
What GPIOs can I use for:
- 1 DHT22
- 8 switches (8 relays)
Thanks!