Comments (20)
Hey, I am also facing the same issue. Has anyone found any workaround? (@danishthetechie, @MoradAbdelgaber )
@caobo171 brother have you happened to have some time to look at this?
from node-zklib.
getRealTimeLogs is not working with me too
from node-zklib.
Sorry for responding lately, but did you guys make sure that there'is no another machine connect to that device. Because even if it connected successfully but realtime event is not allowed for multiple devices
from node-zklib.
Not working for me too, there is only one machine connected to the device. @dev-iot-jogja did you manage to fix this?
from node-zklib.
No it is not connected. Could you please have a look, I tried several times.. I really need to do this pal. We can even skype, or call
from node-zklib.
No other machine is connected. but still not working
from node-zklib.
@caobo171 any news here for this bug . still getting nothing with getRealTimeLogs
from node-zklib.
Hi, I'm having the same issue here. Is there any update on this or any work around? I'm afraid to touch the core codes, also not that good with buffers and packets.
from node-zklib.
No, haven't found any resolution regarding this. still my work is pending on getRealTimeLogs issue
from node-zklib.
the python lib works fine
from node-zklib.
@danishthetechie encontraste alguna solución?
from node-zklib.
@dev-iot-jogja did you find a solution?
from node-zklib.
@dev-iot-jogja did you find a solution?
No,
no solution found for real time logs
from node-zklib.
when I try to log, I found that checkNotEventTCP on getRealTimeLogs return CMD_ACK_OK not EF_ATTLOG or CMD_REG_EVENT
@caobo171 @dev-iot-jogja
Yeah same here, Found that getRealTimeLogs function is exiting after checkNotEventTCP check
so I tried commenting out the check
I found out that the packet returned by machine is Regular Packet instead of a Realtime Packet,
Machine Reply after requesting Realtime data is still a Regular Packet
<Buffer 50 50 82 7d 08 00 00 00 d0 07 45 e5 e7 12 03 00>
Referring to https://github.com/adrobinoga/zk-protocol/blob/master/protocol.md
First 2 bytes of Regular Packet is Command ID, next 2 Bytes are Checksum, next 2 are sessionId and rest are reply number and data
But in case of realtime packet CommandID should be 500 But it is ACK_OK i.e. 2000 and instead of realtime event id it sends session ID thats why checkEventNotTCP is true
So.. what I think is the machine isn't sending realtime packets or if its sending then we are not receiving it
I am not good with sockets or js but this is what i came up with
from node-zklib.
the python lib works fine
which lib?
from node-zklib.
the python lib works fine
@mahrous78 it is'nt working for me with the python lib could you explain how did u make it work ?
from node-zklib.
No fix for this one?
from node-zklib.
from node-zklib.
Oh, then I cant use this library then. Thanks for reply.
from node-zklib.
the python lib works fine
can you share with us code ?
from node-zklib.
Related Issues (20)
- getRealTimeLogs retrieved data HOT 4
- get attendance timeout with large amounts of data HOT 2
- How to add a new user?
- How to configure node-zklib for multiple terminal HOT 2
- How to get realtime log ? HOT 4
- NodeRed HOT 1
- CMD_OPTIONS_RRQ returns = instead 2 in some instances. HOT 1
- timeout error HOT 2
- How upload / Download user finger print template node-zklib ? HOT 4
- How to set the Comm Password? HOT 1
- RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 4. Received 24 HOT 3
- Getting error on getTime method, although it's getting user and attendance records.
- This log showed that you ran into TIMEOUT error ,and just that ...
- how to get the total number of biophoto/userpic, or if a user has a biophoto/userpic?
- can we get attendence Recode between Date range?
- Does this package support ZKTeco F18? HOT 1
- Attendance data is not consistent HOT 1
- It shows me error in decodetcpheader method
- Device disconnection issue
- Transaction/Punch type time in, time out, ot in, ot out not included in data returned
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-zklib.