[ https://jira.fiware.org/browse/HELP-16340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mohamed Sadiq reassigned HELP-16340: ------------------------------------ Assignee: Jose Gato Luis > [fiware-stackoverflow] How to send LoRaWAN device data to FIWARE LoRaWAN IoT Agent from postman or MQTT Publisher client > ------------------------------------------------------------------------------------------------------------------------ > > Key: HELP-16340 > URL: https://jira.fiware.org/browse/HELP-16340 > Project: Help-Desk > Issue Type: Monitor > Components: FIWARE-TECH-HELP > Reporter: Backlog Manager > Assignee: Jose Gato Luis > Labels: fiware, iot, iota, lorawan, mqtt > > Created question in FIWARE Q/A platform on 08-11-2019 at 11:11 > {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/58764816/how-to-send-lorawan-device-data-to-fiware-lorawan-iot-agent-from-postman-or-mqtt > +Question:+ > How to send LoRaWAN device data to FIWARE LoRaWAN IoT Agent from postman or MQTT Publisher client > +Description:+ > I have created an application in Things Network for LoRaWAN. Also registered a device within that application. > 1) Already register a service in LoRaWAN IoT Agent and provisioned a device with provider as TTN in LoRaWAN IoT Agent. > 2) Created a HTTP integration in Things Network Stack for my IoT Agent. > 3) I also received data sent from Things Network Uplink client in my registered IoT agent. > Uplink payload from Things Network > 01 67 00 FF > Now i want to send uplink message from postman or MQTT publisher client. > I tried to create a payload for postman i.e. Url : http://MyMachineIP:4061/iot/json?=MyDeviceId&k=APIKEY > JSON PAYLOAD > { > "app_id": "MyApplicationID", > "dev_id": "MyDeviceId", > "hardware_serial": "AAAAAAAAAAAAAAAA", > "payload_raw": "AWcA/w==", > "metadata": { > "gateways": [ > { > "gtw_id": "TEST_1", > "rssi": 0, > "snr": 0 > } > ] > } > } > but got error Cannot POST /iot/json. > I also tried using MQTT Publisher Client: > 1 ) Installed Eclipse Mosquitto providers a CLI to subscribe and to publish > messages. > Start Mosquitto Service. start mosquitto service > MQTT command to publish uplink measure: > mosquitto_pub -h eu.thethings.network -p 1883 -u applicationid-P ttn-account- > v2.xXXXXXXXXXXXXXXXXXXXXXXXXX -t applicationid/devices/deviceid/up -m > '{"port":1,"payload_raw":"AWcAuw=="}' -d > MQTT command to subscribe uplink measure: > mosquitto_sub -h eu.thethings.network -p 1883 -u applicationid -P ttn- > account-v2.x2Q20IXXXXX -- This message was sent by Atlassian JIRA (v6.4.1#64016)
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy