<< Click to Display Table of Contents >> Navigation: The API > JSON API > REST Resources > Devices > GET > GET /devices/{deviceId} |
Overview
Get detailed informations of a single device
Client to Gateway:
Resource Path |
HTTP method |
/devices/{deviceId} |
GET |
necessary additional call parameters:
parameter |
valid values |
call option |
description |
deviceId |
deviceId | friendlyId |
required |
SenderID of Enocean device, EnOcean modules usually send telegrams with their unique 32-bit Chip ID. In the other case, these are the Base ID of the EnOcean device. |
Response Gateway to Client:
parameter |
|
datatype |
value / formatting |
description |
|
header |
|
object |
{} |
|
|
device |
|
object |
{} |
|
|
|
deviceId |
|
string |
4 byte hex value |
SenderID of Enocean device, EnOcean modules usually send telegrams with their unique 32-bit Chip ID. In the other case, these are the Base ID of the EnOcean device. |
|
friendlyId |
|
string |
|
User-assigned name of EnOcean device. Must be unique. |
|
physicalDevice |
|
string |
|
User-assigned name to group actuators and sensors. |
|
eeps |
|
array of objects |
[{}] |
|
|
|
eep |
string |
|
eepId |
|
|
variation |
string |
manufacturer _ productname |
Manufacturer specific variation |
|
|
version |
string |
|
API Version |
|
|
direction |
string |
from | to | both |
"from", "to" or "both" |
|
firstSeen |
|
string |
yyyy-mm-ddT hh:mm:ss.sss+ hhmm |
timestamp on which the device has been detected for the first time |
|
lastSeen |
|
string |
yyyy-mm-ddT hh:mm:ss.sss+ hhmm |
timestamp on which the device has been detected for the last time |
example:
Basic structure of gateway response:
|
http://hostname:api_port/devices/multiFuncAlphaEos
{ |