esphome / esphome/feature-requests

Change framerate on ESP32Cam by GPIO trigger?

Open
#521 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

component: esp32_camera
Dominant language
No language data
Stars
450
Forks
29
PR merge metrics
No merged PRs in 30d

Description

Describe the problem you have/What new integration you would like

I would like to request the capability to change the framerate, or switch from idle_framerate to max_framerate when a GPIO pin is activated (e.g. when motion is detected).

Please describe your use case for this integration and alternatives you've tried:

The ESP32Cam sends me jpg still captures of the cam via Telegram when motion is detected on GPIO13 (using a SR501 PIR motion sensor). But with an idle framerate of 10sec, I miss quite a bit of the action.

Additional context

I have currently set the idle_framerate to 1 sec, but this heats up the sensor too much during idle time. It would be cool we could switch from idle_framerate to max_framerate based on the status of a GPIO pin. (or change the framerate on a GPIO trigger)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The request concerns ESP32Cam framerate controls, including idle_framerate and max_framerate, triggered by GPIO13 motion input. Start by locating the existing framerate handling and GPIO integration, then determine the expected trigger behavior. Done would mean switching framerate reliably on GPIO state without requiring a high idle rate.

Written by the indexing model from the issue text.

Assessment

Domain
embedded-iot
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.