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 ?
Activity
Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
---|---|---|---|---|---|---|---|---|---|
|
88d 9h 59m | 1 | Backlog Manager | 13/Jan/20 9:06 PM | |||||
|
2h 59m | 1 | Backlog Manager | 14/Jan/20 12:06 AM | |||||
|
37d 18h | 1 | Backlog Manager | 20/Feb/20 6:06 PM |