Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

camera slow refresh rate #913

Open
2 tasks done
potchin opened this issue Feb 26, 2025 · 0 comments
Open
2 tasks done

camera slow refresh rate #913

potchin opened this issue Feb 26, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@potchin
Copy link

potchin commented Feb 26, 2025

Checklist

  • I updated the card to the latest version available
  • I cleared the cache of my browser

Describe the bug
I have this config to show a live camera feed on a dashboard..

              - show_state: true
                show_name: true
                camera_view: live
                type: custom:button-card
                show_live_stream: true
                entity: camera.outdoorcam
                name: Front Camera
                state_display: >-
                  [[[ if (states['binary_sensor.outdoorcam_car_occupancy'].state
                  == "on") return '🚗 Present'; else return 'Away'; ]]]
                aspect_ratio: 1/1
                styles:
                  card:
                    - background: rgba(0,0,0,0.3);
                    - border: 0;
                    - color: '#FFFFFF'
                  icon:
                    - width: 100%

This used to work but recently (weeks?) the camera feed changed to run at 1 frame every 10 seconds, from the browser logs I see a GET request every 10 seconds. Its not pulling the live stream. Pressing the button to open the stream works as expected and the same streams work fine on other dashboards (which use the default HA card).

The camera is being provided by the Frigate integration (but I dont think this is relevant).

Version of the card
Version: 4.1.2

Desktop (please complete the following information):

  • Firefox 135

Smartphone (please complete the following information):

  • Device: Fire 7 tablet
  • OS: Android
  • Browser Wallpanel
@potchin potchin added the bug Something isn't working label Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant