This is the first published project that was mostly completed by directing LLM Coding Chatbots, primarily Claude. This prose is entirely hand written.
I love weather beacons. This turns a WLED device in Home Assistant into an immediate term weather indicator.
The lamp is a gift lamp. It doesn't need Home Assistant but it's displayed there and integrated there for distribution and hacking.
The building is topped by a weather beacon with red and blue lights, which use a code to present the local weather forecast, using a popular rhyme as a mnemonic:
Steady blue, clear view.
Flashing blue, clouds due.
Steady red, rain ahead.
Flashing red, snow instead.During baseball season, flashing red means the Boston Red Sox game has been called off on account of weather.
The beacon was first lit on March 15, 1950 and was controlled using forecasts from a meteorological agency located on the 26th floor. It was kept lit until 1973 when it was shut off to set an example during an energy crisis which also temporarily shut off the famed Citgo sign in Kenmore Square. The beacon was re-lit in 1983 and has continued to display the weather forecast ever since.
In October 2004, the beacon flashed red and blue to commemorate the World Series victory of the Boston Red Sox. This was the first time the color scheme changed since the beacon was lit in 1950. A new line was added to the poem accordingly:
Flashing Blue and Red, The Curse of the Bambino is dead!
The beacon again flashed red and blue when the Red Sox won the 2007 World Series, as well as when they won the 2013 World Series. However, it did not flash red and blue the night they clinched the 2018 World Series.
From “Berkeley Building: Weather beacon” on Wikipedia, CC BY-SA 4.0.
I was commissioned to create an artwork for this 43-storey condominium development. Noting the streamlined design of the tower, I proposed creating a light-based piece that signaled the wind speed at the top of the tower. The result is an artwork entitled Harbinger. Utilizing LED technology and meteorological equipment, the ‘beacon area’ of the tower floods with coloured illumination in accordance to a set wind speed/colour scale at night.
The piece has been active since late June of 2007.
Photos and text: Adrian Göllner, “Harbinger, 2007”.
This is the default. The beacon looks at the next 3 hours and shows an effect and colour for the most significant thing happening in that window. The lamp then does not display the current weather, it displays a short forecast ahea. The list is checked top to bottom and the first match wins:
thunder > snow/hail/sleet > pouring > rain > wind > fog > cloudy > partly cloudy > clear night > sunny
| Condition | HA label | WLED effect | Colours (fg / bg) | Speed |
|---|---|---|---|---|
| Thunder | lightning, lightning-rainy | Lightning | violet on deep purple | 180 |
| Snow | snowy, snowy-rainy, hail | Twinklefox | white on navy | 60 |
| Pouring | pouring | Rain | deep blue, fast | 220 |
| Rain | rainy | Rain | blue, slower | 110 |
| Wind | windy, windy-variant | Running | teal | 200 |
| Fog | fog | Breathe | grey | 30 |
| Cloudy | cloudy | Candle Multi, "Cloud" palette | WLED's cloud blues and whites, flickering | 60 |
| Partly cloudy | partlycloudy | Fade | sun fading to cloud | 15 |
| Clear night | clear-night | Twinkle | stars | 40 |
| Sunny | sunny | Solid | amber | - |
| Error/out of list | exceptional, any non-match. | Blink | slow red blink | 60 |
I set mine to flash one of these colors to represent whether the forecast says it'll get warmer, colder, or not change.
It follows where the temperature heads next. Over the next 8 hours, the first hour that's 3 °F or more away from now sets the colour: the climb to the next peak or the drop to the next trough. Smaller wiggles count as the same.
Blending this into the background:
dip (default): dims, pops the trend colour at full brightness, blinks it three times quickly and dims back. Maximally intrusive.flash: three hard blinks.fade: two slow crossfades.overlay: the effect keeps running and its background takes on the trend colour.off: Do not display temperature flashes.Changing the style previews it on the lamp. How often it plays is a setting too, from 0-60 minutes.
Install it from HACS as a custom repository (TLMcNulty/wled-weather-beacon, type Integration), restart Home Assistant, then add WLED Weather Beacon under Settings, Devices & services. Setup asks for three things: the lamp's address, a weather entity with an hourly forecast, and the forecast window.
You get a device with:
One line for a dashboard tile: the look, the trend and what the lamp is actually showing, for example Clear, night · Same · Twinkle white. Its icon follows the look. This is the one on my Home Assistant front page.
The weather the lamp is showing and warmer / same / colder. Look also carries the next 12 hours of looks and trends.
If the lamp gets a new IP address, the integration follows it (WLED announces itself on the network, matched by MAC address). If the lamp loses power, the beacon repaints the look once it's back.
The trend looks 8 hours ahead instead of 12.
The first hour 3 °F or more away from now, sets warmer or colder.
Summary sensor with an icon that follows the look. Look and Trend read as proper words (Clear, night, Colder); Follows the lamp to a new IP address. Repaints after a power cut. New cloudy look. Fixed the sensors reading unknown for a minute after Home Assistant starts.
Look and Trend sensors, Trend style and Mode settings, trend signal styles and interval, gradient mode, Docker.