Conceptual interface for translating a physiological condition into an adaptive lighting scene for an ESP32 + WS2812B system. Physiological signals are synthesized into a state, but the final lighting response also depends on what the person is meant to do in that moment: sleep, eat, rest, or work.
Input domain
Heart rate, body temperature, stress index, and fatigue are used here as the core variables. Each slider now carries its own reference band, so the control and the comparison graph are the same element.
Output domain
The interface generates a body map, a classified physiological condition, an activity-fit assessment, and an RGB + brightness payload suitable for HTTP transmission to an ESP32 endpoint.
These target bands are interface-level operating ranges rather than medical diagnostics. Their role is design calibration: they help align lighting behavior with the intended use of the environment.
Project rules
Green bands mark the selected reference range inside each sliderCompensate counterbalances the internal stateMirror reproduces the internal state more directlyActivity mode shifts the target scene even when physiology stays constant
Two environmental strategies structure the logic: Mirror reproduces internal intensity; Compensate counterbalances it.
The payload contains RGB values, brightness, state label, activity mode, mapping mode, and normalized metrics. The interface works offline as a local preview; transmission requires the page to run in a real browser context, not inside an email or chat preview.
Physiological parameters
Reference band 60–100 bpm
In range
72 bpm
45140
Reference band 36.4–37.3 °C
In range
36.7 °C
35.539.5
Reference band 15–45 / 100
In range
42 / 100
0100
Reference band 10–35 / 100
In range
28 / 100
0100
Environmental strategy
Activity mode
Preset states
Physio state
Focused but stable
Activity fit
Aligned
Activity mode
Work
Mapping logic
Compensatory
Arousal
0.40
Thermal load
0.40
ESP32 transmission and simulation
Simulation idle. Start the timeline to preview a daily sequence of changing values and light states.
Send to ESP32 posts the current JSON payload to the endpoint above via HTTP POST. Your ESP32 must be on the same network, expose that route, and parse the payload in order to update the LED.
Copy payload copies the current JSON to the clipboard, which is useful for debugging, logging, or manually testing the same data in another tool before wiring the board live.
The simulation runs locally by default. If you already have your own day-cycle code, replace the timeline array in the dedicated JavaScript section and keep the same field names.
Lighting scene preview
Work · Cool focus support
RGB(210, 225, 255)Brightness 118#D2E1FF
Current interpretation
Selected activity
Work
The lighting logic privileges visual clarity, moderate alertness, and slightly cooler scenes that support sustained attention.
Fit assessment
Aligned with target profile
Most current physiological values sit inside the target range for the selected activity, so only limited compensation is required.
Simulation
No simulation running
Use the day simulation to animate the same interface through a sequence of daily states, then replace the built-in timeline with your own code if needed.
JSON payload
Bibliography
NASA. NASA-STD-3001, Volume 2: Human Factors, Habitability, and Environmental Health, Revision E.
CIE. CIE S 026/E:2018 — CIE System for Metrology of Optical Radiation for ipRGC-Influenced Responses to Light.
CIE. CIE Position Statement on Integrative Lighting: Recommending Proper Light at the Proper Time, 3rd ed.
Boyce, Peter R. Human Factors in Lighting, 3rd ed.
Houser, Kevin W., and Tony Esposito. “Human-Centric Lighting: Foundational Considerations and a Five-Step Design Process.”
Rea, Mark S., Rohan Nagare, and Mariana G. Figueiro. “Modeling Circadian Phototransduction: Quantitative Predictions of Psychophysical Data.”