#WebRTC Camera Card - event image update

1 messages · Page 1 of 1 (latest)

obsidian dove
#

Hey gyus, just started with HA and integrated my camera system from eufy. The camera itself has the event image entity and if i check it directly on it, the image is updating well. I am using the WebRTC card with the given example but the event image does not update. It takes ages to see the latest event directly. Even hard reset did not help. I tried to add custom stuff to the entity but without succes. Does anyone have a good solution for it? The poster is not updating it takes ike 30 minutes or more.

Example:

type: custom:webrtc-camera
entity: camera.vordertur
poster: >-
  {{ states['image.vordertur_event_image'].state }}?random={{ (now().timestamp()
  * 1000) | round(0) | random }}
ui: true
shortcuts:
  - name: Play
    icon: null
    service: camera.turn_on
    service_data:
      entity_id: camera.vordertur
  - name: Stop
    icon: null
    service: camera.turn_off
    service_data:
      entity_id: camera.vordertur
visibility:
  - condition: state
    entity: switch.vordertur_camera_enabled
    state: "on"

I know, most of the time its browser related but is there any trick to tell it that there is a new image?

obsidian dove
#

Ok, my workround that works is to use image for the event and only show it if stream is not running and to show the webrtc element if the stream is started