FlexMeasures CLI Changelog
since v0.14.0 | June 15, 2023
Allow setting a storage efficiency using the new
--storage-efficiencyoption to theflexmeasures add schedule for-storageCLI command.Add CLI command
flexmeasures add reportto calculate a custom report from sensor data and save the results to the database, with the option to export them to a CSV or Excel file.Add CLI command
flexmeasures show reportersto list available reporters, including any defined in registered plugins.Add CLI command
flexmeasures show schedulersto list available schedulers, including any defined in registered plugins.Make
--account-idoptional inflexmeasures add assetto support creating public assets, which are available to all users.
since v0.13.0 | May 1, 2023
Add
flexmeasures add sourceCLI command for adding a new data source.Add
--inflexible-device-sensoroption toflexmeasures add schedule.
since v0.12.0 | January 04, 2023
Add
--resolution,--timezoneand--to-fileoptions toflexmeasures show beliefs, to show beliefs data in a custom resolution and/or timezone, and also to save shown beliefs data to a CSV file.Add options to
flexmeasures add beliefsto 1) read CSV data with timezone naive datetimes (use--timezoneto localize the data), 2) read CSV data with datetime/timedelta units (use--unit datetimeor--unit timedelta, 3) remove rows with NaN values, and 4) add filter to read-in data by matching values in specific columns (use--filter-columnand--filter-valuetogether).Fix
flexmeasures db-ops dumpandflexmeasures db-ops restoreincorrectly reporting a success when pg_dump and pg_restore are not installed.Add
flexmeasures monitor last-seen.Rename
flexmeasures monitor taskstoflexmeasures monitor last-run.Rename
flexmeasures add scheduletoflexmeasures add schedule for-storage(in expectation of more scheduling commands, based on in-built flex models).
since v0.11.0 | August 28, 2022
Add
flexmeasures jobs show-queuesto show contents of computation job queues.--nameparameter inflexmeasures jobs run-workeris now optional.Add
--custom-messageparam toflexmeasures monitor tasks.Rename
-optimization-context-idto--consumption-price-sensorinflexmeasures add schedule, and added--production-price-sensor.
since v0.9.0 | March 25, 2022
Add CLI commands for showing data
flexmeasures show accounts,flexmeasures show account,flexmeasures show roles,flexmeasures show asset-types,flexmeasures show asset,flexmeasures show data-sources, andflexmeasures show beliefs.Add
flexmeasures db-ops resample-dataCLI command to resample sensor data to a different resolution.Add
flexmeasures edit attributeCLI command to edit/add an attribute on an asset or sensor.Add
flexmeasures add toy-accountfor tutorials and trying things.Add
flexmeasures add scheduleto create a new schedule for a given power sensor.Add
flexmeasures delete assetto delete an asset (including its sensors and data).Rename
flexmeasures add structuretoflexmeasures add initial-structure.
since v0.8.0 | January 26, 2022
Add
flexmeasures add sensor,flexmeasures add asset-type,`flexmeasures add beliefs. These were previously experimental features (under the dev-add command group).flexmeasures add assetnow directly creates an asset in the new data model.Add
flexmeasures delete sensor,flexmeasures delete nan-beliefsandflexmeasures delete unchanged-beliefs.
since v0.6.0 | April 2, 2021
Add
flexmeasures add account,flexmeasures delete account, and the--account-idparam toflexmeasures add user.
since v0.4.0 | April 2, 2021
Add the
dev-addcommand group for experimental features around the upcoming data model refactoring.
since v0.3.0 | April 2, 2021
Refactor CLI into the main groups
add,delete,jobsanddb-opsAdd
flexmeasures add asset,flexmeasures add userandflexmeasures add weather-sensorSplit the
populate-dbcommand intoflexmeasures add structureandflexmeasures add forecasts