Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-6128

FIWARE.Question.Tech.IoT.IDAS.Fiware - IDAS: TimeInstant attribute

    Details

      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 '

      { "devices":[ { "device_id": "AC_2", "entity_name":"disp_entrada:AC_2", "protocol":"PDI-IoTA-MQTT-UltraLight", "entity_type": "disp_entrada", "timezone": "Europe/Madrid" } ]}

      '

      Is there any way of modifying the default value of the “TimeInstant” attribute, in order to work with a specific UTC?

        Activity

        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        backlogmanager Backlog Manager made changes -
        Summary [fiware-stackoverflow] Fiware - IDAS: TimeInstant attribute FIWARE.Question.Tech.IoT.IDAS.Fiware - IDAS: TimeInstant attribute
        mev Manuel Escriche made changes -
        HD-Chapter IoT [ 10839 ]
        ralli Carlos Ralli Ucendo made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        ralli Carlos Ralli Ucendo made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        mev Manuel Escriche made changes -
        HD-Enabler IDAS [ 10884 ]
        Description
        Created question in FIWARE Q/A platform on 14-03-2016 at 16:03
        {color: red}Please, ANSWER this question AT{color} 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 '{
        "devices":[
        {
            "device_id": "AC_2",
            "entity_name":"disp_entrada:AC_2",
            "protocol":"PDI-IoTA-MQTT-UltraLight",
            "entity_type": "disp_entrada",
            "timezone": "Europe/Madrid"
        }
        ]}'


        Is there any way of modifying the default value of the “TimeInstant” attribute, in order to work with a specific UTC?
        Created question in FIWARE Q/A platform on 14-03-2016 at 16:03
        {color: red}Please, ANSWER this question AT{color} 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 '{
        "devices":[
        {
            "device_id": "AC_2",
            "entity_name":"disp_entrada:AC_2",
            "protocol":"PDI-IoTA-MQTT-UltraLight",
            "entity_type": "disp_entrada",
            "timezone": "Europe/Madrid"
        }
        ]}'


        Is there any way of modifying the default value of the “TimeInstant” attribute, in order to work with a specific UTC?
        ralli Carlos Ralli Ucendo made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        mev Manuel Escriche made changes -
        Assignee Carlos Ralli Ucendo [ ralli ]
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        backlogmanager Backlog Manager created issue -

          People

          • Assignee:
            ralli Carlos Ralli Ucendo
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: