-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathESP32-Cam_PIR Sensor.yaml
54 lines (46 loc) · 1.15 KB
/
ESP32-Cam_PIR Sensor.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
esphome:
name: chambre1 #ADAPT TO YOUR NAME ROOM
platform: ESP32
board: esp-wrover-kit
wifi:
ssid: "xxxxxxxxxxxxx" #ADAPT TO YOUR WIFI SSID
password: "xxxxxxxxxxxxxxxxxxxx" #ADAPT TO YOUR WIFI PWD
# Enable logging
logger:
# Enable Home Assistant API
api:
password: "xxxxxxx" #ADAPT YOUR PERSONNAL PWD FOR LINK IN HA
ota:
password: "xxxxxxxx" #ADAPT YOUR PERSONNAL PWD FOR LINK IN EspHome
binary_sensor:
- platform: gpio
pin: GPIO13
name: "Garage PIR Sensor"
device_class: motion
# ESP32-CAM
esp32_camera:
external_clock:
pin: GPIO0
frequency: 20MHz
i2c_pins:
sda: GPIO26
scl: GPIO27
data_pins: [GPIO5, GPIO18, GPIO19, GPIO21, GPIO36, GPIO39, GPIO34, GPIO35]
vsync_pin: GPIO25
href_pin: GPIO23
pixel_clock_pin: GPIO22
power_down_pin: GPIO32
vertical_flip: false
horizontal_mirror: false
resolution: 640x480
name: chambre1 #ADAPT TO YOUR NAME ROOM
# ... Frame Settings
# Flashlight
output:
- platform: gpio
pin: GPIO4
id: gpio_4
light:
- platform: binary
output: gpio_4
name: $hostname lightc1