I have just installed hass.io to an old RPI 2 B and I am very excited so far. My problem for now is that I am trying to connect a Foscam C1 to the lovelace UI and I am unable to get it streaming.
So it works fine If I refresh the page (as a screenshot) or If I click on the image and view the separate modal stream.
Also, I have no audio in both cases.
I tried to test it via RSTP and vlc, everything works fine including the audio,
This is my config:
Well it works with rtsp but after a refresh stops. The bar under the stream shows “Idle” always. Also when I edit the UI it just streams fine. Refresh the page, stops. Tried with Brave, Firefox and Chrome.
My C1 streams good using the Foscam component. I don’t believe Home Assistant supports audio though. Here is my config. The only real difference between mine and yours is that I call out port 88.
I have HA running within Proxmox lxc container on a NUC i5, but with Foscam enable i get a delay of ~5 sec and only get some frame, no live feed. live feed seems not to work.
I had the same problems with a foscam 9902, stream did not work, but freeze image was fine. As soon as i changed in the Lovelace Picture card from “auto” to “live” I lost the picture of the camera. For me the solution was to add the rtsp_port:xx command into the settings in configuration.yaml.
camera: