← My setup

How the room works

Four Hue lights and a desk lamp, one motion sensor and a Mac. The room reacts to me walking in, eases toward bed in the evening, and gives me a dim path at night. This page says how. It never says what the room is doing.

Three parts

  1. The sensor sees the door. A Hue motion sensor in the corner by the door also reads light and temperature. Its readings stay on my Mac.
  2. The bridge reacts. Small rules on the Hue Bridge turn the lights on when I walk in after dark, turn them down when the room is quiet, and give me a dim red path at night, with no computer in the loop.
  3. My Mac plans the night. It moves the room through the evening on my own schedule, runs the scenes I pick, keeps the bridge's rules in step with one config file, and checks the bridge's clock.

The scenes

The real room's fourteen, with the colors and brightness my lights get. Each dot is a light: the two Hue Play bars behind the monitor, then the fan's two bulbs. In the 3D room, the Lights card runs any of them, and Play a night runs the evening in twenty seconds.

Every day

  • ArriveBoth bars lilac at 55%; both fan bulbs 2700 K at 70%.
  • Arrive lateBoth bars lilac at 30%; both fan bulbs 2400 K at 35%.
  • FocusBoth bars cool white at 25%; both fan bulbs 4000 K at 70%.
  • EveningBoth bars lilac at 45%; both fan bulbs 2700 K at 45%.
  • BrightBoth bars cool white at 60%; both fan bulbs 5000 K at 100%.

Moods

  • CallBoth bars lilac at 30%; both fan bulbs 3500 K at 55%.
  • WatchBoth bars warm white at 20%; both fan bulbs off.
  • Lilac MoonLeft bar lilac at 80%, right bar rose at 70%; desk-side fan bulb lilac at 25%, far-side bulb foam at 15%.

Sleep

  • Wind downBoth bars gold at 25%; desk-side fan bulb off, far-side bulb 2200 K at 25%.
  • Last callBoth bars ember at 10%; desk-side fan bulb off, far-side bulb 2000 K at 8%.
  • Lights outBoth bars off; both fan bulbs off.
  • Night pathBoth bars ember at 2%; desk-side fan bulb off, far-side bulb ember at 1%.
  • WakeBoth bars warm white at 40%; both fan bulbs 4000 K at 80%.

When I'm out

  • AwayBoth bars off; both fan bulbs off.

What never leaves my Mac

Whether I'm in the room, when I last moved, how often I come and go, the room's mode, whether the real lights are on, the temperature and the light level, and when I go to sleep. Not live, not hours later and not as an average. A live "lights are off" tells anyone when the room is empty, and an old one tells them my routine. So the room on this site is a simulation you can play with, and nothing you do there reaches a real light.