Details

      Description

      Dear Daniel,
      my name is Stefano Valtolina and I work at the Department of Computer
      Science of the University of Milano.
      I'm writing you because we are trying to implement an IOTarchitecture
      by using Orion and the IoTAgent but we have some problems.
      We followed the instruction reported at this link:
      https://github.com/telefonicaid/iotagent-json/blob/master/docs/stepbystep.md

      We installed:

      • mosquitto MQTT v3.1 broker.
      • Orion - FIWARE NGSI version 2 API.
      • Node.js v.6.11.0
      • MongoDB v2.4.14

      if i call the command
      curl http://localhost:4041/iot/about
      I have

      {"libVersion":"2.4.0-next","port":4041,"baseRoot":"/","version":"1.5.0-next"}

      When we try to provision the device (e.g the sensor01 as reported in the
      example) we don't have any messages of error but the final registration
      in Orion does not seem to be successful.
      This because after the execution of following two commands:

      mosquitto_pub -t /1234/sensor01/attrs -m '

      {"l":4,"t": "31.5"}

      '
      curl -X POST -H "Content-Type: application/json" -H "Accept:
      application/json" -H "Fiware-Service: myHome" -H "Fiware-ServicePath:
      /environment" -d '{
      "entities": [

      { "isPattern": "false", "id": "LivingRoomSensor", "type": "multiSensor" }

      ]
      }' 'http://localhost:1026/NGSI10/queryContext'

      the resulting response is empty

      {
      "contextResponses" : [
      {
      "contextElement" : {
      "type" : "multiSensor",
      "isPattern" : "false",
      "id" : "LivingRoomSensor",
      "attributes" : [

      { "name" : "Luminosity", "type" : "lumens", "value" : "" }

      ,

      { "name" : "Temperature", "type" : "celsius", "value" : "" }

      ]
      },
      "statusCode" :

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

      }
      ]
      }

      and in Orion the new device does not appear.
      Please could you give us some indication of where we're going wrong.?
      Sorry for bothering you but we are not very familiar about this type of
      iot architecture and any suggestions can be very useful.
      Best regards
      Stefano

      ______________
      Stefano Valtolina, Ph.D.
      Assistant Professor
      Department of Computer Science - Università degli Studi di Milano
      MIPS Lab - Multimedia, Interaction, Perception and Society

      __________________________________________________________________________________________

      You can get more information about our cookies and privacy policies on the following links:

      Fiware-lab-help mailing list
      Fiware-lab-help@lists.fiware.org
      https://lists.fiware.org/listinfo/fiware-lab-help

      [Created via e-mail received from: Stefano Valtolina <valtolin@di.unimi.it>]

        Activity

        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        josegato Jose Gato Luis made changes -
        Resolution Done [ 10000 ]
        Status In Progress [ 3 ] Closed [ 6 ]
        josegato Jose Gato Luis made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        fla Fernando Lopez made changes -
        Assignee Fernando Lopez [ fla ] Jose Gato Luis [ josegato ]
        fla Fernando Lopez made changes -
        HD-Chapter IoT [ 10839 ]
        HD-Enabler IDAS [ 10884 ]
        alfopietro Pietropaolo Alfonso made changes -
        Assignee Pietropaolo Alfonso [ alfopietro ] Fernando Lopez [ fla ]
        alfopietro Pietropaolo Alfonso made changes -
        Labels fiware-orion
        alfopietro Pietropaolo Alfonso made changes -
        Assignee Fernando Lopez [ fla ] Pietropaolo Alfonso [ alfopietro ]
        alfopietro Pietropaolo Alfonso made changes -
        Assignee Fernando Lopez [ fla ]
        alfopietro Pietropaolo Alfonso made changes -
        Component/s FIWARE-TECH-HELP [ 10278 ]
        Component/s FIWARE-LAB-HELP [ 10279 ]
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-LAB-HELP [ 10279 ]
        fw.ext.user FW External User created issue -

          People

          • Assignee:
            josegato Jose Gato Luis
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: