by The AV Coach on WordPress.org
Display real-time weather data from your Davis WeatherLink station with automatic detection, styling options, and universal compatibility.

Admin Settings Page - Comprehensive configuration interface
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.
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.
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:
1. Go to Settings → TheAVCoach Weather Station for WeatherLink Mock Tester
2. Select a station type (Vantage Vue, Pro2, Pro2 Plus, etc.)
3. Click “Generate Mock Data” to create realistic weather values
4. Click “Inject Into Plugin” to test your plugin with mock data
5. Test shortcode and widget functionality
6. 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
This plugin connects to the Davis WeatherLink API to obtain real-time weather station data. This external service is required to display current weather information in the included widget and shortcode.
API Credentials: Your WeatherLink API key, secret, and station ID are stored securely in your WordPress database and sent to the Davis WeatherLink API servers when:
* Weather data is requested (via shortcode or widget)
* Cache expires and fresh data is needed
* Manual refresh is triggered
Request Data: The plugin sends HTTP requests to Davis WeatherLink API endpoints containing:
* Your station ID (to identify which weather station to query)
* API authentication credentials (key and secret)
* No personal information or user data is transmitted
Data Transmission Frequency:
* Weather data is fetched when the shortcode or widget is displayed
* Caching reduces API calls (configurable from 1-60 minutes)
* No continuous background data transmission
Service Provider: Davis Instruments Corporation
Service Purpose: Provides real-time weather data from Davis weather stations
API Endpoints Used:
* https://api.weatherlink.com/v2/current/{station_id} – Current weather data
* https://api.weatherlink.com/v2/current/{station_id}/ – Alternative endpoint format
* https://api.weatherlink.com/v2/current/{station_id}.json – JSON format endpoint
Terms of Service: Davis WeatherLink API Terms
Privacy Policy: Davis Instruments Privacy Policy
Data Security: All API communications use HTTPS encryption, and your API credentials are stored securely in your WordPress database.
The plugin includes a built-in mock data testing mode that allows you to test all functionality without connecting to external services. This mode generates realistic weather data locally and is perfect for development, testing, and demonstration purposes.
The plugin follows WordPress coding standards and includes:
* Proper sanitization and validation
* Nonce verification for security
* User capability checks
* Error handling with WP_Error
* Internationalization support
* Proper script and style enqueuing
* Activation/deactivation hooks
* Comprehensive error logging
* Dynamic field detection algorithms
* Universal station compatibility
* Enhanced data extraction methods
* Comprehensive debug and testing tools
WeatherLink is a registered trademark of Davis Instruments Corporation. Used here for reference only. This plugin is not affiliated with or endorsed by Davis Instruments.