Possibility to make SecuritySpy HomeKit compatible?
I know HomeKit is just starting to come to some acceptable level of maturity, but was curious if anyone knows if Apple has talked about any future capability for Mac software (I'm of course thinking specifically of SecuritySpy) to become any kind of official provider for HomeKit. I haven't heard anything like that yet myself, but it could open some possibilities.
Minus that, does anyone know of any good way to use HomeBridge with SecuritySpy in any manner? Or might Ben at some point consider making a HomeBridge plugin?
Ultimately, I'd love to expose the cameras motion sensors to HomeKit so I could use those as triggers to do other things (i.e. something triggers the motion detector in the backyard at night, turn on the outdoor lights for 10 minutes). I have a ton of HomeKit lights and other things so I've already invested a lot in HomeKit and at this point am only interested in trying to somehow bridge HomeKit and SecuritySpy rather than switch to another ecosystem.
Thanks for any pointers, particularly with HomeBridge. I've seen there are different plugins for HomeBridge for several camera manufacturers but I own 3 brands of IP cameras and they do not all have HomeBridge plugins. So I think the best bet would probably be to "bridge" SecuritySpy itself so that I can utilize the feeds and (maybe/hopefully) the motion detection for HomeKit use.
Minus that, does anyone know of any good way to use HomeBridge with SecuritySpy in any manner? Or might Ben at some point consider making a HomeBridge plugin?
Ultimately, I'd love to expose the cameras motion sensors to HomeKit so I could use those as triggers to do other things (i.e. something triggers the motion detector in the backyard at night, turn on the outdoor lights for 10 minutes). I have a ton of HomeKit lights and other things so I've already invested a lot in HomeKit and at this point am only interested in trying to somehow bridge HomeKit and SecuritySpy rather than switch to another ecosystem.
Thanks for any pointers, particularly with HomeBridge. I've seen there are different plugins for HomeBridge for several camera manufacturers but I own 3 brands of IP cameras and they do not all have HomeBridge plugins. So I think the best bet would probably be to "bridge" SecuritySpy itself so that I can utilize the feeds and (maybe/hopefully) the motion detection for HomeKit use.
Comments
http://nodered.org
I personally mostly rely on schedules, and turning the Actions on/off for the unusual days when someone is home (or turning it on when we are out in a time when we are normally home) - variety of people in a given week (in my case makes) it harder to automate fully.
Unfortunately Apple are really slow in bringing HomeKit to the Mac (i.e. they haven't!). While Homebridge is pretty neat, its essentially a hack which Apple could shut down at any time. As such I can't see it ever being officially supported in commercial software. I'd assume Ben is watching HomeKit very closely, but until Apple offer something official there's nothing that can be done.
Things that could be done now - The iPhone Security Spy app could implement geofencing just for SS. The other easy option is to have an SS Action which turns on a Hue light through the Hue interface (very easy), and then have HomeKit do something when that bulb turns on. Similar you can check the status of a Hue bulb, and use that to control SS using Apple Script..
Nonetheless, does anyone know if HomeBridge has support for HomeKit security cameras?
What I mean is that HomeKit was updated last year to support the D-Link Omna 180 IP Camera. That is the first (and possibly still only) IP camera that officially supported by HomeKit.
So Apple has added some limited capability in HomeKit for a video stream and some ways to control it. Possibly also some limited support for motion sensor triggering.
Just wondering if HomeBridge links into this directly to allow other IP Cameras to mimic the D-Link and appear as fully native IP Camera to HomeKit?
Of course, with WWDC 2017 only a week away, I hope we seem some HomeKit enhancements tucked in amongst the higher value changes Apple will be introducing.
https://github.com/Colorado4Wheeler/HomeKit-Bridge
SecuritySpy seems like the ideal interface for camera-ffmpeg because you should be able to get almost anything working without having to do any heavy lifting.
Anyone able to help?
So the process for me was; install Homebrew, install ffmpeg (the full platform) using homebrew, then install the ffmpeg Homebridge plugin (https://github.com/KhaosT/homebridge-camera-ffmpeg).
And this is the Homebridge config that's working for me (using Mac Mini and iPhone 6s and iPhone X)...
{
"platform": "Camera-ffmpeg",
"cameras": [
{
"name": "CameraName",
"videoConfig": {
"source": "-re -i http://<<username:password>>@<<address>>/++video?cameraNum=0",
"stillImageSource": "-i http://<<username:password>>@<<address>>/++image?cameraNum=0",
"maxStreams": 1,
"maxWidth": 1920,
"maxHeight": 1080,
"maxFPS": 25
}
}
Used the same config as @ifunlisted as well, with the only difference that I put a colon and the port number after the address and changed the cameraNum to 1 to correspond to my actual camera number as so...
"source": "-re -i http://username:password@address.viewcam.me:8080/++video?cameraNum=1",
"stillImageSource": "-i http://username:password@address.viewcam.me:8080/++image?cameraNum=1",
Ran Homebridge and added Homebridge to HomeKit. It runs but no cameras are showing up. Here is the output when I run Homebridge
Loaded config.json with 0 accessories and 0 platforms.
Warning: skipping plugin found at '/usr/local/lib/node_modules/homebridge-camera-ffmpeg' since we already loaded the same plugin from '/Users/MYUSER/.nvm/versions/node/v10.12.0/lib/node_modules/homebridge-camera-ffmpeg'.
Loaded plugin: homebridge-camera-ffmpeg
Registering platform 'homebridge-camera-ffmpeg.Camera-ffmpeg'
---
Loaded plugin: homebridge-foscam
Registering accessory 'homebridge-foscam.Foscam'
---
Loaded plugin: homebridge-nest
Registering platform 'homebridge-nest.Nest'
---
Load homebridge-camera-ffmpeg.Camera-ffmpeg
Setup Payload:
X-HM://0023ISYWY5GC2
Questions (to @ifunlisted or anyone else here who has this working)...
1) Aside from getting the right software installed and the right configuration, is there any other step to "add" the cameras (as a new accessory in HomeKit/Home app)?
2) If no, then any idea about why my config doesn't seem to work (again, using @ifunlisted's config with only the mods above to the 'source').
Thanks
I'm confident that I have the regular ffmpeg package installed + the homebridge-camera-ffmpeg plugin as well (I have a couple other Homebridge plugins already running so some what familiar with it all already).
I think it's the data in JSON for my SecuritySpy cameras that is no good... The example that @ifunlisted write out above is different from what @Thickey wrote out over on GitHub: https://github.com/KhaosT/homebridge-camera-ffmpeg/wiki/Tested-Configurations#securityspy-for-macos
Unfortunately for me neither ways of formatting my JSON do the trick (nor do any of the other variants I've tried). Any chance you @startak11 (or any other members who have this working) could post the relevant part of their working JSON for me to reference while I try to figure this out?
There are a lot more video devices popping up with HomeKit support that increase my enthusiam.
However, there are two significant problems:
1. HomeKit apps can't be distributed directly to users; Apple has mandated that they have to go through the Mac App Store. This is inconvenient, as we wouldn't be able to bundle this add-on in SecuritySpy itself; it would have to be a separate download via the App Store. This is suboptimal, but not a deal-breaker.
2. Presumably, Apple have a good reason for preventing macOS apps access to HomeKit. So, they may reject an app that provides a bridge between HomeKit and macOS from being allowed in the App Store.
It's not clear whether they would in fact reject such an app - the App Store guidelines don't specifically prohibit this. But we would want to find out for sure before spending significant work on this project, so I'm trying to find this out from Apple.