taligentx / dscKeybusInterface

An Arduino/esp8266/esp32 library to directly interface with DSC security systems.
GNU General Public License v3.0
496 stars 125 forks source link

Night mode of multiple partitions #272

Closed realthk closed 2 years ago

realthk commented 2 years ago

I'm using this great project for about 2 years now with Home Assistant (MQTT), thanks!

Recently I re-configured my DSC 1864 to have 2 partitions: the first for the house with many zones, and the second only for the gate zone, as to be able to arm these separately.

For the night I use no-entry mode (1N and 2N commands) which works fine, with a strange restriction: partition 1 cannot be armed in night mode while partition 2 is still in pending state of the exit delay! Partition 1 message is stuck at "Enter access code", as if it is waiting for the code... (which is specified in HomeAssistant-MQTT.ino I used, but also given as code: parameter of alarm_control_panel.alarm_arm_night service calls of Home Assistant)

Oddly enough no problem if

It's only the no-entry night mode of P1 that cannot be armed while P2 is still pending.

Obviously not a huge problem, and I'm not even sure if this is an issue with dscKeybusinterface at all, or just a peculiarity of DSC systems, but it would be nice to know the reason.

taligentx commented 2 years ago

Hi @realthk - Thanks for the detailed info! I was able to replicate this issue and confirmed it's an issue in the library, fixed in the develop branch. Let me know if this resolves the issue for you, thanks!

-Nikhil

realthk commented 2 years ago

Thanks Nikhil, I'll try at the weekend!

realthk commented 2 years ago

Thanks, it works now fine, no restrictions on arming in "no entry" modes!

taligentx commented 2 years ago

Great to hear, thanks for the update!