[Python] Timeout error when trying to connect to ZKTeco MA300 Device Using PyZK Library on...

Discussão em 'Python' iniciado por Stack, Maio 15, 2025.

  1. Stack

    Stack Membro Participativo

    I'm working on a project with the ZKTeco MA300 device, which functions as both a fingerprint reader and an RFID card reader. I configured the device's IP address to 192.168.100.201 to fit my network's subnet.

    I can successfully ping the device from my computer, confirming the network connection is fine CMD ping.

    However, when trying to connect to the device using the PyZK Python library, I encounter a timeout error.

    Here are the details:

    Device IP Address: 192.168.100.201

    Port: 4370

    Python Library: PyZK

    I was able to add the device to the ZKAccess 3.5 software and change it IP address and add users,fingerprints... without issues, and it functions perfectly there ZKAccess3.5 able to add device.

    However, when I run the provided example code from the PyZK library's documentation in a Python virtual environment, it times out after 5 seconds.

    Here's a screenshot of the code and the result when I try to run it: Code response

    Has anyone encountered this issue or have suggestions on what might be causing this timeout? Any help would be greatly appreciated!

    Continue reading...

Compartilhe esta Página