-
Notifications
You must be signed in to change notification settings - Fork 0
/
hackem-espcam.yaml
61 lines (50 loc) · 1.05 KB
/
hackem-espcam.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
esphome:
name: hackem-espcam
esp32:
board: esp32dev
# framework:
# type: esp-idf
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
password: !secret ota_pass
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Hackem-ESPcam"
password: !secret wifi_fallback_password
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
vertical_flip: false
horizontal_mirror: false
pixel_clock_pin: GPIO22
power_down_pin: GPIO32
resolution: 1600x1200
name: esp_cam
idle_framerate: 0.5fps
esp32_camera_web_server:
- port: 8080
mode: stream
- port: 8081
mode: snapshot
output:
- platform: ledc
pin: GPIO4
channel: 2 # channel 1 is used for esp32_camera
id: led
light:
- platform: monochromatic
output: led
name: espcam light