Update configuration for a device
PUT
/devices/id/config
Authorizations
ApiKeyAuth
TypeAPI Key (header: Authorization)
Parameters
Path Parameters
id*
device id
Typenumber
Requiredformat
integer
Request Body
JSON
{
"currentFW": "string",
"otaFW": "string",
"interval": 300,
"sleepInterval": 43200,
"packing": 1,
"movementSensitivity": 1,
"debounce": 3,
"movementSensitivity2": 2,
"behavior": 0,
"modeControl": 0,
"modeControl2": 0,
"gpsTimeout": 90,
"transmitTimeout": 0,
"gpsStabilize": 10,
"gpsCheckInterval": 120,
"stopTimeout": 90,
"tolerancePercentage": 10,
"reasonsToWake": [
{
}
],
"modified": "string",
"forceFw": false,
"updateAvailibility": 0,
"receivedAt": "string",
"reset": 0,
"flashTryCount": 0,
"homeWifiNetwork": "string",
"wakeAction": "normal",
"alertAction": "nothing",
"timed": [
{
}
],
"command": 0,
"id": 0,
"deviceId": 0,
"safeZoneId": 0
}
Responses
Body (JSON)
application/json
JSON
{
"currentFW": "string",
"otaFW": "string",
"interval": 300,
"sleepInterval": 43200,
"packing": 1,
"movementSensitivity": 1,
"debounce": 3,
"movementSensitivity2": 2,
"behavior": 0,
"modeControl": 0,
"modeControl2": 0,
"gpsTimeout": 90,
"transmitTimeout": 0,
"gpsStabilize": 10,
"gpsCheckInterval": 120,
"stopTimeout": 90,
"tolerancePercentage": 10,
"reasonsToWake": [
{
}
],
"modified": "string",
"forceFw": false,
"updateAvailibility": 0,
"receivedAt": "string",
"reset": 0,
"flashTryCount": 0,
"homeWifiNetwork": "string",
"wakeAction": "normal",
"alertAction": "nothing",
"timed": [
{
}
],
"command": 0,
"id": 0,
"deviceId": 0,
"safeZoneId": 0
}
PUT
/devices/id/config