@extends('layouts.app') @section('content')
Monitor user synchronization status across all devices
| Status | Serial Number | Device Name | Location | Total Users | Synced | Pending | Failed | Progress | Last Sync | Actions |
|---|---|---|---|---|---|---|---|---|---|---|
| @if($device['is_online']) Online @else @if($device['online']) Offline @else Never Online @endif @endif |
{{ $device['no_sn'] }}
|
{{ $device['nama'] }} | {{ $device['lokasi'] }} | {{ $device['total_users'] }} | {{ $device['synced'] }} | {{ $device['pending'] }} | @if($device['failed'] > 0) {{ $device['failed'] }} @else 0 @endif |
|
@if($device['last_sync']) {{ $device['last_sync']->diffForHumans() }} @else Never @endif | @if($device['pending'] > 0) @endif View Edit |
| No devices found | ||||||||||
Queues users as "pending" and waits for device to request them
⚠️ Issue: Some devices never request user data automatically!
Immediately sends users to server and marks them as synced
✅ Better: Works for devices that don't auto-pull users!
| Status | Meaning | What to do |
|---|---|---|
| Pending | Users queued, waiting for device to fetch or push confirmation | Click Push Now to force sync or UDP Sync for direct protocol |
| Synced | Users successfully transferred to device | Users now available on device fingerprint scanner |
| Failed | Sync attempt failed (rare) | Click Sync to retry or Push Now to force |
Pro Tip: For best results with remote devices behind firewalls, deploy the Local Sync Agent (Python application running on local network) which automatically syncs users from cloud to devices. See documentation for setup instructions. Alternatively, use Push Now button to manually mark users as synced.