Sunoo / homebridge-camera-ffmpeg

Homebridge Plugin Providing FFmpeg-based Camera Support
https://sunoo.github.io/homebridge-camera-ffmpeg/
Apache License 2.0
1.08k stars 225 forks source link

Homekit Secure Video #338

Open TechRemarker opened 4 years ago

TechRemarker commented 4 years ago

In June, Apple announced the upcoming Homekit Secure Video feature where all video will also be backed up in iCloud. While I assume it will have to be finalized before we know for sure, but in theory will this plugin be able to support that, or do we think that feature will only work with manufacturer's working directly with Apple?

nkpm commented 2 years ago

ok thanks for sharing so quickly.

I whish you all the best for recovery of your house!!

Beginning this year i switched to running all my homebridge stuff in docker containers for exactly this scary situation...

Sunoo commented 2 years ago

Thanks, fortunately I have insurance, so things should mostly work out in the end.

I had Docker around, to confirm my plugins worked under it, but I found no good way to rapidly test within it.

One I have a power cord again, I think my plan is to spin up a VM on my laptop and use that.

mikesalz commented 2 years ago

Maybe this is a dumb question - But once this awesomeness is complete, will plugins like Ring and Arlo be compatible with HomeKit Secure Video?

nanosonde commented 2 years ago

Maybe this is a dumb question - But once this awesomeness is complete, will plugins like Ring and Arlo be compatible with HomeKit Secure Video?

From what I have seen so far it would require them to implement the additional delegates too.

Concerning the Ring Plugin: do not expect that it is going to be implemented by the original author: https://github.com/dgreif/ring/issues/177#issuecomment-916507211

Sunoo commented 2 years ago

Unfortunately it is something each plugin will need to implement on their own.

nanosonde commented 2 years ago

Concerning the ring plugin: https://github.com/dgreif/ring/issues/177#issuecomment-916507211

nkpm commented 2 years ago

@Sunoo i've used a docker test environment for react native development. How it worked there: code was "hot loaded" by putting it in a folder munted as volume.

-> homebridge could be installed inside the container and your latest code could be in that folder. homebridge could be restarted everytime stuff changes in that folder...

i really enjoy being pretty independent of the host pi and run multiple versions of homebridge for different purposes (e.g. testing your ffmpeg beta) in parallel.

burnbrigther commented 2 years ago

Are we close? :)

Sunoo commented 2 years ago

It’s been close for a while now.

nkpm commented 2 years ago

quite an arc of tension 😳

steverae68 commented 2 years ago

Any news on beta release for HKSV ?

charlesmkelley commented 2 years ago

Any news on a release that includes HKSV?

sergoo-lbt commented 2 years ago

Is the plugin dead?

Sunoo commented 2 years ago

No, my life has just been complicated recently.

steverae68 commented 2 years ago

No problem - thanks for the update and hope everything works out in the end for you mate.

We’re here for ya if you need us

Sent from my iPhone

On 9 Mar 2022, at 18:32, David Maher @.***> wrote:

 No, my life has just been complicated recently.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.

nkpm commented 2 years ago

+1

sergoo-lbt commented 2 years ago

Нет, моя жизнь в последнее время была сложной.

Understood. Everything will get better! Take care of yourself.

albinmedoc commented 1 year ago

This feature is required for a good camera experience. How can we manage to implement this?

albinmedoc commented 1 year ago

We have this example to get started with.

I will give it a try.

steverae68 commented 1 year ago

TBF - I’ve gave up on camera-mpeg and have switched to uCamera.Hope camera-mpeg gets updated soon as it’s way less resource hungry Sent from my iPhoneOn 24 Jul 2022, at 12:04, Albin Médoc @.***> wrote: We have this example to get started with. I will give it a try.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

scaryfast8750 commented 1 year ago

@Sunoo any updates on HKSV support?

steverae68 commented 1 year ago

I think, by now we have to assume this plugin ain’t getting updated anymore.  Shame but life does have a habit of getting in the way with these things.I personally wish @sunoo every success and thank him for his years of support to this amazing plugin.As for HKSV, I have switched over to CameraUI - there are other solutions out there too such as Scrypted so all is not lost.  Sent from my iPhoneOn 12 Aug 2022, at 03:16, scaryfast8750 @.***> wrote: @Sunoo any updates on HKSV support?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

Dids commented 1 year ago

While I love CameraUI, it's also too resource and feature heavy for what I'd personally need it for, which is to simply expose camera streams to HomeKit via Homebridge, as well as have HKSV support.

Unless this gets updated, or a more viable lightweight alternative doesn't turn up, I might simply fork this project and add minimal HKSV support to it, as well as update and clean up the project a bit, then publish it as an experimental and minimal alternative.

(Note: the APIs required for HKSV aren't too complex, so it's fairly trivial to implement on top of this pligin, the hard part is that it requires enough time and testing to do right)

nkpm commented 1 year ago

@Dids I'm available for testing/qa.

nanosonde commented 1 year ago

Unless this gets updated, or a more viable lightweight alternative doesn't turn up, I might simply fork this project and add minimal HKSV support to it, as well as update and clean up the project a bit, then publish it as an experimental and minimal alternative.

I am also still interested to enhance my PR https://github.com/Sunoo/homebridge-camera-ffmpeg/pull/1253 concerning two-way audio with support for HKSV in the future. So if there would be a new minimal cleaned-up stable working version with HKSV support, I would probably still be interested to add SIP two-way audio for it. However, please note that personally, I will never create a pure SIP two-way audio video doorbell plugin that I have to maintain or support. The reason is that I do not have enough of the very valuable resource called "time".

steverae68 commented 1 year ago

I have to agree with you that CameraUI is very resource intensive, however, it is the only plugin running on my particular pi so not to much of an issue…I’d be happy to test any fork of this if needed.Sent from my iPhoneOn 12 Aug 2022, at 08:04, Pauli Jokela @.***> wrote: While I love CameraUI, it's also too resource and feature heavy for what I'd personally need it for, which is to simply expose camera streams to HomeKit via Homebridge, as well as have HKSV support. Unless this gets updated, or a more viable lightweight alternative doesn't turn up, I might simply fork this project and add minimal HKSV support to it, as well as update and clean up the project a bit, then publish it as an experimental and minimal alternative. (Note: the APIs required for HKSV aren't too complex, so it's fairly trivial to implement on top of this pligin, the hard part is that it requires enough time and testing to do right)

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

scaryfast8750 commented 1 year ago

Agree with all...CameraUI is just too much stuff. And I bet we arent alone, which is why this project(CameraFFMPEG) is so popular.

@Dids @nkpm @steverae68 I am also available for testing.

scaryfast8750 commented 1 year ago

Anyone still willing to try to take this on and add to the code?

Scrypted works fine, but I miss the simplicity of CameraFFMPEG.

Sunoo commented 1 year ago

I guess I sorta owe everyone a bit of an update. This has been a very difficult year for many reasons. I know this is somewhat going to sound like a list of excuses, but it's the situation:

All that said - I am still around here. I've been attempting to answer issue tickets here where I can and make sure at minimum any security issues are patched in my various projects as promptly as possible. It's just been a long time since I've had the energy to do much personal coding beyond that for a while now (I hope things are settling down soon though, knock on wood).

A few people mentioned they were possibly looking into adding support for HKSV themselves. If someone else gets HKSV working with this code base, I'd be happy to accept a pull request, or possibly even add a contributor onto this project.

I'm deeply sorry that this highly anticipated feature has been so delayed, and I probably should have posted this update a while ago, but I keep hoping things will settle down and let me focus on this stuff more. Unfortunately that just hasn't happened yet.

evelant commented 1 year ago

Please don't apologize, you've donated a ton of your time and talent to build and share this excellent project with the community for free! I for one am very grateful for that, thank you 🙏. I hope things start looking up for you.

I don't have the time to hack on this right now, hopefully someone else can take up the torch until things get more stable for you.

jankais3r commented 1 year ago

Hi David,

Sorry to hear you've had a tough year. You don't owe us anything, and you certainly don't have to apologize when life gets in a way. Open source contribution in your free time should be about having fun, and that's not always possible due to external factors. Thank you for your work so far and good luck with your more pressing matters. Time to see if anyone else in the community can step up to the challenge :)

scaryfast8750 commented 1 year ago

 Dude. Takes courage to put it all out there like this so kudos to you and you should absolutely prioritize yourself and the things you care about in your life first. Not a bunch of us strangers using your free code!

You owe us nothing and we are all(at least me) for the time you do put in. Good luck with all the challenges and wish you the best.

On Aug 30, 2022, at 8:50 AM, David Maher @.***> wrote:  I guess I sorta owe everyone a bit of an update. This has been a very difficult year for many reasons. I know this is somewhat going to sound like a list of excuses, but it's the situation:

Near the start of the year, I had a pipe burst and do a lot of damage to my house (many of you will already be aware of this, but I'm including it anyways.) While reconstruction has finished, I'm still fighting with the insurance company over this claim. With the burst pipe, many of my IP cameras were destroyed. I do plan to replace them (and several other things), whenever the insurance is settled. Also near the start of the year, my small team at my day job had three people leave the company. This has drastically increased my workload there, and pushed me towards burning out a few times. Unfortunately, I need to prioritize my day job which pays my bills over personal work. About a month or so back my father was diagnosed with cancer. My cat has developed multiple health issues over the year, which has required a lot of care and semi-frequent vet visits. For reasons I will not go into publicly, I am currently starting to look for a new job. All that said - I am still around here. I've been attempting to answer issue tickets here where I can and make sure at minimum any security issues are patched in my various projects as promptly as possible. It's just been a long time since I've had the energy to do much personal coding beyond that for a while now (I hope things are settling down soon though, knock on wood).

A few people mentioned they were possibly looking into adding support for HKSV themselves. If someone else gets HKSV working with this code base, I'd be happy to accept a pull request, or possibly even add a contributor onto this project.

I'm deeply sorry that this highly anticipated feature has been so delayed, and I probably should have posted this update a while ago, but I keep hoping things will settle down and let me focus on this stuff more. Unfortunately that just hasn't happened yet.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.

jlg89 commented 1 year ago

First priority is household and family, you're doing the right things. If you've felt any pressure from this community to put this project before more important things, then it's we who owe you an apology. Hang in there, be there for your dad. This code will be here whenever you get back around to it.

steverae68 commented 1 year ago

Hey David, As I’ve said many times before, family and personal life always comes first.  It’s not like we don’t have alternatives to get HKSV and we will all happily use these until someone can pick up this project and push it forward.  I’m old and don’t have a clue where to even start with this as far a coding is concerned (I trained in COBOL and Basic in the 80’s - Showing my age here) - but I’m happy to test any beta builds with my setup if needed.Good luck David in your future and if you need to take time out and just chill on the toilet… che k out my iOS game - https://RaeEnterprises.UkThank you for all you time over these last few years and I echo everyone else’s comments in the community - take it easy Sent from my iPhoneOn 30 Aug 2022, at 15:03, jlg89 @.***> wrote: First priority is household and family, you're doing the right things. If you've felt any pressure from this community to put this project before more important things, then it's we who owe you an apology. Hang in there, be there for your dad. This code will be here whenever you get back around to it.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

jlg89 commented 1 year ago

FWIW, I'm still using homebridge-camera-ffmpeg where HSV, motion detection, etc. aren't needed (KISS principle), but I just installed Scrypted using the docker method on rPi, moved my August Doorbell Cam Pro from homebridge-camera-ffmpeg (using motion and mqtt for motion detection) to Scrypted, with all its built-in stuff. It works beautifully, full HSV support, a very well-put-together system.

David, I don't see much reason for you to worry about HSV support unless it's just a burr under your saddle. Personally, if you have any dev time, I'd prefer you spend it on creating a Scrypted plugin version of homebridge-dafang-mqtt-republish.

UPDATE: With some help from the Scrypted dev, I was able to create an MQTT device script that provides pan/tilt switches for a Dafang Hacks camera to HomeKit via Scrypted. The script can easily be expanded to include whatever other controls are desired (LEDs, motion detection, etc.). I now have my old Dafang-hacked WyzeCams working with HSV, with pan/tilt control, in Scrypted.

The script is posted at https://github.com/koush/scrypted/issues/423#issue-1445939355

derek-miller commented 1 year ago

Any update on this issue? Would be great to have this functionality in this driver without the need for Scrypted.

x23piracy commented 7 months ago

Hi,

i HSV still missing for this project? I just came along from a link which mentions camera ffmpeg has HSV support. Can someone clearify please?

Best Regards X23