-
Notifications
You must be signed in to change notification settings - Fork 1
/
esphome-config.yaml
70 lines (59 loc) · 1.64 KB
/
esphome-config.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
substitutions:
name: "esp-cam"
friendly_name: "ESP32 Camera"
esphome:
name: "${name}"
friendly_name: "${friendly_name}"
name_add_mac_suffix: true
project:
name: fabio_garavini.esp-cam-frigate
version: "1.0.0"
esp32:
board: esp32cam
# Enable logging
logger:
# Enable Home Assistant API
api:
# encryption:
# key: <your-esp-encryption-key> #<-- You can uncomment and add your encryption key or leave it as it is
ota:
# password: <your-esp-ota-password> #<-- You can uncomment and add your OTA password or leave it as it is
dashboard_import:
package_import_url: github://fabio-garavini/ESP32-Cam-Frigate/esphome-config.yaml@main
import_full_config: false
wifi:
# ssid: !secret wifi_ssid #<-- You need to manually set your wifi credentials: wifi_ssid and wifi_password
# password: !secret wifi_password # write them in your secrets file
ap:
captive_portal:
# Ai-Thinker ESP32-CAM
esp32_camera:
name: Camera
internal: true # or false <-- if you don't want to use Frigate
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
resolution: 800x600
jpeg_quality: 15
agc_mode: auto
agc_gain_ceiling: 2x
wb_mode: auto
vertical_flip: true #<-- you can cange this if you need
horizontal_mirror: true #<-- you can cange this if you need
esp32_camera_web_server:
- port: 8080
mode: stream
- port: 8081
mode: snapshot
switch:
- platform: gpio
pin: GPIO4
name: "Flash"