Introduction
Hour Advantage is the engine you build time and attendance on. It comes in two parts.
Connect talks to time clocks. It speaks each clock’s own language and gives your systems clean events and one API.
Time and Attendance works out pay. It turns punches into payable hours by your pay rules. Every minute a rule changes carries the name of that rule.
Use either engine alone, or both together.
Both engines are headless. They have no screens and no user accounts. Your product owns those and calls the engines through their API.
Who it’s for
Section titled “Who it’s for”- Software companies that build time and attendance, payroll or workforce products. You don’t write clock protocols or a pay rules engine yourself.
- Staffing agencies and labor platforms that pay workers and bill clients for the same hours.
- Clock dealers who look after clocks for many businesses. You send each business’s punches to the system it already uses.
- Companies that run their own time and attendance on their own servers.
Business models shows how each one fits the engines.
What you get
Section titled “What you get”| The rule behind each minute | When a rule moves a minute, the timecard says which rule did it and which policy layers it came from. For example: daily [tenant rev 1, us-ca rev 2]: moved 4h from work to overtime: over 8h in the day. Every line on a timecard says why (every line says why). |
| Rules tested before they go live | Pay rules come as policy packages with scenarios. A scenario is a worked example of the hours one case comes to. When you publish a package, the server runs its scenarios. If one fails, the server refuses the package and every timecard stays as it was (scenarios, policy cookbook). |
| Late changes as adjustments | Once a pay period is closed, its timecard stays as it was paid. A late punch or a correction shows up as an adjustment in the open period. The adjustment is the difference from what was already paid. This works in whatever order you reopen and close periods (closed periods). |
| Staffing built in | You can work out the same hours twice: once for pay and once for billing. Each has its own rules, rates and approvals. Each client approves the hours of its own placement (a staffing agency). |
| Punches stored first | The engine stores a punch before it tells the clock it arrived. If Connect goes down, the clock keeps its punches. It sends them when it can reach Connect again (a punch’s path). |
The engines
Section titled “The engines”| Part | What it does |
|---|---|
| Connect | Clocks talk to it in their own protocol. Each kind of clock has one protocol package. Connect keeps the same people on every clock in a group. It sends each punch to the right person and system. It sends events to your systems. It takes commands for the clocks through one API. It reports facts and runs commands. Decisions made at the clock belong to your policy. |
| Time and Attendance | Turns punches, corrections, labor entries and leave into timecards, one per pay period. Hours sit in pay categories, against a labor context, in decimal hours. Rounding carries to the next line, so the lines add up to the total. It also handles approvals, period close, accruals, exceptions and payroll export. Every rule comes from your policy. You can use the standard rules with their settings, or write rules of your own. |
| Shared platform | What both engines run on: the database, sinks that deliver events, external ids, packages, settings and environments, and the admin API. |
Both engines run in one program, hourd, on one Postgres database. They talk to each other only through their public contract: events out and API in. So you can replace either one with a system of your own. Architecture shows how the pieces fit.
Where to start
Section titled “Where to start”| You want to | Read |
|---|---|
| Try it | The quick start. |
| Connect clocks and receive their punches | Connect and sinks. |
| Understand how time is worked out | Time and Attendance, the ledger and policies. |
| Set up pay rules | The standard steps, the policy cookbook of tested recipes, and writing policy steps for a rule no standard step covers. |
| Decide what happens at the clock | Connect policy packages: routing punches, clocks joining and coming back, and people enrolled at a clock. |
| Support another kind of clock | Writing packages. |
| Connect your own system | The admin API, the events and external ids. |
| Run it in production | Deploying and operations. |
License
Section titled “License”Copyright (c) 2026 Tim Williamson. All rights reserved. This project is not affiliated with or endorsed by any device vendor.