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

FIWARE.Question.Tech.How to publish data(Uplink Measures) supports MQTT protocol with Mosquitto publisher client to The Things Network(TTN) as broker.

    Details

      Description

      Created question in FIWARE Q/A platform on 19-11-2019 at 11:11
      Please, ANSWER this question AT https://stackoverflow.com/questions/58931498/how-to-publish-datauplink-measures-supports-mqtt-protocol-with-mosquitto-publi

      Question:
      How to publish data(Uplink Measures) supports MQTT protocol with Mosquitto publisher client to The Things Network(TTN) as broker

      Description:
      Problem: I am unable to publish uplink measures to TTN(The Things Network,MQTT Broker) through MQTT Publisher Client. Follow these steps...

      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.x2Q20I2hDo1XXXXXXXXXXXXXXXXX -t applicationid/devices/deviceid/up

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

        2019-11-19 15:06|CREATED monitor | # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2019-11-19 15:06|CREATED monitor | # answers= 1, accepted answer= True
        Hide
        backlogmanager Backlog Manager added a comment -

        2019-11-19 18:06|UPDATED status: transition Answer| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2019-11-19 18:06|UPDATED status: transition Answer| # answers= 1, accepted answer= True
        Hide
        backlogmanager Backlog Manager added a comment -

        2019-11-19 21:06|UPDATED status: transition Finish| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2019-11-19 21:06|UPDATED status: transition Finish| # answers= 1, accepted answer= True

          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: