NeoPixel Temperature Stair Lights

Following a post-Christmas decision to keep illuminated decorations on her stairway bannister throughout the year, Lorraine Underwood found a new purpose for a strip of NeoPixels she had lying around.

Lorraine Underwood on Twitter

Changed the stair lights from a string to a strip & they look awesome! #neopixel #raspberrypi https://t.co/dksLwy1SE1

Simply running the lights up the stairs, blinking and flashing to a random code, wasn’t enough for her. By using an API to check the outdoor weather, Lorraine’s lights went from decorative to informative: they now give an indication of outside weather conditions through their colour and the quantity illuminated.

“The idea is that more lights will light up as it gets warmer,” Lorraine explains. “The temperature is checked every five minutes (I think that may even be a little too often). I am looking forward to walking downstairs to a nice warm yellow light instead of the current blue!”

In total, Lorraine had 240 lights in the strip; she created a chart indicating a range of outside temperatures and the quantity of lights which for each value, as well as specifying the colour of those lights, running from chilly blue through to scorching red.

Lorraine Underwood Neopixel stair way lights

Oh, Lorraine! We love your optimistic dreams of the British summer being more than its usual rainy 16 Celsius…

The lights are controlled by a Raspberry Pi Zero running a code that can be found on Lorraine’s blog. The code dictates which lights are lit and when.

Lorraine Underwood Neopixel stair way lights

“Do I need a coat today? I’ll check the stairs.”

Lorraine is planning some future additions to the build, including a toddler-proof 3D housing, powering the Zero from the lights’ power supply, and gathering her own temperature data instead of relying on a third-party API.

While gathering the temperature data from outside her house, she may also want to look into building an entire weather station, collecting extra data on rain, humidity, and wind conditions. After all, this is the UK: just because it’s hot outside, it doesn’t mean it’s not also raining.

4 comments

Avatar

Sigh…if only the Summer temps where I live would stay at no more than 60F, or even 75F…

Avatar

A nice demonstration of ambient computing.

It could double as a game to keep the kids (or oneself) fit, if you don’t mind them running up and down the stairs to play the game. ;)

Avatar

Love it! The only issue for me would be that now if I know what the weather is like outside beforehand and see blue tint everywhere, I would probably snuggle deeper under the covers instead of getting out of bed. ;-)

On a related note, still waiting anxiously for the official Raspberry Pi weather HAT to be available to the general public. Anyone have news on that?

Avatar

It is a nice product!!
But, does it reasonable to check from the stair, what if need a coat? cant you feeling by your body?

Leave a Comment

Comments are closed