# Can nodered be used as a gateway sdk in iot

**URL:** <https://discourse.nodered.org/t/can-nodered-be-used-as-a-gateway-sdk-in-iot/5134>\
**Category:** General\
**Created:** [23 November 2018 06:58 UTC](https://discourse.nodered.org/t/can-nodered-be-used-as-a-gateway-sdk-in-iot/5134 "2018-11-23T06:58:20Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![VIKRAMAS](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/vikramas/32/3955_2.png) [@VIKRAMAS](https://discourse.nodered.org/u/VIKRAMAS)\
**Post date:** [23 November 2018 06:58 UTC](https://discourse.nodered.org/t/can-nodered-be-used-as-a-gateway-sdk-in-iot/5134/1 "2018-11-23T06:58:20Z")

</div>

I'm new to node-red. So, as we wanted to build gateway sdk can we build that by using node-red.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [23 November 2018 07:22 UTC](https://discourse.nodered.org/t/can-nodered-be-used-as-a-gateway-sdk-in-iot/5134/2 "2018-11-23T07:22:04Z")

</div>

To answer that question requires you to provide more information on what you are trying to achieve. How are you proposing to communicate with the device and what sort of API do you mean? Where will node red run?

---

<div class="post-metadata">

**Author:** ![VIKRAMAS](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/vikramas/32/3955_2.png) [@VIKRAMAS](https://discourse.nodered.org/u/VIKRAMAS)\
**Post date:** [23 November 2018 07:25 UTC](https://discourse.nodered.org/t/can-nodered-be-used-as-a-gateway-sdk-in-iot/5134/3 "2018-11-23T07:25:19Z")

</div>

node red will run on gateway and aggregates the data and transforms it and sends to iothub. It has to connect to devices which will have different protocol like mqtt,coap,bacnet etc.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [23 November 2018 07:47 UTC](https://discourse.nodered.org/t/can-nodered-be-used-as-a-gateway-sdk-in-iot/5134/4 "2018-11-23T07:47:10Z")

</div>

In principle then the answer is yes. What aspect did you think node red might not be able to do?

---

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [23 November 2018 07:54 UTC](https://discourse.nodered.org/t/can-nodered-be-used-as-a-gateway-sdk-in-iot/5134/5 "2018-11-23T07:54:37Z")

</div>

Node-RED can connect to a MQTT-broker which other devices can also connect to.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [23 November 2018 20:29 UTC](https://discourse.nodered.org/t/can-nodered-be-used-as-a-gateway-sdk-in-iot/5134/6 "2018-11-23T20:29:59Z")

</div>

Well it's embedded in here - [https://nodered.org/users/multitech/](https://nodered.org/users/multitech/)  
so I'm going to say yes...
