Temperatures
Get documents of resource 'temperatures'
Document
Property
Type
Contract
Description
device_guid
string
required
Guid of device that provided the temperature log
equipment_guid
string
required
Guid of the equipment thaat created the temperature log
temperature_id
string
required
Unique ID of the temperature log
controller_serial
integer
required
The serial number of the equipment's controller that created the temperature log
controller_state
integer
required
State of controller when log was created
log_date
integer
required
Timestamp in milliseconds of the equipment's controller when temperature log was created
temperatures
Array<object>
required
Array of sensors and their respective values
temperatures.value
integer
required
Value of temperature, reading in 0.1°C
Temperature sensor IDs
Sensor ID
Description
Address
NTC1
Lamp temperature canopy
PCB1, NTC1, ADD. 11
NTC2
Lamp temperature bench
PCB1, NTC2, ADD. 11
NTC3
Room temperature bench (0,5m above floor)
PCB1, NTC3, ADD. 11
NTC4
Room temperature canopy (1,5m above floor)
PCB1, NTC4, ADD. 11
NTC5
N/A
PCB2, NTC1, ADD. 12
NTC6
N/A
PCB2, NTC2, ADD. 12
NTC7
N/A
PCB2, NTC3, ADD. 12
NTC8
N/A
PCB2, NTC4, ADD. 12
NTC9
Airco temperature
PCB3, NTC1, ADD. 13
NTC10
Climate control temperature
PCB3, NTC2, ADD. 13
NTC11
N/A
PCB3, NTC3, ADD. 13
NTC12
N/A
PCB3, NTC4, ADD. 13
NTC13
N/A
PCB4, NTC1, ADD. 14
NTC14
N/A
PCB4, NTC2, ADD. 14
NTC15
N/A
PCB4, NTC3, ADD. 14
NTC16
N/A
PCB4, NTC4, ADD. 14
Sensor ID
Description
Address
NTC1
Lamp temperature canopy
PCB1, NTC1, ADD. 11
NTC2
Room temperature canopy (1,5m above floor)
PCB1, NTC2, ADD. 11
NTC3
Room temperature bench (0,5m above floor)
PCB1, NTC3, ADD. 11
NTC4
Lamp temperature bench
PCB1, NTC4, ADD. 11
NTC5
N/A
PCB2, NTC1, ADD. 12
NTC6
N/A
PCB2, NTC2, ADD. 12
NTC7
N/A
PCB2, NTC3, ADD. 12
NTC8
N/A
PCB2, NTC4, ADD. 12
NTC9
N/A
PCB3, NTC1, ADD. 13
NTC10
N/A
PCB3, NTC2, ADD. 13
NTC11
N/A
PCB3, NTC3, ADD. 13
NTC12
N/A
PCB3, NTC4, ADD. 13
NTC13
N/A
PCB4, NTC1, ADD. 14
NTC14
N/A
PCB4, NTC2, ADD. 14
NTC15
N/A
PCB4, NTC3, ADD. 14
NTC16
N/A
PCB4, NTC4, ADD. 14
Get temperature logs of equipment
GET https://api.v2.myluxura.com/v2/equipment/:equipment_guid/temperatures
This endpoint returns the temperature log documents by equipment guid.
Path Parameters
equipment_guid
string
Guid of equipment
Query Parameters
company
string
Guid of the company you're acting on behalf of
Headers
Authorization
string
Authentication token (type 'Bearer')
[
{
"_meta": {
"index": "temperature_logs",
"guid": "<guid>",
"created": 1622561777785,
"updated": 1622561777785,
"removed": 0,
"expiry": 1630337777785,
"created_by": {
"host": "myluxura-api",
"resource": {
"guid": "<guid>",
"index": "devices"
}
}
},
"device_guid": "<guid>",
"equipment_guid": "<guid>",
"temperature_id": "1543228106.1622569081000",
"controller_serial": 1543228106,
"controller_state": 4,
"log_date": 1622561881000,
"temperatures": [
{
"sensor": "ntc1",
"value": 650
},
{
"sensor": "ntc2",
"value": 270
},
{
"sensor": "ntc3",
"value": 250
},
{
"sensor": "ntc4",
"value": 250
},
{
"sensor": "ntc5",
"value": 2550
},
{
"sensor": "ntc6",
"value": 2550
},
{
"sensor": "ntc7",
"value": 2550
},
{
"sensor": "ntc8",
"value": 2550
},
{
"sensor": "ntc9",
"value": 0
},
{
"sensor": "ntc10",
"value": 0
},
{
"sensor": "ntc11",
"value": 0
},
{
"sensor": "ntc12",
"value": 0
},
{
"sensor": "ntc13",
"value": 0
},
{
"sensor": "ntc14",
"value": 0
},
{
"sensor": "ntc15",
"value": 0
},
{
"sensor": "ntc16",
"value": 0
},
{
"sensor": "ntc17",
"value": 0
},
{
"sensor": "led1",
"value": 0
},
{
"sensor": "led2",
"value": 0
},
{
"sensor": "led3",
"value": 10
},
{
"sensor": "led4",
"value": 268
},
{
"sensor": "led5",
"value": 271
},
{
"sensor": "led6",
"value": 269
}
]
}
]Get temperature log of equipment by guid
GET https://api.v2.myluxura.com/v2/equipment/:equipment_guid/temperatures/:guid
This endpoint returns the temperature log documents by equipment guid by guid.
Path Parameters
equipment_guid
string
Guid of equipment
guid
string
Guid of document
Query Parameters
company
string
Guid of the company you're acting on behalf of
Headers
Authorization
string
Authentication token (type 'Bearer')
{
"_meta": {
"index": "temperature_logs",
"guid": "<guid>",
"created": 1622561777785,
"updated": 1622561777785,
"removed": 0,
"expiry": 1630337777785,
"created_by": {
"host": "myluxura-api",
"resource": {
"guid": "<guid>",
"index": "devices"
}
}
},
"device_guid": "<guid>",
"equipment_guid": "<guid>",
"temperature_id": "1543228106.1622569081000",
"controller_serial": 1543228106,
"controller_state": 4,
"log_date": 1622561881000,
"temperatures": [
{
"sensor": "ntc1",
"value": 650
},
{
"sensor": "ntc2",
"value": 270
},
{
"sensor": "ntc3",
"value": 250
},
{
"sensor": "ntc4",
"value": 250
},
{
"sensor": "ntc5",
"value": 2550
},
{
"sensor": "ntc6",
"value": 2550
},
{
"sensor": "ntc7",
"value": 2550
},
{
"sensor": "ntc8",
"value": 2550
},
{
"sensor": "ntc9",
"value": 0
},
{
"sensor": "ntc10",
"value": 0
},
{
"sensor": "ntc11",
"value": 0
},
{
"sensor": "ntc12",
"value": 0
},
{
"sensor": "ntc13",
"value": 0
},
{
"sensor": "ntc14",
"value": 0
},
{
"sensor": "ntc15",
"value": 0
},
{
"sensor": "ntc16",
"value": 0
},
{
"sensor": "ntc17",
"value": 0
},
{
"sensor": "led1",
"value": 0
},
{
"sensor": "led2",
"value": 0
},
{
"sensor": "led3",
"value": 10
},
{
"sensor": "led4",
"value": 268
},
{
"sensor": "led5",
"value": 271
},
{
"sensor": "led6",
"value": 269
}
]
}Last updated
Was this helpful?