• header.categories
    • header.recent
    • header.tags
    • header.popular
    • register
    • login

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

    scheduled pinned locked moved Developers Zone
    5 posts 2 posters 946 views 1 watching
    loading-more-posts
    • oldest-to-newest
    • newest-to-oldest
    • most-votes
    reply
    • reply-as-topic
    guest-login-reply
    deleted-message
    • X offline
      xuch74
      global: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 one-reply-to-this-post last-reply-time reply quote 0
      • jkandasaJ offline
        jkandasa @xuch74
        global:last-edited-by,

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

        one-reply-to-this-post last-reply-time reply quote 0
        • X offline
          xuch74
          global:last-edited-by,

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

          X one-reply-to-this-post last-reply-time reply quote 0
          • X offline
            xuch74 @xuch74
            global: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 one-reply-to-this-post last-reply-time reply quote 0
            • jkandasaJ offline
              jkandasa @xuch74
              global: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.

              one-reply-to-this-post last-reply-time reply quote 0
              • first-post
                last-post

              0

              online

              644

              users

              532

              topics

              3.4k

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