fananimi / pyzk

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

ZKTeco Attendance (verified/access denied) display label control #125

Open htunhtun-lin opened 3 years ago

htunhtun-lin commented 3 years ago

I have my ZKTeco device connected to Raspberry PI. What I am doing is If an employee doing check out without check in in a single day, I would like to show access denied in display panel. Right now I can send voice of access denied. But the display panel still showing user verified which is kind of weird. Is there any way to have control over display label? :(

quochungngo commented 3 years ago

I have the same problem. My issue is about verifying a finger/face is valid or not in real-time. I use a model of ZKteco-MB20 on platform ZLM60-TFT. I have tried to use the event OnVerify by using Event-Mask = (1<<7) (for event EF-VERIFY) and Event-Mask = 0xffff (for all events). After that, I tried a valid finger and an invalid finger on my model ZKteco-MB20 to check if there is any message that the machine sends to my PC (I use wireshark to catch TCP/IP messages). But nothing happens. I read the TFT_SDK to check the description of OnVerify event and find that it is fit my context. I dont know why it does not work. Please give me some advice. Thank you very much.