Skip to main content
Illumination Pros
Lighting Industry Solutions
Get a Bid Review

Programming Mandatory Automated Shut-Off Sweeps

Configure wireless control networks to execute mandatory automated shut-off sweeps to comply with stringent state energy codes.

Illumination Pros Editorial
12 min read

Programming Mandatory Automated Shut-Off Sweeps

The enforcement of stringent state energy codes, notably California’s Title 24, Part 6, alongside widespread adoption of ASHRAE 90.1 and the International Energy Conservation Code (IECC), has irrevocably altered the landscape of commercial and industrial lighting control. A core requirement for energy code compliance within these standards is the implementation of mandatory automated shut-off sweeps. For lighting engineers, designers, and specifiers, configuring wireless control networks to execute Title 24 shut off sweeps and manage an automated lighting curfew reliably requires a deep understanding of both the regulatory mandates and the technical capabilities of networked lighting control (NLC) hardware and software platforms.

This article provides a comprehensive, technical examination of programming automated shut-off sweeps across wireless mesh networks, detailing the necessary configuration parameters, zone sizing rules, integration strategies, and the critical distinction between standard time-clock scheduling and code-mandated shut-off protocols. We will explore how to translate complex energy code mandates into actionable programming sequences for modern wireless lighting control gateways and nodes. The nuances of executing these sequences without disrupting occupants or causing unintended network congestion are central to a successful deployment.

The Regulatory Framework for Energy Code Compliance: Title 24, ASHRAE 90.1, and IECC

To engineer a compliant system, one must first define the parameters of the mandate. The fundamental objective of an automated shut-off sweep is to guarantee that lighting is extinguished or significantly reduced when a facility, or specific zones within it, are unoccupied during scheduled after-hours periods, regardless of manual switch states. The specific mechanics of how and when this occurs differ slightly between codes, but the core intent remains consistent: eliminate unnecessary energy consumption during periods of presumed vacancy.

California Title 24, Part 6 Requirements

Title 24 establishes some of the most rigorous requirements for automated shut-off in the United States. Under the nonresidential lighting control requirements (specifically Section 130.1(c)), indoor lighting must be equipped with controls capable of automatically shutting off the lighting when the space is typically unoccupied.

Key Title 24 shut off sweeps mandates impacting programming include:

  • Time-Switch Controls: The primary mechanism must provide an automatic sweep that turns off lighting during established non-business hours. This schedule must be capable of distinguishing between weekdays, weekends, and holidays.
  • Occupant Override: The system must unequivocally allow occupants to override the shut-off sweep manually via a local switch or control interface. However, this override is strictly time-limited, typically not exceeding two hours. The programming must ensure that after the two-hour window expires, the system returns to its swept-off state unless another override is initiated.
  • Warning Pre-Sweep: A critical safety and usability mandate is the requirement for a physical warning before the final shut-off. This is usually implemented as a noticeable “blink” or a sudden dimming (e.g., to 50% or lower) to alert any remaining occupants that the lights will turn off shortly (often 5 minutes prior to total darkness), allowing them time to activate the override.
  • Holiday Scheduling: The central controller must be capable of managing holiday schedules, ensuring that standard weekday sweeps are appropriately superseded by more aggressive holiday or weekend setback schedules.

ASHRAE 90.1 and IECC Directives

While often adopted with regional modifications, ASHRAE 90.1 and IECC contain comparable foundational rules for automated shut-off, focusing heavily on zone size limitation and manual override capabilities.

  • ASHRAE 90.1 (Section 9.4.1.1): Requires automatic partial or full shut-off for most indoor spaces. It stipulates that control zones for scheduled shut-off cannot exceed 25,000 square feet on a single floor. This limits the blast radius of a single sweep command and allows for more granular building management, preventing an entire skyscraper floor from illuminating because a single occupant is working late. Overrides are similarly limited to a maximum of two hours.
  • IECC (Section C405.2): Mandates time-switch controls with similar override limitations (typically two hours) and zone size restrictions (often 5,000 square feet, though specific versions or local amendments may vary depending on the adoption year, up to 20,000 square feet for specific spaces). The IECC also emphasizes that time-switch controls must include a holiday scheduling feature that turns off all loads for at least 24 hours and then resumes the normally scheduled operation.

Comparative Analysis of Code Requirements

The following table summarizes the general automated shut-off requirements across these dominant standards, recognizing that specific local adoptions may apply variations.

Code / StandardMax Override DurationMax Control Zone SizePre-Shut-Off Warning RequiredHoliday Scheduling
Title 24 (CA)2 HoursTypically ≤ 5,000 sq ft (varies heavily by space type)Yes (Blink or Dim)Required
ASHRAE 90.12 Hours25,000 sq ft (per floor)NoRequired
IECC2 Hours5,000 sq ft (up to 20,000 in specific spaces)NoRequired

