This is an old revision of the document!


Thingsee Angle Profile (18)

ThingseeANG can measure the angular position of an arm attached to the sensor.

{
  "angle" : 89
}
  • angle is angular position in degrees (0° to 360°).
{
  "temp" : 59
}
  • temperature is degrees Celsius.

A client will send this message with tsmEv : 30 to update new configuration parameter to the sensor. The sensor will reply with the same updated data content with tsmEv:31. The sensor may send this same data in boot-up or other events to inform the client about currently applied configuration content.

{
  "transactionId"      : Number,
  "profileId"          : Number,
  "duration"           : Number,
}
  • transactionId is an integer value in range 0 to 2147483647.
  • profileId is LED control profile. Following profiles are supported:
    • 0: Turn off LED.
    • 1: Blink LED every 2 seconds.
  • duration is duration of how long profile is to be active in seconds. After deactication, LED is powered off. Duration is only used if profileId is set.

If profileId is omitted from configuration message, device reports back current profileId and duration settings. A sensor application must reply with the same message (applied configuration values) with an tsmEv : 31.

[{
  "tsmId"         : 18200, //ID of message content
  "tsmEv"         : 31,   //config update response
  "tsmTs"         : 1492604004, //message timestamp
  "tsmTuid"       : "TSANG6789", //originating thing
  "transactionId" : 123499,
  "profileId"     : 1,
  "duration"      : 1800
}]
This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information