core: High CPU usage after opening the Generic Camera video feed full screen and closing it after more than 1 minute
The problem
When I open the Generic Camera video stream full screen for more than 1 minute and close it the CPU usage on my rpi4 jumps up to 33-34% and never goes down until I reboot it. If I do not open the video stream for many days my CPU usage stays at 3-4% (when there are no additional actions like upgrades etc. - of course after upgrades the usage goes back to 3-4%). It does not go back to normal usage if I tried to view the camera live stream. What could be the reason?
What version of Home Assistant Core has the issue?
core-2025.1.4
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Generic Camera
Link to integration documentation on our website
https://www.home-assistant.io/integrations/generic
Diagnostics information
No response
Example YAML snippet
type: picture-elements
camera_image: camera.balkony_ptz
camera_view: auto
elements:
- type: icon
icon: mdi:crosshairs-gps
tap_action:
action: call-service
service: shell_command.ptz_goto_preset_3
style:
top: 85%
left: 10%
transform: translate(-50%, -50%)
- type: icon
icon: mdi:balcony
tap_action:
action: call-service
service: shell_command.ptz_goto_preset_2
style:
top: 85%
left: 20%
transform: translate(-50%, -50%)
- type: icon
icon: mdi:fullscreen
entity: camera.balkony_ptz
tap_action:
action: more-info
style:
top: 85%
left: 93%
transform: translate(-50%, -50%)
Anything in the logs that might be useful for us?
Additional information
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 15 (4 by maintainers)
Looks like the issue has been fixed in 2025.4.1 When opening the live view now it starts playing immediately (before it was buffering) and it is showing “Live broadcast” instead of the progress bar and buffering status.
The CPU usage is not increasing after watching the video on full screen.