1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 03:12:20 +01:00

Added on_image callback to ESP32 Cam (#4860)

This commit is contained in:
Evgeny
2023-12-12 05:48:21 +01:00
committed by GitHub
parent b30430b0bd
commit 39d026299e
4 changed files with 42 additions and 4 deletions

View File

@@ -861,6 +861,10 @@ esp32_camera:
number: GPIO1
resolution: 640x480
jpeg_quality: 10
on_image:
then:
- lambda: |-
ESP_LOGD("main", "image len=%d, data=%c", image.length, image.data[0]);
esp32_camera_web_server:
- port: 8080