InnerWeb
Skip to main content

Midnight rule and night shifts: how we changed the checkout rule

A rule that checked everyone out of the plant at midnight looked reasonable until it started working on the night shift. People working in the hall disappeared from the list of people on site in the middle of the night, although they were physically standing by the vehicle. We describe the symptom, the cause and the replacement of the rule with a 12-hour threshold, seen from the shift supervisor's point of view.

12 h
default threshold for automatic checkout
Source: karta
3 h
interval between checks of open entries
Source: karta
13 s
refresh interval of the evacuation list
Source: karta

Why automatic checkout is needed at all

The list of people on site is only as good as the last swipe of each person. When someone leaves the plant without a checkout swipe, their entry stays open and the next day the list shows them as present. In a workshop with several service companies such people accumulate with every shift, and the evacuation list stops answering the question of who is really in the hall.

That is why the system checks people out automatically when they have not swiped out. The difficulty lies in choosing the rule: when an entry should be considered out of date.

First rule: everyone at midnight

The first solution was simple: at midnight everyone marked as present is checked out. For one-shift and two-shift work this gives a clean list at the start of the day, because nobody should be working after midnight.

In a plant with a third shift the assumption is wrong. The night shift starts in the evening and runs until morning, so midnight falls in the middle of it. Everyone working in the hall at that time was checked out automatically, although they were still working there.

What the shift supervisor saw

After midnight the list of people on site showed an empty hall. The evacuation list printout that the shift supervisor keeps at the assembly point did not contain the people actually working by the vehicles. In the event of an alarm the incident commander would get sheets without names, and the coordinators of the service companies would have nothing to tick off.

Why it was a penalty

A person checked out during work, when they swiped again, was treated as entering. Changing the direction of an entry broke the attendance history and could raise questions about working hours. Night shift workers were therefore penalised for the time of day at which they worked.

Parameters of the checkout rule

Parameters of the checkout ruleBar chart: threshold 12 hours, check interval 3 hours, longest time of an entry on the list 15 hours.051015hoursCheckout threshold: 12 hours12 hoursCheckout thresholdCheck interval: 3 hours3 hoursCheck intervalLongest time on the list: 15 hours15 hoursLongest time on the list
Source: Security panel function documentation; longest time = threshold plus interval (example calculation)

Second rule: a 12-hour threshold

A time threshold replaced the midnight rule: a person who has not swiped out is checked out automatically once they have been on the plant for more than 12 hours. A check command runs every 3 hours, and the threshold can be configured. A plant with longer shifts can raise it, and a plant with shorter shifts can lower it.

The change has two advantages. First, nobody is checked out during a normal shift, whether day or night, because each one fits within 12 hours. Second, an entry left by a person who left without a swipe disappears from the list at the latest after 12 hours plus the check interval.

  • Every 3 hours: how often the command that checks open entries runs.
  • 12 hours: the default time threshold on the plant, configurable.
  • Worst case: an entry can stay on the list for up to 15 hours, that is the threshold plus the full check interval.

How to check the rule at your plant

The shift supervisor does not need technical details to judge whether the threshold fits the plant. It is enough to compare it with the longest shift in the schedule, including overtime and the time needed to walk to the gate. If the longest presence on site fits within 12 hours, the threshold is safe. If there are emergency duties longer than 12 hours, the threshold should be raised before someone is checked out in the middle of a repair action.

The second test is the evacuation list. It refreshes every 13 seconds and divides people into six groups, including external companies with separate tabs. It is worth opening it at 2 a.m. and comparing it with who is physically standing in the hall. A difference of more than a few people means that someone is not swiping out, and the problem lies in habits rather than in the rule.

Conclusions for three-shift work

A rule based on the wall clock is convenient for the administrator, but it does not match the rhythm of shift work. A rule based on how long a person has been present does. In our case the change did not require new devices or reconfiguring the posts, only the replacement of one rule with another and of one threshold.

For rail workshops, where three shifts are the norm and service companies arrive at different times, the 12-hour threshold is the starting point. The parameter is chosen after collecting data over several weeks, looking at the distribution of presence times, not at single extreme cases.

Checklist

Video

Frequently asked questions

Can the 12-hour threshold be changed?

Yes. The threshold is configurable, so a plant with longer duties can raise it.

What happens to an entry after automatic checkout?

The entry is closed and the list of people on site stops showing the person. At the next swipe they are treated as entering.

Does the midnight rule still apply?

It has been replaced by a time threshold. For one-shift plants it brings no benefit, and for three-shift plants it does harm.

We will match the rules to the rhythm of your shifts

We will review your shift schedule with you and choose the checkout threshold and the layout of the attendance list.

Let's talk