Hi everybody,
I’m working on a “roll-your-own” Arduino-based alarm system for a new construction project. Currently I’m monitoring a magnetic door sensor and this works fine. The Arduino uses an ethernet shield and uses UDP to broadcast the state of the door (open/close) as it happens. I also have a 12V siren that I can turn on and off using a simple HTTP GET with a parameter (e.g. http://192.168.0.30?s=1 to turn on the siren, and http://192.168.0.30?s=0 to turn it off).
On my Mac, I’m running Indigo and wrote a Python-based plug-in to read the UDP broadcast packet and a simple web server to handle the siren. I added a device for the door and the siren, and both show up fine and work great..
I also added the door state into HomeKit Bridge as a "Door" and it also shows up fine in the Home app.
Now, I want to take this to the next level. I want HomeKit Bridge to see these two devices as part of a security system.
I see the option in the HomeKit Bridge dialog to set a device as type "Security System" but it's unclear to me how this maps to an Indigo device. Is there some guidance I can get on how to do this?