7
|
1 # mac 24:6F:28:AE:4F:50
|
|
2
|
|
3 esphome:
|
|
4 name: "cam-go-gn"
|
|
5 platform: esp32
|
|
6 board: esp32cam
|
|
7
|
|
8 logger:
|
|
9 level: INFO
|
|
10
|
|
11 wifi:
|
|
12 networks:
|
|
13 - ssid: !secret wifi_ssid
|
|
14 password: !secret wifi_password
|
|
15
|
|
16 ota:
|
|
17 platform: esphome
|
|
18
|
|
19 mqtt:
|
|
20 id: mqtt_client
|
|
21 broker: "mqtt2.bigasterisk.com"
|
|
22
|
|
23
|
|
24
|
|
25
|
|
26
|
|
27
|
|
28
|
|
29
|
|
30
|
|
31
|
|
32
|
|
33
|
|
34
|
|
35
|
|
36
|
|
37 sensor:
|
|
38 - platform: wifi_signal
|
|
39 name: "wifi_signal"
|
|
40 update_interval: 60s
|
|
41
|
|
42 light:
|
|
43 - platform: monochromatic
|
|
44 name: "flash"
|
|
45 output: flash_out
|
|
46 default_transition_length: 0s
|
|
47
|
|
48 output:
|
|
49 - platform: ledc
|
|
50 id: flash_out
|
|
51 pin: GPIO4
|
|
52 frequency: 19531Hz
|
|
53 channel: 4
|
|
54
|
|
55 esp32_camera:
|
|
56 external_clock:
|
|
57 pin: GPIO0
|
|
58 frequency: 20MHz
|
|
59 i2c_pins:
|
|
60 sda: GPIO26
|
|
61 scl: GPIO27
|
|
62 data_pins: [GPIO5, GPIO18, GPIO19, GPIO21, GPIO36, GPIO39, GPIO34, GPIO35]
|
|
63 vsync_pin: GPIO25
|
|
64 href_pin: GPIO23
|
|
65 pixel_clock_pin: GPIO22
|
|
66 power_down_pin: GPIO32
|
|
67 name: "cam-go-gn"
|
|
68 jpeg_quality: 10
|
|
69 vertical_flip: true
|
|
70 horizontal_mirror: true
|
|
71 # 320x240 640x480 800x600 1024x768 1280x1024 1600x1200
|
|
72 resolution: "1280x1024"
|
|
73
|
|
74 esp32_camera_web_server:
|
|
75 - port: 8080
|
|
76 mode: stream
|
|
77 - port: 8081
|
|
78 mode: snapshot
|