Ga naar hoofdinhoud

buildings_electricity_latest

GET 

/public-api/buildings/:uuid/electricity/latest/

Pre-requisites

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

Retrieve the most recent electricity usage data for your building. This endpoint provides values from sensors that have transmitted data within the 120 seconds preceding the most recent measurement. To ensure data accuracy, the timestamp of the oldest available reading within this window is used. This endpoint will always returns the last value regardless of how old it is (where GET /buildings/{uuid}/electricity/actual/ returns no value when it's too old).


Unit: watt

Request

Responses