Replies: 3 comments 2 replies
-
I’ve actually been thinking about ONVIF recently. Right now, in my mind it would be a helper plugin to handle motion (like the ones I have for FTP and SMTP already), and possibly a utility to search for ONVIF cameras and write out config snippets. I don’t actually own any ONVIF cameras though, so I’d love to hear opinions from folks who would actually be using it. |
Beta Was this translation helpful? Give feedback.
-
As a temporary workaround, currently I'm using Home Assistant's automation script to send request to this plugin's HTTP API to trigger motion action, as described here. It works well |
Beta Was this translation helpful? Give feedback.
-
There's a docker image with onvif2mqqt, which makes a subscription to the motion events from an onvif camera and publishes them to a mqtt server, then you just need to point homebridge-camera-ffmpeg to the mqtt topics. Confirmed working nicely with my Tapo C200 cameras. Eagerly waiting for HKSV now :)
As a side, I am still not 100% happy with the lag. I have Synology Surveillance Station connected to the cameras as well, and with the Tapo app and the Synology app I get ms-range lag (near realtime) on the 1080p feed, while with homebridge-camera-ffmpeg I get ~3s delay on the feed with 640x480 resolution, with an initial +1s if local, or ~+5s if remote extra delay (so when remote I get ~8s until I get the feed to show, which is then delayed ~3s from realtime). Using the 1080p stream adds extra 2-3s :( Anyone has any suggestion on how I can reduce this lag? You can see I am using unbridge, 640x480 resolution with the copy codec to remove any transcoding. |
Beta Was this translation helpful? Give feedback.
-
@Sunoo Thanks for making this great homebridge plugin, I'm wondering if you can add support for ONVIF, which has motion detection integrated.
I tried the ONVIF intergration on Home Assistant with my Dahua dome camera, two motion sensors and video stream were added to HA and Homekit automatically. The experience is very good and smooth, once there's any movement, my iPhone will get notification in just 2 seconds with snapshot image.
I noticed that there's already a nodejs library for ONVIF on github, futomi/node-onvif, you may take a look
Thank you again
Beta Was this translation helpful? Give feedback.
All reactions