Adding IP cam to HA with fluid video stream

I’m using the Amcrest component to add an IP camera to my HA system. My config is below

amcrest:
  - host: 192.168.1.xxx
    port: xxxx
    username: admin
    password: xxxxxxxxx
    name: KasCam
    resolution: low
    stream_source: mjpeg
    sensors:
      - motion_detector
      - ptz_preset

camera:
  - platform: amcrest

I have the camera image showing up in HA but it’s just an image that refreshes every 10 seconds. I left “scan_interval” at the default “10”, which I’m assuming is controlling this, but even if I dropped that to “1” I still wouldn’t have fluid video. Is there a way to add fluid video to HA? I’d like at least 15fps.

Click on the video image to bring up a real time video window.

I just get the “broken image” icon when I click the video panel

cam

In case you’re unaware, there have been recent updates to the amcrest component that should address some of the issues you’ve seen. Also you should try the new stream component.

Regarding scan_interval, that is supposed to control how often the configured sensors update, but it’s broken. Hopefully I’ll be able to fix that soon.

1 Like