raihanafroz / zkteco

ZKTeco Laravel Library
151 stars 57 forks source link

Empty Attendance Record #20

Closed JeffGepiga closed 1 year ago

JeffGepiga commented 1 year ago

image

Im getting this result, any ideas?

JeffGepiga commented 1 year ago

anyone encountered this? our Biometric Device has 70k records, and half of the records were like this, and when I generate it using USB, it shows the correct data, I think the issue is transforming or fetching data from the biometric to php array

Duddy-Satrianugraha commented 1 year ago

i use:

if($zk->connect() ){
  $data = $zk->getAttendance(); 
$zk->disconnect();   
} 

then

var_dump($data);
die();

if still empty chek machine version

JeffGepiga commented 1 year ago

i use:

if($zk->connect() ){
  $data = $zk->getAttendance(); 
$zk->disconnect();   
} 

then

var_dump($data);
die();

if still empty chek machine version

Hi, yes I can connect and disconnect with the device, and upon exploring for a couple of days and did some testing, I think this is OS bug with the device because we cannot also clear it from the device itself, what we did is we created a backup of the fingerprint and employee data and execute a factory reset and restored the backup.