Skip to content

Working#2

Merged
NSTechBytes merged 5 commits into
mainfrom
working
Nov 6, 2025
Merged

Working#2
NSTechBytes merged 5 commits into
mainfrom
working

Conversation

@NSTechBytes

Copy link
Copy Markdown
Owner

No description provided.

…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
@NSTechBytes
NSTechBytes merged commit 9f89af8 into main Nov 6, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant