773
|
1 # device is https://www.amazon.com/ESP32-CAM-Bluetooth-Camera-Module-Development/dp/B07S5PVZKV/ref=sr_1_3
|
|
2
|
|
3 # has no rst pin, so
|
|
4 # 1. connect DTR to IO0
|
|
5 # 2. inv monitor-usb --board office_back_cam
|
|
6 # 3. press reset button
|
|
7 # 4. ctrl-c, inv program-board-over-usb --board office_back_cam
|
|
8
|
|
9 # mosquitto_sub -v -t office_back_cam/status
|
|
10
|
|
11 # bang(pts/15):/my/proj/homeauto/espNode% catchsegv ./readcam.py --cam office_back_cam --port 10021
|
|
12
|
1678
|
13 #red esp-tx
|
|
14 #ora esp-rx
|
|
15 #nc
|
|
16 #blu gpio0
|
|
17 #yel 3v3
|
|
18 #nc
|
773
|
19
|
|
20 esphome:
|
1678
|
21 name: workshop_cam
|
773
|
22 platform: ESP32
|
|
23 board: esp32cam
|
1678
|
24 build_path: office_back_cam
|
773
|
25
|
|
26 wifi:
|
|
27 ssid: !secret wifi_ssid
|
|
28 password: !secret wifi_password
|
|
29 domain: ''
|
1678
|
30 use_address: 10.2.0.39
|
773
|
31
|
|
32 mqtt:
|
|
33 broker: '10.2.0.1'
|
|
34 port: 1883
|
|
35 username: ''
|
|
36 password: ''
|
|
37
|
|
38 logger:
|
|
39 baud_rate: 115200
|
|
40 level: DEBUG
|
|
41
|
|
42 ota:
|
|
43
|
1678
|
44 # light:
|
|
45 # - platform: fastled_clockless
|
|
46 # chipset: WS2812B
|
|
47 # pin: GPIO13
|
|
48 # num_leds: 1
|
|
49 # rgb_order: GRB
|
|
50 # name: "strip"
|
|
51 # # - platform: monochromatic
|
|
52 # # name: "flash"
|
|
53 # # output: flash_out
|
|
54 # - platform: binary
|
|
55 # output: gpio_4
|
|
56 # name: flash
|
773
|
57
|
|
58
|
1678
|
59 # dallas:
|
|
60 # - pin: GPIO15
|
|
61 # update_interval: 10s
|
773
|
62
|
1678
|
63 # sensor:
|
|
64 # - platform: dallas
|
|
65 # index: 0
|
|
66 # name: temperature
|
773
|
67
|
|
68 # output:
|
|
69 # - platform: ledc
|
|
70 # id: flash_out
|
|
71 # pin: GPIO4
|
|
72 # frequency: 19531Hz
|