Тёмный

Automatic Bathroom Fan Controller Demo in Home Assistant 

Home Assistant Tips By Larry
Подписаться 859
Просмотров 2,6 тыс.
50% 1

Wiring Diagram Link
www.canva.com/design/DAF0fbP3...
Parts List link
www.canva.com/design/DAF1HGAw...
Parts Links
D1 Mini ESP32: www.aliexpress.us/item/225183...
BME280: www.aliexpress.us/item/325680...
TTP223: www.amazon.com/dp/B07K72N79J?...
Single Channel Relay Module: www.amazon.com/dp/B07BVXT1ZK?...
My Other Videos
BME280 Temp and Humidity Sensor Video: • BME280 Temperature and...
TTP223 Capacitive Touch Sensor Video: • TTP223 Capacitive Touc...
___ ☕ Buy Me A Coffee! ☕ __
Buy Me A Coffee: 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

Опубликовано:

 

24 ноя 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 3   
@HATipsByLarry
@HATipsByLarry 4 месяца назад
Just a update on this. If you use a BME280 sensor in esphome with the new ESPHome update. 2024.2.0 the code i used had a breaking change. I have updated the code so you can just copy this code i have in the video description now and it will work with the new update.
@indikaudayasaranga988
@indikaudayasaranga988 4 месяца назад
Thank you for the idea. Great
@HATipsByLarry
@HATipsByLarry 4 месяца назад
Your most welcome
Далее
Прятки #nyanmp3
00:25
Просмотров 358 тыс.
МНЕ ИСПОРТИЛИ МАШИНУ #shorts
00:30
Просмотров 1,2 млн
Home Assistant: Automated Bathroom Ventilation
10:57
Просмотров 47 тыс.
Control 3-Speed fan in Home Assistant with ESPHome
11:09
how to use switch button by esphome for home assistant
16:42