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:
- DIY, polished appearance, minimal expense, no subscription/cloud dependency.
- Prefer an opening that can potentially fit between 16-inch-on-center studs, without cutting studs.
- Initial goal: ~$225 materials, with $250 optimistic ceiling for a simple surface-mounted/clear-cavity implementation; a code-compliant recessed installation can cost more and is not covered by that ceiling.
- No energized mains power supply, extension cord, or plug-in adapter concealed within the wall cavity. Use suitable accessible, ventilated electrical equipment and professional review as necessary.
- The first Blender deliverable is a design visualization, NOT a code-approved construction drawing.
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
- Contemporary but sympathetic to an older house; simple rectangular white-painted casing, clean 45-degree miters or crisp butt joints, satin/semigloss paint.
- Two vertically stacked, slightly cloudy pale-white panes, with a single slim horizontal dividing bar.
- Fine shadow lines at the inside stops and glazing; gentle light spill onto nearby painted wall and floor.
- No elaborate Victorian ornament, no exposed LED dots, no sharp blue office-light aesthetic.
- Wall: light neutral warm gray/off-white; bedroom context: understated bed, baseboard, floor, modest decor (generic placeholders).
- Two appearance alternatives: without sill (base/budget) and with 2.5-in sill (optional). Choose no-sill as the default money-saving design.
- Camera framing should clearly reveal flush/recessed mounting; at least one close-up must capture the 3D depth of the inner reveal and glazing.
4. Optical and lighting system
Base architecture
- Strip: 24 V constant-voltage, analog CCT / tunable-white COB tape; preferably CRI >90, nominal ~2700–6500 K. Example family: BTF-LIGHTING 640-LED/m FCOB PWM CCT strips, nominal up to 16 W/m. Specific product must be independently verified before ordering.
- Topology: approximately four vertical strips of 43–46 inches each, totaling ~4.4–4.7 m of a 5 m roll. Exact lengths must be adjusted to manufacturer cut-point increments, safe cable routing, and spacing. Connect compatible segments electrically in parallel to an appropriate common-anode CCT driver with separate WW and CW PWM outputs; controller and strip pinout must match.
- Do not use an inexpensive 3-pin addressable digital data controller for a 3-contact analog CCT strip; the connectors may look similar but protocols are incompatible. Specify a genuinely analog two-white-channel PWM CCT controller (or equivalent correctly rated dual-channel MOSFET + ESP32).
- Power: nominal maximum strip rating 16 W/m × ~4.6 m ≈ 74 W DC at rated full output; this is a conservative upper sizing basis, not a measured energy draw. Provide adequately rated 24 V constant-voltage supply, controller/output current capacity, wiring, fuse protection as applicable, and thermal margin. Actual use may be significantly lower due to PWM, power limits, and voltage drop. User-facing prior estimate: roughly 20–50 W normal daytime, potentially ~80–90 W at wall at high output, pending measurements. Standby power is not zero.
- Mounting: strip bonded to appropriately sized aluminum heat spreaders or channels securely fixed to an engineered backplane. Do not assume thin foil/flashing is thermally adequate. Show serviceable rear wiring, strain relief and ventilation/thermal path appropriate to chosen fixture; avoid sealing a high-power light source into wood without tests.
- Optics: two translucent/frosted acrylic panels cut to fit, optionally with an optical diffusion film or a second inner diffuser. Acrylic alone may show stripes/hotspots. Render the finished diffuser as a glowing, nearly uniform, opaque/translucent surface; in exploded view show diffuser and spaced LED strips separately.
- Service: removable front retaining stops or screw-fixed inner panel; readily accessible power supply/controller outside concealed wall cavity.
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):
- Sunny morning: 40–65% output, 4000–5200 K
- Bright midday: 60–90%, 4500–6000 K
- Overcast: 20–50%, 4000–6500 K, driven by measurements, not assumptions
- Sunset: 5–25%, often ~2700–4000 K if measured sky warrants
- Night: 0% (manual override optional)
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)
- Photograph and measure room wall; identify existing windows/doors, outlets, floor level, ceiling and actual wall construction.
- Find studs; determine clear bay width, actual wall depth, wiring/plumbing, insulation, vapor/moisture details and load-bearing status.
- 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.
- If no suitable cavity, use surface-mounted variant. Do not cut studs as a cost shortcut.
Gate 1 — Optical sample
- Make a 12 × 12-in bench lightbox sample with 24 V strip, heat spreader and acrylic.
- Test ~1.5–2.0-in diffuser spacing, strip pitch, and optional diffusion film. Photograph daylight and evening at fixed exposure.
- Check brightness/hotspots; measure temperature of LED channel, housing and diffuser at maximum planned sustained power.
- 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
- Verify actual strip pinout, continuous current, power-supply rating, controller channels, fuse/wire sizes.
- Bench-wire only low-voltage outputs while powered off; test warm/cool channels individually before combined operation.
- 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
- Mill/cut perimeter rails; dry fit box with removable front.
- Mount heat-spreading stock securely; route and strain-relieve low-voltage wiring.
- Cut diffuser acrylic to actual measured retainers, dry fit, and test light distribution; paint/finish visible trim.
- Confirm service access, cable protection, and safe remote power placement.
Gate 4 — Install
- Only after wall/electrical feasibility is confirmed, install recessed or surface variant.
- Check it is square, secure, ventilated, and serviceable. Complete any required professional electrical work.
- 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
- Use Blender Python API (
bpy), with a single idempotent script recreating the entire scene and organizing named collections. Set Blender units to Metric and convert all inch reference values withinch * 0.0254. - Establish coordinate convention: wall plane in XZ, room at negative Y, cavity toward positive Y, Z up. Origin at window centerline on finished wall, with specified sill height as scene parameter (default lower edge 32 in above floor; adjustable).
- Scene collections:
ROOM,WALL_AND_STUDS,LIGHTBOX,TRIM,GLAZING,LED_ARRAY,ELECTRONICS,CUTAWAY_HELPERS,ANNOTATIONS,CAMERAS,LIGHT_RIGS. - Use independent objects for each wooden frame rail, casing piece, central mullion, acrylic pane, gasket/retainer, LED segment, aluminum carrier, rear backer, wiring loom, PSU (remote schematic location), sensor, and ESP32.
- Shape: slightly eased/beveled wood edges (~1–2 mm), realistic tight seams, small reveal/shadow gaps, distinct acrylic thickness. Use restrained bevels; avoid glossy, cartoonish plastic.
- For installed beauty renders, use material nodes with translucent/frosted acrylic appearance and broad area lights/emission surfaces directly behind the diffuser to simulate uniform light. Rendering thousands of actual COB chips is unnecessary; represent real LED strips as slim emissive carrier runs in the assembly/cutaway views. Do not imply that an unsupported physically-accurate volume scattering simulation has been completed.
- Recommended renderer: Cycles with denoising, physically plausible world/exposure, 1024–1600px long-edge preview and final 2000px+ long-edge images, depending on machine. A fast Eevee preview is acceptable. Use neutral color management (AgX or equivalent) to preserve highlight rolloff; avoid clipped, featureless pure-white rectangles.
- Add room geometry: drywall plane with rectangular opening in recessed scene, simplified 16-in OC studs shown without cutting them, baseboards, floor, bed and subtle bedroom furniture. Room details must be generic and cannot be represented as a measurement of user's actual home.
- Recess should show trim near drywall face but not necessarily perfectly flush glazing; realistic window-like inset is preferable. Show small edge recess and soft wall light spill.
- All dimensions must be adjustable from
dimensions.jsonor clearly marked top-level variables. Avoid magic constants and non-manifold meshes.
Scenes / cameras
Bedroom / sunny: wide perspective from doorway/bed corner, room daytime neutral, window visibly illuminating wall.Trim close-up: oblique 3/4 shot revealing inside stop, frosted glazing, central bar, casing thickness and joint quality.Golden-hour: same camera as sunny, warm glow and lower exposure; window follows dusk.Night off: same camera; window dark, only low ambient bedroom practical lights.Exploded: orthographic 3/4 perspective on isolated assembly, pieces separated by Y layer and labeled numerically, no confusion with installed configuration.Rear LED layout: view with back removed; precisely show four vertical strip runs, aluminum heat spreaders, WW/CW distribution wires and exit path.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.Surface mount: same design on uncut drywall, box thickness visibly extending into room; sides wall-color-matched.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
- From a normal bedroom camera, the result looks like a narrow frosted architectural window, not like a TV, poster, or plain glowing panel.
- No visible individual LEDs or strongly striped diffuser in front renders.
- Recessed and surface-mounted alternatives both exist, clearly labeled.
- Two panes + central dividing bar; removable front indicated in exploded layout.
- Every part fits dimensionally after accounting for 0.75-in box rails and casing overlap, and acrylic is labeled cut-to-fit.
- Light source and controller schematic reflect 24 V analog dual-white CCT wiring, not addressable data strip wiring.
- Safety drawing leaves mains PSU accessible and external to concealed cavity; it never treats a decorative window as emergency egress.
- Model is editable, reproducible via script, and renders successfully from a fresh Blender session.
README.mdcontains actual command(s) tested in the environment. Example (adjust paths to installed Blender):
blender --background --python blender/build_scene.py
blender --background blender/daylight_window.blend --python blender/render_scenes.py
- Include image contact sheet if easy; don't skip separate full-resolution renders.
8. Instructions to Codex — execution mandate
Build the Blender model and render it, do not stop at creating a textual concept.
- 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.
- Create the parametric assets and all camera/render presets; begin with rough geometric proxy, run batch preview, and iterate trim and glazing until convincing.
- 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.
- 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.
- 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.
- 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
- BTF-LIGHTING 24 V CCT strip example and specs: https://www.btf-lighting.com/en-intl/products/fcob-cct-led-strip-640-leds-ip65-waterproof
- BTF FCOB PWM family 16 W/m, 3-contact WW/CW datasheet: https://exhibitorsearch.messefrankfurt.com/images/original/document_downloads/10000016202601/508802/1769759081255_208731075.pdf
- WLED supported controllers: https://github.com/wled/WLED-Docs/blob/main/docs/basics/compatible-controllers.md
- ESPHome AS7341 migration / new spectral component: https://beta.esphome.io/components/sensor/as734x/
- Adafruit AS7341 sensor breakout: https://www.adafruit.com/product/4698
- WLED local API: https://kno.wled.ge/interfaces/json-api/
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.