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

FIWARE.Question.Tech.Fiware ContextBroker Entity with Array.

    Details

      Description

      Created question in FIWARE Q/A platform on 23-04-2018 at 16:04
      Please, ANSWER this question AT https://stackoverflow.com/questions/49984023/fiware-contextbroker-entity-with-array

      Question:
      Fiware ContextBroker Entity with Array

      Description:
      Is it possible create an entity in Fiware, where a specific attribute will be send as an array? Something like that? Having multiple pressure sensors inside a room where I would like to receive them in one update?!

      So this is basically creating the Entity

      {
      "id": "Room1",
      "type": "Room",
      "temperature":

      { "value": 23, "type": "Float" }

      ,
      "pressure":

      { "value": 720, "type": "Integer" }

      }

      and I would like to receive updates in one update message with all pressure information inside this "Entity"

      {
      "id": "Room1",
      "type": "Room",
      "temperature":

      { "value": 23, "type": "Float" }

      ,
      "pressure": [

      { "value": 720, "type": "Integer" }

      ,

      { "value": 500, "type": "Integer" }

      ,
      ]
      }

      Thanks in advance!

      -pd

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        6h 1 Backlog Manager 24/Apr/18 12:05 AM
        In Progress In Progress Answered Answered
        3h 1 Backlog Manager 24/Apr/18 3:05 AM
        Answered Answered Closed Closed
        97d 7h 59m 1 Fernando Lopez 30/Jul/18 11:05 AM

          People

          • Assignee:
            fermin Fermín Galán
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: