-
Notifications
You must be signed in to change notification settings - Fork 0
/
esp32_camera.yaml
54 lines (47 loc) · 1.04 KB
/
esp32_camera.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
---
substitutions:
device: esp32_camera
name: ESP32 Camera
update_interval: 10min
esphome:
name: ${device}
platform: ESP32
board: esp32dev
<<: !include common/common.yaml
<<: !include common/logger.yaml
<<: !include common/switch.yaml
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
# Image settings
name: "Camera"
# Flashlight
output:
- platform: gpio
pin: GPIO4
id: gpio_4
light:
- platform: binary
output: gpio_4
name: "ESP32 Camera light"
binary_sensor:
- !include common/binary_sensor/status.yaml
- platform: status
name: "ESP32 Camera Status"
sensor:
- !include common/sensor/wifi-signal.yaml
- !include common/sensor/uptime.yaml
- platform: wifi_signal
name: "ESP32 Camera WiFi signal"
update_interval: 60s
- platform: uptime
name: "ESP32 Camera Uptime"