Published On Nov 25, 2023
Wiring Diagram Link
https://www.canva.com/design/DAF0fbP3...
Parts List link
https://www.canva.com/design/DAF1HGAw...
Parts Links
D1 Mini ESP32: https://www.aliexpress.us/item/225183...
BME280: https://www.aliexpress.us/item/325680...
TTP223: https://www.amazon.com/dp/B07K72N79J?...
Single Channel Relay Module: https://www.amazon.com/dp/B07BVXT1ZK?...
My Other Videos
BME280 Temp and Humidity Sensor Video: • BME280 Temperature and Humidity Senso...
TTP223 Capacitive Touch Sensor Video: • TTP223 Capacitive Touch Sensor in Hom...
___ ☕ Buy Me A Coffee! ☕ __
Buy Me A Coffee: https://www.buymeacoffee.com/hatipsby...
Code to get this working in ESPHome
i2c:
sda: 21
scl: 22
scan: true
id: bus_a
light:
- platform: binary
name: "Fan On/Off"
output: on_off
id: power
restore_mode: ALWAYS_OFF
output:
- platform: gpio
pin: 33
id: on_off
binary_sensor:
- platform: gpio
pin:
number: 32
mode:
input: true
pullup: true
name: "Fan Button"
device_class: power
on_press:
then:
- homeassistant.service:
service: script.BreadboardFanDemo
filters:
- delayed_on: 100ms
sensor:
- platform: bme280_i2c
temperature:
name: "WorkBench Temperature"
oversampling: 16x
filters:
- lambda: return x * (9.0/5.0) + 29.0;
unit_of_measurement: "°F"
humidity:
name: "WorkBench Humidity"
filters:
- lambda: return x + 6;
address: 0x76
update_interval: 5s