Camera support for HomeKit component

Thank you! This is awesome.

@cdce8p Your contribution is amazing - thank you so much for your hard work, long hours, and effort. What you provided with your most recent updates works flawlessly - I can only imagine what this took to accomplish. Someone will pick up this integration and move it forward. I’ll dabble a bit and see if I can contribute in any way. No cameras…? Meh… This is still one of the best and cleanest integrations available for HA. Kudos to you @cdce8p

3 Likes

So, gave up waiting for hassio homekit camera support and yesterday set homebridge docker from here:

Executed with

-e PACKAGES=ffmpeg

added a sample camera config and vuala, all my cameras available in all my home apps across all ios devices (iphones, ipads, apple watch - that one I was really surprised) streaming live.

All together took not more than 10 minutes.

2 Likes

For what it’s worth, I would also love to see Camera HomeKit support in Home Assistant!

1 Like

Hi Guys, tired of waiting but have a few ?

-Using homebridge, is it possible to get notifications I home app with movement detection?
-Even if we get a working camera support in HomeKit component, will it be possible to use iCloud storage för recordings etc?
-What specs does the camera need? I guess most will work but something to have in mind when buying?

Thanks in advance!

1 Like
  1. No not possible to get notifications

  2. No only for cameras apple supports

  3. If you can get the camera into home assistant with rtsp, it will work :slight_smile:

it is possible to get notification on motion detected with homebridge. check in wiki and look for motion:

motion enable a dummy switch and motion sensor to trigger picture notifications in iOS 13, defaults to false . See wiki for more detailed instructions.

1 Like

Ah sorry, hadn’t noticed that!

I don’t suppose anyone would be able to point me in the right direction for getting my 4 RTSP camera (hikvision) streams working in Homekit/Homebridge? I just got them working again on this new lovelace version of hassio using:

camera:
  - platform: generic
    name: Drive
    still_image_url: "http://<ip>/ISAPI/Streaming/channels/101/picture"
    stream_source: "rtsp://<un>:<pw>@<ip>/Streaming/Channels/102"
    username: "<un>"
    password: "<pw>"
    authentication: digest

camera 2:
  - platform: generic
    name: Garden
    still_image_url: "http://<ip>/ISAPI/Streaming/channels/101/picture"
    stream_source: "rtsp://<un>:<pw>@<ip>/Streaming/Channels/102"
    username: "<un>"
    password: "<pw>"
    authentication: digest

I can see lots of folks about posting about how they’ve dedicated a pi just for hombridge for the video streams. Is there any good beginner friendly guides on how to do this?

Desired outcome: Expose 4 RTSP video streams to homekit - via Home assistant.

@Iain_Attenborough

You cannot use HA to expose them to HomeKit. That’s the point in this thread. It’s people hoping support is added one day.

It’s a 2 step process.

  1. You use your above method to expose them to HA to see your cameras in HA only
  2. You setup a Homebridge server and configure cameras via HB to expose into HoneKit.

Happy New Years

1 Like

What plugin is best for homebridge to get RTSP cameras streaming to HomeKit? Would it be https://github.com/KhaosT/homebridge-camera-ffmpeg but was hoping for something to take the raw RTSP stream and not need ffmpeg as a dependency?

EDIT: All good, needed to add -e PACKAGE ffmpeg to the docker container and all worked.

Hey y’all, I’ve added camera support to the Home Assistant HomeKit integration and could use some feedback/testing. Here’s the PR and the docs. Let me know if you have any questions.

10 Likes

First, @xdissent, it’s SO AWESOME that you’ve done this - thank you! Second, I’m not sure exactly how to go about installing/testing…do I need to be on beta to test? I’m currently on 0.106.2.

I’m not sure how you installed home assistant, but the idea is to run my fork rather than your current version. It’s based on the latest dev branch so I can’t speak to the general stability or what it might do to an existing install. If you installed with pip, then according to the docs this command should get you there: pip3 install --upgrade git+git://github.com/xdissent/home-assistant.git@homekit-camera

Ok gotcha - I installed via Hass.IO (now Home Assistant), so I’m not quite sure how into install a different branch using that method. Regardless I’m super exited for this functionality when it’s released - thanks for doing it!

This is great! It would also be very convenient if you could implement an optional dummy switch + motion sensor as part of the camera. iOS 13 ended the ability to send photo notifications when a sensor is in the same room as a camera. To get the snapshot the sensor has now to be part of the camera. With the dummy switch+sensor, we can use a real sensor to trigger the dummy switch (which turns on and quickly off the dummy motion sensor), so we can get the notification snapshot. Thanks!

More info here.

Thank you for this, man. Very appreciated!!! :smiley::smiley: Not sure how to test it but I want to help with that!

It’s awesome. I am also on hassio. Can’t wait to get released and try :grin:

GREAT !

i hope it will be available in release

1 Like

So excited for this!!! Thanks for your work on this @xdissent, @Jc2k + team.