GithubHelp home page GithubHelp logo

Comments (6)

hjdhjd avatar hjdhjd commented on June 12, 2024

The plugin doesn't set the RTSP stream, simply enable it. The above is a UniFi Protect issue, not one related to homebridge-unifi-protect2. The error it's generating is actually correct...it's trying to resolve the RTSP stream it's pulling off of Protect.

Pulling image snapshots has nothing to do with the RTSP stream, which may seem counterintuitive. 😄 The snapshots are pulled from the Protect controller, not the camera.

TL;DR - fix the RTSP stream on correct and the plugin will pull it. I would try, in this order:

  1. Disabling and reenabling RTSP to see if it gets it right.
  2. Unmanagaing and remanaging the camera, and see if that works.
  3. Filing a support request with Ubiquiti.

Good luck.

from homebridge-unifi-protect.

tmur11 avatar tmur11 commented on June 12, 2024

thanks for the quick response. I realize it seems to be an issue with the protect interface but the actual stream works fine.

I have tried your suggestions and aside from building a new protect controller VM I was hoping we could somehow build the stream URL from the hostname/IP provided in the config.json file.

I have raised issue with unifi but I am running the a older version of protect (12.5) on unsupported hardware so I doubt I'll get a response.

from homebridge-unifi-protect.

hjdhjd avatar hjdhjd commented on June 12, 2024

As far as I know, you can't run Protect controllers in a VM. It needs to be on a UniFi-sanctioned device...but point me in the right direction if that's not the case.

I don't intend to support overriding pulling the configuration from config.json right now. Might put it on the backlog...but if you want to specify your own parameters and configuration, you're probably better off with homebridge-camera-ffmpeg. The North Star here is to seamlessly complement Protect. If your Protect setup is faulty...that's your root cause here I'm afraid.

Good luck.

from homebridge-unifi-protect.

tmur11 avatar tmur11 commented on June 12, 2024

Running protect in a VM isn't supported but a DEB package was released/leaked by unifi (v12.5) which can be still found.

https://www.reddit.com/r/Ubiquiti/comments/dchpv5/diy_ubiquiti_protect_for_linux/?utm_source=share&utm_medium=web2x&context=3

thanks for the help would just be nice not having to enter all my cameras manually into homebridge-camera-ffmpeg. I will try a fresh controller install and see what results I get.

thanks again

from homebridge-unifi-protect.

hjdhjd avatar hjdhjd commented on June 12, 2024

Fascinating. Yeah...you're way off the reservation and definitely on your own in uncharted waters there.

Glad you enjoy the plugin...my suggestion, for what it's worth...buy a controller. They aren't super-pricey (UCK Gen2+ is ~$200) relative to the cost of some of the cameras they've got. 😄 It's the right way to do it, and medium/long-term it will save you hours of heartache trying of going back and forth trying to maintain an unsupported (and at this point quite dated) Protect controller release. Just my $.02 here...

from homebridge-unifi-protect.

github-actions avatar github-actions commented on June 12, 2024

This issue is locked to prevent necroposting on closed issues. Please create a new issue for related support requests, bug reports, or feature suggestions.

from homebridge-unifi-protect.

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.