flexmeasures.ui.views.sensors
Classes
- class flexmeasures.ui.views.sensors.SensorUI
This view creates several new UI endpoints for viewing sensors.
todo: consider extending this view for crud purposes
- get(id: int, **kwargs)
GET from /sensors/<id> The following query parameters are supported (should be used only together):
start_time: minimum time of the events to be shown
end_time: maximum time of the events to be shown
In addition, the source query parameter can be used to pre-select a data source in the statistics panel (e.g. when linking here from an automation).