Member-only story

Raspberry Pi Weather Lamp

Andrew Evans
13 min readMar 9, 2021

--

Recently I had a fun idea for an IoT project where I could have a lamp tell me what the weather was doing. My basic premise was that the lamp would turn different colors based on conditions like Rain, Snow, Clouds, or Sun. There are many APIs that can give me forecast information freely, so I just needed to pull together a way to power the lamp and a way to change colors.

In this post, I’m going to walkthrough how I built a weather lamp with a Raspberry Pi and a 3D printed lamp. To run this lamp I’m using Python and you can see a full copy of all the source code I go over at my repo https://github.com/andrewevans0102/weather-lamp.

I also created a YouTube video that covers this same project. Check it out at the following:

Required Materials

To do this project, you only need some basic materials that you can get either directly off of Amazon or at your local hobby store. If you wanted to 3D print the lamp itself, that would require a 3D printer. However, you can find votive lamps and covers on Amazon that provide the same look and feel and could be used instead.

--

--

Andrew Evans
Andrew Evans

Written by Andrew Evans

Husband, Father, and Engineer. Follow me on andrewevans.dev.

No responses yet