Bio-Park D01 Sync & Wedge Hub

Local XAMPP Sync Server • Windows Keyboard Wedge • ESP32-S3 USB/BLE HID Bridge

DB: connecting… LAN IP: 127.0.1.1 Stream: connecting…
Punches Today
0
Total: 0
Registered Users
0
Students: 0 • Staff: 0
Devices Online
0
Known: 0
Pending Commands
0
Dispatched on poll

Biometric ID Capture (Classified)

Windows & Android Ready

Manual typing is disabled. Each field strictly accepts only its assigned user type — users enrolled on the D01 are auto-classified by ID range: Staff 1–999 • Student 1000–99999.

Student ID Student Only
Staff ID Staff Only
Student / Staff ID (Auto-Detect) Student + Staff
No scans captured in this session yet.

Keyboard Wedge Character Customization (Tab / Enter / Custom)

Live-synced to Windows Wedge & ESP32-S3
Insert token into suffix:
Keystroke Preview:

Live Attendance Feed

ID User PIN Name Type Punch Time Verify In / Out Org Device
Loading…

ID Range Auto-Classification Rules (D01 Enrollments)

Staff: 1–999 • Student: 1000–99999

When users are enrolled directly on the Bio-Park D01, their ID number automatically classifies them as Staff or Student on enrollment or first scan.

Test any D01 ID: Enter an ID to preview

Add / Update User

Registered Users

PIN Name Type Card No Class / Dept Role Actions
No users yet.

Classify FaceID Device (Org Code & In / Out Mode)

Assigns Org & Movement Direction

Assign each FaceID terminal to an Org Code (matching madarsa_v3) and set whether punches on that terminal record as In Mode, Out Mode, or Both (Auto).

Connected Devices

Serial Number Alias / Gate Org Code Mode Status IP Address Protocol Last Seen Action
No devices seen yet.

Device Command Queue (ADMS)

ID Device SN Type Payload Status Return Created / Acked
No commands queued.

Bio-Park D01 Real Device Setup (WebSocket Port 7788)

Confirmed Timmy / AiFace WS Protocol

1. Test Right Now on Local PC (XAMPP)

  • Double-click ws\start-ws-server.bat to start the WebSocket listener on port 7788.
  • Allow inbound TCP port 7788 in Windows Defender Firewall.
  • On Bio-Park D01 → Comm → Server, enter:
    Server Req: Yes
    Use DomainNm: No
    Server IP: 127.0.1.1
    serportno: 7788
    Heartbeat: 3  |  Server approval: No
  • Save on the D01 — you will immediately see RX [SN] reg in the ws\server.php window, and every face/card scan will appear live here!

2. Production Cloud Setup (ourjamia.com)

  • If ourjamia.com is a VPS / Cloud Server: Run php ws/server.php --port=7788 as a background service (systemd/pm2), open TCP port 7788, and on the D01 set Use DomainNm: Yes, DomainNm: faceid.ourjamia.com (DNS-only if using Cloudflare), serportno: 7788.
  • If ourjamia.com is Shared Hosting (blocks port 7788): Run ws/server.php on a local office PC pointed to the D01, with cloud forwarding:
    C:\xampp_new\php\php.exe ws\server.php --forward-url=https://faceid.ourjamia.com/api/push_json.php --api-key=YOUR_KEY
  • 10-Pin Connector (Offline Wiegand Out): Wire WD0, WD1, GND through a 5V→3.3V level shifter to an ESP32-S3 (ENABLE_WIEGAND_INPUT 1) for zero-Wi-Fi hardware USB/BLE keyboard typing on Windows & Android.

Embed Classified Biometric Scan Fields in Existing ourjamia.com Pages

Drop assets/biopark-scanner.js into any PHP page on ourjamia.com (admission, fee, or staff forms) to turn any disabled input into a classified Student / Staff / Auto-Detect scan field:

<!-- Student Only -->
<input type="text" id="student_id" disabled>
<input type="hidden" name="student_id" id="student_id_val">
<button type="button" data-biopark-scan="student" data-target="#student_id" data-hidden="#student_id_val">Scan Student</button>

<!-- Staff Only -->
<input type="text" id="staff_id" disabled>
<button type="button" data-biopark-scan="staff" data-target="#staff_id">Scan Staff</button>

<!-- Both (Auto-Detect + Details Card) -->
<input type="text" id="any_id" disabled>
<button type="button" data-biopark-scan="both" data-target="#any_id" data-details="#user_card">Scan Any</button>
<div id="user_card"></div>

<script src="https://faceid.ourjamia.com/assets/biopark-scanner.js"
        data-api-base="https://faceid.ourjamia.com"
        data-api-key="YOUR_API_KEY"></script>

Raw Incoming HTTP Requests (Protocol Inspector)

ID Time IP Method & URI Body / Payload
No raw requests captured yet.