API Overview
API Mutation
API Query
API Subscription
Webhooks
Hardware

Subscription to Signals in a Space

We set up a subscription to get all updates from our sensory devices in that space live as they occur.

subscription {
signalAdded(where:{spaceId:"MyBuilding"}) {
point {
name
}
timestamp
unit
type
data {
rawValue
}
}
}

This will then generate ongoing incoming data to you in this format


"signalAdded": {
"point": {
"name": "KitchenCorner"
},
"timestamp": "2020-12-10T12:25:00.000000000+0000",
"unit": "ºC",
"type": "Temperature",
"data": {
"rawValue": "22"
}
}


#review required to update data format
astronaut

Ready to get started?