Add a new device or actualize an existing one.
device
POST
-
-
| Entity | Type | Nullable | Description |
|---|---|---|---|
| device | array (mainEntity) | no |
| Entity | Type | Nullable | Description |
|---|---|---|---|
| id | int | no | slcDeviceAddress of this device |
| customer_id | int | no | slcID of customer |
| serial_number | string | yes | serial number |
| mac_address | string | yes | MAC address |
| hardware_type_id | int (hardwareType) | yes | hardware type (slControl-module) |
| hardware_version | string | yes | slcDeviceAddress of this device |
| firmware_version | string | yes | current firmware version |
| bootloader_version | string | yes | current bootloader version |
| luminaire_type_name | string | yes | luminaire type name of the device/lamp (defined by lamp manufacturer) |
| name | string | yes | name of the device |
| latitude | float | yes | latitude (WGS84) |
| longitude | float | yes | longitude (WGS84) |
| manual_led_brightness | byte | yes | LED-Helligkeit im Manuellen Betriebsmodus |
| env_brightness_master | bool | yes | true if this device is acting as environment brightness master |
| manual_override_switch_groups | byte[8] - 64 flags, 8 per byte | yes | Übergeordneter Lichtschalter-Gruppen-Konfiguration |
| motion_neighbor_devices | int[] | yes | Nachbargeräte für Bewegungserkennung (max. 16 Einträge) |
| led_temperature_limit | byte | yes | LED temperature limit (lamp will be dimmed if reached) |
| neighbor_rssi_limit | sbyte | yes | Minimale Empfangsstärke der Nachbarleuchten (in dbm) |
| dali_evg_type_id | int (daliType) | yes | type id of evg |
| dali_evg_name | string | yes | Name des EVG's (über DALI an Steuerung angehängt) |
| available_periphery | byte - 1 flag per bit (periphery) | yes | Verfügbare Peripherie (Flags, siehe Device_Available_Periphery - Tabelle) |
| ralab_motion_sensor_config | array (ralabMotionSensorConfig) | yes | Konfiguration für den Ralab Radar-Bewegungssensor |
| output_config | array (deviceOutputConfig) | yes | Ausgangskonfiguration der Steuerung |
| lfc_config | array (lfcConfig) | yes | Lichtstrom-Korrektur-Einstellungen (aka LFC, aka CLO) der Leuchte |
| has_rf_pin_set | bool | yes | Has device RF-PIN set? |
| Entity | Type | Nullable | Description |
|---|---|---|---|
| sensitivity | byte | no | sensitivity of the sensor in % |
| Entity | Type | Nullable | Description |
|---|---|---|---|
| output_type | int (outputType) | no | output type of the controller |
| fade_off_time | float | no | fade off time in ms |
| fade_on_time | float | no | fade on time in ms |
| min_dim_step | float | no | Abstufung (Zeiteinheit hängt von Ausgangstyp ab). Typ: 0.001 |
| Entity | Type | Nullable | Description |
|---|---|---|---|
| led_lifetime | uint | no | Lebenszeit der LED-Module [h] |
| eol_output | byte | no | Ausgangs-Lichtleistung des LED-Moduls am Ende der Lebenszeit [%] |
| limiting_factor | byte | no | Limiting factor of the led output (e.g. max. output percentage) [%] |
| curve_gamma | float (range: 0.0 - 1.0) | no | Lichstromabnahme des LED-Moduls im Verhältnis der Zeit. Als Annäherung wird eine Gamma-Kurve verwendet. Dieser Wert gibt den Krümmungsfaktor (gamma) an. |
| Value | Description |
|---|---|
| 0 | iLight_M5 |
| 1 | iLight_S3 |
| 2 | iLight_SA |
| 3 | iLight_S3_PWM |
| 4 | iLight_MA |
| 5 | iLight_MP |
| 6 | iLight_SP |
| 7 | iLight_MDA |
| 8 | iLight_SDA |
| 9 | iLight_SLC |
| 10 | iLight_SLC_GPS |
| 11 | esave_SLC_CORE |
| 12 | esave_SLC_HUB100 |
| 13 | esave_SLC_HUB101 |
| 14 | esave_SLC_HUB102 |
| 15 | esave_SLC_CORE102 |
| 16 | esave_SLC_HUB103 |
| 17 | esave_SLC_CORE103 |
| 80 | esave_SLC_ASIA |
| 81 | esave_SLC_GPS_ASIA |
| 82 | esave_SLC_CORE_ASIA |
| 83 | esave_SLC_HUB100_ASIA |
| 84 | esave_SLC_HUB101_ASIA |
| 85 | esave_SLC_HUB102_ASIA |
| 86 | esave_SLC_CORE102_ASIA |
| 87 | esave_SLC_HUB103_ASIA |
| 88 | esave_SLC_CORE103_ASIA |
| 256 | SLC-Hub 200-C |
| 257 | SLC-Hub 203-C |
| 288 | SLC-RC-Switch 200-C |
| 289 | SLC-RC-Switch 203-C |
| 513 | SLC-Hub 203 |
| 544 | SLC-Switch One |
| 640 | SLC-Analog |
| 65280 | USB_Stick |
| 65281 | iLightAccessPointMP |
| 65282 | iLightAccessPointMSX |
| 65535 | Unknown |
| Value | Description |
|---|---|
| 0 | Nicht definiert |
| 1 | Philips Xi SSR 75W |
| 2 | Philips Xi SSR 150W |
| 3 | OSRAM OT 40 |
| 4 | OSRAM OT 60 |
| 5 | OSRAM OT 90 |
| 6 | OSRAM OT 165 |
| 7 | Alle Philips SR Treiber ab Spezifikation 1.2 bis 1.5 |
| 8 | Alle Philips SR Treiber ab Spezifikation 1.5 |
| 9 | Tridonic LCA 30W |
| 10 | Tridonic LCA 60W |
| 11 | Tridonic LCA 75W |
| 12 | Tridonic LCA 120W |
| 13 | Tridonic LCA 160W |
| Value | Description |
|---|---|
| 0 | ublox GPS Modul (nur bei SLC-Core100) |
| 1 | Digitaler LED Temperatur Sensor angeschlossen |
| 2 | Intelligenter Bewegungsmelder angeschlossen (z.B: Radar) |
| 3 | EVG DALI 2.0 mit Leistungsmessung |
| 4 | Digitaler Helligkeits Sensor angeschlossen |
n.a.
{
"device": {
"id": 142635,
"customer_id": 139,
"name": "GPS Box Axpo Tegra",
"latitude": 46.828067779541016,
"longitude": 9.4250392913818359
}
}