Angle Profile (18000-18999)
Angular position and tilt measurement sensors.
Sensor Data Messages
Angular Position Info (18100)
Reports the current angular position of the sensor.
{
"angle": 89
}
| Field | Range | Unit |
|---|---|---|
angle | 0–360 | Degrees |
Temperature Info (18101)
Reports the sensor’s temperature.
{
"temp": 59
}
| Field | Unit |
|---|---|
temp | °C |
Configuration Messages
LED Control Request (18200)
Control the device LED for identification purposes. Sent with tsmEv: 30.
{
"transactionId": Number,
"profileId": Number,
"duration": Number
}
| Field | Range | Description |
|---|---|---|
transactionId | 0–2,147,483,647 | Request tracking ID |
profileId | 0–1 | LED behavior |
duration | seconds | How long to keep profile active |
Profile values:
| ID | Behavior |
|---|---|
0 | Turn off LED |
1 | Blink LED every 2 seconds |
After duration expires, the LED is automatically powered off.
Example Response:
[{
"tsmId": 18200,
"tsmEv": 31,
"tsmTs": 1492604004,
"tsmTuid": "TSANG6789",
"transactionId": 123499,
"profileId": 1,
"duration": 1800
}]