Comments (6)
If the upstream implemented the ffmpeg update, you need to update homebridge-camera-ffmpeg and you should have most of what you need.
Here’s the thing that remains a struggle on motion sensors - it’s a moving target. Ubiquiti is clearly making significant changes in this space right now with the addition of the new / enhanced motion sensor algorithms, etc. - as the APIs stabilize and one can get this going in a useful way, I’d love to implement it in this package.
Most of what I’ve seen in the homebridge world makes me cringe as it’s remained a kludge of sorts...read the entire log stream and try to make sense of it for the events you care about. If you have a moderate-sized environment or larger, that’s going to be a performance pain point.
Honestly...not to pontificate on wishlists, but hey it’s the middle of the night for me...what we really need is a properly documented and implemented Ubiquiti API that we can tap into. They’ve been pretty clear that it’s an unlikely possibility but one can hope.
TLDR: if/when there’s an API-driven way to do motion sensing, I’d like to implement it. I haven’t seen it yet...but Ubiquiti is making a lot of updates to that part of Protect these days, so perhaps in the coming months...
from homebridge-unifi-protect.
@BadgerBadgerAndFox can you explain how you get the motion sensor please? thanks
from homebridge-unifi-protect.
@loop2 you’ll need to manually merge in the code changes to index.js until it is included. You’ll need a basic understanding of js to make sure you don’t break it.
from homebridge-unifi-protect.
@BadgerBadgerAndFox I saw the issue related to the post you mention. Here's the rub...when you tie yourself, as I did, to homebridge-camera-ffmpeg, you're reliant on the upstream to fix things. Temporary workarounds aren't a great idea here because they're unmaintanable. So I'll wait on the upstream for this one. I don't think it'll be more than a couple of more weeks at most.
Incorporating similar functionality to what's in homebridge-unifi-protect-motion-sensors is something I've looked into, but need dedicated time to sort through. If someone wants to take on that challenge, let me know. :)
One of the concerns I have about the motion sensor API in Protect is that there really isn't one. Most of the solutions are tapping into the log stream and parsing the content there. It's inelegant at best, and likely a performance nightmare I would expect. If someone's found a better way to directly get at motion sensor data via API, I'm all for it...point me in the right direction. Directly being the operative term.
Let's revisit in a couple of weeks...
from homebridge-unifi-protect.
@hjdhjd any updates on the upstream update? It would be great to have iOS Push Notifications again. Thanks for the great plugin!
from homebridge-unifi-protect.
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)
- MFA Support HOT 1
- Package camera snapshot is occasionally taken from the main camera HOT 8
- Invoke ring on doorbell remotely HOT 3
- Issue with livestreaming in HKSV on Unifi Protect Version 6.20.0 HOT 4
- Moved to Mac Mini M1 Verison V6.20 and V.19 won't play video HOT 3
- Errors in the Log after Update from G3 to G5 Cameras HOT 2
- Homekit video / snapshot not loading after a while require reboot of plugin or homebridge HOT 2
- Unifi Protect HKSV recordings cut off HOT 3
- Memory Leaked warning HOT 3
- Possible cause of #1061 (Author's note: nope.). HOT 2
- Unifi Baby Cry AI Detection - Device to trigger off of HOT 2
- Is it possible to add only motion sensors from some of the devices? HOT 2
- Transcoding based on IP address HOT 3
- HBUP API behaviour is impacting local admin login to Protect (4.0.3) HOT 2
- Live Streaming does not work but works with other tools HOT 2
- Switch to disable doorbell inside HomeKit HOT 2
- Max CPU usage and 32 Protect API errors per second HOT 13
- Why does UP Floodlight require full admin rights? HOT 2
- 2FA SUPPORT HOT 3
- Protect Controller taking too long to respond HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-unifi-protect.