mkhoudary / ZKTeco4J

A Java implementation to the ZKTeco attendance protocol
13 stars 3 forks source link

Only OnAttTransactionEx event works #1

Open raoufOnGithub opened 3 years ago

raoufOnGithub commented 3 years ago

First of all thank you for your work, I have been looking for a working code for months.

I am using an Access control Standalone Device from ZKTeco (MB-560) and I tried it with your code and the OnAttTransactionEx event works everytime I pass the card or enroll my finger (the user must be registered before to make it work). But it's the only event that is triggered. I am looking to detect when the user pass a card and print the Card No. (even if it's not registered), or when the user enroll his finger.

Thank you for your help in advance.

mkhoudary commented 3 years ago

Hey! thank you for contacting me.. The library is currently under development.. I will consider this while developing and get back to you.

mkhoudary commented 3 years ago

Hi,

I've completed the events binding part, I am testing on ZKTeco F-18, most of the events are working, unfortunately EV_FINGER and EV_VERIFY didn't work on F-18, this implementation speaks with the device directly on UDP.. so no JNI is involved. You can test the current code although it's still on the making to see if your device sends EV_FINGER and let me know.

mkhoudary commented 3 years ago

Hello,

I've been told that the FINGER and VERIFY events require a firmware update from ZKTeco itself, I am contacting them for the update and I will let you know.

raoufOnGithub commented 3 years ago

Hello,

I did some tests with my device: I have a MB560 that works with RFID cards, fingerprints and face recognition. Unfortunately, the program does not capture any event, but since the code worked with F-18 I suppose the problem is with my device, I will try to check about this one with ZKTeco. This is what I get when I run the program but nothing happens when I enroll my finger or pass a card, even though the data is already registered in the device.

image

I was also wondering if this code may work with InBio control panels connected to a RFID or fingerprint reader ?