[Backlogmanager] [FIWARE-JIRA] (HELP-19861) [fiware-stackoverflow] Agent Orion JSON MQTT

Fernando Lopez (JIRA) jira-help-desk at jira.fiware.org
Mon Aug 15 12:35:00 CEST 2022


     [ https://jira.fiware.org/browse/HELP-19861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fernando Lopez reassigned HELP-19861:
-------------------------------------

    Assignee: Backlog Manager

> [fiware-stackoverflow] Agent Orion JSON MQTT
> --------------------------------------------
>
>                 Key: HELP-19861
>                 URL: https://jira.fiware.org/browse/HELP-19861
>             Project: Help-Desk
>          Issue Type: Monitor
>          Components: FIWARE-TECH-HELP
>            Reporter: Backlog Manager
>            Assignee: Backlog Manager
>              Labels: fiware, mqtt
>
> Created question in FIWARE Q/A platform on 22-07-2022 at 10:07
> {color: red}Please, ANSWER this question AT{color} 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?



--
This message was sent by Atlassian JIRA
(v6.4.1#64016)


More information about the Backlogmanager mailing list

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