Connect a ZKTeco Fingerprint / Face Machine: Complete Setup Guide
Pick the right connection for your machine model, link staff to employees, set late-coming alerts and test everything with demo data — step by step.
A ZKTeco machine at the door plus ManagerBhai means nobody types attendance again: every punch becomes time in / time out, late arrivals reach your phone, and salary is worked out from real hours.
Step 1 — Know your machine
Open the machine menu: Menu → Comm. (sometimes Communication or Network). Look for Cloud Server Setting, ADMS or Webserver.
- It is there → use Cloud push (recommended). Works over any office internet, no router changes.
- It is not there → use the PC bridge (a small program on an office computer on the same network), or Direct if your machine has a static/public IP with port 4370 forwarded or you have a VPN.
Also note the serial number (sticker under the machine, or Menu → System Info → Device Info) and whether the Cloud Server screen has an HTTPS switch.
Step 2 — What you need
- Cloud push: internet on the machine (LAN cable or Wi-Fi), the serial number, correct date and time on the machine.
- PC bridge: a Windows/Linux PC that stays on during work hours on the same network as the machine, Python 3.8+ (python.org) and the command
pip install pyzk; the machine IP address (Menu → Comm. → Ethernet) and its Comm Key if one is set. - Direct: a fixed public IP or VPN, port 4370 (TCP and UDP) forwarded to the machine, the Comm Key if set.
Step 3 — Add the machine in ManagerBhai
Open HRM → Biometric Devices → Add device, choose the connection, fill the fields and Save. The ? button on that page walks you through it for your exact model.
Cloud push — on the machine
- Menu → Comm. → Cloud Server Setting.
- Machine has an HTTPS switch: Server address
managerbhai.com.pk, Port 443, HTTPS ON. - No HTTPS switch: use the device address shown on the Add device screen, Port 80.
- Domain name ON, Proxy OFF. Save and restart the machine.
Within a minute the machine shows online. If you skipped adding it, the page shows “A device is trying to connect from this office” with an Add it button.
PC bridge
After saving, open the device menu (⋮) → Download PC bridge. The file already contains your settings. On the office PC run python zk_bridge.py (or add it to Task Scheduler “At log on”). It uploads new punches every minute.
Direct
Click Test connection — you should see the machine name, serial, number of users and punches. Tick Sync automatically to pull punches every few minutes.
Step 4 — People: enrol on the machine, link in ManagerBhai
- Fingerprints and faces are enrolled on the machine (Menu → User Mgt). ManagerBhai keeps only the User ID, name and punch times — unless you switch on the encrypted fingerprint & face backup (HRM Settings), which lets you send people with their fingers to every machine without enrolling again.
- Easiest: click Send employees to a device. Your employees appear on the machine with their Employee ID; then enrol each person’s finger/face on the machine.
- Already have people on the machine? Click Users on the device, then open Device users: anyone whose User ID equals an Employee ID is linked automatically; pick the employee for the rest, or tick them and Create employees for selected.
Step 5 — Late coming and alerts
Give each employee a Working Time (HRM → Settings → Shift Timings). Then in HRM → Settings → Biometric attendance & late alerts set the grace minutes, “not arrived” alert, left-early alert, daily summary time and which staff receive alerts. Each person chooses in-app, email or phone push under Settings → Notifications → Attendance Alerts.
Step 6 — Try it with demo data first
Press ? on Biometric Devices → Try with demo data. Practice punches are created for your active employees for the past week so you can see attendance, late marks and the punch log without a machine.
How it works every day
- An employee punches → the machine sends it (cloud push: seconds; bridge: within a minute; direct: at the next sync).
- ManagerBhai saves the punch, then rebuilds that employee’s day: first punch = time in, last punch = time out.
- Late? You get an alert straight away. At the chosen time you get the day’s summary.
- Salary uses these attendance days exactly like days marked by hand. Days you typed yourself are never overwritten.
Troubleshooting
- Offline: check the machine’s internet, date/time, serial number and server/port. A yellow HTTPS warning on the page means your administrator must allow plain HTTP for
/iclock/(machines without HTTPS). - Punches arrive but no attendance: the person is not linked — open Device users.
- Wrong day for night shifts: set “Night shifts: the work day starts at” in the biometric settings, then Rebuild attendance in the Punch log tab.