{"id":197,"date":"2018-02-12T19:00:06","date_gmt":"2018-02-12T18:00:06","guid":{"rendered":"http:\/\/www.fabinv.de\/?p=197"},"modified":"2019-08-30T13:42:23","modified_gmt":"2019-08-30T11:42:23","slug":"fhem-mqtt-modul-installieren","status":"publish","type":"post","link":"https:\/\/nerdiy.de\/de_de\/fhem-mqtt-modul-installieren\/","title":{"rendered":"HowTo: FHEM \u2013 MQTT Modul installieren"},"content":{"rendered":"<p>In dem Artikel <em><strong><a href=\"https:\/\/www.nerdiy.de\/mosquitto-auf-der-himbeere-mqtt-server-auf-dem-raspberrypi-installieren\/\">RaspberryPi &#8211; MQTT Server auf dem RaspberryPi installieren<\/a><\/strong><\/em>\u00a0hatte ich ein wenig zu MQTT geschrieben und erkl\u00e4rt wie man einen eigenen MQTT Server auf dem RaspberryPi installiert.<\/p>\n<p>Damit ihr einen MQTT Server auch aus FHEM heraus nutzen k\u00f6nnt, m\u00fcsst ihr allerdings noch ein paar FHEM-Module installieren. Wie das geht und worauf Ihr dabei achten m\u00fcsst habe ich in dem folgendem Artikel beschrieben.<\/p>\n<hr \/>\n<h2>\u00dcbersicht<\/h2>\n<p>Bevor mit der Installation des MQTT Moduls begonnen werden kann solltet ihr den RaspberryPi soweit vorbereitet haben, dass FHEM auf diesem installiert und \u00fcber das Webmen\u00fc konfigurierbar ist.<br \/>\nDie folgenden drei Artikel beschreiben was zu tun ist um den RaspberryPi soweit vorzubereiten:<br \/>\n<em><strong><a href=\"https:\/\/www.nerdiy.de\/raspberrypi-einrichten-fuer-nerdiys\/\">RaspberryPi &#8211; Einrichten f\u00fcr Nerdiys!<\/a><\/strong><\/em><br \/>\n<em><strong><a href=\"https:\/\/www.nerdiy.de\/raspberrypi-die-erste-konfiguration\/\">RaspberryPI \u2013 Die Erste Konfiguration!<br \/>\n<\/a><a href=\"https:\/\/www.nerdiy.de\/dosentelefon-fuer-den-kleinen-ueber-das-ssh-protokoll-mit-dem-raspberrypi-kommunizieren\/\">RaspberryPi &#8211; Den RaspberryPi \u00fcber SSH steuern<\/a><a href=\"https:\/\/www.nerdiy.de\/dosentelefon-fuer-den-kleinen-ueber-das-ssh-protokoll-mit-dem-raspberrypi-kommunizieren\/\"><br \/>\n<\/a><\/strong><\/em><a href=\"https:\/\/www.nerdiy.de\/das-eigene-smart-home-installation-und-einstieg-in-fhem\/\"><em><strong>FHEM \u2013 Installation auf dem RaspberryPi<\/strong><\/em><\/a><br \/>\n<em><strong><a href=\"https:\/\/www.nerdiy.de\/mosquitto-auf-der-himbeere-mqtt-server-auf-dem-raspberrypi-installieren\/\">RaspberryPi &#8211; MQTT Server auf dem RaspberryPi installieren<\/a><\/strong><\/em><\/p>\n<p><strong>Ben\u00f6tigtes Werkzeug:<br \/>\n<\/strong>-keins-<strong><br \/>\n<\/strong><\/p>\n<p><strong>Ben\u00f6tigtes Material:<\/strong><\/p>\n<p><strong>In der folgenden Liste findet Ihr alle Teile die Ihr zur Umsetzung dieses Artikels ben\u00f6tigt.<\/strong><\/p>\n<div id=\"footable_parent_4042\"\n         class=\" footable_parent ninja_table_wrapper loading_ninja_table wp_table_data_press_parent semantic_ui \">\n                <table data-ninja_table_instance=\"ninja_table_instance_0\" data-footable_id=\"4042\" data-filter-delay=\"1000\" aria-label=\"Fertig: RaspberryPi Grundausstattung\"            id=\"footable_4042\"\n           data-unique_identifier=\"ninja_table_unique_id_1595964594_4042\"\n           class=\" foo-table ninja_footable foo_table_4042 ninja_table_unique_id_1595964594_4042 ui table  nt_type_ajax_table selectable striped vertical_centered  footable-paging-right\">\n                <colgroup>\n                            <col class=\"ninja_column_0 \">\n                            <col class=\"ninja_column_1 \">\n                            <col class=\"ninja_column_2 \">\n                            <col class=\"ninja_column_3 \">\n                            <col class=\"ninja_column_4 \">\n                            <col class=\"ninja_column_5 \">\n                    <\/colgroup>\n            <\/table>\n    \n    \n    \n<\/div>\n\n<hr \/>\n<h2>Per SSH auf dem RaspberryPi einloggen<\/h2>\r\n<p>Um zu beginnen m\u00fcsst Ihr Euch als erstes mit Putty per SSH auf dem RasPi einloggen. Wie das geht ist im Artikel <a href=\"https:\/\/www.nerdiy.de\/dosentelefon-fuer-den-kleinen-ueber-das-ssh-protokoll-mit-dem-raspberrypi-kommunizieren\/\" target=\"_blank\" rel=\"noopener\"><em><strong>RaspberryPi - Den RaspberryPi \u00fcber SSH steuern<\/strong><\/em><\/a> beschrieben.<\/p>\r\n<figure id=\"attachment_5314\" aria-describedby=\"caption-attachment-5314\" style=\"width: 661px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/04\/www.nerdiy.de-putty-2019-04-23-10-12-07.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"wp-image-5314 size-full\" src=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/04\/www.nerdiy.de-putty-2019-04-23-10-12-07.png?resize=661%2C418&#038;ssl=1\" alt=\"\" width=\"661\" height=\"418\" srcset=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/04\/www.nerdiy.de-putty-2019-04-23-10-12-07.png?w=661&amp;ssl=1 661w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/04\/www.nerdiy.de-putty-2019-04-23-10-12-07.png?resize=300%2C190&amp;ssl=1 300w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/04\/www.nerdiy.de-putty-2019-04-23-10-12-07.png?resize=600%2C379&amp;ssl=1 600w\" sizes=\"auto, (max-width: 661px) 100vw, 661px\" \/><\/a><figcaption id=\"caption-attachment-5314\" class=\"wp-caption-text\">Nach der Eingabe Eures Benutzernamen und Passworts k\u00f6nnt Ihr die ersten Befehle eingeben.<\/figcaption><\/figure>\n<hr \/>\n<h2>Paketverwaltung aktualisieren<\/h2>\r\n<p>Die Paketverwaltung in Linux ist eine \"zentrale Stelle\" \u00fcber die sich diverse Software-Pakete installieren lassen. Damit dies zuverl\u00e4ssig funktioniert sollten vor jeder Installation von neuen Paketen die Listen und Quellen der Paketverwaltung aktualisiert werden.<\/p>\r\n<figure id=\"attachment_4694\" aria-describedby=\"caption-attachment-4694\" style=\"width: 661px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-putty-2019-03-07-21-52-23.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"wp-image-4694 size-full\" src=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-putty-2019-03-07-21-52-23.png?resize=661%2C128&#038;ssl=1\" alt=\"\" width=\"661\" height=\"128\" srcset=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-putty-2019-03-07-21-52-23.png?w=661&amp;ssl=1 661w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-putty-2019-03-07-21-52-23.png?resize=300%2C58&amp;ssl=1 300w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-putty-2019-03-07-21-52-23.png?resize=600%2C116&amp;ssl=1 600w\" sizes=\"auto, (max-width: 661px) 100vw, 661px\" \/><\/a><figcaption id=\"caption-attachment-4694\" class=\"wp-caption-text\">Um das Update der Paketverwaltung zu starten m\u00fcsst ihr folgenden Befehl eingeben.<\/figcaption><\/figure>\r\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">sudo apt-get update &amp;&amp; sudo apt-get upgrade<\/pre>\r\n<figure id=\"attachment_4695\" aria-describedby=\"caption-attachment-4695\" style=\"width: 661px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-putty-2019-03-07-21-52-28.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"wp-image-4695 size-full\" src=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-putty-2019-03-07-21-52-28.png?resize=661%2C418&#038;ssl=1\" alt=\"\" width=\"661\" height=\"418\" srcset=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-putty-2019-03-07-21-52-28.png?w=661&amp;ssl=1 661w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-putty-2019-03-07-21-52-28.png?resize=300%2C190&amp;ssl=1 300w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-putty-2019-03-07-21-52-28.png?resize=600%2C379&amp;ssl=1 600w\" sizes=\"auto, (max-width: 661px) 100vw, 661px\" \/><\/a><figcaption id=\"caption-attachment-4695\" class=\"wp-caption-text\">Je nachdem wie lange Euer letztes Update der Paketverwaltung her ist kann dieser Vorgang nun etwas dauern. Dabei werden zuerst die Listen aktualisiert in denen auf die einzelnen Paketquellen verwiesen wird.<\/figcaption><\/figure>\r\n<figure id=\"attachment_4697\" aria-describedby=\"caption-attachment-4697\" style=\"width: 661px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-putty-2019-03-07-21-53-19.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"wp-image-4697 size-full\" src=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-putty-2019-03-07-21-53-19.png?resize=661%2C418&#038;ssl=1\" alt=\"\" width=\"661\" height=\"418\" srcset=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-putty-2019-03-07-21-53-19.png?w=661&amp;ssl=1 661w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-putty-2019-03-07-21-53-19.png?resize=300%2C190&amp;ssl=1 300w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-putty-2019-03-07-21-53-19.png?resize=600%2C379&amp;ssl=1 600w\" sizes=\"auto, (max-width: 661px) 100vw, 661px\" \/><\/a><figcaption id=\"caption-attachment-4697\" class=\"wp-caption-text\">Danach werden die Pakete selber aktualisiert. Da dabei zus\u00e4tzlicher Speicher belegt wird, werdet Ihr nochmal nach Eurem Einverst\u00e4ndnis gefragt. Dies m\u00fcsst Ihr mit einem \"J\" und \"Enter\" best\u00e4tigen.<\/figcaption><\/figure>\r\n<figure id=\"attachment_4710\" aria-describedby=\"caption-attachment-4710\" style=\"width: 661px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-putty-2019-03-07-22-05-01.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"wp-image-4710 size-full\" src=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-putty-2019-03-07-22-05-01.png?resize=661%2C418&#038;ssl=1\" alt=\"\" width=\"661\" height=\"418\" srcset=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-putty-2019-03-07-22-05-01.png?w=661&amp;ssl=1 661w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-putty-2019-03-07-22-05-01.png?resize=300%2C190&amp;ssl=1 300w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-putty-2019-03-07-22-05-01.png?resize=600%2C379&amp;ssl=1 600w\" sizes=\"auto, (max-width: 661px) 100vw, 661px\" \/><\/a><figcaption id=\"caption-attachment-4710\" class=\"wp-caption-text\">Ist die Aktualisierung abgeschlossen wird euch eine kleine Zusammenfassung \u00fcber die Dauer und den Umfang des Updates angezeigt.<\/figcaption><\/figure>\n<hr \/>\n<h2>Perl MQTT Pakete installieren<\/h2>\n<p>Damit FHEM mit dem MQTT Server kommunizieren kann m\u00fcssen zwei Perl Paket installiert werden.<br \/>\nDazu m\u00fcsst ihr euch mit Putty auf dem RasPi einloggen und folgende Befehle eingeben:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">sudo cpan install Net::MQTT:Simple\r\nsudo cpan install Net::MQTT:Constants<\/pre>\n<p>Die Nachfrage &#8222;Would you like to configure as much as possible automatically? [yes]&#8220; bestaetigt ihr mit &#8222;yes&#8220; und Enter.<\/p>\n<figure id=\"attachment_265\" aria-describedby=\"caption-attachment-265\" style=\"width: 711px\" class=\"wp-caption alignleft\"><a href=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-196.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"265\" data-permalink=\"https:\/\/nerdiy.de\/de_de\/fhem-mqtt-modul-installieren\/screenshot-196\/\" data-orig-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-196.png?fit=711%2C420&amp;ssl=1\" data-orig-size=\"711,420\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot (196)\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-196.png?fit=711%2C420&amp;ssl=1\" class=\"wp-image-265 size-full\" src=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-196.png?resize=711%2C420&#038;ssl=1\" alt=\"\" width=\"711\" height=\"420\" srcset=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-196.png?w=711&amp;ssl=1 711w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-196.png?resize=300%2C177&amp;ssl=1 300w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-196.png?resize=85%2C50&amp;ssl=1 85w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-196.png?resize=135%2C80&amp;ssl=1 135w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-196.png?resize=18%2C12&amp;ssl=1 18w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-196.png?resize=600%2C354&amp;ssl=1 600w\" sizes=\"auto, (max-width: 711px) 100vw, 711px\" \/><\/a><figcaption id=\"caption-attachment-265\" class=\"wp-caption-text\">Die Installation der beiden Pakete hat bei mir ca. f\u00fcnf Minuten gedauert. Also Zeit genug um sich einen neuen Kaffee zu holen. \ud83d\ude42<\/figcaption><\/figure>\n<hr \/>\n<h2>FHEM neu starten<\/h2>\n<p>Damit die neu installierten Pakete von FHEM erkannt werden muss FHEM einmal neu gestartet werden. Dazu m\u00fcsst ihr die folgenden beiden Befehle nacheinander eingeben. Dadurch wird der Server erst gestoppt und dann wieder gestartet. Weiter Infos zum stoppen und starten findet Ihr auch in dem Artikel <a href=\"https:\/\/www.nerdiy.de\/fhem-aufbau-module-wissenswertes\/\"><em><strong>FHEM &#8211; Aufbau, Module &amp; Wissenswertes<\/strong><\/em><\/a><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">sudo \/etc\/init.d\/fhem stop\r\nsudo \/etc\/init.d\/fhem start<\/pre>\n<p><a href=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-198.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"266\" data-permalink=\"https:\/\/nerdiy.de\/de_de\/fhem-mqtt-modul-installieren\/screenshot-198\/\" data-orig-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-198.png?fit=708%2C420&amp;ssl=1\" data-orig-size=\"708,420\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot (198)\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-198.png?fit=708%2C420&amp;ssl=1\" class=\"size-full wp-image-266 alignleft\" src=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-198.png?resize=708%2C420&#038;ssl=1\" alt=\"\" width=\"708\" height=\"420\" srcset=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-198.png?w=708&amp;ssl=1 708w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-198.png?resize=300%2C178&amp;ssl=1 300w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-198.png?resize=84%2C50&amp;ssl=1 84w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-198.png?resize=135%2C80&amp;ssl=1 135w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-198.png?resize=18%2C12&amp;ssl=1 18w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-198.png?resize=600%2C356&amp;ssl=1 600w\" sizes=\"auto, (max-width: 708px) 100vw, 708px\" \/><\/a><\/p>\n<hr \/>\n<h2>MQTT Clienten definieren<\/h2>\n<p>Damit Ihr nun \u00fcber FHEM MQTT Daten senden und empfangen k\u00f6nnt muss sich FHEM gegen\u00fcber dem MQTT Server als Client anmelden. Diesen Clienten m\u00fcsst Ihr nur einmal anlegen. Alle in FHEM angemeldete Sensoren bzw. Aktoren werden dann sp\u00e4ter \u00fcber diesen Clienten mit Daten versorgt bzw. k\u00f6nnen \u00fcber diesen Ihre Daten versenden.<\/p>\n<p>Um den MQTT Clienten in FHEM anzumelden m\u00fcsst ihr auf die Weboberfl\u00e4che von FHEM wechseln.<br \/>\nDort ist im oberen Bereich ein Eingabe Feld \u00fcber das wir die Definition des MQTT Clienten eingeben k\u00f6nnen.<\/p>\n<p>Die Defintion lautet(zum Beispiel):<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">define mqttClient MQTT 127.0.0.1:1883<\/pre>\n<p><a href=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-194.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"267\" data-permalink=\"https:\/\/nerdiy.de\/de_de\/fhem-mqtt-modul-installieren\/screenshot-194\/\" data-orig-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-194.png?fit=1369%2C672&amp;ssl=1\" data-orig-size=\"1369,672\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot (194)\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-194.png?fit=810%2C398&amp;ssl=1\" class=\"aligncenter size-large wp-image-267\" src=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-194-1024x503.png?resize=810%2C398&#038;ssl=1\" alt=\"\" width=\"810\" height=\"398\" srcset=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-194.png?resize=1024%2C503&amp;ssl=1 1024w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-194.png?resize=300%2C147&amp;ssl=1 300w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-194.png?resize=768%2C377&amp;ssl=1 768w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-194.png?resize=102%2C50&amp;ssl=1 102w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-194.png?resize=163%2C80&amp;ssl=1 163w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-194.png?resize=18%2C9&amp;ssl=1 18w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-194.png?resize=600%2C295&amp;ssl=1 600w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-194.png?w=1369&amp;ssl=1 1369w\" sizes=\"auto, (max-width: 810px) 100vw, 810px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-197.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"268\" data-permalink=\"https:\/\/nerdiy.de\/de_de\/fhem-mqtt-modul-installieren\/screenshot-197\/\" data-orig-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-197.png?fit=1369%2C675&amp;ssl=1\" data-orig-size=\"1369,675\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot (197)\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-197.png?fit=810%2C399&amp;ssl=1\" class=\"wp-image-268 size-large\" src=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-197-1024x505.png?resize=810%2C399&#038;ssl=1\" alt=\"\" width=\"810\" height=\"399\" srcset=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-197.png?resize=1024%2C505&amp;ssl=1 1024w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-197.png?resize=300%2C148&amp;ssl=1 300w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-197.png?resize=768%2C379&amp;ssl=1 768w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-197.png?resize=101%2C50&amp;ssl=1 101w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-197.png?resize=162%2C80&amp;ssl=1 162w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-197.png?resize=18%2C9&amp;ssl=1 18w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-197.png?resize=600%2C296&amp;ssl=1 600w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-197.png?w=1369&amp;ssl=1 1369w\" sizes=\"auto, (max-width: 810px) 100vw, 810px\" \/><\/a><\/p>\n<p>Durch den Befehl wurde der MQTT Client in FHEM erstellt. Dieser kann so aber noch nicht viel.<\/p>\n<hr \/>\n<p>Um die Funktion zu testen erstellen wir ein MQTT_ DEVICE. \u00dcber dieses Modul k\u00f6nnen in FHEM MQTT-Topics abonniert und auch Daten ver\u00f6ffentlicht werden.<\/p>\n<p>Die Definition zu unserem kleinen Test-Modul lautet:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">define mqttTest MQTT_DEVICE;\r\nattr mqttTest subscribeReading_testTopic testTopic;\r\nattr mqttTest publishSet_testTopic testTopic;<\/pre>\n<figure id=\"attachment_269\" aria-describedby=\"caption-attachment-269\" style=\"width: 810px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-202.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"269\" data-permalink=\"https:\/\/nerdiy.de\/de_de\/fhem-mqtt-modul-installieren\/screenshot-202\/\" data-orig-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-202.png?fit=1364%2C677&amp;ssl=1\" data-orig-size=\"1364,677\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot (202)\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-202.png?fit=810%2C402&amp;ssl=1\" class=\"wp-image-269 size-large\" src=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-202-1024x508.png?resize=810%2C402&#038;ssl=1\" alt=\"\" width=\"810\" height=\"402\" srcset=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-202.png?resize=1024%2C508&amp;ssl=1 1024w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-202.png?resize=300%2C149&amp;ssl=1 300w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-202.png?resize=768%2C381&amp;ssl=1 768w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-202.png?resize=101%2C50&amp;ssl=1 101w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-202.png?resize=161%2C80&amp;ssl=1 161w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-202.png?resize=18%2C9&amp;ssl=1 18w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-202.png?resize=600%2C298&amp;ssl=1 600w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-202.png?w=1364&amp;ssl=1 1364w\" sizes=\"auto, (max-width: 810px) 100vw, 810px\" \/><\/a><figcaption id=\"caption-attachment-269\" class=\"wp-caption-text\">Diese gebt ihr wieder im Textfeld auf der Webkonfigurationsseite von FHEM ein.<\/figcaption><\/figure>\n<hr \/>\n<figure id=\"attachment_270\" aria-describedby=\"caption-attachment-270\" style=\"width: 810px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-203_LI.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"270\" data-permalink=\"https:\/\/nerdiy.de\/de_de\/fhem-mqtt-modul-installieren\/screenshot-203_li\/\" data-orig-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-203_LI.jpg?fit=1374%2C676&amp;ssl=1\" data-orig-size=\"1374,676\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot (203)_LI\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-203_LI.jpg?fit=810%2C399&amp;ssl=1\" class=\"wp-image-270 size-large\" src=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-203_LI-1024x504.jpg?resize=810%2C399&#038;ssl=1\" alt=\"\" width=\"810\" height=\"399\" srcset=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-203_LI.jpg?resize=1024%2C504&amp;ssl=1 1024w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-203_LI.jpg?resize=300%2C148&amp;ssl=1 300w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-203_LI.jpg?resize=768%2C378&amp;ssl=1 768w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-203_LI.jpg?resize=102%2C50&amp;ssl=1 102w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-203_LI.jpg?resize=163%2C80&amp;ssl=1 163w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-203_LI.jpg?resize=18%2C9&amp;ssl=1 18w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-203_LI.jpg?resize=600%2C295&amp;ssl=1 600w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-203_LI.jpg?w=1374&amp;ssl=1 1374w\" sizes=\"auto, (max-width: 810px) 100vw, 810px\" \/><\/a><figcaption id=\"caption-attachment-270\" class=\"wp-caption-text\">Nach der Definition des Test-Moduls werdet ihr nicht direkt auf dessen Konfigurationsseite weitergeleitet. Ihr findet es im &#8222;Raum&#8220; \u201eUnsorted\u201c und dann unter \u201emqttTest\u201c.<\/figcaption><\/figure>\n<hr \/>\n<figure id=\"attachment_272\" aria-describedby=\"caption-attachment-272\" style=\"width: 810px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-204.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"272\" data-permalink=\"https:\/\/nerdiy.de\/de_de\/fhem-mqtt-modul-installieren\/screenshot-204\/\" data-orig-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-204.png?fit=1371%2C676&amp;ssl=1\" data-orig-size=\"1371,676\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot (204)\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-204.png?fit=810%2C399&amp;ssl=1\" class=\"wp-image-272 size-large\" src=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-204-1024x505.png?resize=810%2C399&#038;ssl=1\" alt=\"\" width=\"810\" height=\"399\" srcset=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-204.png?resize=1024%2C505&amp;ssl=1 1024w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-204.png?resize=300%2C148&amp;ssl=1 300w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-204.png?resize=768%2C379&amp;ssl=1 768w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-204.png?resize=101%2C50&amp;ssl=1 101w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-204.png?resize=162%2C80&amp;ssl=1 162w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-204.png?resize=18%2C9&amp;ssl=1 18w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-204.png?resize=600%2C296&amp;ssl=1 600w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-204.png?w=1371&amp;ssl=1 1371w\" sizes=\"auto, (max-width: 810px) 100vw, 810px\" \/><\/a><figcaption id=\"caption-attachment-272\" class=\"wp-caption-text\">Die Konfigurationsseite des eben definierten Moduls.<\/figcaption><\/figure>\n<hr \/>\n<h2>Testnachricht senden und Empfang pr\u00fcfen<\/h2>\n<figure id=\"attachment_275\" aria-describedby=\"caption-attachment-275\" style=\"width: 810px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-204_LI.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"275\" data-permalink=\"https:\/\/nerdiy.de\/de_de\/fhem-mqtt-modul-installieren\/screenshot-204_li\/\" data-orig-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-204_LI.jpg?fit=1370%2C676&amp;ssl=1\" data-orig-size=\"1370,676\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot (204)_LI\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-204_LI.jpg?fit=810%2C399&amp;ssl=1\" class=\"wp-image-275 size-large\" src=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-204_LI-1024x505.jpg?resize=810%2C399&#038;ssl=1\" alt=\"\" width=\"810\" height=\"399\" srcset=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-204_LI.jpg?resize=1024%2C505&amp;ssl=1 1024w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-204_LI.jpg?resize=300%2C148&amp;ssl=1 300w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-204_LI.jpg?resize=768%2C379&amp;ssl=1 768w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-204_LI.jpg?resize=101%2C50&amp;ssl=1 101w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-204_LI.jpg?resize=162%2C80&amp;ssl=1 162w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-204_LI.jpg?resize=18%2C9&amp;ssl=1 18w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-204_LI.jpg?resize=600%2C296&amp;ssl=1 600w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-204_LI.jpg?w=1370&amp;ssl=1 1370w\" sizes=\"auto, (max-width: 810px) 100vw, 810px\" \/><\/a><figcaption id=\"caption-attachment-275\" class=\"wp-caption-text\">Um nun eine Testnachricht zu senden und zu empfangen m\u00fcsst ihr auf die Konfigurationsseite des definierten Moduls wechseln. Dort tragt ihr in das rot eingekreiste Textfeld einen beliebigen Text ein.<\/figcaption><\/figure>\n<hr \/>\n<figure id=\"attachment_276\" aria-describedby=\"caption-attachment-276\" style=\"width: 810px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-205.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"276\" data-permalink=\"https:\/\/nerdiy.de\/de_de\/fhem-mqtt-modul-installieren\/screenshot-205\/\" data-orig-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-205.png?fit=1363%2C670&amp;ssl=1\" data-orig-size=\"1363,670\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot (205)\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-205.png?fit=810%2C398&amp;ssl=1\" class=\"wp-image-276 size-large\" src=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-205-1024x503.png?resize=810%2C398&#038;ssl=1\" alt=\"\" width=\"810\" height=\"398\" srcset=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-205.png?resize=1024%2C503&amp;ssl=1 1024w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-205.png?resize=300%2C147&amp;ssl=1 300w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-205.png?resize=768%2C378&amp;ssl=1 768w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-205.png?resize=102%2C50&amp;ssl=1 102w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-205.png?resize=163%2C80&amp;ssl=1 163w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-205.png?resize=18%2C9&amp;ssl=1 18w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-205.png?resize=600%2C295&amp;ssl=1 600w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-205.png?w=1363&amp;ssl=1 1363w\" sizes=\"auto, (max-width: 810px) 100vw, 810px\" \/><\/a><figcaption id=\"caption-attachment-276\" class=\"wp-caption-text\">Diesen Text k\u00f6nnt ihr dann durch klicken auf \u201eset\u201c absenden. Dieser wird dann \u00fcber MQTT mit dem Topic \u201etestTopic\u201c an den MQTT Server gesendet.<\/figcaption><\/figure>\n<hr \/>\n<figure id=\"attachment_277\" aria-describedby=\"caption-attachment-277\" style=\"width: 810px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-205_LI.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"277\" data-permalink=\"https:\/\/nerdiy.de\/de_de\/fhem-mqtt-modul-installieren\/screenshot-205_li\/\" data-orig-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-205_LI.jpg?fit=1362%2C670&amp;ssl=1\" data-orig-size=\"1362,670\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot (205)_LI\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-205_LI.jpg?fit=810%2C399&amp;ssl=1\" class=\"wp-image-277 size-large\" src=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-205_LI-1024x504.jpg?resize=810%2C399&#038;ssl=1\" alt=\"\" width=\"810\" height=\"399\" srcset=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-205_LI.jpg?resize=1024%2C504&amp;ssl=1 1024w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-205_LI.jpg?resize=300%2C148&amp;ssl=1 300w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-205_LI.jpg?resize=768%2C378&amp;ssl=1 768w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-205_LI.jpg?resize=102%2C50&amp;ssl=1 102w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-205_LI.jpg?resize=163%2C80&amp;ssl=1 163w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-205_LI.jpg?resize=18%2C9&amp;ssl=1 18w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-205_LI.jpg?resize=600%2C295&amp;ssl=1 600w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-205_LI.jpg?w=1362&amp;ssl=1 1362w\" sizes=\"auto, (max-width: 810px) 100vw, 810px\" \/><\/a><figcaption id=\"caption-attachment-277\" class=\"wp-caption-text\">Da wir bei der Definition des Moduls das Topic \u201etestTopic\u201c aber auch abonniert haben, bekommen wir direkt in diesem Augenblick ein Update auf dieses Reading &#8222;testTopic&#8220;. Der von uns abgesendete Text wurde also wieder empfangen. Die Konfiguration in FHEM funktioniert also. \ud83d\ude42<\/figcaption><\/figure>\n<hr \/>\n<p>Ihr habt eure FHEM Installation nun also MQTT f\u00e4hig gemacht.<\/p>\n<h2>Viel Spa\u00df mit dem Projekt<\/h2>\r\n<p>Ich hoffe bei euch hat alles wie beschrieben funktioniert. Falls nicht oder ihr Fragen oder Anregungen habt lasst es mich in den Kommentaren bitte wissen. Ich trage dies dann ggf. in den Artikel nach.<br \/>Auch Ideen f\u00fcr neue Projekte sind immer gerne willkommen. \ud83d\ude42<\/p>\r\n<p><strong>P.S. Viele dieser Projekte - besonders die Hardwareprojekte - kosten viel Zeit und Geld. Nat\u00fcrlich mache ich das weil ich Spa\u00df daran habe, aber wenn Du es cool findest, dass ich die Infos dazu mit Euch teile, w\u00fcrde ich mich \u00fcber eine kleine Spende an die Kaffeekasse freuen. \ud83d\ude42<\/strong><\/p>\r\n<p><a href=\"https:\/\/ko-fi.com\/nerdiy\" target=\"_blank\" rel=\"noopener\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" style=\"border: 0px; height: 36px;\" src=\"https:\/\/i0.wp.com\/cdn.ko-fi.com\/cdn\/kofi4.png?resize=143%2C36&#038;ssl=1\" alt=\"Buy Me a Coffee at ko-fi.com\" width=\"143\" height=\"36\" border=\"0\" \/><\/a>\u00a0 \u00a0 \u00a0 \u00a0<input name=\"cmd\" type=\"hidden\" value=\"_s-xclick\" \/> <input name=\"hosted_button_id\" type=\"hidden\" value=\"UAZE9RMHJY7VJ\" \/> <input title=\"PayPal - The safer, easier way to pay online!\" alt=\"Donate with PayPal button\" name=\"submit\" src=\"https:\/\/www.paypalobjects.com\/de_DE\/DE\/i\/btn\/btn_donateCC_LG.gif\" type=\"image\" \/> <img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.paypal.com\/de_DE\/i\/scr\/pixel.gif?resize=1%2C1&#038;ssl=1\" alt=\"\" width=\"1\" height=\"1\" border=\"0\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In dem Artikel RaspberryPi &#8211; MQTT Server auf dem RaspberryPi installieren\u00a0hatte ich ein wenig zu MQTT geschrieben und erkl\u00e4rt wie man einen eigenen MQTT Server auf dem RaspberryPi installiert. Damit [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":282,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[149,57,61],"tags":[33,35,42,25,47,51],"class_list":["post-197","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-abendprojekt2h","category-fhem","category-smarthome","tag-automatisierung","tag-fhem","tag-mqtt","tag-raspberrypi","tag-raspi","tag-smarthome"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>HowTo: FHEM \u2013 MQTT Modul installieren - nerdiy.de - DIY, Elektronik, 3D Druck und mehr...<\/title>\n<meta name=\"description\" content=\"Read a huge collection of detailed Tutorials on Nerdiy.de about all kind of Software, Hardware and general maker topics.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/nerdiy.de\/de_de\/fhem-mqtt-modul-installieren\/\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"HowTo: FHEM \u2013 MQTT Modul installieren - nerdiy.de - DIY, Elektronik, 3D Druck und mehr...\" \/>\n<meta property=\"og:description\" content=\"Read a huge collection of detailed Tutorials on Nerdiy.de about all kind of Software, Hardware and general maker topics.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/nerdiy.de\/de_de\/fhem-mqtt-modul-installieren\/\" \/>\n<meta property=\"og:site_name\" content=\"nerdiy.de - DIY, Elektronik, 3D Druck und mehr...\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/nerdiy.de\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/nerdiy.de\/\" \/>\n<meta property=\"article:published_time\" content=\"2018-02-12T18:00:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-08-30T11:42:23+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-180.png?fit=873%2C596&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"873\" \/>\n\t<meta property=\"og:image:height\" content=\"596\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Fab\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@nerdiyde\" \/>\n<meta name=\"twitter:site\" content=\"@nerdiyde\" \/>\n<meta name=\"twitter:label1\" content=\"Verfasst von\" \/>\n\t<meta name=\"twitter:data1\" content=\"Fab\" \/>\n\t<meta name=\"twitter:label2\" content=\"Gesch\u00e4tzte Lesezeit\" \/>\n\t<meta name=\"twitter:data2\" content=\"4\u00a0Minuten\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/nerdiy.de\\\/en\\\/install-fhem-mqtt-module\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/nerdiy.de\\\/en\\\/install-fhem-mqtt-module\\\/\"},\"author\":{\"name\":\"Fab\",\"@id\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/#\\\/schema\\\/person\\\/f1579a71868adb0be60a74246d3e0908\"},\"headline\":\"HowTo: FHEM \u2013 MQTT Modul installieren\",\"datePublished\":\"2018-02-12T18:00:06+00:00\",\"dateModified\":\"2019-08-30T11:42:23+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/nerdiy.de\\\/en\\\/install-fhem-mqtt-module\\\/\"},\"wordCount\":667,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/nerdiy.de\\\/en\\\/install-fhem-mqtt-module\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/nerdiy.de\\\/wp-content\\\/uploads\\\/2018\\\/02\\\/Screenshot-180.png?fit=873%2C596&ssl=1\",\"keywords\":[\"Automatisierung\",\"FHEM\",\"MQTT\",\"Raspberry Pi\",\"RasPi\",\"SmartHome\"],\"articleSection\":[\"Abendprojekt(&lt;2h)\",\"FHEM\",\"SmartHome\"],\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/nerdiy.de\\\/en\\\/install-fhem-mqtt-module\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/nerdiy.de\\\/en\\\/install-fhem-mqtt-module\\\/\",\"url\":\"https:\\\/\\\/nerdiy.de\\\/en\\\/install-fhem-mqtt-module\\\/\",\"name\":\"HowTo: FHEM \u2013 MQTT Modul installieren - nerdiy.de - DIY, Elektronik, 3D Druck und mehr...\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/nerdiy.de\\\/en\\\/install-fhem-mqtt-module\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/nerdiy.de\\\/en\\\/install-fhem-mqtt-module\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/nerdiy.de\\\/wp-content\\\/uploads\\\/2018\\\/02\\\/Screenshot-180.png?fit=873%2C596&ssl=1\",\"datePublished\":\"2018-02-12T18:00:06+00:00\",\"dateModified\":\"2019-08-30T11:42:23+00:00\",\"description\":\"Read a huge collection of detailed Tutorials on Nerdiy.de about all kind of Software, Hardware and general maker topics.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/nerdiy.de\\\/en\\\/install-fhem-mqtt-module\\\/#breadcrumb\"},\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/nerdiy.de\\\/en\\\/install-fhem-mqtt-module\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/nerdiy.de\\\/en\\\/install-fhem-mqtt-module\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/nerdiy.de\\\/wp-content\\\/uploads\\\/2018\\\/02\\\/Screenshot-180.png?fit=873%2C596&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/nerdiy.de\\\/wp-content\\\/uploads\\\/2018\\\/02\\\/Screenshot-180.png?fit=873%2C596&ssl=1\",\"width\":873,\"height\":596},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/nerdiy.de\\\/en\\\/install-fhem-mqtt-module\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Startseite\",\"item\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"HowTo: FHEM \u2013 MQTT Modul installieren\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/#website\",\"url\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/\",\"name\":\"nerdiy.de - DIY, Elektronik, 3D Druck und mehr...\",\"description\":\"Bei nerdiy.de dreht sich alles um Elektronik, Heimwerken, 3D-Druck, Smart Home und viele andere technische Themen.\",\"publisher\":{\"@id\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"de\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/#organization\",\"name\":\"Nerdiy.de\",\"url\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/nerdiy.de\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/www.nerdiy.de-v1.0final180x180-1.png?fit=180%2C180&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/nerdiy.de\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/www.nerdiy.de-v1.0final180x180-1.png?fit=180%2C180&ssl=1\",\"width\":180,\"height\":180,\"caption\":\"Nerdiy.de\"},\"image\":{\"@id\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/nerdiy.de\",\"https:\\\/\\\/x.com\\\/nerdiyde\",\"https:\\\/\\\/www.instagram.com\\\/nerdiy.de\\\/\",\"https:\\\/\\\/www.pinterest.de\\\/nerdiyde\\\/\",\"https:\\\/\\\/www.youtube.com\\\/nerdiy\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/#\\\/schema\\\/person\\\/f1579a71868adb0be60a74246d3e0908\",\"name\":\"Fab\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5cd8a2c5a20873f04ac46048f749a6f5335f6d9d3af744d9bb04f4052c44fca2?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5cd8a2c5a20873f04ac46048f749a6f5335f6d9d3af744d9bb04f4052c44fca2?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5cd8a2c5a20873f04ac46048f749a6f5335f6d9d3af744d9bb04f4052c44fca2?s=96&d=mm&r=g\",\"caption\":\"Fab\"},\"sameAs\":[\"https:\\\/\\\/nerdiy.de\",\"https:\\\/\\\/www.facebook.com\\\/nerdiy.de\\\/\",\"https:\\\/\\\/www.instagram.com\\\/nerdiy.de\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/nerdiy-de\\\/\",\"http:\\\/\\\/www.pinterest.com\\\/nerdiyde\\\/\",\"https:\\\/\\\/x.com\\\/nerdiyde\",\"https:\\\/\\\/www.youtube.com\\\/c\\\/Nerdiy\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"HowTo: FHEM \u2013 MQTT Modul installieren - nerdiy.de - DIY, Elektronik, 3D Druck und mehr...","description":"Read a huge collection of detailed Tutorials on Nerdiy.de about all kind of Software, Hardware and general maker topics.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/nerdiy.de\/de_de\/fhem-mqtt-modul-installieren\/","og_locale":"de_DE","og_type":"article","og_title":"HowTo: FHEM \u2013 MQTT Modul installieren - nerdiy.de - DIY, Elektronik, 3D Druck und mehr...","og_description":"Read a huge collection of detailed Tutorials on Nerdiy.de about all kind of Software, Hardware and general maker topics.","og_url":"https:\/\/nerdiy.de\/de_de\/fhem-mqtt-modul-installieren\/","og_site_name":"nerdiy.de - DIY, Elektronik, 3D Druck und mehr...","article_publisher":"https:\/\/www.facebook.com\/nerdiy.de","article_author":"https:\/\/www.facebook.com\/nerdiy.de\/","article_published_time":"2018-02-12T18:00:06+00:00","article_modified_time":"2019-08-30T11:42:23+00:00","og_image":[{"width":873,"height":596,"url":"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-180.png?fit=873%2C596&ssl=1","type":"image\/png"}],"author":"Fab","twitter_card":"summary_large_image","twitter_creator":"@nerdiyde","twitter_site":"@nerdiyde","twitter_misc":{"Verfasst von":"Fab","Gesch\u00e4tzte Lesezeit":"4\u00a0Minuten"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/nerdiy.de\/en\/install-fhem-mqtt-module\/#article","isPartOf":{"@id":"https:\/\/nerdiy.de\/en\/install-fhem-mqtt-module\/"},"author":{"name":"Fab","@id":"https:\/\/nerdiy.de\/de_de\/#\/schema\/person\/f1579a71868adb0be60a74246d3e0908"},"headline":"HowTo: FHEM \u2013 MQTT Modul installieren","datePublished":"2018-02-12T18:00:06+00:00","dateModified":"2019-08-30T11:42:23+00:00","mainEntityOfPage":{"@id":"https:\/\/nerdiy.de\/en\/install-fhem-mqtt-module\/"},"wordCount":667,"commentCount":0,"publisher":{"@id":"https:\/\/nerdiy.de\/de_de\/#organization"},"image":{"@id":"https:\/\/nerdiy.de\/en\/install-fhem-mqtt-module\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-180.png?fit=873%2C596&ssl=1","keywords":["Automatisierung","FHEM","MQTT","Raspberry Pi","RasPi","SmartHome"],"articleSection":["Abendprojekt(&lt;2h)","FHEM","SmartHome"],"inLanguage":"de","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/nerdiy.de\/en\/install-fhem-mqtt-module\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/nerdiy.de\/en\/install-fhem-mqtt-module\/","url":"https:\/\/nerdiy.de\/en\/install-fhem-mqtt-module\/","name":"HowTo: FHEM \u2013 MQTT Modul installieren - nerdiy.de - DIY, Elektronik, 3D Druck und mehr...","isPartOf":{"@id":"https:\/\/nerdiy.de\/de_de\/#website"},"primaryImageOfPage":{"@id":"https:\/\/nerdiy.de\/en\/install-fhem-mqtt-module\/#primaryimage"},"image":{"@id":"https:\/\/nerdiy.de\/en\/install-fhem-mqtt-module\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-180.png?fit=873%2C596&ssl=1","datePublished":"2018-02-12T18:00:06+00:00","dateModified":"2019-08-30T11:42:23+00:00","description":"Read a huge collection of detailed Tutorials on Nerdiy.de about all kind of Software, Hardware and general maker topics.","breadcrumb":{"@id":"https:\/\/nerdiy.de\/en\/install-fhem-mqtt-module\/#breadcrumb"},"inLanguage":"de","potentialAction":[{"@type":"ReadAction","target":["https:\/\/nerdiy.de\/en\/install-fhem-mqtt-module\/"]}]},{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/nerdiy.de\/en\/install-fhem-mqtt-module\/#primaryimage","url":"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-180.png?fit=873%2C596&ssl=1","contentUrl":"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-180.png?fit=873%2C596&ssl=1","width":873,"height":596},{"@type":"BreadcrumbList","@id":"https:\/\/nerdiy.de\/en\/install-fhem-mqtt-module\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Startseite","item":"https:\/\/nerdiy.de\/de_de\/"},{"@type":"ListItem","position":2,"name":"HowTo: FHEM \u2013 MQTT Modul installieren"}]},{"@type":"WebSite","@id":"https:\/\/nerdiy.de\/de_de\/#website","url":"https:\/\/nerdiy.de\/de_de\/","name":"nerdiy.de - DIY, Elektronik, 3D Druck und mehr...","description":"Bei nerdiy.de dreht sich alles um Elektronik, Heimwerken, 3D-Druck, Smart Home und viele andere technische Themen.","publisher":{"@id":"https:\/\/nerdiy.de\/de_de\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/nerdiy.de\/de_de\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"de"},{"@type":"Organization","@id":"https:\/\/nerdiy.de\/de_de\/#organization","name":"Nerdiy.de","url":"https:\/\/nerdiy.de\/de_de\/","logo":{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/nerdiy.de\/de_de\/#\/schema\/logo\/image\/","url":"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2020\/04\/www.nerdiy.de-v1.0final180x180-1.png?fit=180%2C180&ssl=1","contentUrl":"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2020\/04\/www.nerdiy.de-v1.0final180x180-1.png?fit=180%2C180&ssl=1","width":180,"height":180,"caption":"Nerdiy.de"},"image":{"@id":"https:\/\/nerdiy.de\/de_de\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/nerdiy.de","https:\/\/x.com\/nerdiyde","https:\/\/www.instagram.com\/nerdiy.de\/","https:\/\/www.pinterest.de\/nerdiyde\/","https:\/\/www.youtube.com\/nerdiy"]},{"@type":"Person","@id":"https:\/\/nerdiy.de\/de_de\/#\/schema\/person\/f1579a71868adb0be60a74246d3e0908","name":"Fab","image":{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/secure.gravatar.com\/avatar\/5cd8a2c5a20873f04ac46048f749a6f5335f6d9d3af744d9bb04f4052c44fca2?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/5cd8a2c5a20873f04ac46048f749a6f5335f6d9d3af744d9bb04f4052c44fca2?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5cd8a2c5a20873f04ac46048f749a6f5335f6d9d3af744d9bb04f4052c44fca2?s=96&d=mm&r=g","caption":"Fab"},"sameAs":["https:\/\/nerdiy.de","https:\/\/www.facebook.com\/nerdiy.de\/","https:\/\/www.instagram.com\/nerdiy.de","https:\/\/www.linkedin.com\/company\/nerdiy-de\/","http:\/\/www.pinterest.com\/nerdiyde\/","https:\/\/x.com\/nerdiyde","https:\/\/www.youtube.com\/c\/Nerdiy"]}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-180.png?fit=873%2C596&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9GM3g-3b","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":3741,"url":"https:\/\/nerdiy.de\/de_de\/fhem-mqtt-geraete-anlegen\/","url_meta":{"origin":197,"position":0},"title":"HowTo: FHEM &#8211; MQTT Ger\u00e4te anlegen","author":"Fab","date":"7. M\u00e4rz 2019","format":false,"excerpt":"In dem Artikel RaspberryPi - MQTT Server auf dem RaspberryPi installieren hatte ich ein wenig zu MQTT geschrieben und erkl\u00e4rt wie man einen eigenen MQTT Server auf dem RaspberryPi installiert. Damit ihr einen MQTT Server auch aus FHEM heraus nutzen k\u00f6nnt, m\u00fcsst ihr allerdings noch ein paar FHEM-Module installieren. Wie\u2026","rel":"","context":"In &quot;Abendprojekt(&lt;2h)&quot;","block_context":{"text":"Abendprojekt(&lt;2h)","link":"https:\/\/nerdiy.de\/de_de\/category\/abendprojekt2h\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-firefox-2019-05-14-12-42-00.png?fit=765%2C574&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-firefox-2019-05-14-12-42-00.png?fit=765%2C574&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-firefox-2019-05-14-12-42-00.png?fit=765%2C574&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-firefox-2019-05-14-12-42-00.png?fit=765%2C574&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":200,"url":"https:\/\/nerdiy.de\/de_de\/mosquitto-auf-der-himbeere-mqtt-server-auf-dem-raspberrypi-installieren\/","url_meta":{"origin":197,"position":1},"title":"HowTo: RaspberryPi &#8211; MQTT Server auf dem RaspberryPi installieren","author":"Fab","date":"22. Februar 2018","format":false,"excerpt":"MQTT(Message Queue Telemetry Transport) ist das Protokoll das in der Welt der Internet of Things immer mehr an Bedeutung gewinnt. Mit diesem lassen sich sehr leicht verschiedene Daten zwischen verschiedenen Sensoren und Aktoren austauschen. Dabei senden und empfangen alle an den MQTT Server angeschlossenen Clienten ihre Daten zu bzw. von\u2026","rel":"","context":"In &quot;Abendprojekt(&lt;2h)&quot;","block_context":{"text":"Abendprojekt(&lt;2h)","link":"https:\/\/nerdiy.de\/de_de\/category\/abendprojekt2h\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-193.png?fit=1200%2C598&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-193.png?fit=1200%2C598&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-193.png?fit=1200%2C598&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-193.png?fit=1200%2C598&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-193.png?fit=1200%2C598&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":190,"url":"https:\/\/nerdiy.de\/de_de\/fhem-aufbau-module-wissenswertes\/","url_meta":{"origin":197,"position":2},"title":"HowTo: FHEM &#8211; Aufbau, Module &#038; Wissenswertes","author":"Fab","date":"7. M\u00e4rz 2019","format":false,"excerpt":"Nachdem ich FHEM das erste Mal installiert hatte und die Konfigurationsseite wirklich Erreichbar war, war die Euphorie gro\u00df. Nachdem ich ein bisschen darauf rumgeklickt hatte wurde diese Euphorie aber schnell durch Ratlosigkeit verdr\u00e4ngt. FHEM ist ein m\u00e4chtiges und dazu sehr gut gepflegtes Werkzeug um verschiedene Heimautomatisierungsger\u00e4te miteinander zu verbinden. Nur\u2026","rel":"","context":"In &quot;FHEM&quot;","block_context":{"text":"FHEM","link":"https:\/\/nerdiy.de\/de_de\/category\/fhem\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-fhem-aufbau-module-wissenswertes-firefox-2019-05-14-10-14-57.png?fit=1121%2C575&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-fhem-aufbau-module-wissenswertes-firefox-2019-05-14-10-14-57.png?fit=1121%2C575&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-fhem-aufbau-module-wissenswertes-firefox-2019-05-14-10-14-57.png?fit=1121%2C575&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-fhem-aufbau-module-wissenswertes-firefox-2019-05-14-10-14-57.png?fit=1121%2C575&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-fhem-aufbau-module-wissenswertes-firefox-2019-05-14-10-14-57.png?fit=1121%2C575&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":3722,"url":"https:\/\/nerdiy.de\/de_de\/fhem-zugang-zur-konfigurationsoberflaeche-absichern\/","url_meta":{"origin":197,"position":3},"title":"HowTo: FHEM &#8211; Zugang zur Konfigurationsoberfl\u00e4che absichern","author":"Fab","date":"7. M\u00e4rz 2019","format":false,"excerpt":"Sp\u00e4testens nachdem Ihr die ersten Konfigurationen in Eurer FHEM-Oberfl\u00e4che vorgenommen habt solltet Ihr euch auch mit dem Thema Sicherheit auseinandersetzen. Es ist n\u00e4mlich wirklich \u00e4rgerlich, wenn Ihr die m\u00fchsam zusammengetragenen und fein s\u00e4uberlich einprogrammierten Funktionen Eures SmartHome-Systems verliert. Sei es durch Datenverlust oder weil andere Personen unberechtigterweise Zugriff auf Euer\u2026","rel":"","context":"In &quot;Abendprojekt(&lt;2h)&quot;","block_context":{"text":"Abendprojekt(&lt;2h)","link":"https:\/\/nerdiy.de\/de_de\/category\/abendprojekt2h\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-fhem-zugang-zur-konfigurationsoberflaeche-absichern-chrome-2018-12-10-23-31-01.png?fit=1200%2C594&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-fhem-zugang-zur-konfigurationsoberflaeche-absichern-chrome-2018-12-10-23-31-01.png?fit=1200%2C594&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-fhem-zugang-zur-konfigurationsoberflaeche-absichern-chrome-2018-12-10-23-31-01.png?fit=1200%2C594&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-fhem-zugang-zur-konfigurationsoberflaeche-absichern-chrome-2018-12-10-23-31-01.png?fit=1200%2C594&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-fhem-zugang-zur-konfigurationsoberflaeche-absichern-chrome-2018-12-10-23-31-01.png?fit=1200%2C594&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":205,"url":"https:\/\/nerdiy.de\/de_de\/das-eigene-smart-home-installation-und-einstieg-in-fhem\/","url_meta":{"origin":197,"position":4},"title":"HowTo: FHEM &#8211; Installation auf dem RaspberryPi","author":"Fab","date":"21. Februar 2018","format":false,"excerpt":"Eine Begriff \u00fcber den man im t\u00e4glichen Leben immer \u00f6fter stolpert ist \"SmartHome\". Aber was verbirgt sich dahinter? Und brauche ich das unbedingt? Smart-Home(=Intelligentes Zuhause) ist dabei ein Oberbegriff f\u00fcr die Vernetzung diverser Ger\u00e4te im Haushalt. Die Idealvorstellung dabei ist, dass immer mehr Ger\u00e4te im Haushalt miteinander kommunizieren, Daten austauschen\u2026","rel":"","context":"In &quot;FHEM&quot;","block_context":{"text":"FHEM","link":"https:\/\/nerdiy.de\/de_de\/category\/fhem\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-219.png?fit=661%2C420&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-219.png?fit=661%2C420&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-219.png?fit=661%2C420&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":202,"url":"https:\/\/nerdiy.de\/de_de\/fhem-nanocul-installieren\/","url_meta":{"origin":197,"position":5},"title":"HowTo: FHEM \u2013 nanoCul installieren","author":"Fab","date":"22. Februar 2018","format":false,"excerpt":"So richtig Spa\u00df macht ein Smart-Home-System erst dann, wenn es mit anderen Komponenten kommunizieren kann. Da viele Systeme zur Kommunikation Funkverbindungen nutzen ist es nur logisch FHEM so bald wie m\u00f6glich ebenfalls Funk-f\u00e4hig zu machen. Die meisten Sensoren und Aktoren im Smart-Home Bereich setzen dabei neben W-Lan und Bluetooth auf\u2026","rel":"","context":"In &quot;Abendprojekt(&lt;2h)&quot;","block_context":{"text":"Abendprojekt(&lt;2h)","link":"https:\/\/nerdiy.de\/de_de\/category\/abendprojekt2h\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/20171107_160724-1-scaled.jpg?fit=1200%2C900&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/20171107_160724-1-scaled.jpg?fit=1200%2C900&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/20171107_160724-1-scaled.jpg?fit=1200%2C900&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/20171107_160724-1-scaled.jpg?fit=1200%2C900&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/20171107_160724-1-scaled.jpg?fit=1200%2C900&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/nerdiy.de\/de_de\/wp-json\/wp\/v2\/posts\/197","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nerdiy.de\/de_de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nerdiy.de\/de_de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nerdiy.de\/de_de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nerdiy.de\/de_de\/wp-json\/wp\/v2\/comments?post=197"}],"version-history":[{"count":0,"href":"https:\/\/nerdiy.de\/de_de\/wp-json\/wp\/v2\/posts\/197\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nerdiy.de\/de_de\/wp-json\/wp\/v2\/media\/282"}],"wp:attachment":[{"href":"https:\/\/nerdiy.de\/de_de\/wp-json\/wp\/v2\/media?parent=197"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nerdiy.de\/de_de\/wp-json\/wp\/v2\/categories?post=197"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nerdiy.de\/de_de\/wp-json\/wp\/v2\/tags?post=197"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}