fananimi / pyzk

Unofficial library of zkteco fingerprint attendance machine
GNU General Public License v2.0
489 stars 319 forks source link

how to identify #212

Closed zamanwebhunters closed 3 months ago

zamanwebhunters commented 3 months ago

on get conn.live_capture(): i am geting : 3 : 2024-05-16 19:25:24 (1, 0)

: 3 : 2024-05-16 19:25:33 (1, 1) : 3 : 2024-05-16 19:25:43 (1, 4) : 3 : 2024-05-16 19:25:50 (1, 5) how i can identify this ewhich is check in/out breakin/out
kurenai-ryu commented 3 months ago

you can see those numbers on parenthesis (1, 4) ? ?

you need to interpret those numbers..

the attendance object has a .status and a .punch properties for those values (.status, .punch) I couldn't get the exact interpretation of those values so it's up to you

duong77476-viindoo commented 3 months ago

zamanwebhunters

Im guessing (1, 0) is Check in, (1, 1) is Check out (1, 4) is Overtime In and (1, 5) is Overtime Out