Support Multiple Streams Per Camera Entity #1952
Unanswered
Spittie68
asked this question in
I'm not sure
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe your request
Home Assistant's camera entity architecture currently supports only one stream source per camera entity. This limitation affects multiple integrations and forces users to create duplicate camera entities as a workaround.
Current Behavior:
Affected Integrations:
home-assistant/core#118815 - Can only configure main OR sub stream, not both
Reolink - Issue
home-assistant/core#89156 - Multi-lens cameras don't expose all available streams
Frigate (custom integration) - Users must duplicate camera definitions to access both detection and live streams
ONVIF - Users manually create multiple generic camera entries for the same device
Why the uncertainty?
i dont know if it a core thing or what it below to
Use cases
Modern IP cameras universally provide multiple simultaneous streams for different purposes:
Real-world scenario:
A user with 12 security cameras wants to:
Current Workaround
Users must create duplicate camera entities for each physical camera:
Example with Frigate:
go2rtc:
streams:
camera1_sub:
- rtsp://camera1:554/stream2 # Sub stream
camera1_main:
- rtsp://camera1:554/stream1 # Main stream
cameras:
camera1: # For detection and grid view
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/camera1_sub
roles: [detect]
camera1_hd: # For HD viewing
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/camera1_main
roles: [record]
Problems with this approach:
What areas might this affect?
Camera models commonly affected:
Integrations that would benefit:
Anything else?
i hope i have doing it the right way here :)
Beta Was this translation helpful? Give feedback.
All reactions