Querying Submeter Telemetry Data

The getNodeById query can be used to get building submeter telemetry data for a specific date range (up to 2 weeks of data). From your app or API client use the below URL:

Query Request

From your app or API client, use the below URL:

URL: https://api.abound.carrier.io/prod-ahs-api/graphql/

Argument: The argument for getNodeById is ID. Device IDs can be retrieved using the getAssetsForAllBuildingByAboundId query.

Query Response

As a response, the above query will fetch details about various assets for the entire building based on the specified getAssetsForAllBuildingByAboundId.

QUERY
                    
                      {
getNodeById(id: "e3b1c9f6-22a4-4e94-bf57-8d2a3c4b6d1e") {
id
name
history(criteria: { endDateTime: "2024-08-14T12:36:52.208Z", fromDateTime: "2024-08-14T10:36:52.208Z" }) {
points{
type
value
timestamp
}
}
}
}
RESPONSE
                    
                      {
"data": {
"getNodeById": {
"id": "e3b1c9f6-22a4-4e94-bf57-8d2a3c4b6d1e",
"name": "ElecMeter_Building_Lighting",
"history": {
"points": [
{
"type": "Energy Usage Sensor",
"value": "470.64",
"timestamp": 1723638873600
},
{
"type": "Energy Usage Sensor",
"value": "21700.05",
"timestamp": 1723632595200
}
]
}
}
}
}