I am working on a security system plugin called AlarmDecoder Bridge (yet another version of Ad2USB) and I'd like to make it work with HLKS. I have modeled the API after the VSS plugin, but making it work requires that HLKS recognize my plugin id. I therefore request that you add the following minor changes to the current HKLS GitHub version 0.5.16:
1. Add "net.papamac.indigoplugin.alarmdecoder-bridge" to the tuple of pluginId's in plugin.py line 2984 (method detectHomeKitType).
.
2. Add "net.papamac.indigoplugin.alarmdecoder-bridge" to the if condition in HKSecuritySystem.py line 101 (method __init__). Consider replacing with the following line:
- Code: Select all
if self.plugin_inuse in ("com.boisypitre.vss", "net.papamac.indigoplugin.alarmdecoder-bridge"):
3. Add "net.papamac.indigoplugin.alarmdecoder-bridge" to the if condition in HKSecuritySystem.py line 151 (method set_security). Consider replacing with the following line:
- Code: Select all
if self.plugin_inuse in ("com.boisypitre.vss", "net.papamac.indigoplugin.alarmdecoder-bridge"):
4. Add "net.papamac.indigoplugin.alarmdecoder-bridge" to the tuple of pluginIsds in HKSecuritySystem.py line 215 (method get_security).
I have implemented these changes in my home version of HKLS and they work fine. There is no hurry for you to implement them as I will not be releasing AlarmDecoder Bridge for several months. I just want to get the changes in your to do queue
BTW, there were no replies to my January 27th post about using SecuritySpy cameras with HKLS. Have you looked at this? Am I missing something?
Thanks for your help.
David