[{"term":"Libraries_BA","id":0,"type":"QUICKLINKS"},{"term":"Instructions","id":1,"type":"QUICKLINKS"},{"term":"WAGO-I/O-PRO","id":2,"type":"QUICKLINKS"},{"term":"Building","id":3,"type":"QUICKLINKS"},{"term":"221","id":4,"type":"QUICKLINKS"}]
[{"url":"/products","name":"Products","linkClass":null,"categoryCode":null},{"url":"/mqtt","name":"MQTT","linkClass":"active","categoryCode":null}]
{"container":false,"catalogVersion":"global-wagoContentCatalog/Online","menuLinksOrdered":[],"lastExportedVersion":3,"type":"Category Stage","dynamicVisibility":true,"cloneable":true,"uuid":"eyJpdGVtSWQiOiJjb21wX2RlXzAwMDBLTlUwIiwiY2F0YWxvZ0lkIjoiZ2xvYmFsLXdhZ29Db250ZW50Q2F0YWxvZyIsImNhdGFsb2dWZXJzaW9uIjoiT25saW5lIn0=","ignoreOnTransfer":false,"uid":"comp_de_0000KNU0","modifiedtime":"2026-02-08T11:29:22+0000","children":["eyJpdGVtSWQiOiJpdGVtX2RlXzAwMDBLWko1IiwiY2F0YWxvZ0lkIjoiZ2xvYmFsLXdhZ29Db250ZW50Q2F0YWxvZyIsImNhdGFsb2dWZXJzaW9uIjoiT25saW5lIn0="],"flat":false,"onlyOneRestrictionMustApply":true,"subHeadline":"Efficient and reliable message transmission between devices, even with limited network connections – this is what MQTT represents. This event-driven network protocol has established itself as a standard in the age of the Internet of Things (IoT). This also applies to modern buildings, where many decentralized sensors and mobile devices are used for monitoring and control. Here, MQTT demonstrates its strengths.","contentLink":{"container":false,"catalogVersion":"global-wagoContentCatalog/Online","lastExportedVersion":6,"type":"Link Component","dynamicVisibility":true,"uuid":"eyJpdGVtSWQiOiJpdGVtX2RlXzAwMDBLWko1IiwiY2F0YWxvZ0lkIjoiZ2xvYmFsLXdhZ29Db250ZW50Q2F0YWxvZyIsImNhdGFsb2dWZXJzaW9uIjoiT25saW5lIn0=","footersSocial":[],"linkName":"Direct access to our solutions","footers":[],"ignoreOnTransfer":false,"uid":"item_de_0000KZJ5","urlAnchor":"solutions","modifiedtime":"2024-10-09T10:28:27+0000","children":[],"onlyOneRestrictionMustApply":true,"selectedCmsFacets":[],"headers":[],"visible":true,"wagoColumnComponent":[],"availableLanguages":"AVAILABLE","passepartout":false,"restrictions":[],"footersPayment":[],"navigationNodes":[],"searchable":true,"url":"#solutions","typeCode":"CMSLinkComponent","target":"SAMEWINDOW","renderWithEmptyTarget":false,"external":false,"slots":[],"itemtype":"CMSLinkComponent","restricted":false,"name":"Link-Komponente","synchronizationBlocked":false,"linkType":"PRIMARY","containers":[],"creationtime":"2024-10-09T10:28:27+0000","navigationList":[],"actions":[],"contentVersion":6,"headersUserMenu":[],"parents":[]},"headline":"MQTT: IoT's Best Friend!","image":{"code":"MM-470389_new_website_page_MQTT_Protocol_Overview_Bilder_2000x1125.jpg","altText":"MM-470389_new_website_page_MQTT_Protocol_Overview_Bilder_2000x1125.jpg","imageFormats":[{"imageType":null,"format":"2000","url":"/medias/2000-MM-470389-new-website-page-MQTT-Protocol-Overview-Bilder-2000x1125.jpg?context=bWFzdGVyfGltYWdlc3w0Nzg0NjJ8aW1hZ2UvanBlZ3xhR1V3TDJoalppOHhOVEV6TURjM01qTTBNRGMyTmk4eU1EQXdYMDFOTFRRM01ETTRPVjl1WlhkZmQyVmljMmwwWlY5d1lXZGxYMDFSVkZSZlVISnZkRzlqYjJ4ZlQzWmxjblpwWlhkZlFtbHNaR1Z5WHpJd01EQjRNVEV5TlM1cWNHY3wwYzE4MjllOWNjOTQ3ZWMzNDZjNGQ5NWI0ODVlMmU5NDAxMmEyZTM2Mzk3NjRiNThmNzA1ZGY1Mjc2Nzk3ZWU3","altText":null,"galleryIndex":null,"width":null,"description":null,"mediaType":null,"code":null},{"imageType":null,"format":"1600","url":"/medias/1600-MM-470389-new-website-page-MQTT-Protocol-Overview-Bilder-2000x1125.jpg?context=bWFzdGVyfGltYWdlc3wzMTIxOTB8aW1hZ2UvanBlZ3xhREF3TDJoa01DOHhOVEV6TURjM016QTVORFF6TUM4eE5qQXdYMDFOTFRRM01ETTRPVjl1WlhkZmQyVmljMmwwWlY5d1lXZGxYMDFSVkZSZlVISnZkRzlqYjJ4ZlQzWmxjblpwWlhkZlFtbHNaR1Z5WHpJd01EQjRNVEV5TlM1cWNHY3w3YmIzYjAxY2M5Yzg0OTNjZGRkZmQyNTJhZjk1NmJiY2E5YTc2MzIyZWE4NTYxMjc5ZmY2OGMyN2QwYjdhY2Vk","altText":null,"galleryIndex":null,"width":null,"description":null,"mediaType":null,"code":null},{"imageType":null,"format":"1280","url":"/medias/1280-MM-470389-new-website-page-MQTT-Protocol-Overview-Bilder-2000x1125.jpg?context=bWFzdGVyfGltYWdlc3wyMDg0Mzd8aW1hZ2UvanBlZ3xhR05tTDJoall5OHhOVEV6TURjM01qSTNOVEl6TUM4eE1qZ3dYMDFOTFRRM01ETTRPVjl1WlhkZmQyVmljMmwwWlY5d1lXZGxYMDFSVkZSZlVISnZkRzlqYjJ4ZlQzWmxjblpwWlhkZlFtbHNaR1Z5WHpJd01EQjRNVEV5TlM1cWNHY3w4MTNjZjgxZWFlMGJlNDliOGNmMzg5ODNkYzI5Mjc4YWRjYTNjYWYzOWQ0NTU4MmY2OTc2MWRjNTIxNTU0YTYy","altText":null,"galleryIndex":null,"width":null,"description":null,"mediaType":null,"code":null},{"imageType":null,"format":"1024","url":"/medias/1024-MM-470389-new-website-page-MQTT-Protocol-Overview-Bilder-2000x1125.jpg?context=bWFzdGVyfGltYWdlc3wxMzc2MzF8aW1hZ2UvanBlZ3xhR1JsTDJoa01pOHhOVEV6TURjM01qUXdOak13TWk4eE1ESTBYMDFOTFRRM01ETTRPVjl1WlhkZmQyVmljMmwwWlY5d1lXZGxYMDFSVkZSZlVISnZkRzlqYjJ4ZlQzWmxjblpwWlhkZlFtbHNaR1Z5WHpJd01EQjRNVEV5TlM1cWNHY3xlNzdlYmU2Njg0MTc1ZDhiODE0ZDY4MjJkOGUyMTc2NTEwYjI5NzM2Y2U5NWQwYjU5ZDg1MDQ4YmQzNGNhNzNl","altText":null,"galleryIndex":null,"width":null,"description":null,"mediaType":null,"code":null},{"imageType":null,"format":"768","url":"/medias/768-MM-470389-new-website-page-MQTT-Protocol-Overview-Bilder-2000x1125.jpg?context=bWFzdGVyfGltYWdlc3w4MDg3NHxpbWFnZS9qcGVnfGFEbGtMMmhrTmk4eE5URXpNRGMzTWpVek56TTNOQzgzTmpoZlRVMHRORGN3TXpnNVgyNWxkMTkzWldKemFYUmxYM0JoWjJWZlRWRlVWRjlRY205MGIyTnZiRjlQZG1WeWRtbGxkMTlDYVd4a1pYSmZNakF3TUhneE1USTFMbXB3Wnd8ZjUzNzZiNDM4MzZjZGFmNDA3MjdlYmQ3NDE1NjViNGEzMDg4ZWQ5M2YwMzNkMzU5NTYxOWY4ODBlNzJiNWZkYw","altText":null,"galleryIndex":null,"width":null,"description":null,"mediaType":null,"code":null},{"imageType":null,"format":"480","url":"/medias/480-MM-470389-new-website-page-MQTT-Protocol-Overview-Bilder-2000x1125.jpg?context=bWFzdGVyfGltYWdlc3wzNTIwM3xpbWFnZS9qcGVnfGFEQTFMMmhrWVM4eE5URXpNRGMzTWpZek5UWTNPQzgwT0RCZlRVMHRORGN3TXpnNVgyNWxkMTkzWldKemFYUmxYM0JoWjJWZlRWRlVWRjlRY205MGIyTnZiRjlQZG1WeWRtbGxkMTlDYVd4a1pYSmZNakF3TUhneE1USTFMbXB3Wnd8MWEzMDg1Njc1MmIwZWQwNTBkNmFmNGU0MGVkYThjY2E2ZDRjYjg4ZjM2ZTRjODkxZjlmYTgyMjUxOWY2Nzk2YQ","altText":null,"galleryIndex":null,"width":null,"description":null,"mediaType":null,"code":null},{"imageType":null,"format":"200","url":"/medias/200-MM-470389-new-website-page-MQTT-Protocol-Overview-Bilder-2000x1125.jpg?context=bWFzdGVyfGltYWdlc3w0ODM5fGltYWdlL2pwZWd8YURObEwyaGxOQzh4TlRFek1EYzNNamt6TURVNU1DOHlNREJmVFUwdE5EY3dNemc1WDI1bGQxOTNaV0p6YVhSbFgzQmhaMlZmVFZGVVZGOVFjbTkwYjJOdmJGOVBkbVZ5ZG1sbGQxOUNhV3hrWlhKZk1qQXdNSGd4TVRJMUxtcHdad3xjYTVjMTk2YzQzODhhNTgxOTRkNDlkMDJjNWJhMWQ3NDIwMzgxOGIzODEzNjFjYThlZjIxMjk3ZTdhNDYwMGYy","altText":null,"galleryIndex":null,"width":null,"description":null,"mediaType":null,"code":null}],"description":"MM-470389_new_website_page_MQTT_Protocol_Overview_Bilder_2000x1125.jpg"},"lastLoad":1770550162457,"visible":true,"wagoColumnComponent":[],"availableLanguages":"AVAILABLE","productLinkOverrideType":"PRODUCT","passepartout":false,"restrictions":[],"contentLinkOverrideType":"CONTENT","searchable":true,"typeCode":"WagoCategoryStageComponent","slots":["eyJpdGVtSWQiOiJjc19kZV8wMDAwSjg0VSIsImNhdGFsb2dJZCI6Imdsb2JhbC13YWdvQ29udGVudENhdGFsb2ciLCJjYXRhbG9nVmVyc2lvbiI6Ik9ubGluZSJ9"],"textboxOpacity":86,"itemtype":"WagoCategoryStageComponent","restricted":false,"name":"stage","synchronizationBlocked":true,"containers":[],"creationtime":"2024-10-09T10:28:28+0000","actions":[],"contentVersion":3,"parents":[]}

