Hi
I had followed steps as given at link for production mode.
I set the device to notify and destruct mode to false and cut the tab as suggested.
Once device is in production mode i tried to arm system using python code self destruct mode in
case of perimeter detection.
But i am getting this error when i try to set self destruct mode.
Traceback (most recent call last):
File “zykeytest.py”, line 3, in
zymkey.client.set_perimeter_event_actions(0, action_notify=False, action_self_destruct=True)
File “/usr/local/lib/python3.7/dist-packages/zymkey/module.py”, line 971, in set_perimeter_event_actions
raise AssertionError(‘bad return code %d’ % ret)
AssertionError: bad return code -1
My code for arm system is this.
import zymkey
zymkey.client.set_perimeter_event_actions(0, action_notify=False, action_self_destruct=True)
zymkey.client.set_perimeter_event_actions(1, action_notify=False, action_self_destruct=True)
Can you tell me what i am doing wrong ?
Naresh