Daylight Window

WORKSHOP EDITION

Illustrated assembly manual

Build the lightbox, assemble the daylight sensor, and check the system before putting it on the wall.

See the whole system

Six window layers laid out beside the power controls and the separate daylight station.
Full-size bench layout. Open the image to zoom and see the enlarged electronics.
  1. 1 · Front cassettePainted mitered trim, center bar and glazing gaskets.
  2. 2 · DiffusersTwo 2447 white acrylic inserts, cut to fit.
  3. 3 · Removable stopsGlazing stops and room-side service fasteners.
  4. 4 · Pine lightboxFour rails and a protected low-voltage exit.
  5. 5 · Light engineFour BTF 24 V COB runs on Everbilt aluminum.
  6. 6 · Rear and harnessWhite backer and three five-port WAGO splices.
  7. 7 · Accessible powerMean Well adapter, Quail cord, Shelly PWM and example housing.
  8. 8 · Daylight stationAS7341, Feather ESP32 V2, STEMMA QT and USB-C supply.

Check parts and dimensions

One lightbox with one daylight station. Verify the actual cut points, stock and pocket dimensions.

IDPartOrder IDQty
1, 3Primed pine, 1 × 3 × 8 ft252958 / 4246002 sticks
1White semigloss finishBEHR 3050041 qt
22447 white cast acrylic, 1/8 × 12 × 24 inW0312512242 sheets
4KD whitewood, 1 × 3 × 8 ft9146492 sticks
5BTF 24 V FCOB CCT, black PCB, 5 m461447317424341 roll
5Solid aluminum, 1 in × 1/8 in × 8 ftEverbilt 62082 sticks
6Tempered hardboard, nominal 1/8 inSS1254825 / 8327771 sheet
6Five-port lever splice, WAGO 221-415221-415K006-0003 of 10
724 V 90 W desktop adapterGST90A24-P1M1
7Grounded NEMA 5-15P to IEC C13 cordQuail 2500.0721
7Shelly Plus RGBW PMPlus RGBW PM1
8Adafruit AS7341 spectral sensor46981
8Adafruit Feather ESP32 V254001
8STEMMA QT four-wire cable, 300 mm53841
8Raspberry Pi USB-C supply, 5.1 VAdafruit 42981

Measure the finished box and glazing pockets. Use the quantities below as nominal cut targets.

PartQtyNominalCheck
Side rails249.50 in3/4 in thick × 2.50 in deep
Head and bottom rails211.75 inBetween side rails
Reflective rear panel111.75 × 48.00 inNominal 1/8 in; check the seat
Casing verticals252.50 inLong point of both 45° miters
Casing horizontals216.25 inLong point of both 45° miters
Muntin and stops1 setFit to frameMuntin about 1 in high
Acrylic inserts2~11.50 × 23.45 inStart oversize; measure pockets
Aluminum carriers41,180 mmTwo from each Everbilt stick
COB tape runs41,150 mm46 × 25 mm if delivered tape matches

01 / PROVE IT ON THE BENCH

Test the light before the wall

Confirm diffusion, load and heat with the actual LED tape, aluminum and acrylic.

An open square test box with four LED strips on aluminum and an acrylic sheet above the opening.
Illustration · A movable face on a nominal 12 × 12 in sample.
  1. Dry-fit a sample. Hold the acrylic 1.5–2.0 in from the tape face. Use the intended white backing, carrier type and roughly 75 mm rail pitch. A small sample needs separate tape stock, or temporarily reuse the four future runs in an open full-size test jig.
  2. Compare the optics. Start with low output. Check warm, cool and blended light. Photograph from the front and at an angle with fixed exposure. Adjust the gap, pitch or diffuser layers if you can see stripes or edge shadows.
  3. Measure the steady-state temperature. With the enclosure in the intended orientation and guarded from contact, log ambient, each carrier, the wood and the acrylic at the highest planned sustained setting. Proceed only when measured temperatures, wiring and component ratings have been reviewed.

02 / WOODWORK

Dry-fit the box and backer

Work from the real stock dimensions. Check the frame fits before drilling or cutting the glazing.

Two full-length wooden side rails, a head rail, bottom rail, and painted rectangular backer laid apart.
Illustration · White reflective face up. End rails fit between the two side rails.
  1. Measure and mill the rails. Check actual thickness and depth. Cut two full-height sides and two between-stile end rails. Lay the four on a flat table. Verify outer width, depth, and that both diagonals agree before fastening.
  2. Fit the backer and plan service. Cut the hardboard to its measured seat. Paint the inside face and let it cure. Dry-fit the backer supports and fastener heads. Leave access to the carrier screws, terminations and cassette screws.
  3. Locate the low-voltage exit. Locate the actual rated grommet or clamp before boring the end rail. Check its retention, bend radius and clearance from the tape pads. Keep the cable protected from wood and metal edges.

03 / LIGHT ENGINE

Build four carrier runs

Cut at the actual tape marks and keep the three conductors labeled.

A macro view of the black COB flexible board showing copper pads, solder fillets, clear heat-shrink sleeve and aluminum bar.
Illustration · Three conductors, black flexible PCB, two phosphor bands and the clear sleeve.
  1. Size and deburr the carriers. Cut four 1,180 mm bars from two 8 ft sticks. Deburr the ends and drill fastener holes outside the 1,150 mm tape runs. Dry-fit the hardware. Mark four centerlines, approximately 75 mm apart.
  2. Verify and cut the LED tape. Confirm 24 V analog CCT, three copper pad labels and the 25 mm cut interval on the delivered roll. Cut four 46-interval runs. Leave clearance at the ends, expose only the terminal area and work with power disconnected.
  3. Fasten, bond and terminate. Secure the bars to the stiff backer, clean the bond surface, and follow the tape maker’s mounting guidance. A suitable terminations method must fit all three pads and the carrier. Confirm with continuity and short checks, then support each lead independently of its pad.

04 / 24 V WIRING

Connect the four runs in parallel

Three parallel 24 V distribution nodes running to four LED strips.
  1. Disconnect mains. The fixture uses analog common-anode CCT tape. Inspect the pad markings on the actual strip.
  2. Keep the three nodes separate. Use one five-port splice for common +24 V, one for warm return (O1), and one for cool return (O2). Each has four branches plus one feed. The adapter negative connects to the Shelly supply return.
  3. Inspect before powering up. Verify polarity, continuity, terminal compatibility and approved protection. Use the actual manufacturer's terminals and the terminal map in the PDF.

05 / OPTICS AND SERVICE

Set the panes and stops

Build the front as a removable cassette, then offer it up to the enclosure.

Reverse side of painted casing with two offset white acrylic inserts above it and the removable stops above the inserts.
Illustration · Rear face up, so the retaining stops and acrylic seats are visible.
  1. Assemble the casing and muntin. Dry-fit the mitered casing, inside reveal and center bar. Check that both panes have even sight lines and that the cassette overlaps the wood box evenly.
  2. Cut the acrylic to measured pockets. Use the finished pockets to size both inserts; the nominal preview is about 11.50 × 23.45 in. Leave the clearance recommended for the actual acrylic and support system. Preserve the protective film during cutting and dry fitting.
  3. Seat the acrylic and attach the stops. Place the gasket and acrylic from the back. Fit the removable stops without clamping or drilling through the acrylic. Fit the complete cassette squarely and retain it mechanically with accessible fasteners.

06 / ACCESSIBLE CONTROLS

Set up the power station

The Mean Well plug-in supply and the housed Shelly remain accessible outside the wall.

Grounded C13 mains cord, black Mean Well adapter, yellow Shelly in an open housing, and a separate illustrative DC interface.
Illustration · Mains cord and DC plug disconnected. Housing and mating interface are examples.
  1. Identify the actual plugs. Fit the grounded C13 cord to the adapter. The captive DC output is center-positive P1M, 5.5 mm OD × 2.5 mm ID × 11 mm barrel. Select a fully mating connector with compatible ratings and a protected enclosure. Verify fit, polarity and retention before any energizing.
  2. With mains disconnected, inspect the 24 V circuit. Follow the terminal map on page 8 and the current manufacturer drawing. Have the protection, current ratings, wiring, terminations, mounting and ventilation reviewed. Check for shorts and verify the warm and cool circuit labels at each end.
  3. Commission on the bench. Configure Shelly in Light profile with the outputs initially off. Test warm on O1 and cool on O2 one at a time at low output. Verify all four runs, then test blended settings and measure actual supply and channel currents at the intended maximum.

07 / DAYLIGHT STATION

Assemble the daylight sensor

A separate indoor station samples daylight through an existing real window.

AS7341 spectral sensor connected by four color-coded wires to a Feather ESP32 V2 beside its USB-C wall adapter.
Illustration · AS7341 #4698, Feather #5400, STEMMA QT #5384 and USB-C adapter #4298.
  1. Connect the two boards with USB unplugged. Use a four-position STEMMA QT cable between the Feather and the AS7341. Use the keyed sockets. Secure the boards using their mounting holes and standoffs so the bench and mounting hardware cannot short the board.
  2. Power and confirm readings. Connect the Feather over USB-C. Load sensor firmware that supports the AS7341 and scan its I²C bus. Confirm the sensor appears at 0x39. Use the sensor’s spectral readings as a relative daylight signal and disable its onboard illumination for passive sensing.
  3. Test the real window position. Place the sensor indoors near the living-room window, aimed at a repeatable patch of sky. Compare readings with nearby room lights on and off, with and without shade, and in darkness. Keep its mount serviceable.

08 / LOCAL DAYLIGHT CONTROL

Make the window follow the light

Indoor Feather and AS7341 boards on a sill, with the sensor aimed toward real glazing.
  1. Log real window conditions. Collect sensor readings during bright daylight, cloud cover, dusk and darkness. Adjust gain and exposure to avoid saturation.
  2. Map readings to two PWM outputs. Use local control and the Shelly Light profile. Give warm and cool channels their own brightness values. Smooth transitions over a few minutes and cap at the tested maximum output.
  3. Verify night-off and failure behavior. Configure a watchdog for stale readings and lost Wi-Fi. Test power restoration, manual off and sensor disconnect before relying on automation.

09 / MOUNT AND SERVICE

Install after bench checks

Recessed lightbox in an intact stud bay.
Recessed concept
Lightbox mounted on intact drywall.
Surface-mounted option
  1. Verify the real wall. Check its width, depth, existing wiring, plumbing, structure, moisture details and requirements. Keep studs intact. Use surface mounting if the cavity is unsuitable.
  2. Mount the lightbox and maintain access. Attach it square to verified substrate. Protect and strain-relieve the 24 V wiring. Keep mains power and the controller accessible with the reviewed ventilation and service clearances.
  3. Repeat the functional checks. Confirm both white channels on all runs, the optical finish, sustained temperature, controllability and service access. The PDF includes the troubleshooting and commissioning record.

Product references