• Categories
  • Recent
  • Tags
  • Popular
  • Register
  • Login
  • 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 538 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 25 Nov 2020, 07:17

    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....

    J 1 Reply Last reply 26 Nov 2020, 00:31 Reply Quote 0
    • J Offline
      jkandasa @xuch74
      last edited by 26 Nov 2020, 00:31

      @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 26 Nov 2020, 08:29

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

        X 1 Reply Last reply 26 Nov 2020, 08:31 Reply Quote 0
        • X Offline
          xuch74 @xuch74
          last edited by 26 Nov 2020, 08:31

          @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?

          J 1 Reply Last reply 26 Nov 2020, 15:32 Reply Quote 0
          • J Offline
            jkandasa @xuch74
            last edited by 26 Nov 2020, 15:32

            @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
            2 out of 5
            • First post
              2/5
              Last post

            0

            Online

            619

            Users

            531

            Topics

            3.4k

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