# How to receive data

**URL:** <https://discourse.nodered.org/t/how-to-receive-data/30532>\
**Category:** General\
**Created:** [22 July 2020 08:23 UTC](https://discourse.nodered.org/t/how-to-receive-data/30532 "2020-07-22T08:23:37Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [22 July 2020 14:50 UTC](https://discourse.nodered.org/t/how-to-receive-data/30532/2 "2020-07-22T14:50:27Z")

</div>

> [@perico](#):
>
> How I can connect this two node-reds

Use MQTT

This should help get you started...

> [@Linking 2 or more instances on a local network](https://discourse.nodered.org/t/linking-2-or-more-instances-on-a-local-network/24879/3):
>
> It would have been easier and more future proofing to read up on MQTT (IMO). Heres the 30sec intro... MQTT is a Client Server publish/subscribe messaging transport protocol. It is light weight, open, simple, and designed so as to be easy to implement" An MQTT client (node-red / IoT sensor / whatever) publishes to an MQTT broker a topic and payload are sent in each publish a topic is a string e.g. "house/bedroom/light" or "machine/1/motor/speed" a payload is anything you want (boolean tr…

---

_[View the full topic](https://discourse.nodered.org/t/how-to-receive-data/30532)._
