Luxura logs

Acquire documents of resource 'luxura logs'

Document

Property

Type

Contract

Description

_meta

object

required

device_guid

string

required

Guid of device that provided the log

equipment_guid

string

required

Guid of the equipment that created the log

type

string

required

Type of luxura log (more details)

log_id

integer

required

ID of log

controller_serial

integer

required

The serial number of the equipment's controller that created the log

log_date

integer

required

Timestamp in milliseconds of when the equipment's controller created the log

json_data

object

required

Log data

Note

Filters can't be applied for any of the nested fields.

This data isn't indexed by the database because the large amount of different fields.

Types

Log type

Description

parameter

Parameter log, containing settings

boot

Boot log, containing boot information

session

Session log, containing information regarding a session

error

Error log, containing information regarding an error

event

Event log, containing (debug) information of the controller

Differnet log types contain different information. Some log data is saved separately from json_data by MyLuxura.

Property

Type

Contract

Description

session.session_time

integer

required

Session time in seconds

session.pause_time

integer

required

Pause time in seconds

session.pause_times

integer

required

Number of pauses

session.minute_counters

Array<object>

optional

Minute counters at the end of the session per type

Get luxura logs of equipment

GET https://api.v2.myluxura.com/v2/equipment/:equipment_guid/logs

This endpoint returns Luxura log documents by equipment guid.

Path Parameters

Name
Type
Description

equipment_guid

string

Guid of equipment

Query Parameters

Name
Type
Description

company

string

Guid of the company you're acting on behalf of

Headers

Name
Type
Description

Authorization

string

Authentication token (type 'Bearer')

[
  {
    "_meta": {
      "index": "luxura_logs",
      "guid": "<guid>",
      "created": 1620386402442,
      "updated": 1620386402442,
      "removed": 0,
      "expiry": 0,
      "created_by": {
        "host": "myluxura-api",
        "resource": {
          "guid": "<guid>",
          "index": "devices"
        }
      }
    },
    "device_guid": "<guid>",
    "equipment_guid": "<guid>",
    "type": "error",
    "log_id": 180,
    "controller_serial": 1543235586,
    "log_date": 1619943396000,
    "json_data": {
      "darc": {
        "darc0": {
          "darc01": "0",
          "darc02": "0",
          "darc03": "0",
          "darc04": "0",
          "darc05": "0",
          "darc06": "0",
          "darc07": "0",
          "darc08": "0",
          "darc09": "0",
          "darc010": "0",
          "darc011": "0",
          "darc012": "0",
          "darc013": "0",
          "darc014": "0",
          "darc015": "0",
          "darc00": "0"
        },
        "darc1": {
          "darc11": "0",
          "darc12": "0",
          "darc13": "0",
          "darc14": "0",
          "darc15": "0",
          "darc16": "0",
          "darc17": "0",
          "darc18": "0",
          "darc19": "0",
          "darc110": "0",
          "darc111": "0",
          "darc112": "0",
          "darc113": "0",
          "darc114": "0",
          "darc115": "0",
          "darc10": "0"
        }
      },
      "modules": {
        "shoulderTanner": {
          "cooler": "0",
          "ntcShoulderTanner": "34",
          "status": "2",
          "value": "0"
        },
        "airco": {
          "waterSensor": "0",
          "jerryCan": "0",
          "value": "0"
        },
        "qsens": {
          "status": "0",
          "jerryCan": "0",
          "nozzle1": "0",
          "nozzle2": "0",
          "nozzle3": "0",
          "compressor": "0",
          "value": "0"
        }
      },
      "logId": "180",
      "unixTime": "1619928996",
      "date": "21-05-02",
      "time": "04:16:36",
      "paraId": "54",
      "errorId": "28",
      "errorIDtxt": "E24",
      "status": "3",
      "critical": "N",
      "mode": "",
      "bodyCooler": "0",
      "faceCooler": "0",
      "climax": "1",
      "welltherm": "0",
      "climateControl": "0",
      "musicVolume": "1",
      "musicChannel": "1",
      "mp3": "1",
      "xsens": "1",
      "qsens": "1",
      "qsens1": "0",
      "selection": "0",
      "redLight": "1",
      "uvLed": "1",
      "accentLighting": "0",
      "shouldertanner": "1",
      "faceTanners": "1",
      "extraFaceTanning": "0",
      "l1": "0",
      "l2": "0",
      "l3": "0",
      "ft1": "0",
      "ft2": "0",
      "ft3": "0",
      "aux": "0",
      "servo": "1",
      "coinRelay": "0",
      "coin": "0",
      "safety": "1",
      "ovrOut": "0",
      "ovrIn": "0",
      "senseCounterL1": "88",
      "senseCounterL2": "85",
      "senseCounterL3": "84",
      "counterL1": "105",
      "counterL2": "111",
      "counterL3": "104",
      "faseCounterL12": "87",
      "faseCounterL13": "84",
      "faseCounterL23": "84",
      "errorCounter": "1",
      "errorState": "0",
      "outH": "0",
      "outL": "64",
      "outBodyFan": "255",
      "outBodyFanPwm": "0",
      "outFaceFan": "255",
      "outFaceFanPwm": "0",
      "mp3JackDetected": "0",
      "musicChannel1": "9",
      "volume": "0",
      "preVolume": "15",
      "unitCooler": "0",
      "windSwitch": "1",
      "lxpDetectection": "1",
      "ntcCanopyTl": "34",
      "ntcBenchTl": "30",
      "ntcInletBench": "27",
      "ntcInletCanopy": "32",
      "chestCooler": "0",
      "feetCooler": "0",
      "heater1": "0",
      "heater2": "0",
      "safetySwitch1": "0",
      "safetySwitch2": "0",
      "ntcClimaxOutput": "0",
      "ntcClimateControlOutput": "0",
      "colorlightRed": "20",
      "colorlightGreen": "0",
      "colorlightBlue": "80",
      "coolerFt3": "0",
      "coolerFt2": "0",
      "coolerFt1Ft4": "0",
      "ledTemp1": "0",
      "ledTemp2": "0",
      "ledTemp3": "448",
      "ledTemp4": "373",
      "ledTemp5": "374",
      "ledTemp6": "345",
      "key_actions": {
        "keyStop": {
          "reference": "198",
          "signal": "198",
          "value": "0"
        },
        "keyUp": {
          "reference": "269",
          "signal": "269",
          "value": "0"
        },
        "keyRight": {
          "reference": "269",
          "signal": "269",
          "value": "0"
        },
        "keyDown": {
          "reference": "312",
          "signal": "312",
          "value": "0"
        },
        "keyLeft": {
          "reference": "284",
          "signal": "284",
          "value": "0"
        }
      },
      "LED": {
        "led0": {
          "led2Uva": "0",
          "ledRed": "0",
          "led1Uva": "0"
        },
        "led1": {
          "led2Uva": "0",
          "ledRed": "0",
          "led1Uva": "0"
        },
        "led2": {
          "led2Uva": "0",
          "ledRed": "0",
          "led1Uva": "0"
        },
        "led3": {
          "led2Uva": "0",
          "ledRed": "0",
          "led1Uva": "0"
        },
        "led4": {
          "led2Uva": "0",
          "ledRed": "0",
          "led1Uva": "0"
        },
        "led5": {
          "led2Uva": "0",
          "ledRed": "0",
          "led1Uva": "0"
        }
      }
    },
    "error": {
      "id": "E24",
      "status": 3,
      "critical": false
    }
  }
]

