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

[fiware-stackoverflow] Fiware: How to create lazy attributes through IDAS UltraLight

    Details

    • Type: Monitor
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2021
    • Component/s: FIWARE-TECH-HELP
    • Labels:

      Description

      Created question in FIWARE Q/A platform on 19-01-2016 at 12:01
      Please, ANSWER this question AT https://stackoverflow.com/questions/34875429/fiware-how-to-create-lazy-attributes-through-idas-ultralight

      Question:
      Fiware: How to create lazy attributes through IDAS UltraLight

      Description:
      I'm using the IoT Agent Ultra-Light module to communicate with the Orion context broker. I can create services and devices and I have checked that the observations reach the context broker too.

      curl -X POST XXX.XXX.XXX.XXX:8090/iot/services \
      -i \
      -H "Content-Type: application/json" \
      -H "Fiware-Service: sanitysrv " \
      -H "Fiware-ServicePath: / sanitysspath " \
      -d '{"services": [

      {"apikey": "", "cbroker": "http://127.0.0.1:1026", "entity_type": "Dispositivo_tmp", "resource": "/iot/d"}

      ]}'

      curl -X POST XXX.XXX.XXX.XXX:8090/iot/devices \
      -i \
      -H "Content-Type: application/json" \
      -H "Fiware-Service: sanitysrv" \
      -H "Fiware-ServicePath: /sanitysspath" \
      -d '{"devices":[{"device_id":"CE_BDM_3","protocol":"PDI-IoTA-UltraLight", "commands": [], "attributes": [

      {"type":"int","name":"temperature","object_id":"t"}

      ]}]}'

      My problem is that I don´t know how to register a device that contains lazy attributes, and I haven´t found any documentation with related examples. The examples from other IoT Agents that I have tried are not working here.

      ¿How can it be done?

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        2h 54m 1 Backlog Manager 22/May/17 6:09 PM
        In Progress In Progress Closed Closed
        3h 1 Backlog Manager 22/May/17 9:09 PM
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        fla Fernando Lopez made changes -
        Assignee Backlog Manager [ backlogmanager ]
        veronika Veronika Vlnkova made changes -
        HD-Enabler IDAS [ 10884 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2017-05-22 21:11|UPDATED status: transition Finish| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2017-05-22 21:11|UPDATED status: transition Finish| # answers= 1, accepted answer= True
        backlogmanager Backlog Manager made changes -
        Resolution Done [ 10000 ]
        Status In Progress [ 3 ] Closed [ 6 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2017-05-22 18:11|UPDATED status: transition Answer| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2017-05-22 18:11|UPDATED status: transition Answer| # answers= 1, 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 -

        2017-05-22 15:16|CREATED monitor | # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2017-05-22 15:16|CREATED monitor | # answers= 1, accepted answer= True
        backlogmanager Backlog Manager created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved: