Details
-
Type: Monitor
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
HD-Enabler:IDAS
Description
Created question in FIWARE Q/A platform on 17-10-2019 at 10:10
Please, ANSWER this question AT https://stackoverflow.com/questions/58427850/iot-agent-for-a-json-sensor-sends-measures-already-in-ngsi
Question:
IoT Agent for a JSON - Sensor sends measures already in NGSI
Description:
We have a FIWARE based architecture that uses the IoT Agent for a JSON based protocol.
We have a sensor that sends measures, whose format is already NGSI.
I thought the behavior of the agent was to recognize the NGSI format and manipulate the data so that the final result is correct.
Instead, the current result is that the value on Orion becomes the full NGSI.
e.g.
Attribute on Orion Entity:
"altitude": {
"type": "number",
"value": "12",
"metadata": {
"TimeInstant":
}
}
Send:
{
"altitude":
}
Result:
"altitude": {
"type": "number",
"value":
,
"metadata": {
"TimeInstant":
}
}
Is it correct ?
2019-10-17 12:06|CREATED monitor | # answers= 0, accepted answer= False