Giter Club home page Giter Club logo

Comments (12)

wahib05 avatar wahib05 commented on July 27, 2024 1

for implementasion i just call:

$zk = new ZKLibrary('172.16.0.201', 4370);
$zk->connect();
$zk->getAttendance();
it this only need 1 second to get data in device

I dont call :
// $zk->disableDevice();
//$zk->clearAttendance();
//$zk->enableDevice();
//$zk->disconnect();
and other method,

may be device can be handle with that method so long time for execution,
regard

from zklibrary.

termers avatar termers commented on July 27, 2024 1

@wahib05 I have tried your solution and heck yea.. it is lightning fast... I only commented the disableDevice() & enableDevice() functions...

from zklibrary.

wahib05 avatar wahib05 commented on July 27, 2024

Ok, i got solution for this issue, thanks

from zklibrary.

kemboidickson avatar kemboidickson commented on July 27, 2024

@wahib05 what was your solution?

from zklibrary.

termers avatar termers commented on July 27, 2024

@wahib05 can u share us your solution? I'm also having this kind of long time execution of pulling data from the device

from zklibrary.

kamshory avatar kamshory commented on July 27, 2024
$zk->disableDevice(); 

only to prevent user check while application read attendance data and the check is not recorded. When $zk->disableDevice(); called, device will display text "Working..." so user can wait until the process done.

from zklibrary.

javidu avatar javidu commented on July 27, 2024

@wahib05 Hi. I have a zkt eco 40 device but I cant conect it yet. First I would like to know what device do you have. Second, do you implement the same sdk code without change it?.

Please help me :)

from zklibrary.

wombiro avatar wombiro commented on July 27, 2024

@wahib05 Hi. I have a zkt eco 40 device but I cant conect it yet. First I would like to know what device do you have. Second, do you implement the same sdk code without change it?.

Please help me :)

I have zkteco k40 and it's working very well with this clasd

from zklibrary.

Fajendagba-Joy avatar Fajendagba-Joy commented on July 27, 2024

@wombiro Please how did you connect it. I mean get the library working locally

from zklibrary.

zaid2255 avatar zaid2255 commented on July 27, 2024

I've zkteco fv18, in localhost it's working but when I test in the server this error is showing (Warning: socket_sendto(): Unable to write to socket [1]: Operation not permitted in /home/irydyuct/jccallcentre.com/emplogin/zk4/zklib/src/Connect.php on line 27) . How to solve this issue

from zklibrary.

shariqali91 avatar shariqali91 commented on July 27, 2024

@wahib05 Hi. I have a zkt eco 40 device but I cant conect it yet. First I would like to know what device do you have. Second, do you implement the same sdk code without change it?.
Please help me :)

I have zkteco k40 and it's working very well with this clasd

I have zkteco k40 but its not working. i have copy this code but not working. ping pong recevied from device. but not working

from zklibrary.

Ehtasham-CEF avatar Ehtasham-CEF commented on July 27, 2024

I've zkteco fv18, in localhost it's working but when I test in the server this error is showing (Warning: socket_sendto(): Unable to write to socket [1]: Operation not permitted in /home/irydyuct/jccallcentre.com/emplogin/zk4/zklib/src/Connect.php on line 27) . How to solve this issue

SAME issue, i think this lib does not work while accessing externally

from zklibrary.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.