Page 1 of 1

Support for motion sensors added to homebridge-indigo

PostPosted: Sat Jan 07, 2017 4:16 pm
by blysik
https://github.com/webdeck/homebridge-indigo/pull/15

Was just accepted to homebridge-indigo. This adds motion sensor support. I think homebridge buddy will need some changes for this? I'm excited for the possibility of wrapper devices supporting motion sensors also!

Re: Support for motion sensors added to homebridge-indigo

PostPosted: Sun Jan 08, 2017 7:54 am
by Colorado4Wheeler
Yea, I just saw this request fulfilled last night, it's already on my list :).

Re: Support for motion sensors added to homebridge-indigo

PostPosted: Sun Jan 08, 2017 8:14 am
by Colorado4Wheeler
Added and tested, looks good :). I need to squash an unrelated bug or two and I'll release an update hopefully today.

Re: Support for motion sensors added to homebridge-indigo

PostPosted: Tue Jan 10, 2017 11:11 am
by blysik
I'm trying to use a wrapper, to make my hikvision alerts device look like a motion sensor. The flow of creating a wrapper doesn't seem to mesh with a motion sensor. ie, it wants me to define an action for on/off. In the motion sensor, I really just want it to match on/off with a state of another device.

Can you explain how I should be doing this? Maybe there's some requirement I'm missing also. (Like my device has to have by default an on/off state, and the wrapper will just mirror it.)

Re: Support for motion sensors added to homebridge-indigo

PostPosted: Tue Jan 10, 2017 12:58 pm
by FlyingDiver
blysik wrote:
I'm trying to use a wrapper, to make my hikvision alerts device look like a motion sensor. The flow of creating a wrapper doesn't seem to mesh with a motion sensor. ie, it wants me to define an action for on/off. In the motion sensor, I really just want it to match on/off with a state of another device.

Can you explain how I should be doing this? Maybe there's some requirement I'm missing also. (Like my device has to have by default an on/off state, and the wrapper will just mirror it.)


Use my Masquerade plugin. Should be trivial. viewtopic.php?f=216&t=17402

Re: Support for motion sensors added to homebridge-indigo

PostPosted: Tue Jan 10, 2017 2:41 pm
by Colorado4Wheeler
On / Off equates to Triggered / Not Triggered. If you want it to match the on / off state then you just select those states because, behind the scenes, both On / Off and Triggered / Not Triggered are the same boolean true/false value.

Re: Support for motion sensors added to homebridge-indigo

PostPosted: Tue Jan 10, 2017 3:01 pm
by blysik
Using the Masquerade plugin I was able to make it work, thanks! I now have a motion sensor showing up in the Home app.

However, it doesn't seem to trigger in Home, even if my Masquerade device triggers. I have the motion sensor, and a camera in the same room. I have the motion sensor enabled to send notifications. I then triggered it. (I know I triggered it because I have an Indigo trigger on the hikvision device.) I can see that the Masquerade device turns on. Unfortunately, I don't get a notification from the Home app. I was expecting a rich nofication from it.

Anyone get this working?

Re: Support for motion sensors added to homebridge-indigo

PostPosted: Tue Jan 10, 2017 4:08 pm
by Colorado4Wheeler
I have all my sensors working and do NOT get rich notifications of motion detected, only the icon in the Home app will change to indicate movement.

blysik wrote:
Using the Masquerade plugin I was able to make it work


I won't worry about the wrappers anymore if there's a plugin working better for people.

Re: Support for motion sensors added to homebridge-indigo

PostPosted: Tue Jan 10, 2017 4:19 pm
by blysik
Aha! So if I closed and reopened the Home app, I then got a proper notification WITH camera image and link to camera when I touched it. So it seems related to homebridge not actively telling HomeKit status, unless queried.


Sent from my iPhone using Tapatalk

Re: Support for motion sensors added to homebridge-indigo

PostPosted: Wed Mar 07, 2018 5:49 pm
by 7rdr7
Having the same issue as "Blysik" below. Did anyone figure out how to propogate the Indigo/Masquerade motion sensor status thru homebridge-indigo to the Home app?

"Using the Masquerade plugin I was able to make it work, thanks! I now have a motion sensor showing up in the Home app.

However, it doesn't seem to trigger in Home, even if my Masquerade device triggers......

Anyone get this working?"

Re: Support for motion sensors added to homebridge-indigo

PostPosted: Wed Mar 07, 2018 6:09 pm
by Colorado4Wheeler
It works under the replacement for HBB called HomeKit Bridge, which should be opening to public beta soon. If you can hold off on this particular need for just slightly longer then I think your questions will be answered in the new version.

Re: Support for motion sensors added to homebridge-indigo

PostPosted: Wed Mar 07, 2018 6:20 pm
by 7rdr7
Thanks! Look forward to seeing Homekit Bridge!