Open source & connected hardware

ZKT-RT

Socket-level hardware sync connecting ZKTeco terminals with overnight cross-midnight shift algorithm.

PHP 8.0+UDP Socket ProgrammingPython 3.10+OpenPyXL
Illustrative interface concept
The context

What needed to work better?

Production hardware integration system connecting directly to physical ZKTeco biometric terminals over local UDP sockets, resolving complex cross-midnight employee shifts, and generating executive multi-sheet Excel reports.

The engineering

Connecting the right pieces.

Direct Hardware Socket Sync: Communicates with biometric clocks over raw UDP sockets (`port 4370`), patched for PHP 8 compatibility.

Overnight Shift Resolver: Algorithmic engine that pairs evening check-in punches with early morning check-out punches crossing midnight.

20-Minute Leniency Grace Window: Implements daily working duration grace calculations rather than penalizing initial arrival times.

Automated OpenPyXL Reports: Python generator producing executive multi-sheet workbooks styled with corporate palettes and monthly grids.

The delivery

What went into the build.

UDP Hardware Sync Script
Overnight Shift Resolver Engine
Executive Python Excel Reporter
Live AJAX Dashboard UI
Let’s make your next move

Your business.
A better system.

Share your requirements and we’ll discuss a practical scope, approach, and next steps.

Start a conversation
There’s more to explore.Back to all projects