vodvud / php_zklib

GNU General Public License v2.0
23 stars 19 forks source link

Real-time events #27

Open johnebarita opened 4 years ago

johnebarita commented 4 years ago

Hi,

I had read some documents https://github.com/vodvud/php_zklib/blob/master/zklib/docs/ZK_Communication_protocol_manual_CMD.pdf on the repo.

It mentions something like a real-time event, where it triggers a function and has something in return. see CMD_REG_EVENT and EF_VERIFY.

Because I want to have the attendance collected every time there is an activity on the biometric device.

Example.

When a person check-in, that data will automatically be retrieved and then be stored in the database without using cron jobs.

thanks.

vodvud commented 4 years ago

Yes, sure. The device support real-time events, but it didn't implemented in this library.

johnebarita commented 4 years ago

Can you help me make this real-time functions? I did try to create this https://github.com/johnebarita/zk-lib-tcp based on this https://github.com/adrobinoga/pyzatt library.

vodvud commented 4 years ago

Hello! I can only answer about my library.