FlexMeasures v0.31 Adds Forecasting API and Data Annotations
TL;DR
FlexMeasures v0.31 introduces API endpoints for triggering forecasts and restores visual annotations on time series data in the UI. The release also includes improvements to CSV upload validation, scheduling, user interface behavior, and infrastructure support.
Read the full release notes >>
Forecasting API
FlexMeasures v0.31 introduces new forecasting API endpoints, including [POST] /sensors/(id)/forecasts/trigger and [GET] /sensors/(id)/forecasts/(uuid), which allow forecasting sensor data through the API.
Annotations
The release also restores and improves annotations on time series data in the FlexMeasures interface. Annotations allow operators to add context to data, such as indicating when values were uploaded manually or describing events affecting asset behavior. In v0.31, annotations on the sensor page show descriptions when hovered and appear in order during playback.
Additional Improvements
The release includes a range of other updates across scheduling, data ingestion, user interface behavior, and infrastructure support, including:
-
CSV upload validation now infers base resolution even when datasets contain valid gaps
-
Support for setting a resolution when triggering schedules through the API or CLI
-
Step-by-step replay in the UI to move through time steps
-
Ability to change a sensor’s timezone from the UI
-
Improvements to the UX for creating sensors
-
Improvements to the SwaggerDocs API documentation page
-
JSON fields migrated to JSONB so they can be used to look up sensors, attributes, and sources
-
Python 3.9 support has ended
FlexMeasures v0.31 also includes infrastructure updates, dependency upgrades, and bug fixes across the platform.