Answered
G’day all
I’ve set up my new Pro panel to replace my Bosch Solution 16i with PIR sensors, strobe and siren, using Hoobs on a Raspberry Pi 4. Works great and I had a blast setting it all up. Excellent work on the plugin, @Mike.
Our Bosch setup had two keypads but we NEVER used them. We only ever armed and disarmed using RF keyfob remotes. A button press triggers a relay connected to a zone marked as a keyswitch to arm or disarm the alarm. The relay and remote device is sold as a gate/door opener and works the same way a garage door opener does, by momentarily opening.
Is it possible to get the same result with Konnected, either out of the box or via the HomeBridge/HOOBS plugin? All mentions of a keyswitch in the Konnected documentation seem to be about interfacing with a legacy system.
I’ve currently got it configured as a Contact Sensor and it displays as open on HomeKit momentarily when the button is pressed.
I can even arm the alarm by setting up an Automation in the Home app (when a sensor is triggered, arm the alarm).
But what I really want is to arm/disarm when pressed. But there doesn’t seem to be any support of conditionals in the Automation setup (eg when the contact opens, if the system is armed then disarm it, else arm it).
Am I going about this the wrong way?
I know that there are other ways to arm/disarm the system, but not everyone in the house has a phone, and the RF remotes are important for WAF.
I’d appreciate any suggestions or thoughts on how I could achieve the desired outcome!
Thanks!
I like that you lock and unlock your house with a keyfob like a car – that's cool!
So essentially you're saying you need a sensor to act like a momentary switch and retain its state.
As far as I know sensors only report their state based on the power running through them and don't have any sort of logical state built into the firmware. Likewise the Homebridge/HOOBSs plugin doesn't really have any concept of retaining state built in, only because I simply pass the sensor state directly through the plugin to the HomeKit API.
I could add logic for that, but I think there's a solution here that may already exist and that's by using Shortcuts.
(note: for this to work for everyone, you will most undoubtedly need a HomeKit hub like an AppleTV or HomePod)
This video has a pretty good working example that you probably can slightly modify to your scenario:
https://www.youtube.com/watch?v=ixc4GgRKUzw&t=41s
If you're having trouble setting up the shortcut I may be able to figure it out but I haven't tried it so I would be starting fresh like you.
Let me know if that helps.
Great news! Happy that helped.
I have used the Homebridge Dummy Switch plugin as well for certain automations to work around the security measures Apple enforces in HomeKit – it's really the only way at this time to do what you need to do.
What's interesting is if you use Apple CarPlay (wired or wireless) and have your phone's screen closed and locked, it displays an option to open the Garage when you approach your house and you tap it on your CarPlay screen and it doesn't require your passcode or faceID. I get that they assume your phone is with you, but if someone was following you and then they stole your phone and your car keys .. basically they have access to your house too.
I'm still confused on your full solution but for others it would be nice if you could break it out with bullet points to help understand the process for sure!
Regardless, happy to see you have some semblance of a solution.