Doctoral research · Drexel University
LuxREST
Personal light exposure and feedback
A circadian-light sensing project connecting near-eye exposure monitoring with personal feedback using LiDo, cellular IoT, MQTT, n8n, a custom GitHub-hosted dashboard and Telegram.
Glasses-mounted LiDo- CaptureMeasure light at the eye.
- TransferSave locally and send in batches.
- ProcessRoute readings to the assigned stream.
- FeedbackView a daily profile and ask questions.
Interactive tools
The dashboard and feedback tools share a synthetic light profile.
System map
Trace a reading from the sensor to the feedback services.
Explore the mapLight dashboard
Change a sample day and see how light exposure shifts.
Open the dashboardFeedback workflow
Ask a question about the same light profile.
Try the feedback tool
From measurement to feedback
From measurement to feedback
The light reaching a person’s eyes changes as they move between daylight, electric lighting, and screens. LuxREST was built to show that exposure throughout the day and give the person wearing the sensor a way to ask about their own measurements.
The project builds on the TRIAD evidence map, which connects biological responses, lighting systems, and occupant engagement. LuxREST brings those connections into a working system, from the near-eye measurement to the information a participant can act on.
Follow the operating pathway
System overview
One record connects near-eye sensing, local storage, cloud routing, and personal feedback.
Capture a reading
The LiDo Companion requests a reading over USB and sends it over Wi-Fi using MQTT.
Keep a local record
The Raspberry Pi preserves the payload and its receipt metadata before the cellular gateway transfers a reduced stream.
Route to the participant
Cloud workflows assign each batch to the correct stream. The dashboard reads it, scheduled messages reach the participant, and questions retrieve the relevant context.
Display the record
Transfer, dashboard refresh, and the three-hour gauge summary each have their own timing.
Data pathway and component responsibilities
| Stage | Input and output |
|---|---|
| LiDo | Timestamped optical values, including mEDI |
| USB companion | Request readings and package wireless messages |
| Portable receiver | MQTT receipt, payload and receipt metadata |
| Downstream service | Select alternating formatted records; scheduled handoff around 15 minutes |
| Cloud routing | Unpack batches and map records to the assigned participant stream |
| Interfaces | Retrieve stream data for a dashboard or communication context |
Dissertation · October 5 release · Chapter 4 · system realization
Hardware and interfaces
Hardware and interfaces
Measure where light reaches the eye
Placement and direction affect a light reading. I selected the spectacle-mounted LiDo because it keeps the sensing plane near the eye and follows head orientation. Its spectral measurements support melanopic equivalent daylight illuminance (mEDI), expressed in lux. This is the illuminance of standard daylight that would produce the same melanopic irradiance as the measured light.

