Hi…
Playing around with esp32cam…
As i’m new with esphome i’ve got a issue…
Is it possible to change the image resolution from via a MQTT message?
I’ve got this:
substitutions:
# Modify variables based on your settings
hostname: 'esp-cam1'
cam_resolution: '800x600'
cam_fps: '5 fps'
...
...
esp32_camera:
id: espcam
external_clock:
pin: GPIO0
frequency: 20MHz
i2c_pins:
sda: GPIO26
scl: GPIO27
data_pins: [GPIO5, GPIO18, GPIO19, GPIO21, GPIO36, GPIO39, GPIO34, GPIO35]
vsync_pin: GPIO25
href_pin: GPIO23
pixel_clock_pin: GPIO22
power_down_pin: GPIO32
# Image settings
name: esp-cam1
resolution: $cam_resolution
max_framerate: $cam_fps
idle_framerate: 0 fps
where $cam_resolution
is a variable…
I want to change the resolution of the camera by sending a MQTT message…
Is this possible?