Software teams measure API latency. OpsClock measures physical latency.
OpsClock is a physical operations observability application built for the Amazon Build, Ship, Shape 2026 hackathon.
It measures the time between a vehicle arrival and an operator's acknowledgment, making loading dock response delays visible and measurable.
Live Application: https://opsclock-rho.vercel.app
OpsClock turns physical arrival events into measurable operational response times.
A delivery arrives and the response timer starts.
The dashboard warns operators as the response time approaches the 10-minute SLA.
An unacknowledged delivery exceeds the SLA threshold.
The operator acknowledges the delivery before the SLA deadline, stopping the response timer.
Software systems have tools to measure latency, uptime, and errors. Physical operations often lack similar visibility into how quickly people respond to real-world events.
When a vehicle arrives at a loading dock, teams need to know when it arrived, how long acknowledgment took, and whether the response met operational targets.
OpsClock turns that response time into an observable metric.
- Live response timer for loading dock events
- SLA warning at 8 minutes
- SLA breach detection at 10 minutes
- Operator acknowledgment workflow
- Persistent event storage with Upstash Redis
- Session-isolated interactive demo
- Three selectable SLA simulation scenarios
- Ring account-linking and OAuth integration
- Ring webhook ingestion endpoint
| Condition | Status |
|---|---|
| No event | IDLE |
| Waiting less than 8 minutes | AWAITING_RESPONSE |
| Waiting 8 to under 10 minutes | AT_RISK |
| Acknowledged within 10 minutes | SLA_MET |
| Waiting at least 10 minutes | SLA_BREACHED |
| Acknowledged after 10 minutes | SLA_BREACHED |
A late acknowledgment never converts a breached event into a successful one.
Visit https://opsclock-rho.vercel.app
The public demo works without Ring hardware.
- Click Reset Demo to clear the current simulated event.
- Select Normal Arrival to create a new vehicle arrival.
- Click Acknowledge Delivery to record the response.
- Reset and select At Risk to simulate 9 minutes of waiting.
- Reset and select SLA Breached to simulate 11 minutes of waiting.
- Acknowledge the breached event and verify that its status remains SLA BREACHED.
The demo uses simulated timestamps with the application's real SLA calculation logic. Simulated events are clearly labeled.
Live Operator Console: https://opsclock-rho.vercel.app/operator
The console requires operator authentication. For immediate hands-on testing without credentials, use the Public Interactive Demo.
The password-protected Operator Console provides a live SLA monitoring dashboard for authorized operators.
- View the latest arrival event and its source
- Monitor SLA status and response time
- Acknowledge pending events
- Distinguish Ring events from demo events
Ring integration status: OAuth account linking and signed webhook processing are implemented and tested with simulated payloads. Physical Ring device event delivery has not yet been verified.
OpsClock includes the following implemented integration components:
- Ring OAuth token exchange
- Encrypted token persistence
- Operator authentication
- Ring account-linking flow
- Access-token refresh support
- Webhook endpoint
- Event processing infrastructure
The Ring account-linking flow was successfully completed through the Ring App Store.
However, the linked account has no eligible connected device locations. Therefore, real Ring device event delivery has not been verified.
The public interactive demo uses simulated vehicle arrivals, not live Ring camera detections.
Ring Account Authorization
|
v
OAuth Token Exchange
|
v
Encrypted Token Storage
|
v
Ring Webhook Endpoint
|
v
Event Processing
|
v
SLA Engine
Interactive Demo Session
|
v
Simulated Vehicle Event
|
v
Upstash Redis
|
v
SLA Engine
|
v
Operations Dashboard
|
v
Operator Acknowledgment
The interactive demo stores events separately from general operations events.
| Layer | Technology |
|---|---|
| Frontend | Next.js 16, React 19 |
| Language | TypeScript |
| Styling | Tailwind CSS |
| Database | Upstash Redis |
| Hosting | Vercel |
| Integration | Ring API |
The following scenarios have been manually verified on the public deployment:
| Test | Result |
|---|---|
| Normal arrival | Passed |
| At-risk warning | Passed |
| Acknowledgment within SLA | Passed |
| SLA breach detection | Passed |
| Acknowledgment after breach | Passed |
| Response timer stops after acknowledgment | Passed |
| Reset and scenario switching | Passed |
These tests validate the interactive SLA workflow. They do not establish that physical Ring device events have been received.
All 6 automated tests passed:
- SLA acknowledgment within 10 minutes
- SLA acknowledgment after 10 minutes
- At-risk warning before the SLA deadline
- SLA breach after 10 minutes
- Signed Ring vehicle webhook creates one unique SLA event
- Invalid Ring webhook signatures are rejected
Run locally: npx tsx --test tests/*.test.ts
These tests use simulated events and do not verify physical Ring device delivery.
Clone the repository:
git clone https://github.com/zzzyyyddd/opsclock.git
cd opsclock
npm install
Configure the required credentials in .env.local, including Upstash Redis settings. Ring credentials are needed for Ring-specific integration functionality.
Start the development server:
npm run dev
Never commit credentials, access tokens, or .env.local.
OpsClock is a deployed hackathon prototype with a working interactive SLA dashboard, persistent demo storage, operator acknowledgments, and verified Ring account linking.
Physical Ring-device event delivery remains unverified because no eligible device location is connected.





