node-alarm-dot-com / homebridge-node-alarm-dot-com

Alarm.com plugin for Homebridge using Node.js
MIT License
58 stars 23 forks source link

Motion sensor and glass break inverted #97

Closed cbusillo closed 8 months ago

cbusillo commented 2 years ago

Hi, my motion and glass break sensors are inverted in HB and HK. Both show as activated with no motion or glass break. Is there a way to invert the sensor, or is there a bug in my setup? I have everything fully updated. What information should I provide to help figure this out? Thank you!

ngori commented 2 years ago

@cbusillo I'm by no means an expert but this sounds like a setup bug. I believe both sensors types are normally setup as NC at the panel and then fault when opened (That is is how my setup works at least which is pretty vanilla). My setup is a Qolsys IQ setup and that is the default setup when you enroll devices.

cbusillo commented 2 years ago

My glass break in Home Bridge shows open. The motion detector occupancy detected shows 0 when I am in the building and 1 when I am away. I can't think of anythinng I have changed that would do this.

dppeak commented 2 years ago

@cbusillo & @ngori This is not a set up issue for the Glass Break sensors. This is the way that Glass Break sensors report from Alarm.com. I mentioned this here that they remain Open until disrupted. It would be nice if this plugin was updated to account for this quirk.

cbusillo commented 2 years ago

@cbusillo & @ngori This is not a set up issue for the Glass Break sensors. This is the way that Glass Break sensors report from Alarm.com. I mentioned this here that they remain Open until disrupted. It would be nice if this plugin was updated to account for this quirk.

Thank you. I did not notice the other issue. I tried to invert the code, but I’m not sure I did it right in the environment. If its a common thing it would be nice to have a setting to invert specific sensors.

chase9 commented 8 months ago

Hi all, glass break and heat sensor inversion should be fixed in 83e8d44. I'm not seeing motion sensors inverted on my side. Can anyone still confirm this is happening with the latest version of the plugin?

cbusillo commented 8 months ago

No longer using alarm.com. Sorry!

chase9 commented 8 months ago

No problem, thanks for the follow up! I'll close this one.