Greetings!
I have an ESP32-WROOVER board to which I have attached a simple Ultrasonic range reader inorder to read the waterlevel in my irrigation tank.
Here is my current YAML
esphome:
name: balsat-mainframe
friendly_name: BalSAT MainFrame
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "-----"
ota:
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Esphome-Web-A818D8"
password: "QGmIQDy37XeU"
captive_portal:
sensor:
- platform: ultrasonic
trigger_pin: GPIO12
echo_pin: GPIO14
name: "Ultrasonic Sensor"
esp32_camera:
name: My Camera
external_clock:
pin: GPIO21
frequency: 20MHz
i2c_pins:
sda: GPIO26
scl: GPIO27
data_pins: [GPIO4, GPIO5, GPIO18, GPIO19, GPIO36, GPIO39, GPIO34, GPIO35]
vsync_pin: GPIO25
href_pin: GPIO23
pixel_clock_pin: GPIO22
# Image settings
resolution: FHD
jpeg_quality: 10
# ...
esp32_camera_web_server:
- port: 8080
mode: stream
- port: 8081
mode: snapshot
What I dont understand is why it takes a picture ~10 seconds, is it the idle_framerate and in that case, what should I set it to? I tried setting it to 0 fps but it still takes a picture every 10 seconds or so.
Thank you