Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_multiple_realtime.py not working #32

Open
carlojune24 opened this issue May 31, 2024 · 0 comments
Open

test_multiple_realtime.py not working #32

carlojune24 opened this issue May 31, 2024 · 0 comments

Comments

@carlojune24
Copy link

carlojune24 commented May 31, 2024

  • PyZatt version:
  • Python version:3.11
  • Operating System: windows 11

Description

I am trying to test the multiple real time device. I modified the code a little bit by just commenting out the continue in loop.

What I Did

ip_addresses = ['192.168.3.50']
for [ip_addr, z] in zk_dev:
        print(ip_addr, z)
        # continue
        # connection
        z.connect_net(ip_addr, machine_port)
        # read user ids
        z.disable_device()
        z.read_all_user_id()
        z.enable_device()

        # enable the report of rt packets
        z.enable_realtime()

misc.print_info("Ready to receive events from the machines")

after modifying above code,
this is the result:
test

But when I time in in biometrics, no realtime attendance log will appear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant