Download OpenAPI specification:Download
This API provides an interface manage devices.
Returns ID Token after successful authentication with Cognito
username | string The Cognito username |
password | string The Cognito password |
{- "username": "string",
- "password": "string"
}
{- "IdToken": "string"
}
Connect keys are used to onboard a logger (e.g. QSR Logger, T2 Logger) or device (e.g. wireless gateway). There will be only one connect key for each site. Based on that, we know which logger/device belongs to which site.
site required | string Example: site=xxxx Customer Site |
{- "site": "string",
- "connect_key": "string"
}
Connect keys are used to onboard a logger (e.g. QSR Logger, T2 Logger) or device (e.g. wireless gateway). There will be only one connect key for each site. Based on that, we know which logger/device belongs to which site.
site required | string Example: site=xxxx Customer Site |
{- "site": "string",
- "connect_key": "string"
}
Get a list of all registered devices for the authenticated user and site
site required | string Example: site=xxxx Customer Site |
{- "devices": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "valid_from": "2019-08-24T14:15:22Z",
- "valid_until": "2019-08-24T14:15:22Z",
- "customer_uuid": "e7eefd45-cb13-4c62-b229-e5bbc1362123",
- "product_family": "PF_ANY",
- "customer_site": "string",
- "serial_number": "strings",
- "model_code": "stringst",
- "firmware": {
- "firmware_version": "string",
- "firmware_code": "string"
}, - "sensors_connections": [
- {
- "slot_index": 0,
- "sensor_uuid": "string",
- "connected": true,
- "connected_change_date": "string"
}
], - "capability": {
- "powersupply": true,
- "charger": true,
- "radio": true,
- "ethernet": true,
- "display": true,
- "sum": true,
- "deactivation": true,
- "communication_cycle_min": 0,
- "communication_cycle_max": 0,
- "supported_battery_types": [
- "string"
], - "display_measure_rows": 0,
- "slot_count": 0,
- "measuring_cycle_min": 0,
- "measuring_rate_min": 0,
- "measuring_cycle_max": 0,
- "measuring_rate_max": 0,
- "storage_elements_max": 0,
- "device_category": "string"
}, - "setting": {
- "timezone": "string",
- "name": "string",
- "active": true,
- "measuring_cycle": 1000,
- "measuring_cycle_effective": 0,
- "communication_cycle_normal": 1000,
- "communication_cycle_power_saving": 1000,
- "communication_cycle_normal_start": "2019-08-24T14:15:22Z",
- "communication_cycle_power_saving_start": "2019-08-24T14:15:22Z",
- "display_switched_on": true,
- "sum_reset_interval": "SRI_UNKNOWN",
- "battery_type": "BT_UNKNOWN"
}, - "status": {
- "battery_level_percent": 0,
- "battery_temperature": 0,
- "external_power": true,
- "radio_level_percent": 0,
- "config_in_sync": true,
- "last_communication_time": "string",
- "next_communication_time": "string",
- "pending_firmware_update": {
- "firmware": {
- "firmware_version": "string",
- "firmware_code": "string"
}, - "outdated_firmware_detection_time": "string"
}, - "connection_type": "string"
}
}
]
}
Get a registered device for a given uuid for the authenticated user and site
site required | string Example: site=xxxx Customer Site |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "valid_from": "2019-08-24T14:15:22Z",
- "valid_until": "2019-08-24T14:15:22Z",
- "customer_uuid": "e7eefd45-cb13-4c62-b229-e5bbc1362123",
- "product_family": "PF_ANY",
- "customer_site": "string",
- "serial_number": "strings",
- "model_code": "stringst",
- "firmware": {
- "firmware_version": "string",
- "firmware_code": "string"
}, - "sensors_connections": [
- {
- "slot_index": 0,
- "sensor_uuid": "string",
- "connected": true,
- "connected_change_date": "string"
}
], - "capability": {
- "powersupply": true,
- "charger": true,
- "radio": true,
- "ethernet": true,
- "display": true,
- "sum": true,
- "deactivation": true,
- "communication_cycle_min": 0,
- "communication_cycle_max": 0,
- "supported_battery_types": [
- "string"
], - "display_measure_rows": 0,
- "slot_count": 0,
- "measuring_cycle_min": 0,
- "measuring_rate_min": 0,
- "measuring_cycle_max": 0,
- "measuring_rate_max": 0,
- "storage_elements_max": 0,
- "device_category": "string"
}, - "setting": {
- "timezone": "string",
- "name": "string",
- "active": true,
- "measuring_cycle": 1000,
- "measuring_cycle_effective": 0,
- "communication_cycle_normal": 1000,
- "communication_cycle_power_saving": 1000,
- "communication_cycle_normal_start": "2019-08-24T14:15:22Z",
- "communication_cycle_power_saving_start": "2019-08-24T14:15:22Z",
- "display_switched_on": true,
- "sum_reset_interval": "SRI_UNKNOWN",
- "battery_type": "BT_UNKNOWN"
}, - "status": {
- "battery_level_percent": 0,
- "battery_temperature": 0,
- "external_power": true,
- "radio_level_percent": 0,
- "config_in_sync": true,
- "last_communication_time": "string",
- "next_communication_time": "string",
- "pending_firmware_update": {
- "firmware": {
- "firmware_version": "string",
- "firmware_code": "string"
}, - "outdated_firmware_detection_time": "string"
}, - "connection_type": "string"
}
}
Modifies the settings of device for a given uuid
site required | string Example: site=xxxx Customer Site |
content-type required | string Content-Type header is mandatory and only application/json is supported |
name | string Name of the device |
measuring_cycle | integer <int32> >= 1000 Cycle time for measurement in ms (frequency the device is taking the measurements) |
communication_cycle_normal | integer <int32> >= 1000 Cycle time for communication in normal mode in ms (requency with which the measurement data updated). The communication cycle should always be a multiple of the measuring cycle |
display_switched_on | boolean Is the display of the device switched on. This setting is only relevant for devices with a display and if set for other devices type it will be ignored. |
{- "name": "string",
- "measuring_cycle": 1000,
- "communication_cycle_normal": 1000,
- "display_switched_on": true
}
{- "status": "Success",
- "message": "Updated"
}
Removes the device for the specified UUID. All underlying sensors are also removed (this only applies to non-wireless sensors).
site required | string Example: site=xxxx Customer Site |
{- "status": "Success",
- "message": "Deleted"
}
Get a list of all registered sensors for the authenticated user and site
site required | string Example: site=xxxx Customer Site |
{- "sensors": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "firmware": {
- "firmware_version": "string",
- "firmware_code": "string"
}, - "valid_from": "2019-08-24T14:15:22Z",
- "valid_until": "2019-08-24T14:15:22Z",
- "customer_site": "string",
- "serial_number": "strings",
- "model_code": "string",
- "device_connection": {
- "slot_index": 0,
- "device_uuid": "string",
- "connected": true,
- "connected_change_date": "string"
}, - "capability": {
- "radio": true,
- "wired": true,
- "sensor_detection_type": "SDT_FIXED",
- "supported_battery_types": [
- "BT_UNKNOWN"
], - "independent_measuring_cycle": true,
- "independent_measuring_rate": true,
- "measuring_cycle_min": 0,
- "measuring_rate_min": 0,
- "measuring_cycle_max": 0,
- "measuring_rate_max": 0,
- "supported_thermocouple_types": [
- "TC_UNKNOWN"
], - "supported_analog_ranges": [
- "AR_UNKNOWN"
], - "sensor_category": "SC_UNKNOWN"
}, - "setting": {
- "name": "string",
- "battery_type": "BT_UNKNOWN",
- "measuring_cycle": 1000,
- "measuring_cycle_effective": 0,
- "thermocouple_type": "TC_UNKNOWN",
- "analog_range": "AR_UNKNOWN"
}, - "status": {
- "battery_level_percent": 0,
- "battery_voltage": 0.1,
- "battery_temperature": 0.1,
- "predicted_remaining_operating_days": 0,
- "radio_level_percent": 0,
- "latest_radio_level_readings": [
- {
- "radio_level_percent": 0,
- "timestamp": "2015-01-01T00:00:00Z"
}
], - "last_communication_time": "2015-01-01T00:00:00Z",
- "next_communication_time": "2015-01-01T00:00:00Z"
}, - "channels": [
- {
- "channel_number": 0,
- "physical_property": {
- "physical_value": "UNKNOWN",
- "extension": "UNKNOWN"
}, - "physical_unit": "UNKNOWN",
- "resolution_exponent": 0,
- "calibration_active": true,
- "capability": {
- "calibration_support": true,
- "sum_source": true,
- "trigger_source": true,
- "product_simulation_support": true
}, - "setting": {
- "display_physical_unit": "UNKNOWN",
- "product_simulation_coefficient": 0,
- "product_simulation_coefficient_effective": 0,
- "product_simulation_reset_by_schedule": true,
- "product_simulation_reset_by_schedule_effective": true
}, - "setting_override": {
- "measuring_cycle": 1000,
- "product_simulation_coefficient": 0,
- "product_simulation_reset_by_schedule": true
}
}
]
}
]
}
Get a registered sensor for a given uuid for the authenticated user and site
site required | string Example: site=xxxx Customer Site |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "firmware": {
- "firmware_version": "string",
- "firmware_code": "string"
}, - "valid_from": "2019-08-24T14:15:22Z",
- "valid_until": "2019-08-24T14:15:22Z",
- "customer_site": "string",
- "serial_number": "strings",
- "model_code": "string",
- "device_connection": {
- "slot_index": 0,
- "device_uuid": "string",
- "connected": true,
- "connected_change_date": "string"
}, - "capability": {
- "radio": true,
- "wired": true,
- "sensor_detection_type": "SDT_FIXED",
- "supported_battery_types": [
- "BT_UNKNOWN"
], - "independent_measuring_cycle": true,
- "independent_measuring_rate": true,
- "measuring_cycle_min": 0,
- "measuring_rate_min": 0,
- "measuring_cycle_max": 0,
- "measuring_rate_max": 0,
- "supported_thermocouple_types": [
- "TC_UNKNOWN"
], - "supported_analog_ranges": [
- "AR_UNKNOWN"
], - "sensor_category": "SC_UNKNOWN"
}, - "setting": {
- "name": "string",
- "battery_type": "BT_UNKNOWN",
- "measuring_cycle": 1000,
- "measuring_cycle_effective": 0,
- "thermocouple_type": "TC_UNKNOWN",
- "analog_range": "AR_UNKNOWN"
}, - "status": {
- "battery_level_percent": 0,
- "battery_voltage": 0.1,
- "battery_temperature": 0.1,
- "predicted_remaining_operating_days": 0,
- "radio_level_percent": 0,
- "latest_radio_level_readings": [
- {
- "radio_level_percent": 0,
- "timestamp": "2015-01-01T00:00:00Z"
}
], - "last_communication_time": "2015-01-01T00:00:00Z",
- "next_communication_time": "2015-01-01T00:00:00Z"
}, - "channels": [
- {
- "channel_number": 0,
- "physical_property": {
- "physical_value": "UNKNOWN",
- "extension": "UNKNOWN"
}, - "physical_unit": "UNKNOWN",
- "resolution_exponent": 0,
- "calibration_active": true,
- "capability": {
- "calibration_support": true,
- "sum_source": true,
- "trigger_source": true,
- "product_simulation_support": true
}, - "setting": {
- "display_physical_unit": "UNKNOWN",
- "product_simulation_coefficient": 0,
- "product_simulation_coefficient_effective": 0,
- "product_simulation_reset_by_schedule": true,
- "product_simulation_reset_by_schedule_effective": true
}, - "setting_override": {
- "measuring_cycle": 1000,
- "product_simulation_coefficient": 0,
- "product_simulation_reset_by_schedule": true
}
}
]
}
Modifies the configuration of sensor for a given uuid
site required | string Example: site=xxxx Customer Site |
content-type required | string Content-Type header is mandatory and only application/json is supported |
required | object (SensorSettingRequest) |
required | Array of objects (ChannelRequest) List of channels including their settings |
{- "setting": {
- "name": "string",
- "measuring_cycle": 1000,
- "thermocouple_type": "TC_UNKNOWN"
}, - "channels": [
- {
- "physical_property": {
- "physical_value": "UNKNOWN",
- "extension": "UNKNOWN"
}, - "setting": {
- "display_physical_unit": "UNKNOWN",
- "product_simulation_coefficient": 0,
- "product_simulation_reset_by_schedule": true
}
}
]
}
{- "status": "Success",
- "message": "Updated"
}
Removes the sensor for a given uuid. The sensor is unmounted from the device and the receives sensor leave information
site required | string Example: site=xxxx Customer Site |
{- "status": "Success",
- "message": "Deleted"
}
Updates the alarm confiuration for a given device uuid. Only device related alarm can be configured with this endpoint.
site required | string Example: site=xxxx Customer Site |
content-type required | string Content-Type header is mandatory and only application/json is supported |
required | Array of objects (AlarmCondition) The alarm conditions for the device/sensor |
{- "alarm_conditions": [
- {
- "alarm_condition_type": "UNKNOWN",
- "condition_parameter": "string",
- "alarm_severity": "ALARM"
}
]
}
{- "status": "Success",
- "message": "Updated"
}
Get the alarm configuration for the given device uuid
site required | string Example: site=xxxx Customer Site |
valid_at | string Example: valid_at=yyyy-MM-dd'T'HH:mm:ss'Z' (Optional) Get object valid at this timestamp |
include_invalid | boolean Default: false (Optional) Get also invalid/deleted object |
{- "alarm_conditions": [
- {
- "alarm_condition_type": "UNKNOWN",
- "condition_parameter": "string",
- "alarm_severity": "ALARM"
}
], - "valid_from": "2019-08-24T14:15:22Z",
- "valid_until": "2019-08-24T14:15:22Z"
}
Removes alarm configuration for given device uuid
site required | string Example: site=xxxx Customer Site |
{- "status": "Success",
- "message": "Deleted"
}
Updates the alarm confiuration for a given sensor uuid. Only device related alarm can be configured with this endpoint.
site required | string Example: site=xxxx Customer Site |
content-type required | string Content-Type header is mandatory and only application/json is supported |
required | Array of objects (AlarmCondition) The alarm conditions for the device/sensor |
{- "alarm_conditions": [
- {
- "alarm_condition_type": "UNKNOWN",
- "condition_parameter": "string",
- "alarm_severity": "ALARM"
}
]
}
{- "status": "Success",
- "message": "Updated"
}
Get the alarm configuration for a given sensor uuid
site required | string Example: site=xxxx Customer Site |
valid_at | string Example: valid_at=yyyy-MM-dd'T'HH:mm:ss'Z' (Optional) Get object valid at this timestamp |
include_invalid | boolean Default: false (Optional) Get also invalid/deleted object |
{- "alarm_conditions": [
- {
- "alarm_condition_type": "UNKNOWN",
- "condition_parameter": "string",
- "alarm_severity": "ALARM"
}
], - "valid_from": "2019-08-24T14:15:22Z",
- "valid_until": "2019-08-24T14:15:22Z"
}
Removes alarm configuration for given sensor uuid
site required | string Example: site=xxxx Customer Site |
{- "status": "Success",
- "message": "Deleted"
}
Creates a measuring object. A measuring object is a physical object e.g. a freezer, fridge or cooling room. This is a object you want to monitor with the loggers. Logical channel define what to measure, they can be created independently from sensor and sensor channel (sensor_channel), which are real physical sensors of a device.
site required | string Example: site=xxxx Customer Site |
content-type required | string Content-Type header is mandatory and only application/json is supported |
back_reference | string Back reference of the measuring object |
object (MeasuringSetup) |
{- "back_reference": "string",
- "measuring_setup": {
- "channel_assignments": [
- {
- "logical_channel": {
- "physical_property": {
- "physical_value": "UNKNOWN",
- "extension": "UNKNOWN"
}, - "ordinal": 0
}, - "sensor_channel": {
- "physical_property": {
- "physical_value": "UNKNOWN",
- "extension": "UNKNOWN"
}, - "sensor_uuid": "string"
}
}
]
}
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}
Lists all measuring objects of the customer for a given site.
site required | string Example: site=xxxx Customer Site |
{- "measuring_objects": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "valid_from": "2019-08-24T14:15:22Z",
- "valid_until": "2019-08-24T14:15:22Z",
- "customer_site": "string",
- "back_reference": "string",
- "measuring_setup": {
- "channel_assignments": [
- {
- "logical_channel": {
- "physical_property": {
- "physical_value": "UNKNOWN",
- "extension": "UNKNOWN"
}, - "ordinal": 0
}, - "sensor_channel": {
- "physical_property": {
- "physical_value": "UNKNOWN",
- "extension": "UNKNOWN"
}, - "sensor_uuid": "string"
}
}
]
}
}
]
}
Get the measuring object for a given uuid
site required | string Example: site=xxxx Customer Site |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "valid_from": "2019-08-24T14:15:22Z",
- "valid_until": "2019-08-24T14:15:22Z",
- "customer_site": "string",
- "back_reference": "string",
- "measuring_setup": {
- "channel_assignments": [
- {
- "logical_channel": {
- "physical_property": {
- "physical_value": "UNKNOWN",
- "extension": "UNKNOWN"
}, - "ordinal": 0
}, - "sensor_channel": {
- "physical_property": {
- "physical_value": "UNKNOWN",
- "extension": "UNKNOWN"
}, - "sensor_uuid": "string"
}
}
]
}
}
Modifies the configuration of measuring object for a given uuid
site required | string Example: site=xxxx Customer Site |
content-type required | string Content-Type header is mandatory and only application/json is supported |
back_reference | string Back reference of the measuring object |
object (MeasuringSetup) |
{- "back_reference": "string",
- "measuring_setup": {
- "channel_assignments": [
- {
- "logical_channel": {
- "physical_property": {
- "physical_value": "UNKNOWN",
- "extension": "UNKNOWN"
}, - "ordinal": 0
}, - "sensor_channel": {
- "physical_property": {
- "physical_value": "UNKNOWN",
- "extension": "UNKNOWN"
}, - "sensor_uuid": "string"
}
}
]
}
}
{- "status": "Success",
- "message": "Updated"
}
Removes the measuring object for the specified uuid
site required | string Example: site=xxxx Customer Site |
{- "status": "Success",
- "message": "Deleted"
}
Creates a measuring object alarm configuration. This values will define in which time period measurement based alarm or warnings will be received if a defined value (limit value) is exceeded.
site required | string Example: site=xxxx Customer Site |
content-type required | string Content-Type header is mandatory and only application/json is supported |
required | Array of objects (MeasuringObjectAlarmConditionSet) The alarm configuration for one measuring object, multiple condition sets are supported for one measuring object |
back_reference | string The back reference from the caller |
{- "alarm_condition_sets": [
- {
- "alarm_conditions": [
- {
- "alarm_condition_type": "UNKNOWN",
- "alarm_severity": "ALARM",
- "physical_property": {
- "physical_value": "UNKNOWN",
- "extension": "UNKNOWN"
}, - "limit_value": 0.1,
- "limit_hysteresis": 0.1,
- "delay": 0
}
], - "number": 2,
- "schedule": {
- "periods": [
- {
- "week_minute_start": 0,
- "week_minute_stop": 0
}
]
}
}
], - "back_reference": "string"
}
{- "status": "Success",
- "message": "Updated"
}
Gets a measuring object alarm configuration
site required | string Example: site=xxxx Customer Site |
{- "alarm_condition_sets": [
- {
- "alarm_conditions": [
- {
- "alarm_condition_type": "UNKNOWN",
- "alarm_severity": "ALARM",
- "physical_property": {
- "physical_value": "UNKNOWN",
- "extension": "UNKNOWN"
}, - "physical_unit": "UNKNOWN",
- "limit_value": 0.1,
- "limit_hysteresis": 0.1,
- "delay": 0
}
], - "number": 2,
- "schedule": {
- "periods": [
- {
- "week_minute_start": 0,
- "week_minute_stop": 0
}
]
}
}
], - "back_reference": "string",
- "valid_from": "2019-08-24T14:15:22Z",
- "valid_until": "2019-08-24T14:15:22Z"
}
Removes alarm configuration for given measuring object uuid
site required | string Example: site=xxxx Customer Site |
{- "status": "Success",
- "message": "Deleted"
}
Creates a measuring object instruction set. The parameter defined on the measuring object will always be the leading one over the device parameter (if the device is assigned to the measuring object).
site required | string Example: site=xxxx Customer Site |
content-type required | string Content-Type header is mandatory and only application/json is supported |
required | Array of objects (MeasuringInstruction) Measuring instructions for different physical properties (unique per physical property) |
{- "measuring_instructions": [
- {
- "physical_property": {
- "physical_value": "UNKNOWN",
- "extension": "UNKNOWN"
}, - "measuring_cycle": 1000,
- "product_simulation_coefficient": 0,
- "product_simulation_reset_by_schedule": true,
- "product_simulation_reset_schedule": {
- "points_in_time": [
- {
- "day_of_week": "MONDAY",
- "time": "12:34"
}
]
}
}
]
}
{- "status": "Success",
- "message": "Updated"
}
Gets a measuring object instruction set
site required | string Example: site=xxxx Customer Site |
{- "measuring_instructions": [
- {
- "physical_property": {
- "physical_value": "UNKNOWN",
- "extension": "UNKNOWN"
}, - "measuring_cycle": 1000,
- "product_simulation_coefficient": 0,
- "product_simulation_reset_by_schedule": true,
- "product_simulation_reset_schedule": {
- "points_in_time": [
- {
- "day_of_week": "MONDAY",
- "time": "12:34"
}
]
}
}
], - "valid_from": "2019-08-24T14:15:22Z",
- "valid_until": "2019-08-24T14:15:22Z"
}
Removes instruction set for given measuring object uuid
site required | string Example: site=xxxx Customer Site |
{- "status": "Success",
- "message": "Deleted"
}
Updates the timezone for the site
site required | string Example: site=xxxx Customer Site |
content-type required | string Content-Type header is mandatory and only application/json is supported |
timezone | string Timezone string from list https://en.wikipedia.org/wiki/List_of_tz_database_time_zones in IANA format. For Example: 'Europe/Berlin' |
{- "timezone": "string"
}
{- "status": "Success",
- "message": "Updated"
}