You need to also put username and password in the rtsp url, or with Dahua you can (and probably should) use the ONVIF integration. I’m making updates to that integration now, and it will be much better than generic camera in the near future.
Some od you mentioned instabilities when using stream & rpi. I confirm.
When disabling stream component my rpi is very stable and runs forever. With “stream:” enabled, I have to restart it every week. The whole pi seems frozen. Pings but no way to enter ssh or anything. As if all processes were in D state.
I just upgraded to a dedicated M2 sata disk for this… doesn’t work.
Great to hear you’re working on the ONVIF integration. If you don’t mind, a small feature request:
I’m using ONVIF to communicate with my intercom. This has two problems:
The lights around the camera around constantly on
After a couple of days the camera is stuck and I have to power cycle my intercom
What I’d like is the ability to configure this integration, but instead of it constantly pinging my camera, I’d like to operate it on demand (for either a still image or a stream).
I’ll have to try the updated Onvif integration with my Dahua cameras when it’s out. Just wanted to mention that the Amcrest camera integration works quite nicely with the Dahua cameras. Their API’s seem to be virtually the same.
If it works with Amcrest, I’d use that because it also provides the motion sensors I believe. That’s something I’m working on for ONVIF, but might not make it into 0.110.
Yes, the Amcrest integration supports the motion sensors on Amcrest/Dahua cameras, and was recently updated to subscribe to any motion event immediately instead of polling.
There is a known issue with switching motion detection on/off via HA service on the latest Amcrest camera firmware update (2.6) , but I’m not aware that is also an issue with Dahua. So far, Amcrest hasn’t disclosed or updated their API doc to detail what they changed so it can’t be easily fixed. Meanwhile, some users have installed previous firmware to get that important functionality back.
Onvif with motion detection sensor capability might be a better solution than using older firmware.
Hi, I’m using the stream component to try to cast a camera from BlueIris to the Chromecast devices I have in my home. I’ve got the stream component enabled and the camera configured per the instructions at the top of this thread. The camera is a 4k Amcrest at 15fps (re-encoded to 1920 x 1080 by the BlueIris web server).
The issue I have is that when I cast the stream, it plays for 2-3 seconds (and the ‘live’ indicator lights up on the chromecast display) then pauses and seems to buffer (and the ‘live’ indicator goes out) for 2-3 seconds, then the cycle repeats itself, eventually pausing completely. I don’t see the issue when utilizing the above URL through QuickTime.
When I looked at the BlueIris status tool, it shows the streaming rate at ~.4fps when serving up through the link here to either QT or the chromecast display, though the time seems to count up normally when I view the stream in QT (and I believe in chromecast when it’s not buffering). I also have BI set up to serve this camera to Home Assistant for Lovelace as type mjpeg, and the framerate on the BI tool shows ~7.5fps when that stream is active. When accessing BI via a browser window, it shows a solid 15fps, so I don’t think it’s a Blue Iris or network issue.
Thinking this was a performance issue with my HassOS / RPi4b installation, I tried an install of HA as a VM on my i7 machine, with the exact same results. I’m now thoroughly confused. Your help would be greatly appreciated. Thank you!
Could someone please add their code for a Wyze camera with official RTSP-firmware provided by Wyze (beta)? It works through VLC but I can not get it to work in HA.
that’s strange i have the same camera.Is your channel and stream correct?
i know that it only works for one of them and not for the other channel/stream
Anyone has a clue for a reason why Synology Surveillance Station is not giving me Share Stream URLS? The boxes where they were supposed to be are blank. If i use the desktop app, it actually gives me an error “Operation failed”.