Updated the test and tested with local ztk

This commit is contained in:
2021-03-26 21:43:24 +07:00
parent 392910d3df
commit f72e2e9952
7 changed files with 20 additions and 8 deletions

View File

@@ -8,9 +8,8 @@ sys.path.append(ROOT_DIR)
from zk import ZK
conn = None
zk = ZK('192.168.2.201', port=4370)
zk = ZK('192.168.0.240', port=4370, password="123")
try:
conn = zk.connect()
print ("-- Device Information --")

View File

@@ -10,7 +10,7 @@ from zk import ZK, const
conn = None
zk = ZK('192.168.2.201', port=4370)
zk = ZK('192.168.0.240', port=4370, password="123")
try:
conn = zk.connect()
print ('Disabling device ...')

View File

@@ -10,7 +10,7 @@ from zk import ZK
conn = None
zk = ZK('192.168.2.201', port=4370)
zk = ZK('192.168.0.240', port=4370, password="123")
try:
conn = zk.connect()
for attendance in conn.live_capture():

View File

@@ -11,7 +11,7 @@ from zk import ZK
conn = None
zk = ZK('192.168.2.201', port=4370)
zk = ZK('192.168.0.240', port=4370, password="123")
try:
conn = zk.connect()
for i in range(0, 55):