All I really did was follow the instructions from this project to hack it. The hack works great (even on the latest firmware 3.0.4.9) and opens up lots of features (ssh, telnet, sftp, rtsp etc) There is also an option of completely disabling cloud communications making the camera local only.
Once I managed to do that and verify the rtsp stream (http://camera-ip/unicast), then it was simply a case of adding a camera component into HA.
I hope i will get mine soon, but its already on the way How many fps do you get over HA and is the nightvision working right? I’m a bit excited about it
Stream’s alright, not great, but not choppy either. It’s smooth on the phone and laptop.
Don’t remember the ffmpeg version. Will check and let you know.
pi@hassbian:/home/homeassistant/.homeassistant/config $ bash snapshot.sh
'jpgle to find a suitable output format for '/home/pi/snapshots/20170529163929
Just stumbled onto this post. I would be interested to hear comments on how the cameras are working for you so far, but my real question is: Is there a way to turn the cameras off somehow? I would rather not be streaming or recording when we are home.
Are you saying with the hack you can not only view the camera stream on HA but also listen to any sounds from the live stream? As the camera has a built in mic and speaker, so I suppose you could also talk from HA and get the output from the camera’s speaker?
@Mukund That would be great if you can try to see if there is a way to turn it off or stop streaming … I think that they are cute cameras and I could see the use of stacking 2 of them together in some areas. Keep us posted if you can.
I run a windows 7 VM on my QNAP and then use contacam to convert the rtsp feed into a jpg which works perfectly in HA. I do that for 2 camera that only have rtsp as I found rtsp in HA was god damn slow. I use the VM as my backup server, so now I have found another use for it
Only issue with this and the hack is the nightvision is just rubbish, blocky/grainy black and white. Is this normal ?
hi i got my cam today and followed the tutorial. Well … I cannot see anything in vlc… no connection could be etablished … do i have to deactivate the cloud? the hack is running on the cam
Are you using the RTSP or MJPEG stream?
I have been using the RTSP and its working OK on my hass.io install… but am running hass.io on a VM on xeon server, so has much more cpu etc for ffmpeg to process the 1080p stream from the xiaofang.
BTW the out of box ffmpeg provided in hass.io image is working fine, but I noticed that the rtsp server on the camera is not very stable and often quits
I’m going to try the MJEPG version of the xiaofang hack linked above.