Skip to content

WeatherStar 4000+ v2.2.0 - Data Display Update

Latest

Choose a tag to compare

@wesellis wesellis released this 02 Oct 20:00
· 6 commits to main since this release

WeatherStar 4000+ v2.2.0 - Data Display Update

๐ŸŒ Release Date: October 2, 2025

โœจ Major Features

  • UV Index Forecast - 7-day UV protection guidance from Open-Meteo
  • Recent Earthquakes - Live USGS seismic data (magnitude 3.0+)
  • Stock Market Indices - Real-time DOW, S&P 500, NASDAQ from Alpha Vantage
  • 30-Day Weather History - Temperature and precipitation trends
  • Enhanced Time/Date Display - Consistent positioning across all displays

๐ŸŽฏ Key Improvements

โœ… New Display Modes:

  • UV Index Forecast with daily max values and protection levels
  • Recent Earthquakes with magnitude, location, and time
  • Stock Market with live prices and change indicators
  • 30-Day Temperature history (renamed from "Temperature History")
  • 30-Day Precipitation history (renamed from "Precipitation History")

โœ… Display Fixes:

  • Fixed time/date position (moved up 10px, right 5px on all pages)
  • Added date display to all pages for consistency
  • Fixed stock market color KeyError bug
  • Cleaner header naming conventions

โœ… Data Integration:

  • Open-Meteo API for UV index and weather history
  • USGS Earthquake API for seismic data
  • Alpha Vantage API for stock market data
  • 5-minute caching on stock data to avoid rate limits

๐Ÿ”ง Technical Changes

  • Updated displays.py with 3 new display methods
  • Added _fetch_stock_data() helper with caching
  • Fixed draw_header() time/date positioning for all displays
  • Updated config.py with new DisplayMode enums
  • Integrated Open-Meteo historical data API

๐Ÿ“ฆ Requirements

  • Python 3.7+
  • pygame 2.6.0+
  • requests 2.32.3+
  • Pillow 10.4.0+
  • ephem 4.1.0+ (optional)

๐Ÿš€ Installation

git clone https://github.com/wesellis/FUN-WeatherStar-4000-Raspberry-Pi-Python-Pygame-CRT-NOAA.git
cd FUN-WeatherStar-4000-Raspberry-Pi-Python-Pygame-CRT-NOAA
pip install -r requirements.txt
python weatherstar4000.py

๐ŸŒ API Keys

Stock Market: Alpha Vantage API key included (free tier)
UV Index & History: Open-Meteo (no key required)
Earthquakes: USGS (no key required)

๐Ÿ“Š Display Count

Now featuring 26+ display modes including:

  • All classic WeatherStar 4000 displays
  • 30-day weather history
  • UV index forecast
  • Recent earthquakes
  • Live stock market
  • News integration
  • Animated weather alerts

๐ŸŽฎ Perfect for

  • Raspberry Pi weather stations
  • Retro computing projects
  • CRT TV displays
  • Weather enthusiasts
  • 90s nostalgia lovers
  • Educational displays

Bringing authentic 1990s Weather Channel experience with modern live data!

๐Ÿค– Generated with Claude Code