Note: Always consult the Authority Having Jurisdiction (AHJ) for specific local amendments and detailed space-by-space exceptions.

Architectural Considerations for Wireless Sweeps

Executing a building-wide or campus-wide shut-off sweep across a wireless mesh network (such as those based on Zigbee, Bluetooth Mesh, or proprietary 900MHz/2.4GHz protocols) introduces specific architectural challenges that hardwired relay panels do not face. The physics of wireless communication demand strategic programming to ensure reliability and visual consistency.

Network Latency and the “Popcorn Effect”

In a legacy hardwired system, a contactor opens, and the entire circuit is de-energized instantaneously. In a wireless mesh network, a global command (like a shut-off sweep) must propagate from the site controller or gateway through the mesh topology. This propagation takes time, measured in milliseconds per hop.

If a sweep command is broadcast without strategic sequencing, the resulting shut-off can exhibit the “popcorn effect,” where fixtures turn off seemingly at random over several seconds as the command ripples through the network. While not strictly a code violation in terms of energy savings, this behavior is often deemed unacceptable by facility managers and ownership due to its unprofessional appearance.

To mitigate this, programmers must utilize group broadcasting or multicast commands if supported by the underlying protocol. By defining a specific “Sweep Group,” the gateway can send a single packet that is rapidly retransmitted and acted upon simultaneously by all nodes in that group, rather than addressing thousands of nodes individually via slower unicast commands. Advanced systems allow for synchronization tokens within the broadcast to ensure fixtures hold the command until a specific synchronized millisecond to execute the state change uniformly.

The Role of Edge Processing vs. Cloud Reliance

For code compliance and life safety (as sudden darkness can present a hazard), mission-critical functions like automated shut-offs cannot rely on an active internet connection. A cloud-tethered system that fails to execute a sweep because the facility’s ISP experienced an outage is fundamentally non-compliant and represents a significant liability.

Therefore, the schedules, logic, and sweep triggers must reside on the edge. This means the programming is pushed down to the local site controller (gateway) or, ideally, distributed directly to the individual wireless nodes integrated into the fixtures.

  • Gateway-Level Execution: The gateway contains the Real-Time Clock (RTC) and schedule logic. At the appointed hour, it broadcasts the sweep command to the network. This requires the gateway to maintain an accurate RTC, often backed up by a battery or supercapacitor in the event of local power loss.
  • Node-Level Execution: Advanced platforms push the time schedule directly to the nodes. The nodes sync their internal clocks with the gateway periodically but execute the sweep autonomously. This provides maximum resilience, as the sweep will occur even if the gateway itself fails or the mesh network experiences temporary segmentation.

Configuring the Automated Lighting Curfew Sequence

Programming a compliant sweep for an automated lighting curfew is rarely a simple “Turn Off at 10:00 PM” command. It is a sequenced event that must incorporate the mandatory occupant warnings and account for the specific hardware capabilities of the LED drivers and wireless nodes.

The Pre-Sweep Warning Mechanism

The pre-sweep warning is critical. The controller must be programmed to execute a state change that signals impending darkness clearly to any remaining occupants.

  1. The “Blink” Method: This involves the system rapidly cycling the lights off and back on (e.g., 0% for 500ms, then back to the previous state). While effective at grabbing attention, this can be jarring and is often disliked in premium office environments or critical task areas. Furthermore, certain LED driver and wireless node combinations may struggle with rapid on/off cycling due to capacitor discharge times or network latency, resulting in inconsistent blinks or failure to return to the original state.
  2. The “Dim” Method: A far more elegant and increasingly preferred method is a sudden, noticeable dimming. The programming logic would dictate that at, for example, 5 minutes prior to the sweep, the zone dims by at least 50%. This provides a clear visual cue without a total blackout and avoids stressing the driver electronics with rapid switching. The programming must ensure that if the lights are already dimmed below the warning threshold due to daylight harvesting, the warning is still visually distinct.

Programming the Override Logic

The complexity of the shut-off sweep often lies in the override programming. When an occupant activates a local wall station (a wireless keypad) after the warning has occurred, or during the swept off period, the system must respond according to strict rules.

  1. Override Duration: The local switch must trigger a timer, typically capped at 120 minutes (2 hours). The programmer must configure the specific button on the wireless keypad to initiate this “After-Hours Override” macro, rather than just a standard “On” command. The macro must reset the timer if the button is pressed again.
  2. Zone Boundary Containment: When an override is triggered, only the lighting within that specific control zone (limited to 5,000 sq ft, or up to 20,000 sq ft for specific function areas like malls or arenas) should illuminate. The programmer must ensure that the override command is properly bound to the local zone and does not inadvertently turn on the entire floor or building.
  3. Subsequent Sweeps: Code requires that if the space remains unoccupied after the override expires, the lights must turn off again. The system must be programmed to initiate another shut-off action at the end of the 2-hour timer. Some more stringent codes require a secondary sweep sequence (with another warning) at the end of this override period, though a direct shut-off is often acceptable if an occupancy sensor is also present.

