A building does not have one PoE load. It has four or five, and they behave nothing alike. A ceiling luminaire runs ten hours a day at whatever dim level the schedule says. An occupancy sensor sips two watts around the clock. A magnetic lock drinks eight watts for as long as the door is unlocked. Put all of them on one 24-port switch and the arithmetic stops being arithmetic. It becomes a scheduling problem, and most of us size it as if nothing happens at the same time.

I learned that the expensive way in an office fit-out in Nanshan last spring: twelve luminaires down one corridor, eight sensors, four doors with readers and maglocks, all on one 48-port unit with a 740 W budget. Every device passed a bench test. Two weeks after handover, the last three lights in the corridor started dropping out at 08:50 and coming back around 09:10. Not at night, not under load, not during a firmware push. Only in the twenty minutes when the building fills up. I test PoE hardware at a factory in Shenzhen, which is why I had a logger on the port and still missed it. The answer was not in the switch log or the luminaire datasheet. It was in a number I had written down and then ignored: 90 metres.

Three loads, three duty cycles

The IEEE classes describe how much power a port may reserve. They say nothing about when that power is drawn, how long it lasts, or what happens to the room when the port goes away. Those three things decide whether a mixed closet works.

Load Typical draw Class reserved Duty cycle If the port drops
Occupancy sensor 1.5–3 W Class 1, 4.0 W Continuous, brief wake Nobody notices for a week
PoE luminaire 20–30 W at full Class 4, 30 W Scheduled 10 h, dimmed Room goes dark, complaint in 30 s
Card reader 5–7 W Class 2, 7.0 W Continuous plus bursts Door stays locked, queue forms
Magnetic lock 6–10 W Class 3, 15.4 W Continuous while unlocked Door unlocks. No alarm.
Electric strike 6–8 W active Class 3, 15.4 W 4–8 s per opening Door will not release

Read the last column twice. Two of those failures are loud and three are quiet, and the quiet ones are what get you called back. A dead luminaire generates a ticket within the hour. A sensor that stopped reporting becomes a complaint about the air conditioning next month. A maglock that lost power generates nothing at all, because the door still opens. It just does not stay shut.

That inversion is the design problem in one sentence: the load that draws the least power is usually the one that matters most.

The worst minute in a building is 08:55

Power budgets get built from an average day. You add up nameplate draws, apply a diversity factor, add 25 percent, and the number looks comfortable. Then the building opens.

In that Nanshan closet the daily average was around 200 W once I weighted the dimming profile: twelve fixtures near 40 percent for ten hours, eight sensors idling, four doors mostly at rest. At 08:50 it was nothing like 200 W. The schedule pushed all twelve fixtures to full at the same minute, every sensor booted and ran a self-test, and the arrival wave hit two readers and a strike within seconds of each other. My logger read near 360 W — and that is the draw I could measure, not the peak the drivers pull while their capacitors charge.

This is not a scheduling accident. It is what a building does every weekday. Three systems with nothing in common key off one human behaviour: people arrive. Lighting follows a schedule set to office hours, sensors wake because bodies move, doors cycle because bodies queue. The coincidence is structural, so a diversity factor borrowed from a distribution board is the wrong tool. You are not averaging independent loads, you are adding three that share a trigger. Design for the arrival minute, not the working day.

Reserved watts and average watts are different numbers

A PSE does not measure what your luminaire is doing. It reserves a class. Ask for Class 4 and the controller sets aside 30 W, whether the fixture is at full output, at 20 percent, or in standby drawing 0.9 W from its driver.

That reservation is what your budget spends. Twelve fixtures on Class 4 consume 360 W before a single photon is emitted. The same twelve on Class 3 would reserve 184.8 W, which is why some vendors ship drivers configured for Class 3 and cap output at 25.5 W at the device. If you have not reconciled nameplate watts with port watts yet, do the driver arithmetic once; it changes which class you ask for.

Dimming does not give the watts back. Unless the switch does dynamic allocation over LLDP or a vendor protocol, dropping a fixture to 10 percent changes the meter reading, not the reservation. The port still owns 30 W until the device is unplugged or reclassified. I once watched an engineer dim a whole floor to free up budget for two access points, then wonder why the ports still refused to come up. Per-port power reporting on a managed switch is the only way to see that gap.

Standby is the same trap, smaller. A luminaire switched off by schedule still holds its class and still draws 0.5–1.5 W at the driver, so twenty of them hold 600 W of reservation while the meter shows 20 W.

What a dropped port does to a door

Here is a mistake that still bothers me. On that first mixed closet I gave the doors the lowest priority, because they drew the least and because a door is not a life-safety system the way a corridor light is. That reasoning was backwards, and it took a security consultant four minutes to explain why.

A magnetic lock is fail-safe by design: power on means locked, power off means open. It has to work that way, because a fire alarm must be able to release every door by cutting power. So when a port feeding a maglock is shed, reclassified, or bounced by a firmware update, the door does not fail dark. It fails open, silently, and the access control system reports a door held open, as if somebody had propped it. Rank a shed policy by wattage and the 8 W lock goes first, and nobody notices.

An electric strike is the opposite: fail-secure, no power, no release. Safe, but not harmless. A strike pulling 7 W for five seconds looks trivial on a budget sheet, and its solenoid inrush runs two to three times steady current for the first few tens of milliseconds — the same mechanism that trips PoE ports on startup. Hold a door for a delivery and it is energised for minutes.

So rank ports by consequence, not by watts. Doors above lights, lights above sensors, sensors above nothing, because a sensor that drops is a data gap, not an incident. Then verify by pulling a feed at 09:00 on a weekday, not at 21:00 when the building is empty. The first time I ran that test, three doors went open at once and I learned the difference between a design and a spreadsheet. The general method is in this piece on shed order.

