esphome / esphome/feature-requests
Support HA's camera.turn_on .turn_off in 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 have several cameras feeding into Frigate, and directly into the HA dashbord. I want to be able to stop the streams of cameras inside the house when I'm at home, 1 to protect privacy, 2 to reduce un needed wifi usage when home.
The Home Assistant camera integration already has a camera.turn_on and camera.turn_off service call, this isn't implemented with the esp32 camera (at least not with the suggested config for my camera)
I'd be happy if the stream drops to 0 frames a second if that's easier to implement, and it may be either more or less disruptive to whatever is reading the stream to keep it live but with no data coming through.
Disabling the camera, while also keeping the buttons, temp sensor and PIR monitor on the esp32 camera board would be ideal.
**Please describe your use case for this integration and alternatives you've tried:**
I've tried disabling the camera card in the interface, but it still feeds into Frigate.
There's a ticket in with Frigate to disable reading the stream per camera, but that won't stop it displaying via the camera card in the dashboard
Others have used switches to cut the power supply to their cameras, but that is using hardware to solve a software problem, and then makes the other sensors on the board unavailable.
**Additional context**
This is ticket in with Frigate, https://github.com/blakeblackshear/frigate/issues/1911 I think it's worth implementing here too for people who don't use a NVR
Contributor guide
No contributing guide indexed for this repository
Research direction
No repository files or tests are named. Start by tracing the ESP32 camera integration and how Home Assistant camera.turn_on and camera.turn_off service calls are handled. Done means the camera stream can be disabled while the board's buttons, temperature sensor, and PIR monitor remain available.
Written by the indexing model from the issue text.
Assessment
- Domain
- embedded-iot
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100