Working#2
Merged
Merged
Conversation
…ontrol - Extract shared weather data into a static WeatherDataCache class accessible by all measures - Replace instance fields with static fields for centralized weather state storage - Implement rate limiting to prevent excessive API calls with a minimum interval between requests - Use locking to handle concurrent updates and track active measure instances correctly - Refactor asynchronous update logic to run in background tasks with proper status tracking - Improve logging for update scheduling, API calls, and rate limit events - Remove deprecated HTTP fallback logic for API calls on rate limit exceedance - Update parsing methods to use centralized static data cache fields - Add debug variables to expose next update time and update interval information - Refactor value retrieval methods to reference centralized weather data cache fields
… plugin - Introduce ParentMeasure and ChildMeasure classes inheriting from Measure - ParentMeasure manages data fetching and API interaction - ChildMeasure retrieves weather data from its associated ParentMeasure - Modify Initialize to create ParentMeasure or ChildMeasure based on ParentName presence - Update Dispose method to properly clean up measures from tracking list - Add logic to find and link child measures with their parent using skin and name - Change Measure class fields to protected to support inheritance - Refactor Update, Reload, and GetStringValue methods to be virtual for overrides - Add debugging logs for initialization and parent-child linking events - Include sample configuration in ParentMeasure.ini for WeatherX skin usage
- Introduce reverse geocode measures with city, country, continent, and subdivision data - Add language and EnableReverseGeocode options for localization and toggle - Implement asynchronous fetching and parsing of reverse geocode JSON data - Cache last geocode coordinates and refresh on coordinate changes - Extend skin configurations for displaying detailed location information - Enhance text meters to show temperature, humidity, condition, and location data - Add helper method to parse string values from JSON responses safely - Log relevant debug and error information for reverse geocode processes
- Updated README.md with comprehensive plugin overview and feature list - Added detailed installation instructions including quick and manual methods - Provided step-by-step configuration guide with parent and child measures - Included extensive tables of available DataTypes for current, daily, hourly weather - Added examples for common use cases: temperature display, forecasts, dynamic theming - Documented location data support with reverse geocoding instructions - Included weather codes reference table for easy lookup - Added troubleshooting tips and advanced usage scenarios - Introduced a new README.txt user guide with summarized essentials - Removed deprecated ParentMeasure.ini example to simplify usage - Provided enhanced formatting and clearer explanations for better user experience
- Updated Build.ps1 usage comment with new minor version 1.2.0 - Modified Resources/skin_definition.json to reflect version 1.2.0 - Changed output filename in skin_definition.json to corresponding 1.2.0 version - Updated AssemblyInfo.cs AssemblyVersion attribute to 1.2.0.0 - Included binary changes in WeatherX skins reflecting the version update
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.