dnaextrim / python_zklib

Attendance Machine Libraries for python with a connection to the network using the UDP protocol and port 4370
GNU General Public License v2.0
78 stars 122 forks source link

getAttendance function always not return the latest record #8

Open fananimi opened 8 years ago

fananimi commented 8 years ago

Hei mas @dnaextrim ,

I was tried to collect attendance data by calling getAttendance function, but there is a problem, it always not return the latest record.

the following are my collected records:

Get Attendance:
('3', 1, datetime.datetime(2016, 5, 22, 10, 56, 49))
('4', 1, datetime.datetime(2016, 5, 22, 10, 56, 55))
('5', 1, datetime.datetime(2016, 5, 22, 10, 57, 16))

and the real expected record is like the following screenshot. https://drive.google.com/file/d/0BwZFc2C6ABy6eGxJZDVpUEtSbXM/view?usp=sharing

ienasaj commented 8 years ago

Hello, happened same to me, the last record from device not received, i using iface202.

fananimi commented 8 years ago

hi @ienasaj I was fixed on my new own library pyzk .

fedexin40 commented 8 years ago

@fananimi I have proved your library and it's worked perfectly thanks

AgusSussanto commented 6 years ago

@fananimi I am not sure for pyzk library can work in odoo 11 enterprise where is the odoo 11 using python 3, but I'll try pyzk library