1720
|
1 esphome:
|
|
2 name: "cam-tt-couch"
|
|
3 platform: ESP32
|
|
4 board: esp32cam
|
|
5
|
|
6 # cam-th-couch/debug [C][wifi:362]: Local MAC: 54:43:B2:A9:79:E4
|
|
7
|
|
8 wifi:
|
|
9 ssid: !secret wifi_ssid
|
|
10 password: !secret wifi_password
|
|
11
|
|
12 mqtt:
|
|
13 broker: '10.2.0.1'
|
|
14 port: 1883
|
|
15 username: ''
|
|
16 password: ''
|
|
17
|
|
18 logger:
|
|
19 baud_rate: 115200
|
|
20 level: INFO
|
|
21
|
|
22 ota:
|
|
23
|
|
24 sensor:
|
|
25 - platform: wifi_signal
|
|
26 name: "wifi_signal"
|
|
27 update_interval: 60s
|
|
28
|
|
29 light:
|
|
30 - platform: monochromatic
|
|
31 name: "flash"
|
|
32 output: flash_out
|
|
33 default_transition_length: 0s
|
|
34
|
|
35 output:
|
|
36 - platform: ledc
|
|
37 id: flash_out
|
|
38 pin: GPIO4
|
|
39 frequency: 19531Hz
|
|
40 channel: 4
|
|
41
|
|
42 esp32_camera:
|
|
43 external_clock:
|
|
44 pin: GPIO0
|
|
45 frequency: 20MHz
|
|
46 i2c_pins:
|
|
47 sda: GPIO26
|
|
48 scl: GPIO27
|
|
49 data_pins: [GPIO5, GPIO18, GPIO19, GPIO21, GPIO36, GPIO39, GPIO34, GPIO35]
|
|
50 vsync_pin: GPIO25
|
|
51 href_pin: GPIO23
|
|
52 pixel_clock_pin: GPIO22
|
|
53 power_down_pin: GPIO32
|
|
54 name: "cam-tt-couch"
|
|
55 jpeg_quality: 10
|
|
56 vertical_flip: true
|
|
57 horizontal_mirror: true
|
|
58 # 320x240 640x480 800x600 1024x768 1280x1024 1600x1200
|
|
59 resolution: "800x600"
|
|
60
|
|
61 esp32_camera_web_server:
|
|
62 - port: 8080
|
|
63 mode: stream
|
|
64 - port: 8081
|
|
65 mode: snapshot
|
|
66
|
|
67 # ffplay -i http://cam-th-couch:8081/ -vf hqdn3d=luma_spatial=0:chroma_spatial=50:luma_tmp=3:chroma_tmp=3
|
|
68
|
|
69 # maybe this first:
|
|
70 # vaguedenoiser=threshold=5
|
|
71
|
|
72
|