MQTT what?: Unterschied zwischen den Versionen

Aus hyperdramatik
Zur Navigation springen Zur Suche springen
Zeile 11: Zeile 11:


==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]
[https://www.digikey.com/en/maker/blogs/2018/how-to-use-basic-mqtt-on-arduino MQTT-Arduino]
[https://www.digikey.com/en/maker/blogs/2018/how-to-use-basic-mqtt-on-arduino MQTT-Arduino]

Version vom 30. April 2020, 20:59 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
MQTT-Arduino