iotagent-node-lib
Version:
IoT Agent library to interface with NGSI Context Broker
38 lines (37 loc) • 881 B
JSON
{
"devices": [
{
"device_id": "LightFull",
"protocol": "GENERIC_PROTO",
"service" : "smartgondor",
"service_path": "gardens",
"entity_name": "TheFullLight",
"entity_type": "TheLightType",
"timezone": "America/Santiago",
"attributes": [
{
"object_id": "h",
"name": "humidity",
"type": "Percentage",
"entity_name": "Higro2000",
"entity_type": "Higrometer"
},
{
"object_id": "p",
"name": "pressure",
"type": "Hgmm",
"expression": "${@humidity * 20}"
},
{
"name":"location",
"type":"geo:point",
"expression": "${latitude}, ${longitude}"
}
],
"static_attributes": [],
"lazy": [],
"commands": [],
"internal_attributes": []
}
]
}