Connect devices over HTTP
Identity
Section titled “Identity”- A device signs in with its key.
- A device can have two active keys, so you can change keys without a gap.
- Revoke a key that is lost or no longer used.
Sending readings over HTTP
Section titled “Sending readings over HTTP”Send each message to /device/v1/telemetry with:
messageId: a unique id for the message.observedAt: when the reading was taken.properties: the readings, by name.
What “accepted” means
Section titled “What “accepted” means”- Accepted means the message is safely received.
- It does not mean the readings are valid.
- The device type names each property, its kind and its unit. A message that does not match it is refused, and shows as refused in Telemetry.