Weather lamp: Cloudy-A forecast light
By Russell Barnes. Posted

This project uses two LED strips inside a home-made lamp to show the weather forecast
Advertisement
Starter electronics: how to build and program circuits with a Raspberry Pi or Raspberry Pi Pico.
We like Raspberry Pi projects that combine craft with cleverness. Cloudy-A is an internet-connected lamp that changes colour depending on the weather.
Cloud-A is “a script for light animations for two LED strips according to the weather forecast,” says Gregor, the project maker.
Build a lamp that responds to weather forecast
Gregor followed this Bright Side YouTube tutorial to make the lamp itself. It’s a simple cloud lamp made from a recycled plastic bottle covered in cotton wool. “
There are actually quite a lot of good tutorials,” said Gregor. “I just chose this one because it resembles most closely my own process and uses the same kind of container
Instead of putting a regular coloured lamp inside, Gregor used two LED strips. His script then uses the WeatherUnderground API to get local weather results. It then changes the lamp colour.
“Put the Raspberry Pi, the breadboard or perfboard and the LED-strips all in and have everything attached to the multiple socket strip,” said Gregor. “I used a rectangular clear 5 liter bottle. I cut three sides of it open just where it reaches the biggest diameter under the opening.”
“On the side opposite to the attached side I also made a hole for the power cord. Then I made another hole in the exact middle of the bottom (a soldering iron can help) and put the fishing line through that and the hole at the top of the bottle,” said Gregor.
“I have done this with a Raspberry Pi 3 since there were no Pi Zero’s to be bought anywhere,” said Gregor. “But since this is probably a bit overkill for this project, I would recommend trying this with a Raspberry Pi Zero.”
We think it’s a very stylish project and great for kids. Let us know if you have luck building one or have created something similar for Raspberry Pi.

Russell runs Raspberry Pi Press, which includes The MagPi, Hello World, HackSpace magazine, and book projects. He’s a massive sci-fi bore.
Subscribe to Raspberry Pi Official Magazine
Save up to 37% off the cover price and get a FREE Raspberry Pi Pico 2 W with a subscription to Raspberry Pi Official Magazine.
More articles

Starter Electronics in Raspberry Pi Official Magazine 157
After you’ve built your own simple circuit, why not think a little bit bigger – like building a product, and getting that product verified as officially Powered By Raspberry Pi? We take a look at some of the brilliant gadgets with Raspberry Pi at their heart. If you want to build a submarine, you might […]
Read more →

Win one of three Raspberry Pi 500 desktop kits
Everything you need for a PC, add your own monitor
Read more →

Picocomputer 6502
The Picocomputer 6502 is truly open-source hardware.
Read more →
Sign up to the newsletter
Get every issue delivered directly to your inbox and keep up to date with the latest news, offers, events, and more.