Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 99172

Snapshot from generic camera (RTSP) always return a copy of still_image_url image instead of a frame of RTSP source

$
0
0

@gsubiran wrote:

Im trying to automate a snapshot from generic camera (RSTP) every X time.

I’m generating and saving snapshot ok, but the problem is that the generated snapshot is allways the still_image_url and not the real camera frame at this moment.

I’m missunderstanding something or is gust an issue of generic camera integration?

configuration.yaml

- camera:
- platform: generic    
    stream_source: rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov
    still_image_url: https://upload.wikimedia.org/wikipedia/commons/thumb/7/70/Big.Buck.Bunny.-.Opening.Screen.png/1200px-Big.Buck.Bunny.-.Opening.Screen.png
    name: big_buck_bunny

automation.yaml

- id: '1590598247503'
  alias: Big Buck Bunny snapshots
  description: ''
  trigger:
  - platform: time_pattern
    seconds: /5
  condition: []
  action:
  - data:
      entity_id: camera.big_buck_bunny
      filename: /config/snapshots/RTSP/big_buck_bunny/image_latest.jpg
    entity_id: camera.big_buck_bunny
    service: camera.snapshot

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 99172

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>