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

FIWARE.Question.Tech.Agent Orion JSON MQTT.

    Details

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

      Description

      Created question in FIWARE Q/A platform on 22-07-2022 at 10:07
      Please, ANSWER this question AT https://stackoverflow.com/questions/73078923/agent-orion-json-mqtt

      Question:
      Agent Orion JSON MQTT

      Description:
      I have been able to send JSON format measures via MQTT publisher to the mosquitto docker container ( that is a broker ), also i have been able to pass that data to the IOT-Agent, these are curl commands that i used to create a service-path and to register a device on the IOT-Agent:
      curl -iX POST 'http://localhost:4041/iot/services' -H 'Content-Type: application/json' -H 'Fiware-Service: myClassRoom' -H 'Fiware-ServicePath: /' -d '{ "services": [

      { "apikey": "12345", "cbroker": "http://localhost:1026", "entity_type": "Device", "resource": /iot/d" }

      ] }

      This is how i registered the device in the IOT-Agent:
      curl -iX POST 'http://localhost:4041/iot/devices' -H 'Content-Type: application/json' -H 'Fiware-Service: myClassRoom' -H 'Fiware-ServicePath: /' -d '{ "devices": [ { "device_id": "SensTemp", "entity_name": "urn:ngsi-ld:temperature-sensor:001", "entity_type": "Device", "protocol": "PDI-IoTA-UltraLight", "transport": "MQTT", "timezone": "Europe/Madrid", "attributes":[

      { "object_id": "temperature", "name": "temperature", "type": "Integer"}

      ] } ] }'

      And this is the error that is giving me in the Agent, can someone help me to solve this issue?

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        4d 1 Backlog Manager 27/Jul/22 7:32 AM
        In Progress In Progress Answered Answered
        23h 59m 1 Backlog Manager 28/Jul/22 7:31 AM
        Answered Answered Closed Closed
        18d 5h 2m 1 Fernando Lopez 15/Aug/22 12:34 PM

          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: