Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Homekit Secure Video #338

Open
TechRemarker opened this issue Aug 12, 2019 · 144 comments
Open

Homekit Secure Video #338

TechRemarker opened this issue Aug 12, 2019 · 144 comments

Comments

@TechRemarker
Copy link

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?

@IRONROCK20
Copy link

+1 It could be really cool!

@netRunner0
Copy link

News?
@KhaosT 😉

@IRONROCK20
Copy link

Yeah!!! That could be fantastic!

@saschawerner
Copy link

From the screenshots so far, it requires a certified device.

@peros550
Copy link

peros550 commented Oct 4, 2019

Any news on this hot topic ?

@Velkas
Copy link

Velkas commented Oct 12, 2019

Count me in for interest on this.

@iRayanKhan
Copy link

Ok so here's my theory for why this isn't going toe implemented soon.
When you submit feedback for HomeKit in the feedback app (beta OS testers), it asks if you are in the HomeKit Beta Program for either TV's or one other thing. So far HomeKit Secure Video is not an option, but it has always been updated as soon as a new HomeKit feature has been announced/Ready to Test. Routers aren't on there either so I guess it may be a while for it to be open. Maybe it will be limited to first party HomeKit accessories due to the "HomeKit Chip" to make it secure. Just a theory, but corrected me if I'm wrong or have any other plausible theories.

@ageorgios
Copy link

iOS 13.2 is released with HomeKit Secure Video feature

@petergeneric
Copy link

The latest HAP (Non-Commercial) documentation (R2) still has no reference to HomeKit Secure Video

@netRunner0
Copy link

netRunner0 commented Oct 29, 2019

By the way, I found there the on / off characteristics of the night mode for the camera. Is it possible to add, in the form of transmission via mqtt/http?

@roysbike
Copy link

roysbike commented Nov 4, 2019

+1

@roysbike
Copy link

roysbike commented Nov 4, 2019

The latest HAP (Non-Commercial) documentation (R2) still has no reference to HomeKit Secure Video
HAP-Specification-Non-Commercial-Version.pdf

@mihailescu2m
Copy link

logitech circle 2 updated with secure video support

@iuliusmaximilian
Copy link

+1

@mikesalz
Copy link

Following...

@netRunner0
Copy link

Hap nodejs updated and now supports…
When to wait for support here?)

@jankais3r
Copy link

Hap nodejs updated and now supports…
When to wait for support here?)

HAP does not support Secure Video yet. See here.

@Vannixxo
Copy link

Following this

@iRayanKhan
Copy link

I had a theory that only 1st party HomeKit accessories (verified and certified ones) would only be getting support for HomeKit secure video, due to the HomeKit chip, (I don't know if all the cameras have the chip). But, Hap does seem to have added HKSV characteristics, but not the full back end or logic of it. I suggested in homebridge-video-doorbell to use the HomeKit accessory Simulator in the latest version of Xcode to see if the simulator could provide any tips.

@mihailescu2m
Copy link

good news!
https://github.com/KhaosT/HAP-NodeJS/issues/741#issuecomment-573441082

@iRayanKhan
Copy link

Thank you for that link!

@mikeavdeev
Copy link

So what does it mean for this plugin and for us?

@iRayanKhan
Copy link

@mikeavdeev That HomeKit Secure Video may be coming to this plugin, and we can view the past and notifications and get motion detection. Search up HomeKit Secure Video demo on YouTube or something and that's what we'd get.

@Vannixxo
Copy link

This is going to be amazing... we could get full functionality without the use of other workarounds for notifications etc., can't wait!

@edwardbattistini
Copy link

This is really exciting.

@TheRealGreatOldOne
Copy link

Is this definitely an upcoming enhancement? If so, is there an eta as to when we’re likely to see it?

@netRunner0
Copy link

It's time ...

@Vannixxo
Copy link

It's time ...

What?

@BBaoVanC
Copy link

It's time ...

What?

https://github.com/homebridge/homebridge/releases/tag/1.0.1

Added new services and characteristics for:

  • HomeKit Routers (WiFiRouter and WiFiSatellite services)
  • HomeKit Secure Video (CameraOperatingMode and CameraEventRecordingManagement services)

@sergoo-lbt
Copy link

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

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

@albinmedoc
Copy link

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

@albinmedoc
Copy link

We have this example to get started with.

I will give it a try.

@steverae68
Copy link

steverae68 commented Jul 24, 2022 via email

@scaryfast8750
Copy link

@Sunoo any updates on HKSV support?

@steverae68
Copy link

steverae68 commented Aug 12, 2022 via email

@Dids
Copy link

Dids commented Aug 12, 2022

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
Copy link

nkpm commented Aug 12, 2022

@Dids I'm available for testing/qa.

@nanosonde
Copy link

nanosonde commented Aug 12, 2022

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 #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
Copy link

steverae68 commented Aug 12, 2022 via email

@scaryfast8750
Copy link

scaryfast8750 commented Aug 12, 2022

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
Copy link

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
Copy link
Collaborator

Sunoo commented Aug 30, 2022

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.

@evelant
Copy link

evelant commented Aug 30, 2022

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
Copy link

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
Copy link

scaryfast8750 commented Aug 30, 2022 via email

@jlg89
Copy link

jlg89 commented Aug 30, 2022

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
Copy link

steverae68 commented Aug 31, 2022 via email

@jlg89
Copy link

jlg89 commented Nov 10, 2022

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 koush/scrypted#423 (comment)

@derek-miller
Copy link

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

@x23piracy
Copy link

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

@350d
Copy link

350d commented Oct 23, 2024

Just a yearly reminder about HKSV status here. The only missed feature here on this project so far. Hope you doing well these days @Sunoo

@slyoldfox
Copy link

Just a yearly reminder about HKSV status here. The only missed feature here on this project so far. Hope you doing well these days @Sunoo

I subscribed here because I wanted to implement HKSV on my (rooted) Bticino doorbell, so I was looking for a HSKV implementation at that time.

I am unsure what is lacking from the Homebridge side (I use HA mainly with my now Bticino HKSV compliant doorbell).
It wasn't that hard to implement and I think most of the code I copy/pasted from this project.

If anyone can point out what is lacking, I don't mind having a look (but if it's UI stuff .. that's not my thing).

@Sunoo
Copy link
Collaborator

Sunoo commented Oct 25, 2024

Just a yearly reminder about HKSV status here. The only missed feature here on this project so far. Hope you doing well these days @Sunoo

I’ve continued being very busy, unfortunately. I have, however, transferred ownership of this repository over to the Homebridge organization. I’m sticking around, but I’m hoping some of them can provide some of the time I haven’t been able to lately.

@donavanbecker
Copy link
Contributor

If anyone is interested. We have HKSV published to the alpha tag.

if anyone would like to help implement this support, and improve what sunoo has already implemented. Please open a PR.

@350d
Copy link

350d commented Oct 28, 2024

Just in case - old HKSV PR available here

@donavanbecker
Copy link
Contributor

@350d that is what is merged into alpha

@steverae68
Copy link

steverae68 commented Nov 3, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests