Daylight Window

Daylight-Synchronized Faux Window — Build Plan and Codex/Blender Specification

Version: 1.0 · Date: 2026-11-22 · Units: inches for construction, meters for Blender geometry
Purpose: Design a convincing, low-cost, daylight-responsive faux window for a windowless basement bedroom; create a photorealistic Blender model and a buildable prototype plan.
Status: Concept/preconstruction. The room wall, structure, electrics, egress, thermal safety, and exact SKUs have not been verified.


1. Executive brief

Create a realistic 3D design of a tall, narrow, white-painted, two-pane frosted artificial window built into a bedroom drywall wall. It should look architectural rather than like a wall-mounted LED light panel. Its light is generated by tunable-white 24 V COB LED strips inside a shallow, reflective, serviceable lightbox behind diffusing acrylic. A small daylight sensor by the existing basement living-room window measures natural light; an ESP32 or local home-automation system maps ambient light to LED brightness and color temperature. Optional later upgrade: weather-protected outdoor sensor and/or second interior brightness sensor.

The window has no outdoor view and does not provide ventilation or emergency egress. The acrylic must read as glowing frosted glazing rather than a rendered outdoor scene. Daylight behavior should look physically plausible: brighter and cooler at midday, softer under clouds, dimmer at dusk, off at night. A white-painted recessed frame with subtle shadows and optional shallow sill gives the illusion of a real window.

Primary constraints:

2. Exact reference dimensions — parameterize everything

All dimensions below are nominal design targets, not a field-measured as-built condition.

Component Width Height Depth / projection Notes
Main wooden lightbox outer body 13.25 in (336.55 mm) 49.50 in (1257.3 mm) 2.50 in (63.5 mm) Intended to fit within a nominal 14.5-in clear stud bay, only if cavity verified
Main lightbox clear interior (before mullion) 11.75 in (298.45 mm) 48.00 in (1219.2 mm) ~2 in Assumes nominal 0.75-in perimeter rails
Front decorative casing external extent 16.25 in (412.75 mm) 52.50 in (1333.5 mm) 0.50–0.75 in thick Casing overlaps drywall around box; no assertion it fits inside stud bay
Center horizontal muntin / mullion visible 11.75 in ~1.0 in tall 0.50–0.75 in At approximately mid-height; model as part of front framework
Each visible illuminated pane approx. 10.75 in approx. 22.8–23.25 in n/a Verify exact profile once frame designed
Each removable acrylic insert cut to fit cut to fit 0.118–0.125 in (3 mm) Buy two nominal 12 × 24 sheets, trim to grooves/retainers; do not model 12 × 24 as an exact drop-in fit
Optional sill, alternate design 16.25 in n/a 2–3 in projection Not part of lowest-cost base model
LED lightbox diffuser-to-LED distance n/a n/a test range ~1.5–2.0 in Not finalized until hotspot test
Rear backing cut to fit cut to fit 1/8 in White reflective finish; support/thermal surfaces as engineered

Model two installation variants: A. Recessed conceptual variant: lightbox inserts into an existing verified, suitable stud bay and finished casing sits on drywall; modeled drywall cutaway and wall framing reveal. Do not show cut studs or any structural alteration. B. Surface-mounted fallback: same lightbox applied to drywall, box sides painted same wall color, visible trim at face; safest and least expensive aesthetic fallback when recess is not feasible.

Important fit caveat: A nominal wall cavity's stud spacing is not a guarantee of clear 14.5-in width; field-check actual stud layout and obstructions. Interior wall can be shallower than needed. Exterior/foundation-adjacent basement walls may have moisture-control and insulation constraints. Investigate before cutting drywall.

3. Aesthetic and environment

4. Optical and lighting system

Base architecture

Sensor/control architecture

Phase 1 (budget): place one AS7341 spectral sensor at an existing basement living-room window aimed at a representative patch of sky, without direct beam sun when possible. Connect over I2C to an ESP32. Read at 30–60 second intervals. Calibrate measured clear/spectral bands against lighting conditions and target brightness and CCT; apply software smoothing and a nighttime-off threshold. Avoid direct response to individual cloud flickers.

The AS7341 is not a calibrated spectroradiometer or guaranteed CCT/illuminance reference; mapping requires empirical calibration. An optional VEML7700 or another wide-range illuminance sensor can improve brightness feedback. Optionally later install a sheltered outdoor sensor with an optically appropriate weather cover, safe low-voltage power, and verified sensor placement.

Software: ESPHome current as734x component or custom ESP32 firmware for sensor input; local controller API (e.g., WLED if and only if analog CCT hardware correctly supported). As of 2026-11-22 ESPHome marks its older as7341 platform deprecated; prefer as734x with type: AS7341 when supported. Manual override and night-off behavior must work even when Wi-Fi temporarily fails (defined safe fallback).

Example mapping (illustrative, not sensor-calibrated):

Use EMA or time-based low-pass transition, ~2–5 min typical. Do not encode one universal Kelvin-per-clock-time curve as a substitute for sensor input.

5. Bill of materials and budget (USD)

These are planning allowances, not a current all-in quotation and not an order-ready verified shopping cart. Some parts may need substitution, notably the correct CCT controller and the power supply.

# Material / component Qty Allowance Notes
1 5 m 24V tunable-white COB CCT LED strip / kit 1 $28–40 If kit includes power supply, verify rating, listing, and compatibility
2 Analog CCT PWM controller, local Wi-Fi or ESP32/MOSFET 1 $18–30 Must support two separate WW/CW outputs; NOT digital addressable-only
3 AS7341 spectral sensor breakout 1 $19 Example Adafruit breakout
4 ESP32 development board 1 $7–12 Sensor/firmware
5 Sensor USB supply, I2C leads, wiring/connectors lot $12–18 Enclosure optional extra
6 12 × 24-in frosted/diffusing acrylic sheets 2 $26–40 Cut to precise installation dimensions
7 1×3 lumber for box ~2 × 8 ft $15 Check actual usable width and depth
8 1×2 lumber/trim or paint-grade molding ~2 × 8 ft $10–18 Crossbar/trim; may require extra casing stock
9 2 × 4-ft backer panel 1 $8 Paint reflective white
10 Suitable aluminum LED heat-spreading stock lot $12–25 Thermal design may require more
11 Fasteners, removable glazing retainers, paint, caulk lot $18–25 Assumes some supplies already on hand
12 Adequately rated, accessible 24V PSU 0–1 $0–35 $0 only if supplied kit PSU passes verification
13 Shipping/tax/small overruns lot $20–40 Location and retailer dependent

Planning envelope: approximately $200–280 for a straightforward unit. A $225 target is plausible if a safe, compatible power supply is included and some supplies are on hand; $250 is not a guaranteed cap. More robust aluminum, dedicated optical film, wiring, permit/electrician costs, or professional recessed installation may add significantly. A simpler non-synchronized build with the kit's manual dimmer might initially be ~$110–150 if the physical parts are obtained cheaply; later sensor integration adds cost.

Avoid inventing or encoding live vendor prices into the 3D scene. For BOM exports, create bom.csv with estimated cost, quantity, verification-needed flag, chosen source, and actual price field left blank until purchased.

6. Build order and verification gates

Gate 0 — Wall feasibility and safety (before any cut)

  1. Photograph and measure room wall; identify existing windows/doors, outlets, floor level, ceiling and actual wall construction.
  2. Find studs; determine clear bay width, actual wall depth, wiring/plumbing, insulation, vapor/moisture details and load-bearing status.
  3. Verify local requirements for electrical installation, concealed wiring, fixture listing/approval, and emergency sleeping-room egress. Decorative illuminated acrylic is not a legal egress window.
  4. If no suitable cavity, use surface-mounted variant. Do not cut studs as a cost shortcut.

Gate 1 — Optical sample

  1. Make a 12 × 12-in bench lightbox sample with 24 V strip, heat spreader and acrylic.
  2. Test ~1.5–2.0-in diffuser spacing, strip pitch, and optional diffusion film. Photograph daylight and evening at fixed exposure.
  3. Check brightness/hotspots; measure temperature of LED channel, housing and diffuser at maximum planned sustained power.
  4. Limit maximum brightness or redesign heat path if temperatures or appearance are unacceptable; do not proceed based on render aesthetics alone.

Gate 2 — Controller prototype

  1. Verify actual strip pinout, continuous current, power-supply rating, controller channels, fuse/wire sizes.
  2. Bench-wire only low-voltage outputs while powered off; test warm/cool channels individually before combined operation.
  3. Read sensor indoors and calibrate real-world brightness and CCT behavior. Add smoothing, night-off, Wi-Fi loss fallback and manual override.

Gate 3 — Full enclosure

  1. Mill/cut perimeter rails; dry fit box with removable front.
  2. Mount heat-spreading stock securely; route and strain-relieve low-voltage wiring.
  3. Cut diffuser acrylic to actual measured retainers, dry fit, and test light distribution; paint/finish visible trim.
  4. Confirm service access, cable protection, and safe remote power placement.

Gate 4 — Install

  1. Only after wall/electrical feasibility is confirmed, install recessed or surface variant.
  2. Check it is square, secure, ventilated, and serviceable. Complete any required professional electrical work.
  3. Calibrate sensor in actual house environment over representative clear/overcast day and night.

7. Codex → Blender project requirements

Deliverables

Create an output folder with:

daylight-window/
├── README.md                   # how to run, render, edit parameters
├── specs/
│   ├── project_brief.md        # this spec or an exact copy
│   ├── dimensions.json         # all parametric dimensions in meters
│   ├── bom.csv                 # proposed materials and confidence
│   └── safety_and_unknowns.md  # assumptions vs verified measurements
├── blender/
│   ├── build_scene.py          # deterministic scene generator, Blender Python API
│   ├── render_scenes.py        # optional batch renderer
│   ├── daylight_window.blend   # editable model
│   └── textures/               # only redistributable/generative assets
├── renders/
│   ├── 01_bedroom_daylight.png
│   ├── 02_closeup_trim.png
│   ├── 03_sunset.png
│   ├── 04_night_off.png
│   ├── 05_exploded_assembly.png
│   ├── 06_rear_led_layout.png
│   ├── 07_wall_cutaway.png
│   ├── 08_surface_mount.png
│   └── 09_sill_comparison.png
└── docs/
    ├── assembly_sequence.md
    ├── wiring_block_diagram.svg
    └── construction_dimensions.svg

Blender implementation

Scenes / cameras

  1. Bedroom / sunny: wide perspective from doorway/bed corner, room daytime neutral, window visibly illuminating wall.
  2. Trim close-up: oblique 3/4 shot revealing inside stop, frosted glazing, central bar, casing thickness and joint quality.
  3. Golden-hour: same camera as sunny, warm glow and lower exposure; window follows dusk.
  4. Night off: same camera; window dark, only low ambient bedroom practical lights.
  5. Exploded: orthographic 3/4 perspective on isolated assembly, pieces separated by Y layer and labeled numerically, no confusion with installed configuration.
  6. Rear LED layout: view with back removed; precisely show four vertical strip runs, aluminum heat spreaders, WW/CW distribution wires and exit path.
  7. Stud-bay cutaway: drywall cross-section plus studs, wall depth and box, with text marking assumed existing clear cavity; don't depict dangerous hidden PSU.
  8. Surface mount: same design on uncut drywall, box thickness visibly extending into room; sides wall-color-matched.
  9. With / without sill: side-by-side A/B comparison using identical lighting and camera.

Also make one dimensioned front elevation, one side section, and one exploded parts diagram as diagrams or orthographic Blender renders. Clearly mark nominal / verify on site.

Daylight variation presets for beauty rendering (not hardware firmware values)

Preset Approx visual CCT Relative emission Surrounding scene
Clear morning 4500 K 0.60 subtle daylight
Sunny midday 5500 K 0.85 bright neutral ambience
Overcast 6200 K 0.35 flat cooler ambient
Late sunset 3200 K 0.17 low warm sun-like light
Night off 0.00 dim practical bedroom lights

These presets are art-direction defaults to communicate the experience, not calibrated lux measurements. Keep geometry, camera and exposure matched across daytime comparison images wherever possible.

Acceptance criteria

blender --background --python blender/build_scene.py
blender --background blender/daylight_window.blend --python blender/render_scenes.py

8. Instructions to Codex — execution mandate

Build the Blender model and render it, do not stop at creating a textual concept.

  1. Check locally available Blender version and Python API; if Blender is missing, report exact install/environment blocker and still create tested generator code as far as possible. Do not claim renders exist unless files were generated and inspected.
  2. Create the parametric assets and all camera/render presets; begin with rough geometric proxy, run batch preview, and iterate trim and glazing until convincing.
  3. Validate physical fit via script assertions: box outer width ≤ assumed stud bay width; pane mesh positions not overlapping frame unintentionally; no mains PSU inside wall; dimensions unit-converted correctly.
  4. For each rendered image, inspect it (via available visual inspection) and fix composition, clipping, excessive brightness, and visible LED hotspots. Render again until the beauty and technical views are readable.
  5. Create a concise build guide and source-backed material suggestions, with vendor links as optional fields and no invented current pricing or hard assertions of electrical suitability.
  6. Provide finished .blend, generation scripts, PNGs, dimensioned illustrations, itemized CSV, and clear instructions. List unresolved measurements/approval decisions as blockers for real-world construction but do not let them block the conceptual modeling.

9. Reference links for verification

10. Copy-paste Codex kickoff prompt

You are implementing the attached daylight_window_codex_blender_build_brief.md, not merely evaluating it. Build the fully parametric, photo-realistic Blender scene in Python, including both recessed and surface-mounted versions of the 13.25 × 49.5-in faux window, frosted two-pane glazing, 24 V analog CCT COB strip array, proper wooden framing, daylight variations, exploded assembly, labeled cutaway, dimensioned views, and simple bedroom context. Generate the .blend, scripts, BOM, and at least nine rendered images listed in the brief. Verify the geometry and render outputs. Use exact dimensions from the brief but mark all site-specific conditions as assumptions; do not claim building-code, electrical, or thermal approval. Preserve the target DIY budget while flagging unverifiable prices and controller/power compatibility. Ask me only for wall photos and measurements needed to transition from conceptual modeling to an installation-ready construction plan; make reasonable assumptions to finish the 3D concept without waiting for me. Begin by checking Blender availability, writing the generation script, and producing the first photorealistic render.