Sizing a mixed closet without guessing

This is the sequence I use now. It takes about twenty minutes for a floor and it has not failed me yet.

  1. List devices by class, not by nameplate. A 26 W luminaire is Class 4 (30 W reserved). A 2.2 W sensor is Class 1 (4.0 W). A 7 W reader may still negotiate Class 3 (15.4 W) if the vendor did not set the resistor for Class 2. Check the datasheet.
  2. Add the reservations, not the draws. Twelve Class 4 fixtures, eight Class 1 sensors, four doors at Class 2 plus Class 3: 360 + 32 + (4 × 7.0) + (4 × 15.4) = 481.6 W. A 370 W switch cannot do this floor. A 740 W unit can.
  3. Check the bank, not just the total. Most 24-port PoE switches use three 8-port PSE controllers. On a 740 W unit that is about 246 W per bank. Eight Class 4 fixtures reserve 240 W and fit; a ninth takes you to 270 W and gets refused, even though the total has room. Patch lighting across banks on purpose.
  4. Build the arrival minute. Full lighting, all sensors booting, one door cycle: 360 + 32 + 30 = 422 W instantaneous. Add the inrush margin you measured, or 20 percent if you have not measured anything.
  5. Derate for heat before you believe the total. In a sealed ceiling void or a closed cabinet, take the 45 °C figure, not the 25 °C one.
  6. Measure the longest run at the worst temperature. Ninety metres of 24 AWG is 18.8 Ω of loop at 20 °C and about 20.6 Ω at 45 °C. At 26 W that costs more than ten volts, and the arithmetic is below.
  7. Pull one feed during occupancy. Not a simulation. One port group, one weekday morning.

The voltage part deserves its own numbers, because it is where "it works on the bench" dies. Solve for the far-end voltage of a resistive run feeding a constant-power load: V² − 53.5V + R·P = 0, with 53.5 V at the PSE and R the loop resistance.

Run (24 AWG, 45 °C) Loop R Voltage at 26 W Cable loss Verdict
35 m 7.2 Ω 49.7 V 2.0 W Fine
60 m 12.4 Ω 46.6 V 3.9 W Fine, less margin
90 m 20.6 Ω 40.2 V 8.6 W Below many driver specs

Forty volts is not a failure by itself. Many luminaire drivers accept 37–57 V. But plenty specify a 42.5 V floor, because that is the 802.3at PD minimum, and 40.2 V is outside their range. The driver drops out, the port loses the maintain-power signature, and after a few hundred milliseconds the PSE cuts power and restarts detection. Then the fixture returns, runs a minute, drops again — exactly what three corridor lights do at 08:50, when they draw the most current of their day. At 40 percent they were fine. That is why the fault looked like a control problem for two weeks.

The ceiling void is hotter than the room

Every number above assumed 45 °C at the cable. I did not pick that to be dramatic. A suspended ceiling over an occupied office routinely runs 6–10 K above room temperature once cable trays block the return path, and a bundle of twelve powered cables adds a few degrees more. Copper moves 0.393 percent per degree, so 20 to 45 °C is 9.8 percent more resistance on every run in the building, applied to the loads that are already the longest.

This is where a mixed closet differs from a camera closet. Cameras sit at the perimeter and their runs get planned. Luminaires follow the architecture, so the last fixture in a corridor is often the longest run in the building, and it is the one nobody measured because the first fixture tested fine. If you take one habit from this article, make it this: measure the longest lighting run, not the first. For the enclosure side of the same problem, the cabinet derating numbers are worth a look.

Bundle heat is the other half. Twelve Class 4 cables in one tray at 0.65 A each is not a fire hazard, but it can push a 45 °C void to 55 °C, and 55 °C turns 20.6 Ω into 22.3 Ω — about a volt at the far end, which is precisely the margin you were counting on.

FAQ

Can lighting, sensors and access control really share one PoE switch?

Electrically, yes, and it is done all the time. Organisationally it is harder. Lighting usually belongs to facilities, the network to IT, access control to security, and the three groups disagree about who may reboot a port. If they must share hardware, at least separate the PSE banks so a lighting fault cannot take the doors with it.

Do PoE door locks work on 802.3af?

Many do. A reader at 6 W and a lock at 8 W fit inside 15.4 W, and several vendors ship 802.3af units. The class is not the issue; the consequence is. A lock that loses power unlocks, so it should never share a shed group with anything that cycles.

Why do only the far lights flicker?

Voltage drop under a constant-power load. The fixture compensates for lower input voltage by drawing more current, which increases the drop, which lowers the voltage further. The run sits on the edge of the driver's range and crosses it whenever the dim level rises. Shortening the run, moving to 23 AWG, or splitting the last two fixtures onto a closer switch all fix it. Raising the port class does not.

Does dimming free up PoE budget?

Only if the switch does dynamic allocation. Class reservation is fixed at the port until the device is reclassified or removed, so a fixture at 10 percent still holds 30 W if it asked for Class 4. Check for LLDP power negotiation before planning around it.

How many PoE lights fit on a 24-port switch?

Fewer than the port count, and usually fewer than the total budget suggests. Twelve Class 4 fixtures use 360 W, which fits a 740 W unit and not a 370 W one. Then check the bank: eight per controller at 30 W is 240 W, so a 246 W bank takes eight and refuses the ninth. Ports are the last constraint, not the first.

I still think the mixed closet is the least understood corner of PoE. The standard describes a port in isolation, and a building is the opposite of isolation: everything keys off the same clock, the same door, the same Monday morning. If you have a commissioning story where a lock went open or a bank tripped on a ninth fixture, I would like the numbers — especially the loop resistance you measured, because almost nobody writes that down. The rest of us are guessing at it.