Hello,
I am trying to get my cameras streaming to Home Assistant. In the past I setup a Zoneminder server, and then used the Zoneminder integration to get my cameras into Home Assistant. I have Zoneminder streaming my cameras via an RTSP TCP stream, it works great, and the Home Assistant Integration also works really well.
The Zoneminder server is a hog, and I want to eliminate it. I have heard and seen people be successful with getting RTSP streams working with Home Assistant.
This is what my configuration.yaml file looks like:
The big change here is quotes around the rtsp address. Apparently ffmpeg does not like the ampersand (&) and interprets everything after it as more parameters.
The MP4 that it outputs works, but unfortunately the same string does not work in my configuration.yaml file, the camera appears as “Unavailable”…
Edge and Firefox throw this error: Error with media stream contents (bufferIncompatibleCodecsError)
While Chrome throws this error: Error with media stream contents (bufferAppendError)
Turns out these errors are because Chromium based browsers cannot decode h265 streams. Switching my DVR box to h264 has solved the issue in Chrome and now I can rid myself of the Zoneminder VM that was consuming large amounts of processing power.
Did you ever get this working? I have an Amcrest AD410 exposed to HA using the custom Dahua integration, but I am trying to get it working to homekit via HA and it doesn’t work. I am trying to do a packet capture but I am getting nowhere. I have added an rtsp stream_source kit to the homekit.yaml file but no dice.
Have you tried homekit with your setup or so far just trying to get it to work on the browser? I feel using the Dahua integration the browser seems fine. I am on the latest firefox.