Integration with Occupancy Sensors

Modern energy codes strongly encourage, and often explicitly require, the integration of occupancy sensors with time-switch controls to maximize savings. This layered approach creates specific programming scenarios that must be handled carefully to avoid conflicting commands.

Sensor-Driven Vacancy vs. Time-Clock Sweeps

When a space is equipped with occupancy sensors, the time-clock sweep acts as a fail-safe backstop, ensuring that if a sensor fails ‘on’ or is improperly placed, the lights will eventually turn off.

  • Normal Operations (Business Hours): The occupancy sensors manage the space, turning lights off (or dimming them) after a period of vacancy (e.g., 20 minutes). The time clock is passive during this phase.
  • Sweep Implementation: At the scheduled sweep time (e.g., 10:00 PM), the system evaluates the state of the sensors. If a sensor reports “Occupied,” the sweep in that specific zone is typically suppressed or delayed, avoiding the need for the occupant to hit a wall switch. If the sensor reports “Vacant,” the sweep executes.
  • After-Hours Operations: Following the sweep, the system transitions to an “After-Hours” mode. In this mode, occupancy sensors are often programmed to behave differently. Instead of bringing the lights to 100%, an after-hours occupancy trigger might only bring the lights to a lower “curfew dimming” level (e.g., 30% or 50%) to provide safe egress and basic visibility without consuming full power, satisfying both security needs and energy conservation goals.

Addressing ‘False Offs’ During the Sweep

A significant programming challenge occurs when a sensor is on the edge of detecting an occupant right as the sweep initiates. If the pre-sweep dim warning occurs, an occupant might wave their arms to trigger the sensor. The system logic must prioritize the sensor’s “Occupied” trigger over the impending sweep timer, resetting the sweep countdown for that specific zone. This requires careful configuration of sensor timeouts and network message priority to ensure the sensor data overrides the scheduled gateway command promptly and reliably. The system must effectively cancel the pending ‘off’ command queued by the warning sequence.

Documenting and Verifying the Configuration

Programming the sweeps is only part of the engineer’s responsibility. The system must be rigorously tested and documented for the commissioning agent (CxA) and the local electrical inspector. Without proper documentation, a perfectly programmed system can fail inspection.

The Sequence of Operations (SOO) matrix must explicitly detail the sweep behaviors for every zone type in the facility:

  • Exact time of the scheduled shut-off.
  • Exact time of the pre-sweep warning.
  • Nature of the warning (blink vs. specific dim percentage).
  • Duration of the delay between the warning and the final shut-off.
  • The exact zones included in the sweep (verifying size limits).
  • The maximum duration of the local override.
  • The interaction between the sweep schedule and local occupancy sensors.

During the functional testing phase of commissioning, these parameters must be physically verified. The programmer must use the system software to accelerate the real-time clock to demonstrate the warning blink, the override function, and the final shut-off to the inspector, proving that the wireless network executes the mandated logic flawlessly under simulated conditions.

Conclusion

Executing mandatory automated shut-off sweeps via a wireless lighting control network is a precise engineering task governed by rigid code requirements like Title 24, IECC, and ASHRAE 90.1. By understanding the nuances of network latency, the critical necessity of edge processing, the configuration of warning mechanisms, and the complexity of override logic, lighting professionals can design systems that not only achieve strict code compliance but also deliver a seamless, non-disruptive experience for building occupants. Mastery of these programming concepts is essential for navigating the complexities of modern commercial facility automation and ensuring a successful, energy-efficient deployment.

Frequently Asked Questions

How do Title 24 shut off sweeps differ from standard time-clock scheduling?

Title 24 shut off sweeps require a mandated physical warning (blink or dim) prior to final shut-off and strictly limit the duration of manual occupant overrides, usually to a maximum of two hours.

Can occupant overrides legally extend lighting beyond a scheduled shut-off sweep?

Yes, codes mandate override capabilities so occupants are not left in darkness, but they are strictly time-limited, typically capped at two hours before automatically turning off again.

What is the maximum permitted size of a control zone under ASHRAE 90.1 for shut-off?

Under ASHRAE 90.1, the control zones for scheduled automated shut-offs generally cannot exceed 25,000 square feet on a single floor to ensure granular control.