Built on XDAA $12 room thermometer now controls how hard my PC's fans spinBy Samir MakwanaCompatibility checks
No issues found
Wiring steps
- 1
DHT22
- GNDtoGND
- VCCto3V3
- DATAtoGPIO4
- 2
Plug in the USB cable last.
ESPHome config
Paste into ESPHome Device Builder.
esphome:
name: pc-fan-thermometer
esp32:
board: esp32-s3-devkitc-1
logger:
api:
encryption:
key: !secret api_encryption_key # make one at esphome.io/components/api
ota:
- platform: esphome
password: !secret ota_password
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
sensor:
- platform: dht
pin: GPIO4
model: DHT22
temperature:
name: "DHT22 Temperature"
id: reading_1
humidity:
name: "DHT22 Humidity"
id: reading_2
update_interval: 60s
Some board drawings are from Wokwi and Seeed Studio.