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

get_chart(id, **kwargs)

GET from /sensors/<id>/chart