iotagent-node-lib
Version:
IoT Agent library to interface with NGSI Context Broker
43 lines • 874 B
JSON
{
"devices": [
{
"device_id": "Light1",
"protocol": "GENERIC_PROTO",
"entity_name": "TheFirstLight",
"entity_type": "SensorMachine",
"timezone": "America/Santiago",
"endpoint": "http://fakedEndpoint:1234",
"transport": "MQTT",
"attributes": [
{
"name": "attr_name",
"type": "string"
}
],
"lazy": [
{
"name": "luminance",
"type": "lumens"
}
],
"static_attributes": [
{
"name": "hardcodedAttr",
"type": "hardcodedType",
"value": "hardcodedValue"
}
],
"commands": [
{
"name": "commandAttr",
"type": "commandType"
}
],
"internal_attributes": [
{
"customField": "customValue"
}
]
}
]
}