TheAVCoach Weather Station for WeatherLink is a powerful WordPress plugin that seamlessly integrates your Davis WeatherLink station data into your website. Display current weather conditions using a shortcode and/or sidebar widget with extensive customization options, automatic station detection, universal field compatibility, and built-in mock data testing.
🌤️
Key Features
- Real-time Weather Data: Connect to your WeatherLink API for live weather updates
- Automatic Station Detection: Automatically identifies your Davis station type and available sensors
- Universal Field Compatibility: Automatically detects and maps ALL weather variables from ANY Davis station model
- Flexible Display Options: Use a shortcode in posts/pages or a widget in sidebars
- Two Display Styles: Choose between a Traditional responsive data table or a Graphical weather-app-style display with a hero temperature, wind compass, and color-coded stats panel
- Comprehensive Styling: Full control over fonts, colors, borders, and layout
- Variable Control System: Show/hide individual weather variables with Primary/Secondary priority
- Drag & Drop Ordering: Reorder weather variables via intuitive admin interface
- Mock Data Testing: Built-in testing framework for demonstration and development
- Auto-Refresh Mock Data: Automatically updates mock data when station type changes
- Responsive Design: Works perfectly on desktop, tablet, and mobile devices
- Smart Caching: Efficient data caching to minimize API calls
- Flexible Units: Imperial, Metric, UK, or individually configured units
- Future-Proof: Automatically adapts to new Davis station models and API changes
📊
Weather Data Available
- Temperature (current, dew point, heat index, wind chill)
- Humidity
- Wind speed, direction, and gusts
- Rainfall (daily, storm total, monthly, yearly)
- Barometric pressure and trend (with enhanced field detection)
- UV Index (for stations with UV sensor)
- Solar Radiation (for stations with solar sensor)
- Timestamp information (with customizable styling)
🎨
Advanced Customization Options
- Font Control: Google Fonts integration with size, color, and weight options
- Table Styling: Header background color, opacity control, and cell border options
- Widget Styling: Separate color settings for labels, values, and backgrounds
- Layout Options: 4-column table layout with customizable header styling
- Variable Management: Unified interface for show/hide, priority settings, and drag & drop reordering
- Responsive Design: CSS grid and table layouts that adapt to any screen size
- Timestamp Styling: Customizable timestamp position, color, and alignment
☁️
Graphical Display Style
An alternative to the Traditional data table, built for sites that want a weather-app look rather than a linear table:
- Hero Panel: A large, color-coded temperature reading paired with a wind compass ring (direction + speed) when wind data is enabled
- Temperature-Family Grouping: Heat Index, Wind Chill, and Dew Point display together beneath the hero as related "feels like" readings
- Stats Panel: Remaining variables (humidity, rain, pressure, UV, etc.) as clean, aligned vertical rows
- Semantic Color Coding: Temperature gradient scale, moisture/rain blues, EPA UV Index colors, wind intensity scale, solar radiation scale, and a rising/falling barometric pressure trend indicator (green = rising, red = falling)
- Light / Dark / Auto Color Scheme: Set manually, or automatically follow the visitor's device preference
- Background Gradient Options: Choose from four built-in blue-toned gradient presets (Ocean, Sky, Midnight, Steel), or select Custom to pick your own two brand colors
- Mobile-Optimized: Stats stack into single-column rows on narrow screens rather than shrinking a multi-column grid
- Toggle Anytime: Switch between Traditional and Graphical from the admin settings page - your existing Traditional styling options are preserved and unaffected either way
🏠
Smart Station Detection & Universal Compatibility
- Automatic Identification: Detects Davis station type from API data
- Universal Field Detection: Automatically maps ALL weather variables from ANY Davis station model
- Future-Proof: No manual updates needed for new station models or API changes
- Sensor Mapping: Shows available sensors based on your station model
- Station Types Supported:
- Vantage Vue (basic weather data)
- Vantage Pro2 (includes UV and Solar Radiation)
- Vantage Pro2 Plus (full sensor suite)
- Vantage Vue Plus (Vue + UV sensor)
- Wireless variants of all models
- ANY future Davis station model (automatically supported)
🔧
Technical Features
- API Integration: Direct WeatherLink API v2 integration with proper error handling
- Dynamic Field Detection: Automatically discovers and maps all available weather data fields
- Enhanced Barometric Pressure: Comprehensive field mapping for pressure and trend data
- Smart Caching: Configurable cache duration (1-60 minutes)
- Security: Proper sanitization, nonce verification, and capability checks
- WordPress Standards: Follows all WordPress coding best practices
- Debug Mode: Built-in debugging for troubleshooting with comprehensive API structure analysis
- Smart Mock Data Management: Auto-refresh when station type changes, manual refresh/clear options
- Font Awesome Icons: Professional weather icons throughout
- Mobile Responsive: Optimized for all device sizes
- Automatic Error Recovery: Graceful handling of missing or corrupted data
📱
Usage Examples
Shortcode in Posts/Pages:
[theavcoach_weather]
Widget in Sidebar:
Simply drag the "TheAVCoach Weather Station for WeatherLink" widget to any sidebar area. All widget settings are configured globally in the plugin settings.
🚀
Quick Start
- Install & Activate the plugin
- Configure API Credentials in Settings → TheAVCoach Weather Station for WeatherLink
- Add your WeatherLink API key, secret, and station ID
- Station type will be automatically detected
- All weather variables will be automatically mapped
- Customize styling to match your theme
- Configure variable display (show/hide and priority)
- Reorder variables using drag and drop
- Use the shortcode or widget to display weather data
🧪
Mock Data Testing
The plugin includes a comprehensive mock data testing framework:
- Test without API credentials - perfect for development and demonstration
- Multiple station types - test different Davis station configurations
- Realistic data generation - creates believable weather values with dynamic variation
- Interactive testing interface - test all features before going live
-
Automatic mock mode - seamlessly switch between mock and live data
Quick Start:
-
Go to Settings → TheAVCoach Weather Station for WeatherLink Mock Tester
- Select a station type (Vantage Vue, Pro2, Pro2 Plus, etc.)
- Click "Generate Mock Data" to create realistic weather values
- Click "Inject Into Plugin" to test your plugin with mock data
- Test shortcode and widget functionality
-
Use "Disable Mock Mode" to return to normal API operation
Supported Station Types:
-
Vantage Vue - Basic weather data (temp, humidity, wind, rain, pressure)
- Vantage Pro2 - Full suite including UV Index and Solar Radiation
- Vantage Pro2 Plus - Complete sensor array
- Vantage Vue Plus - Vue capabilities + UV sensor
-
Wireless variants of all models
Testing Benefits:
-
Verify plugin functionality before purchasing API credentials
- Test different station configurations
- Demonstrate features to clients
- Develop and debug without real weather data
- Test responsive design with various data sets
- Validate all weather variable mappings
🎯
Perfect For
- Weather stations and meteorological websites
- Local news and community sites
- Outdoor activity and sports websites
- Educational institutions with weather programs
- Personal weather enthusiast blogs
- Professional weather service providers
- Developers testing weather integrations
- Any Davis station owner regardless of model or configuration
Automatic Installation (Recommended)
- Go to Plugins → Add New in your WordPress admin
- Search for "TheAVCoach Weather Station for WeatherLink"
- Click Install Now and then Activate
Manual Installation
- Download the plugin ZIP file
- Go to Plugins → Add New → Upload Plugin
- Choose the ZIP file and click Install Now
- Click Activate Plugin
Post-Installation Setup
- Navigate to Settings → TheAVCoach Weather Station for WeatherLink
- Enter your WeatherLink API credentials
- Configure display options and styling
- Test with mock data if needed
- Add the shortcode
[theavcoach_weather] to any post or page
1.2
Minor improvement to the Graphical display: refines the placement of the wind direction letters, wind arrow, and center temperature so they no longer overlap each other, and darkens the light-mode Rain/Humidity color scale for better readability. No configuration changes needed.
1.1
Adds an optional Graphical display style (weather-app-style layout with color coding, wind compass, and gradient customization options) alongside the existing Traditional table, plus mobile layout fixes for the Graphical display. Existing Traditional configurations are unaffected.
1.0
This is the initial release of TheAVCoach Weather Station for WeatherLink, featuring automatic station detection, universal field compatibility, comprehensive customization options, and built-in mock data testing capabilities.