homebridge-camera-ffmpeg
homebridge-camera-ffmpeg copied to clipboard
Add ONVIF support
I just found that there is an ONVIF implementation for node available. ONVIF is a generic protocol that allows the clients to request all capabilities of the camera (e.g. PTZ, audio, resolutions, URLs). The client just has to know
- Basic URL for ONVIF
- Username
- Password
What is very interesting, is that ONVIF also offers notification about motion. All my cameras support ONVIF and have built-in motion detection. It would make sense to add this as (additional) feature to homebridge-camera-ffmpeg, especially for the motion detection support.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
+1
I’m gonna be perfectly honest, I’m not sure full ONVIF support will ever be a part of this plugin.
I could see adding ONVIF’s two-way audio support, and ONVIF’s motion alerts could be handled by a helper plugin (such as the ones for FTP or SMTP). I’d probably need to find and acquire an ONVIF camera with those features if I were to write either of those though.
I got a camera with ONVIF that have a web interface, would you be interested if I create a small lib that standardize the protocol communication into javascript async methods.
I don't know how the two-way audio works yet, but the camera I got has it, it might take longer to understand how to stream it than creating the API to send commands to the camera.
Please let me know if you have interest to add into your project, if so, I would be happy to contribute with such.
@gartz I would be interested in adding that, provided the library you write suits the needs of this plugin. I still don’t have an ONVIF camera myself, so I can’t test much still.