1720
|
1 esphome:
|
|
2 name: "cam-tt-screen"
|
|
3 platform: ESP32
|
|
4 board: esp32cam
|
|
5
|
|
6 # cam-th-screen/debug [C][wifi:362]: Local MAC: 54:43:B2:AB:C6:20
|
|
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 on_message:
|
|
19 - topic: cam/th-screen/projector_power
|
|
20 payload: "send"
|
|
21 then:
|
|
22 - remote_transmitter.transmit_nec:
|
|
23 address: 0x0F04
|
|
24 command: 0x52AD
|
|
25
|
|
26 logger:
|
|
27 baud_rate: 115200
|
|
28 level: INFO
|
|
29
|
|
30 ota:
|
|
31
|
|
32 sensor:
|
|
33 - platform: wifi_signal
|
|
34 name: "wifi_signal"
|
|
35 update_interval: 60s
|
|
36
|
|
37 remote_transmitter:
|
|
38 id: ir_out
|
|
39 # 100R to ir led
|
|
40 pin: GPIO12
|
|
41 carrier_duty_percent: 50%
|
|
42
|
|
43 light:
|
|
44 - platform: monochromatic
|
|
45 name: "flash"
|
|
46 output: flash_out
|
|
47 default_transition_length: 0s
|
|
48
|
|
49 output:
|
|
50 - platform: ledc
|
|
51 id: flash_out
|
|
52 pin: GPIO4
|
|
53 frequency: 19531Hz
|
|
54 channel: 4
|
|
55
|
|
56 esp32_camera:
|
|
57 external_clock:
|
|
58 pin: GPIO0
|
|
59 frequency: 20MHz
|
|
60 i2c_pins:
|
|
61 sda: GPIO26
|
|
62 scl: GPIO27
|
|
63 data_pins: [GPIO5, GPIO18, GPIO19, GPIO21, GPIO36, GPIO39, GPIO34, GPIO35]
|
|
64 vsync_pin: GPIO25
|
|
65 href_pin: GPIO23
|
|
66 pixel_clock_pin: GPIO22
|
|
67 power_down_pin: GPIO32
|
|
68 name: "cam-tt-screen"
|
|
69 jpeg_quality: 10
|
|
70 vertical_flip: true
|
|
71 horizontal_mirror: true
|
|
72 # 320x240 640x480 800x600 1024x768 1280x1024 1600x1200
|
|
73 resolution: "800x600"
|
|
74
|
|
75 esp32_camera_web_server:
|
|
76 - port: 8080
|
|
77 mode: stream
|
|
78 - port: 8081
|
|
79 mode: snapshot
|
|
80
|
|
81
|
|
82
|