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

FIWARE.Question.Tech.IoT.IDAS.Missing attributes on Orion CB Entity when registering device through IDAS

    Details

      Description

      Created question in FIWARE Q/A platform on 25-06-2015 at 15:06
      Please, ANSWER this question AT http://stackoverflow.com/questions/31051501/missing-attributes-on-orion-cb-entity-when-registering-device-through-idas

      Question:
      Missing attributes on Orion CB Entity when registering device through IDAS

      Description:
      I've had some troubles getting the expected results doing the exercises from http://www.slideshare.net/FI-WARE/io-t-basicexercisesdevelopersweek

      No problem when registering a new device, its entity it's also successfully created on Orion CB but when querying for the created Entity non of the device attributes are shown. Created Entity just have TimeInstant attribute.

      I get a 200 response code when sending observations but it apparently has noeffect since Entity attributes on CB are missing.

      Registering device

      URL: /iot/devices
      Method: POST
      Payload:

      JSON

      {
      "devices": [
      {
      "device_id": "14:da:e9",
      "entity_name": "Thing12",
      "entity_type": "Thing12Type",
      "protocol": "PDI-IoTA-UltraLight",
      "timezone": "Europe/Madrid",
      "attributes": [

      { "name": "weight", "type": "double", "object_id": "weight" }

      ,

      { "name": "valid", "type": "boolean", "object_id": "valid" }

      ]
      }
      ]
      }

      Listing devices

      URL: /iot/devices/14:da:e9
      Method: GET

      JSON

      {
      "device_id": "14:da:e9",
      "entity_name": "Thing12",
      "entity_type": "Thing12Type",
      "protocol": "PDI-IoTA-UltraLight",
      "timezone": "Europe/Madrid",
      "attributes": [

      { "name": "weight", "type": "double", "object_id": "weight" }

      ,

      { "name": "valid", "type": "boolean", "object_id": "valid" }

      ],
      "service": "openiot",
      "service_path": "/"
      }

      Querying CB

      URL: /ngsi10/contextEntities/Thing12
      Method: GET

      JSON

      {
      "contextElement": {
      "type": "Thing12Type",
      "isPattern": "false",
      "id": "Thing12",
      "attributes": [

      { "name": "TimeInstant", "type": "ISO8601", "value": "2015-06-25T13:07:18.354970Z" }

      ]
      },
      "statusCode": {
      "code": "200",
      "reasonPhrase": "OK"
      }
      }

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        2h 59m 1 Backlog Manager 29/Sep/15 9:04 AM
        In Progress In Progress Answered Answered
        3h 1 Backlog Manager 29/Sep/15 12:04 PM
        Answered Answered Closed Closed
        18d 14h 59m 1 Backlog Manager 18/Oct/15 3:04 AM
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        mev Manuel Escriche made changes -
        HD-Enabler IDAS [ 10884 ]
        HD-Chapter IoT [ 10839 ]
        mev Manuel Escriche made changes -
        Summary FIWARE.Question.Tech.Missing attributes on Orion CB Entity when registering device through IDAS FIWARE.Question.Tech.IoT.IDAS.Missing attributes on Orion CB Entity when registering device through IDAS
        mev Manuel Escriche made changes -
        Summary FIWARE.Question.Lab.Missing attributes on Orion CB Entity when registering device through IDAS FIWARE.Question.Tech.Missing attributes on Orion CB Entity when registering device through IDAS
        mev Manuel Escriche made changes -
        Assignee Carlos Ralli Ucendo [ ralli ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2015-10-18 03:05|UPDATED status: transition Finish| # answers= 2, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2015-10-18 03:05|UPDATED status: transition Finish| # answers= 2, accepted answer= True
        backlogmanager Backlog Manager made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2015-09-29 12:05|UPDATED status: transition Answered| # answers= 2, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2015-09-29 12:05|UPDATED status: transition Answered| # answers= 2, accepted answer= True
        backlogmanager Backlog Manager made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2015-09-29 09:05|UPDATED status: transition Answer| # answers= 2, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2015-09-29 09:05|UPDATED status: transition Answer| # answers= 2, accepted answer= True
        backlogmanager Backlog Manager made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2015-09-29 06:05|CREATED monitor | # answers= 2, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2015-09-29 06:05|CREATED monitor | # answers= 2, accepted answer= True
        backlogmanager Backlog Manager created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved: