Hi,
Been working on my take of the security system and have added more security to it with pin code.
The pin code is stored encrypted and cannot be changed without having access to the current pin code.
For this to work I've created a SecurityService plugin interface handling the pin code and validation.
You can also have different zones armed separately. intruder and fire alarm are their own types which can have diff zones. Each zone will be a virtual device.
Might add flooding later on if I need it.
If there are interest I can make it available.