I’ve tried a few, but I think I need a pointer now.
I’ve got 3 esp32 running 2 x Dht22 (am2302) each, and 2 relays.
It all was working for a few hour, and then sensors dropped out… Not aways the same sensor missing… Suddenly I had just reading from 2-3 sensors
I’ve tried adding pullup resistor at the sensor end (never had issues with other sensors around the house)
I used first cat6 cables, changed to better cable 1,5mm (thick for this I think, but ok)
Still no luck. Tried giving id to each sensor. Kinda starting to wonder if some pins om my esp32 wroom 32, don’t like dht? Can’t find the page, but I recall seeing a page sometime about some pins are better and some aren’t better suited for some connections🤔
Code in ESP Home: esphome: name: leviatan platform: ESP32 board: esp-wrover-kit wifi: ssid: "redacted" password: "redacted" # Enable fallback hotspot (captive portal) in case wifi connection fails ap: ssid: "redacted" password: "redacted" captive_portal: # Enable logging logger: # Enable Home Assistant API api: password: "redacted" ota: password: "redacted" sensor: - platform: dht model: AM2302 pin: 22 temperature: name: "leviatan hot" humidity: name: "leviatan hot1" update_interval: 60s - platform: dht model: AM2302 pin: 5 temperature: name: "leviatan cold" humidity: name: "leviatan cold1" update_interval: 60s switch: - platform: gpio pin: GPIO27 name: "Relay #1" - platform: gpio pin: GPIO12 ```code