Ga naar hoofdinhoud

buildings_heat_meterreading

GET 

/public-api/buildings/:uuid/heat/meterreadings/

Pre-requisites

  • uuid: You need a (building) uuid for this endpoint. You can get a list of buildings with GET /buildings/.

Description

Retrieve heat meter readings for your building.

If no timestamp is provided, meter readings of the last processed interval will be returned. Otherwise, meter readings of the interval to which the provided timestamp belongs will be returned

If no minimum interval is provided, day intervals will be used. If the provided interval is shorter than the currently configured minimum interval, no readings or outdated readings may be returned. The minimum interval can be configured depending on the type of meter and local configuration. Please contact operations@envitron.com for more information.
The currently configured minimum intervals can be retrieved with GET /buildings/{uuid}/sensors/.


Example situation:

Meter readings for a sensor with a configured minimum interval of a minute are requested for 2021/8/12 11:49:33.

If the requested minimum interval is minute: a reading for timestamp 2021/8/12 11:49:00 will be returned.
If the requested minimum interval is quarter: a reading for timestamp 2021/8/12 11:45:00 will be returned.
If the requested minimum interval is day: a reading for timestamp 2021/8/12 00:00:00 will be returned.

This reading is the first reading received on- or after this timestamp.


Unit: GJ

Request

Responses