Changes
This release includes a major refactoring under the hood to standardise how data sources are updated, and handle rate limits applied by OSM when performing geocoding operations.
There used to be a local library that was used to perform these operations, however it was not compatible with a Raspberry Pi hence why OpenStreetMaps is used.
OSM comes with its own limitations of only 1 request per second, this means each update interval can produce multiple HTTP requests for each area / data source configured.
Bug Fixes 🛠
- Bump pyfuelprices to version 2025.5.0 @pantherale0 (#60)
- Fix fuel cost calculation in PetrolSpySource by converting amount to dollars @pantherale0
- Refactor fuel price sources to improve structure and maintainability @pantherale0