Preserve the reading at each handoff
With HSLU, I developed the companion hardware extension that connects LiDo’s USB interface to the wireless receiver. I developed the software route from acquisition through the participant interfaces. The receiver kept the payload and receipt metadata before a reduced stream was sent downstream. The cellular gateway attempted cloud batch uploads about every 15 minutes during the pilot.
The implementation used Pico W and Raspberry Pi for acquisition, MQTT for transport, Notecard and Notehub for cellular handoff, and n8n for automation.
Inspect the measurement-to-feedback evidence route
The receiver retained alternating successfully formatted records for downstream transfer. The cloud upload interval was configured separately from local measurement and receipt.
See the animated data handoffGive participants a view of their day and a way to ask questions
I built the GitHub-hosted dashboard to load the assigned stream when participants opened or refreshed it. Date and resolution controls let participants inspect daily patterns against fixed clock-time reference levels. The gauges summarized readings from the preceding three hours.
The Telegram workflow supported scheduled messages and an integrated AI assistant chatbot that retrieved the participant’s context when answering questions about their light exposure.
The interactive dashboard below is the later Observatory design. It uses synthetic readings, while the 2025 field dashboard displayed the assigned participant stream.
Dashboard and messaging routes
Dissertation · October 5 release · Figure 4.3
Try the Observatory dashboard and feedback
The Observatory is a later redesign that uses a synthetic light profile. Edit the profile in the dashboard, then ask the feedback tool about the same day.
Interactive tool · connected system
Explore LuxREST in action.
Shape a day of light exposure, then follow that same profile into a dashboard and a question-led feedback workflow.
Light dashboard
Feedback workflow
Editable demonstration using a synthetic profile and source-based messages. Replies are calculated in your browser.
How the field pilot worked
How the field pilot worked
In the Philadelphia pilot, participants wore the sensor in daily life from June through September 2025. Each participant first wore the sensor during passive monitoring, then gained access to the feedback system. Morning and evening surveys complemented the light record, and a post-study survey asked about the participant experience.
- BaselineWear the sensor and report daily routines.
- ActivationIntroduce the participant’s dashboard and feedback.
- FeedbackContinue wearing the sensor with the information available.
Compare exposure in windows tied to behavior
Daytime exposure was aligned to waking, and evening exposure to the three hours before attempted bedtime. For each window, threshold duration was divided by valid observed time and expressed as minutes per observed hour. Phase comparisons gave each paired participant equal weight.
Study timeline, eligibility rules, and sensitivity checks
Dissertation · October 5 release · Figure 5.1
| Rule | Daytime H1 | Pre-bedtime H2 |
|---|---|---|
| Behavioral window | Wake to 3 h before next attempted bedtime | Exactly 3 h before attempted bedtime |
| Exposure counted | mEDI ≥250 lux | mEDI >10 lux |
| Observed-time eligibility | ≥25% coverage and ≥3 observed hours | ≥60 observed minutes |
| Maximum contributing gap | 120 seconds | 120 seconds |
| Result unit | Minutes per observed hour | Minutes per observed hour |
| Phase assignment | Waking date; activation excluded | Actual bedtime date; activation excluded |
Dissertation · October 5 release · Section 3.7 · core personal-light outcomes
Eligible days or nights were first averaged within participant and phase. I then calculated each participant’s feedback-minus-baseline contrast and averaged those paired contrasts. This kept one participant with many valid occasions from dominating another with fewer occasions.
A 10,000-replicate participant bootstrap supplied 95% confidence intervals. Exact sign-permutation tests and Holm adjustment across the two principal outcomes accompanied the estimates. I also varied gap caps, coverage, minimum observed duration, anchors and phase boundaries. The robustness figure carries those alternatives through the same outcome definitions, making the effect of analytical choices visible.
Dissertation · October 5 release · Figure 5.3
What the field pilot showed
What the field pilot showed
System operation
Fourteen of 18 operational records corresponded to study completers. The analysis retained 218,708 of 234,614 light observations from completers after time and quality screening.
Participant experience
Eleven of 14 rated feedback very or extremely helpful, and 9 selected greater awareness of their light exposure as the most beneficial aspect of participation.
Measured light exposure
Each estimate compares feedback with baseline in minutes per observed hour. Both confidence intervals include zero, so the pilot did not establish a change in either exposure measure.
- Daytime · At or above 250 lux mEDI
- +0.56 min per observed hour 95% CI −3.68 to +5.43 · 12 paired participantsBaseline 12.14 · feedback 12.69 min per observed hour
- Three hours before bed · Above 10 lux mEDI
- −1.61 min per observed hour 95% CI −11.35 to +9.23 · 11 paired participantsBaseline 32.27 · feedback 30.66 min per observed hour
Field counts, interface use, and survey responses
| Measure | Recorded result |
|---|---|
| Study completion | 14 / 18 operational records |
| Retained light observations | 218,708 / 234,614 completer source observations (93.2%) |
| Official participant-days | 119 baseline · 14 activation · 122 feedback |
| Observed baseline / feedback time | 522.5 / 512.7 hours |
| Morning / evening surveys | 204 / 255 days · 172 / 255 days |
| Post-study evaluation | 14 / 14 completers |
| Dashboard / Telegram evidence | 13 / 14 · 14 / 14 completers |
Dissertation · October 5 release · Tables 5.1–5.2
| Interface measure | Recorded result |
|---|---|
| Attributable dashboard views | 156 views · 13 tracked completers |
| Dashboard views per tracked participant | Median 10 · range 2–24 |
| Recorded dashboard-day cells with a view | 62 / 103 |
| Participant-originated Telegram entries | 98 entries |
| System / researcher Telegram entries | 492 entries |
Dissertation · October 5 release · Section 5.4 · intervention fidelity and observable engagement
| Item | Responses | Wilson 95% CI |
|---|---|---|
| Feedback very / extremely helpful | 11 / 14 (78.6%) | 52.4–92.4% |
| Satisfied / very satisfied with participation | 12 / 14 (85.7%) | 60.1–96.0% |
| Probably / definitely participate again | 12 / 14 (85.7%) | 60.1–96.0% |
| Prompted changes occasionally / frequently | 11 / 14 (78.6%) | 52.4–92.4% |
| Awareness selected as most beneficial | 9 / 14 (64.3%) | 38.8–83.7% |
Dissertation · October 5 release · Table 5.3
Dissertation · October 5 release · Table 5.3 · plotted from the reported counts
Paired participant results and exposure profiles
Dissertation · October 5 release · Figure 5.2
Dissertation · October 5 release · Figure 5.4
Presentation and resources
Presentation and resources
Wearing instructions from the field pilot
Connect the sensor to its companion and attach it to the glasses with rubber bands. Adjust the position, switch on the data broker, then switch on the companion. The kit is ready when the indicated light is solid blue and the green light blinks every five seconds. Keep the broker nearby and carry the companion in a pocket, bag, or attached to you. Wear the sensor during normal activities and, when practical, until bedtime. Then remove the glasses and switch off both devices.
