• Categories
    • Recent
    • Tags
    • Popular
    • Register
    • Login

    How to build a new gateway adapter to accept REST request?

    Scheduled Pinned Locked Moved Developers Zone
    5 Posts 2 Posters 439 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • X Offline
      xuch74
      last edited by

      I have built some adapter like mqtt type, or REST client type. But now i meet a need to build a new gateway adapter to accept REST request from external app... I want to accept some watch like a mycontroller device, but the vendor only supply one way to supply the data, they need me to provide a https/http url, and they will provide the watch data through the url....

      jkandasaJ 1 Reply Last reply Reply Quote 0
      • jkandasaJ Offline
        jkandasa @xuch74
        last edited by

        @xuch74 build adapter to get data from REST API and post it to MQTT.

        1 Reply Last reply Reply Quote 0
        • X Offline
          xuch74
          last edited by

          just to build a REST server to accept the request from the external app?

          X 1 Reply Last reply Reply Quote 0
          • X Offline
            xuch74 @xuch74
            last edited by

            @xuch74 said in How to build a new gateway adapter to accept REST request?:

            just to build a REST server to accept the request from the external app?

            And the app has to use the username and pass word of the myController?

            jkandasaJ 1 Reply Last reply Reply Quote 0
            • jkandasaJ Offline
              jkandasa @xuch74
              last edited by

              @xuch74 you have to create your own REST API server, that server should act as a REST-MQTT adapter.
              On MyController create a mycontroller device type gateway with mqtt and add topic details from your adapter.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post

              0

              Online

              586

              Users

              529

              Topics

              3.4k

              Posts
              Copyright © 2015-2025 MyController.org | Contributors | Localization