API Overview
API Mutation
API Query
API Subscription
Webhooks
Hardware

Sending signal data

To add and send a signal from your device you need to create a payload as described below.

Topic: POINT/PUSH

The API expects data in JSON format.

{
"deviceId":"AA:BB:CC:DD:EE:FF",
"tenantId":"my_tenant_name",
"tenantKey":"abcd123abcd123abcd123",
"rssi"?:"-50",
"signals":[
{
"value":"22.23",
"unit":"ºC",
"type":"Temperature",
"name"?:"MyNiceName"
"timestamp":"2017-07-12T12:53:27+00:00"
}
]
}

The above input is consistent with what you will find in the GraphQL Schema, with the exception of the optional “rssi” and also that tenantID will be displayed as “d4-mqtt-my_tenant_name” from GraphQL and should be entered as only “my_tenant_name” in payload.

astronaut

Ready to get started?