gf-gate-cam-l.disabled 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. substitutions:
  2. devicename: gf-gate-cam-l
  3. low_devicename: gf_gate_cam_l
  4. upper_devicename: GF Gate CAM L
  5. esphome:
  6. name: $devicename
  7. friendly_name: $upper_devicename
  8. esp32:
  9. board: esp32cam
  10. framework:
  11. # type: esp-idf
  12. type: arduino
  13. version: 2.0.5
  14. web_server:
  15. port: 80
  16. button:
  17. - platform: restart
  18. name: "${upper_devicename} Restart"
  19. logger:
  20. api:
  21. encryption:
  22. key: "ejeMnlF5M60w/yuYwAWn/kIBz701xLwVkUGf9iN8uLA="
  23. ota:
  24. password: "73cea25506d095b4970dedc41e2399fb"
  25. wifi:
  26. ssid: !secret cctv_ssid
  27. password: !secret cctv_password
  28. # networks: !secret wifi_networks
  29. domain: .cctv.int.mmax.cloud
  30. fast_connect: True
  31. power_save_mode: none
  32. esp32_camera:
  33. external_clock:
  34. pin: GPIO0
  35. frequency: 8 MHz
  36. i2c_pins:
  37. sda: GPIO26
  38. scl: GPIO27
  39. data_pins: [GPIO5, GPIO18, GPIO19, GPIO21, GPIO36, GPIO39, GPIO34, GPIO35]
  40. vsync_pin: GPIO25
  41. href_pin: GPIO23
  42. pixel_clock_pin: GPIO22
  43. power_down_pin: GPIO32
  44. test_pattern: False
  45. resolution: UXGA
  46. name: ${upper_devicename}
  47. max_framerate: 5 fps
  48. idle_framerate: 0.1 fps
  49. jpeg_quality: 20
  50. aec2: true
  51. esp32_camera_web_server:
  52. - port: 8080
  53. mode: stream
  54. - port: 8081
  55. mode: snapshot
  56. #esp32_ble_beacon:
  57. # type: iBeacon
  58. # uuid: '2e69ba96-feed-2208-9078-7deb9d62e69c'
  59. output:
  60. - platform: ledc
  61. pin: GPIO4
  62. channel: 2 # channel 1 is used for esp32_camera
  63. id: ${low_devicename}_led
  64. # red status light
  65. - platform: gpio
  66. pin:
  67. number: GPIO33
  68. inverted: True
  69. id: ${low_devicename}_status_led
  70. light:
  71. - platform: monochromatic
  72. output: ${low_devicename}_led
  73. name: "${upper_devicename} light"
  74. - platform: binary
  75. output: ${low_devicename}_status_led
  76. name: "${upper_devicename} status led"
  77. sensor:
  78. - platform: wifi_signal
  79. name: "${upper_devicename} WiFi Signal"
  80. id: ${low_devicename}_wifi_signal
  81. binary_sensor:
  82. - platform: status
  83. name: "${upper_devicename} status"
  84. text_sensor:
  85. - platform: version
  86. name: ${upper_devicename} Version