Bug in DSC plugin?

Hi
I’m not a very skilled programmer, so this might very well be due to mistakes on my end. However, here’s my problem.

I have several wireless key users. No matter who arms/disarms the system (using the keyfob), the LastUser variable in the plugin will always be set to 0017 - even if it’s not that user who changed the alarm state. I think I have the keys properly set up in the alarm system, since I can see the correct user in the Envisalink event log.

All works OK when alarm is armed/disarmed via the keypad. The only issue is when keyfobs are used.

Any help would be appreciated.
Thanks.

Did you refresh the browser before looking at the variable …
Variables in the “Advanced Tab” are NOT dynamically updated.

Unfortunately not a browser refresh issue.

I’ve done some more extensive testing and found that the problem is with the Arm process only. When disarming with the keyfob it always works. When arming with the keyfob it never works. Strange…