1717
|
1 # reusable for all ESP32-CAM programmed over ESP32-CAM-MB
|
|
2
|
|
3 # mosquitto_sub -v -t cam0/status
|
|
4
|
|
5 # bang(pts/15):/my/proj/homeauto/espNode% catchsegv ./readcam.py --cam office_back_cam --port 10021
|
|
6
|
|
7 esphome:
|
|
8 name: $name
|
|
9 platform: ESP32
|
|
10 board: esp32cam
|
|
11 build_path: $build_path
|
|
12
|
|
13 wifi:
|
|
14 ssid: !secret wifi_ssid
|
|
15 password: !secret wifi_password
|
|
16 domain: ''
|
|
17 manual_ip:
|
|
18 static_ip: $addr
|
|
19 gateway: 10.2.0.3
|
|
20 subnet: 255.255.0.0
|
|
21
|
|
22 mqtt:
|
|
23 broker: '10.2.0.1'
|
|
24 port: 1883
|
|
25 username: ''
|
|
26 password: ''
|
|
27
|
|
28 logger:
|
|
29 baud_rate: 115200
|
|
30 level: DEBUG
|
|
31
|
|
32 ota:
|
|
33
|
|
34 light:
|
|
35 - platform: monochromatic
|
|
36 name: "flash"
|
|
37 output: flash_out
|
|
38 default_transition_length: 0s
|
|
39 # - platform: binary
|
|
40 # output: gpio_4
|
|
41 # name: flash
|
|
42
|
|
43
|
|
44
|
|
45 output:
|
|
46 - platform: ledc
|
|
47 id: flash_out
|
|
48 pin: GPIO4
|
|
49 frequency: 19531Hz
|