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

FIWARE.Question.Tech.IoT.IDAS.Issue when registering device through IDAS

    Details

      Description

      Created question in FIWARE Q/A platform on 15-06-2015 at 15:06
      Please, ANSWER this question AT http://stackoverflow.com/questions/30846185/issue-when-registering-device-through-idas

      Question:
      Issue when registering device through IDAS

      Description:
      I'm using IDAS and i've previously registered 4 virtual sensors and i had no problem with it. After making tests with those sensors (a month ago from now or so) i went and tryed to register another sensor with no success.

      My request:

      python2.7 RegisterDevice.py SENSOR_TEMP sensortest3 sensortest3

      The response:

      • opening: ./devices/SENSOR_TEMP
      • Asking to http://130.206.80.40:5371/iot/devices
      • Headers: {'Fiware-Service': 'fiwaretestapi', 'content-type': 'application/json', 'Fiware-ServicePath': '/', 'X-Auth-Token': 'NULL'}
      • Headers: {'Fiware-Service': 'fiwaretestapi', 'content-type': 'application/json', 'Fiware-ServicePath': '/', 'X-Auth-Token': 'NULL'}
      • Sending PAYLOAD:
        {
        "devices": [
        Unknown macro: { "entity_name"}

        ]
        }

      ...

      • Status Code: 400
      • Response: {"reason":"The request is not well formed","details":"Missing required property: protocol [/devices[0]]"}

      As you can see by my ListDevices.py request, i have 4 sensors registered:

      • Asking to http://130.206.80.40:5371/iot/devices
      • Headers: {'Fiware-Service': 'fiwaretestapi', 'content-type': 'application/json', 'Fiware-ServicePath': '/', 'X-Auth-Token': 'NULL'}

        ...

      • Status Code: 200
      • Response:
        Unknown macro: { "count"}

      Is there a limit or something to a number of devices in IDAS?

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

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

        Show
        backlogmanager Backlog Manager added a comment - 2015-10-03 06:05|CREATED monitor | # answers= 2, accepted answer= True
        Hide
        backlogmanager Backlog Manager added a comment -

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

        Show
        backlogmanager Backlog Manager added a comment - 2015-10-03 09:05|UPDATED status: transition Answer| # answers= 2, accepted answer= True
        Hide
        backlogmanager Backlog Manager added a comment -

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

        Show
        backlogmanager Backlog Manager added a comment - 2015-10-03 12:05|UPDATED status: transition Answered| # answers= 2, accepted answer= True
        Hide
        mev Manuel Escriche added a comment -

        2015-10-13 12:00|UPDATED status: transition Finish| # answers= 2, accepted answer= True

        Show
        mev Manuel Escriche added a comment - 2015-10-13 12:00|UPDATED status: transition Finish| # answers= 2, accepted answer= True

          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: