@lolouk44 Are you getting smooth stream on HA?
Is there a benefit to performing the hack and attempting to set it up in my HA? I just got the Pan version as a monitor for our new puppy. I would like to have it integrated in my HA setup, but it seems like there is a loss of functionality (no smooth stream). Is this correct? Or am I misunderstanding? I am on a RPi3, but I have a Synology that I could set it up with, if that matters
If you use rtsp stream with rpi as renderer via ffmpeg then forget about high quality smooth stream. If you use synology and just feed it into home assistant that might work. Or try Shinobi Pro. In general the PI is not strong enough to handle the workload.
it’s smooth-ish. My linux box is under stress as I use motion on both my DaFangs to process the video, record on motion, and stream to HA, plus I have an OpenALPR agent processing a 4MP CCTV and I also run HA, Plex and backup on that same box
My streams are about 10 sec behind “real” time, and give me about 5 frames / sec maybe, and every so often I get a green screen (which triggers motion recording )
Apart from that it’s working well.
I’m quite a few versions back as I’ve not updated my cams in several months so maybe with the latest firmware/software it’ll be better. Not had the time to look into this yet…
oh right well I am having the same streaming quality as you and I am running HA on a rp2 b. My rp2 is not heavily loaded just for appdaemon and nodered.
Is it the raspberry you think? I am running the latest dafang software.
also depends on how much you have running on your wifi network and which resolution your cam runs at…
true my wifi speed is good. I wanted to know what is your camera resolution and settings please?
720p (not rooted the cam to enable 1080p) pretty much everything set to default
OK great, I’ll try taking a look at hooking it up to my Synology. I can then feed it in with Zoneminder, right?
I see no reason why not.
Is there a reason to use Motion on your Linux box and not the motion detection of the Dafangs?
Mine just arrived last week and am I also figuring out which features to use from the cameras themselves versus which from Home Assistant or other things components like ZoneMinder or Shinobi.
Yes I use motion for motion detection AND recording and the recorded videos are then uploaded on Dropbox so I can access then anywhere.
guys can we integrate the dafang hacks to use with binary sensor ffmpeg noise platform? I tried it but it doesnt work for me.
Has anyone tried it?
Hi,
I have the xiaofang 1s with mac 34:CE working in Spain (i sent mail to xiaofang company that they unlocked camera) and works fine in mi home app (i don’t see message about only in china).
Now i would like to see by HA and in mi home app as online. I put the this firmware
https://github.com/samtap/fang-hacks
But now in app mi home, appears me as offline, but i can see image by rtsp.
There is any method to use all as yi ants smart cam?
thanks
Can anyone help me on how to just have motor controls implemented. i dont want to auto discover all controls and for vertical and horizontal motion i have tried everything without succeeding. limited information on github and anywhere in home assistant forum on that. e.g. payload “motor_down” for me is certainly not working. i have double checked the topic. everything else is coming in fine against the path i am using.
I don’t know, at least not via motion. You should be able to do it via ffmpeg I’m sure there’s a command to extract the audio from the stream I just don’t know which one. A quick Google search should give you the answer
It is always possible to extract streams, if they can be muxed they can be demuxed. ffmpeg is the usual tool. Are you wanting to do this in real time, or on a recorded file?
Thank you, figured that out about motion.