Рет қаралды 9,628
Learn how to make your bed smart with ESP32 and Home Assistant in this DIY tutorial.
In this short tutorial I will be using the well known ESP32 along with some cheap accessories in order to make your bed SMART!
Flexible resistors:
www.aliexpress.com/item/10050...
ESP32:
s.click.aliexpress.com/e/_DCz...
Brakeout Board:
s.click.aliexpress.com/e/_Dm4...
ESP32 pinout:
www.electronicshub.org/esp32-...
ESP Home yaml addon text:
binary_sensor:
- platform: gpio
pin:
number: 12
inverted: true
mode:
input: true
pullup: true
name: Person 1
device_class: occupancy
filters:
- delayed_on: 5s
- delayed_off: 30s
- platform: gpio
pin:
number: 13
inverted: true
mode:
input: true
pullup: true
name: Person 2
device_class: occupancy
filters:
- delayed_on: 5s
- delayed_off: 30s