Get luxura log of equipment by guid

GET https://api.v2.myluxura.com/v2/equipment/:equipment_guid/logs/:guid

This endpoint returns Luxura logs of equipment guid by guid.

Path Parameters

Name
Type
Description

equipment_guid

string

Guid of equipment

guid

string

Guid of the document

Query Parameters

Name
Type
Description

company

string

Guid of the company you're acting on behalf of

Headers

Name
Type
Description

Authorization

string

Authentication token (type 'Bearer')

{
  "_meta": {
    "index": "luxura_logs",
    "guid": "<guid>",
    "created": 1620386402442,
    "updated": 1620386402442,
    "removed": 0,
    "expiry": 0,
    "created_by": {
      "host": "myluxura-api",
      "resource": {
        "guid": "<guid>",
        "index": "devices"
      }
    }
  },
  "device_guid": "<guid>",
  "equipment_guid": "<guid>",
  "type": "error",
  "log_id": 180,
  "controller_serial": 1543235586,
  "log_date": 1619943396000,
  "json_data": {
    "darc": {
      "darc0": {
        "darc01": "0",
        "darc02": "0",
        "darc03": "0",
        "darc04": "0",
        "darc05": "0",
        "darc06": "0",
        "darc07": "0",
        "darc08": "0",
        "darc09": "0",
        "darc010": "0",
        "darc011": "0",
        "darc012": "0",
        "darc013": "0",
        "darc014": "0",
        "darc015": "0",
        "darc00": "0"
      },
      "darc1": {
        "darc11": "0",
        "darc12": "0",
        "darc13": "0",
        "darc14": "0",
        "darc15": "0",
        "darc16": "0",
        "darc17": "0",
        "darc18": "0",
        "darc19": "0",
        "darc110": "0",
        "darc111": "0",
        "darc112": "0",
        "darc113": "0",
        "darc114": "0",
        "darc115": "0",
        "darc10": "0"
      }
    },
    "modules": {
      "shoulderTanner": {
        "cooler": "0",
        "ntcShoulderTanner": "34",
        "status": "2",
        "value": "0"
      },
      "airco": {
        "waterSensor": "0",
        "jerryCan": "0",
        "value": "0"
      },
      "qsens": {
        "status": "0",
        "jerryCan": "0",
        "nozzle1": "0",
        "nozzle2": "0",
        "nozzle3": "0",
        "compressor": "0",
        "value": "0"
      }
    },
    "logId": "180",
    "unixTime": "1619928996",
    "date": "21-05-02",
    "time": "04:16:36",
    "paraId": "54",
    "errorId": "28",
    "errorIDtxt": "E24",
    "status": "3",
    "critical": "N",
    "mode": "",
    "bodyCooler": "0",
    "faceCooler": "0",
    "climax": "1",
    "welltherm": "0",
    "climateControl": "0",
    "musicVolume": "1",
    "musicChannel": "1",
    "mp3": "1",
    "xsens": "1",
    "qsens": "1",
    "qsens1": "0",
    "selection": "0",
    "redLight": "1",
    "uvLed": "1",
    "accentLighting": "0",
    "shouldertanner": "1",
    "faceTanners": "1",
    "extraFaceTanning": "0",
    "l1": "0",
    "l2": "0",
    "l3": "0",
    "ft1": "0",
    "ft2": "0",
    "ft3": "0",
    "aux": "0",
    "servo": "1",
    "coinRelay": "0",
    "coin": "0",
    "safety": "1",
    "ovrOut": "0",
    "ovrIn": "0",
    "senseCounterL1": "88",
    "senseCounterL2": "85",
    "senseCounterL3": "84",
    "counterL1": "105",
    "counterL2": "111",
    "counterL3": "104",
    "faseCounterL12": "87",
    "faseCounterL13": "84",
    "faseCounterL23": "84",
    "errorCounter": "1",
    "errorState": "0",
    "outH": "0",
    "outL": "64",
    "outBodyFan": "255",
    "outBodyFanPwm": "0",
    "outFaceFan": "255",
    "outFaceFanPwm": "0",
    "mp3JackDetected": "0",
    "musicChannel1": "9",
    "volume": "0",
    "preVolume": "15",
    "unitCooler": "0",
    "windSwitch": "1",
    "lxpDetectection": "1",
    "ntcCanopyTl": "34",
    "ntcBenchTl": "30",
    "ntcInletBench": "27",
    "ntcInletCanopy": "32",
    "chestCooler": "0",
    "feetCooler": "0",
    "heater1": "0",
    "heater2": "0",
    "safetySwitch1": "0",
    "safetySwitch2": "0",
    "ntcClimaxOutput": "0",
    "ntcClimateControlOutput": "0",
    "colorlightRed": "20",
    "colorlightGreen": "0",
    "colorlightBlue": "80",
    "coolerFt3": "0",
    "coolerFt2": "0",
    "coolerFt1Ft4": "0",
    "ledTemp1": "0",
    "ledTemp2": "0",
    "ledTemp3": "448",
    "ledTemp4": "373",
    "ledTemp5": "374",
    "ledTemp6": "345",
    "key_actions": {
      "keyStop": {
        "reference": "198",
        "signal": "198",
        "value": "0"
      },
      "keyUp": {
        "reference": "269",
        "signal": "269",
        "value": "0"
      },
      "keyRight": {
        "reference": "269",
        "signal": "269",
        "value": "0"
      },
      "keyDown": {
        "reference": "312",
        "signal": "312",
        "value": "0"
      },
      "keyLeft": {
        "reference": "284",
        "signal": "284",
        "value": "0"
      }
    },
    "LED": {
      "led0": {
        "led2Uva": "0",
        "ledRed": "0",
        "led1Uva": "0"
      },
      "led1": {
        "led2Uva": "0",
        "ledRed": "0",
        "led1Uva": "0"
      },
      "led2": {
        "led2Uva": "0",
        "ledRed": "0",
        "led1Uva": "0"
      },
      "led3": {
        "led2Uva": "0",
        "ledRed": "0",
        "led1Uva": "0"
      },
      "led4": {
        "led2Uva": "0",
        "ledRed": "0",
        "led1Uva": "0"
      },
      "led5": {
        "led2Uva": "0",
        "ledRed": "0",
        "led1Uva": "0"
      }
    }
  },
  "error": {
    "id": "E24",
    "status": 3,
    "critical": false
  }
}

Get global error log information

GET https://api.v2.myluxura.com/v2/equipment/logs/error

This endpoint returns global information about the different types of errors that can occur on the controller of the equipment, containing error ID, description of the error, whether it's a critical error and the active error bit.

Query Parameters

Name
Type
Description

company

string

Guid of the company you're acting on behalf of

Headers

Name
Type
Description

Authorization

string

Authentication token (type 'Bearer')

[
  {
    "id": "E0",
    "description": "Software error",
    "critical": true,
    "activeErrorBit": 0
  },
  {
    "id": "E1",
    "description": "Internal timer has a defect",
    "critical": true,
    "activeErrorBit": 1
  },
  ...
]

Last updated

Was this helpful?