MQTT what?: Unterschied zwischen den Versionen

Aus hyperdramatik
Zur Navigation springen Zur Suche springen
Zeile 8: Zeile 8:
== How does it work? ==
== How does it work? ==
You publish a message to a topic on a broker identified through its IP-Address. Every device which subscribed to this topic will get the message. The structure is more like a message board.
You publish a message to a topic on a broker identified through its IP-Address. Every device which subscribed to this topic will get the message. The structure is more like a message board.
It uses the TCP protocol to send data. You can run your broker locally or cloud-based.


==Example Tutorials ==
==Example Tutorials ==
[https://randomnerdtutorials.com/micropython-mqtt-esp32-esp8266/ MQTT Communication between multiple ESP´s with Raspberry Pi as broker]
[https://randomnerdtutorials.com/micropython-mqtt-esp32-esp8266/ MQTT Communication between multiple ESP´s with Raspberry Pi as broker]

Version vom 30. April 2020, 19:56 Uhr

Essentially the MQTT protocol is used for IoT-Devices for more in-depth info go to Wikipedia. Link


What do you need?

  • an MQTT-server running
  • its IP-Address

How does it work?

You publish a message to a topic on a broker identified through its IP-Address. Every device which subscribed to this topic will get the message. The structure is more like a message board. It uses the TCP protocol to send data. You can run your broker locally or cloud-based.

Example Tutorials

MQTT Communication between multiple ESP´s with Raspberry Pi as broker