MQTT Simply Explained

MQTT (Message Queuing Telemetry Transport) is a lightweight, event-driven protocol that operates on a publish/subscribe architecture, making it an efficient alternative to the conventional client-server model.

Clients in an MQTT network, such as buttons, temperature sensors or touch panels, publish or subscribe to messages under specific topics. A broker (server) ensures seamless communication and secure data exchange as a central entity.

Thanks to its compact message format and event-based communication, which does not require continuous data transmission, MQTT uses minimal bandwidth and memory. This makes MQTT ideal for use in resource-constrained IoT applications.

Understanding MQTT

Key Terms and Functions at a Glance

The MQTT Clients

Any device with an MQTT library can be integrated into the network as an MQTT client. Depending on the function, the clients behave differently: sensors only publish their status (publish), while smartphones usually act as subscribers, displaying the current status of loads or building segments. Room control units or controllers also serve as clients, capable of subscribing to and publishing messages, thus functioning in a controlling manner within the MQTT network.

The MQTT Broker

Communication in an MQTT network occurs via the MQTT broker, which is an edge device or server that organizes and coordinates the messages and communication of MQTT clients. The broker serves as the central manager and distributor of messages between end devices. Unlike traditional client/server architectures, devices in an MQTT network do not communicate directly with one another.

News and Topics

MQTT messages are sent from clients to the broker and require very little memory – one of the protocol’s strengths. In addition to the data (payload), the topic is also published. The broker filters the messages by topics and forwards them to all subscribed clients.

Topics can be organized hierarchically in MQTT and structured with forward slashes (/). For instance, a temperature sensor in a conference room could publish a message under the topic BuildingA/Meeting1/Temperature.