Details
-
Type: Monitor
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:
-
HD-Chapter:IoT
-
HD-Enabler:IDAS
Description
Created question in FIWARE Q/A platform on 14-03-2016 at 16:03
Please, ANSWER this question AT http://stackoverflow.com/questions/35992228/fiware-idas-timeinstant-attribute
Question:
Fiware - IDAS: TimeInstant attribute
Description:
I’m using the MQTT Ultralight agent. I have seen that when the agent registers into the context broker an entity related to a device, the agent adds to that entity the “TimeInstant” attribute. This attribute seems to be on UTC+0.
I would like to work with UTC +1. I tried modifying the device’s “TimeZone” when registering it, but seems that this doesn’t work, because the time continues to be on UTC+0. Here an example:
curl -X POST 172.21.0.23:8090/iot/devices \
-i \
-H "Content-Type: application/json" \
-H "Fiware-Service: red_entrada_4" \
-H "Fiware-ServicePath: /Prueba" \
-d '
'
Is there any way of modifying the default value of the “TimeInstant” attribute, in order to work with a specific UTC?
2016-03-14 18:05|CREATED monitor | # answers= 0, accepted answer= False