Project 06 Connected device

All projects

Portal Lamp

A lamp that glows with the sky over Seattle, live, wherever it sits.

Client
Personal project
Year
2026
Role
Electronics, firmware & enclosure
Timeline
Built in January 2026, rebuilt to run unattended in October
Status
In Progress
130 mm 15 mm shade base
DrawingNot to scale. The dimensions are the real ones.

Given

A color sensor in a Seattle window, a lamp in someone else's home, and nobody on site to fix it.

Find

A lamp that shows the Seattle sky, live, and keeps doing it with nobody watching.

Answer

  • 1 / min

    Sky readings, measured in my window and shown by the lamp.

  • 1 s, not 90

    How fast the first live update confirmed itself. That was a timing bug, and every check before it had missed it.

Work shown

Two small devices, one idea. A color sensor in my window measures the sky over Seattle every minute. A lamp, built as a gift, glows with whatever it measured, in someone else’s home. When the sky here goes gold at sunset, so does the lamp there.

How it works

The sensor reads the light, separates its color from its brightness, and publishes both. The lamp listens and shows the color, but it does not follow blindly. Night comes from the sun’s position over Seattle, so a room light by the sensor can’t fake daytime, and after dark the lamp goes dark too, apart from the occasional star, fewer when the real moon is bright.

Built to be left alone

The first version worked on my desk and nowhere else. The rebuild is about the hours nobody is watching: it finds its own Wi-Fi or asks for it with a setup page on a phone, reports its health so I hear about a problem before the person who has it does, and takes signed updates that undo themselves if anything goes wrong.

The digital double

This page’s live view is a second lamp, drawn from the real shade’s dimensions and driven by the same readings and the same rules as the firmware, so it shows what the real one is showing right now.

Learned

What I took from it

  1. 01 A gift has to work without me. The lamp updates itself over the air, and every update runs on probation: if the new version can't stay online, the lamp quietly goes back to the one that could.
  2. 02 The most useful test was the first real one. The first live update confirmed itself in one second instead of ninety, which is how I found a timing bug that every check before it had missed.
  3. 03 Making a sensor's color feel like color was a perception problem, not a saturation one. Lifting pale tints while leaving strong ones alone reads as the sky, not as a filter.

Built with

  • ESP32
  • C++
  • Adafruit IO
  • Cloudflare Workers
  • Fusion 360