Code Monkey home page Code Monkey logo

Comments (7)

jmbwell avatar jmbwell commented on June 8, 2024

Take a look at the code and find all the ways we use information provided only by the API, and you’ll have your answer.

from homebridge-camera-ffmpeg-ufv.

brianerdelyi avatar brianerdelyi commented on June 8, 2024

I really appreciate the quick response, but still not sure where in the code the NVR API is called. I'm trying to understand what the benefit of using this plugin is vs a generic camera-ffmpeg plugin where I specify the RTSP url. I assume this plugin uses the NVR API to get a list of camera URLs?

from homebridge-camera-ffmpeg-ufv.

adrum avatar adrum commented on June 8, 2024

This plugin automatically sets up all the cameras for you known by the NVR. It also will setup a motion sensor if you have motion recording enabled for the camera.

If you have a small system, you could probably get away with setting them up by hand using just the RTSP stream url and homebridge-camera-ffmpeg. I'm not sure if the RTSP stream url requires authentication or not. For larger installs, this plugin certainly helps speed up the process of setting up all the cameras.

from homebridge-camera-ffmpeg-ufv.

adrum avatar adrum commented on June 8, 2024

This is where the integration with the NVR API is used, should you want to see specifically how it connects to it:

(nvrConfig.apiProtocol == 'https' ? https : http ).get(options, function (res) {

from homebridge-camera-ffmpeg-ufv.

brianerdelyi avatar brianerdelyi commented on June 8, 2024

Thanks for clarification. Yes, I agree querying the NVR for available cameras is a nice touch rather than manually configuring each URL. My CK2+ arrives next week and I was going to test with that, however, I expect I will have to use the generic plugin. Really appreciate the link to the file as well :)

from homebridge-camera-ffmpeg-ufv.

adrum avatar adrum commented on June 8, 2024

Yeah I would have to guess this plugin is not compatible with Unifi Protect, since it and Unifi Video have two completely different codebases. I've been following along and waiting for them to release a self hosted version of the software so I could either adapt this plugin to work with both, or write a completely separate plugin altogether.

You're probably going to have to use the homebridge-camera-ffmpeg plugin if you're looking to integrate with CK2+.

from homebridge-camera-ffmpeg-ufv.

brianerdelyi avatar brianerdelyi commented on June 8, 2024

Agreed. Working with the generic plugin now. I'm getting snapshots but no live streams. Unsure why at the moment.

from homebridge-camera-ffmpeg-ufv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.