Sometimes the feed goes blank and on motioneye it shows an overlay saying the rtsp connection is down. It would like to be able to check the status and create an automation to reset the feed
Hi, how do you get this? I have a working Xiaomi cam with the hack, but this URL gives error 404
hi, I don’t understand which is the better hack to use
or
I installed the latter, wish to have motion detection. But I do not understand how to install the first hack
@gerard33 I have the same setup as you but I can’t get the stream to show in chrome or Edge. It works in VLC (prompts for username/password). I get the popup when I click on the image in HA, but the window just shows with the spinner… any ideas as I am hearing from everyone that it is working. I have a Wyze V2 cam with the latest firmware on it (03-31-2019) and the current pic works fine.
Follow the instructions.
I did, its not working. At point 10, the blue led never blinks nor becomes solid.
And I do not know if I have ARm or T20 processor, have no idea how to check that
What camera do you have?
This hack works, but its not stable, I loose the stream frequently (within minutes) , not reliable at all
That worked out of the box for me. Can you check if you the Get Image
button under System - Video in the Dafang webinterface is working for you?
I have the Dafang camera, so not sure if that makes any differences.
But I have set the video size to the lowest quality to make the motion detection work. That will probably also help for the streams, so you can try if that works for you.
It might make a different… I did try setting mine to the lowest as well to get something started… I can recall it did work in the beginning, but not sure now if it was an older docker container version… might need to roll back, but currently on 91.3 and hoping it’s not me. Thanks
Working fine here on 91.3. There is also a Preload Stream box now when you open the stream. Did you already try that?
Yes. Have tried with and without the preload checked. Have even tried on a fresh machine with chrome just installed. Neither does it work on my mobile. Very frustrating as it works in VLC and can bring up the stills no problem.
Just wish it gave some kind of an error. Have two more wyze CAMs but don’t want to hack until this works.
I have also 2 cams through my synology (license limit) which are working fine with the stream service as well.
I am watching the lighttpd-access.log file and see the current pic.cgi every 10s but never see the trap stream request come through. Would it be logged here?
Strange, but I do a netstat and don’t see anything listening on port 8554.
[root@WYZE3:tmp]# netstat -tulpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 202/lighttpd.bin
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 198/dropbearmulti
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 202/lighttpd.bin
netstat: /proc/net/tcp6: No such file or directory
netstat: /proc/net/udp6: No such file or directory
Now it's back... seemed to restart on me
[root@WYZE3:tmp]# netstat -tulpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:8554 0.0.0.0:* LISTEN 257/v4l2rtspserver-
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 204/lighttpd.bin
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 200/dropbearmulti
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 204/lighttpd.bin
netstat: /proc/net/tcp6: No such file or directory
udp 1024 0 0.0.0.0:6970 0.0.0.0:* 257/v4l2rtspserver-
udp 0 0 0.0.0.0:6971 0.0.0.0:* 257/v4l2rtspserver-
udp 1024 0 0.0.0.0:6972 0.0.0.0:* 257/v4l2rtspserver-
udp 0 0 0.0.0.0:6973 0.0.0.0:* 257/v4l2rtspserver-
netstat: /proc/net/udp6: No such file or directory
Are you saying this works with the Xiaomi cameras?
Interested as well, since I have a Fang not a Wyze.
I can test it later tonight, hope will not brick mine.
EDIT: no, I am stuck at the Wyze app, besides my LED never turns blue
Thank you for a very nice hack. I have been using my Dafang camera with the hack for a week now, and trying to integrate it with HA.
I seem to experience mainly 2 issues:
-
The rtsp stream using H264 crashes. This can be over night, or the stream can be stable over a couple of hour followed by crashing. Once crashed, I will need to switch off and on the rtsp H264 switch and it is up and running again until it crashes next time.
-
In my HA, I have the following code in configuration.yaml. I can see the frame in my HA front page, where it is updated once every 10 sec. However, I don’t see the stream. If I click on the frame, the stream does not appear - although I checked with VLC player that the stream path is alive. Anybody experience the same issue here?
camera:
- platform: ffmpeg
name: Camstream
input: -rtsp_transport tcp -i rtsp://192.168.0.27:8554/unicast
Try using the Motioneye addon.