{"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":"install-fhem-mqtt-module","status":"publish","type":"post","link":"https:\/\/nerdiy.de\/en\/install-fhem-mqtt-module\/","title":{"rendered":"HowTo: Install FHEM \u2013 MQTT module"},"content":{"rendered":"<p>In the article <em><strong><a href=\"https:\/\/nerdiy.de\/en\/install-mosquitto-on-the-raspberry-mqtt-server-on-the-raspberrypi-2\/\">RaspberryPi - Install MQTT Server on the RaspberryPi<\/a><\/strong><\/em>\u00a0I had written a little about MQTT and explained how to install an own MQTT server on the RaspberryPi.<\/p>\n<p>In order to be able to use an MQTT server from FHEM, you have to install a few FHEM modules. How to do that and what you have to pay attention to I have described in the following article.<\/p>\n<hr \/>\n<h2>Overview<\/h2>\n<p>Before you can start installing the MQTT module, you should have prepared the Raspberry Pi so that FHEM can be installed on it and configured via the web menu.<br \/>\nThe following three articles describe what needs to be done to prepare the RaspberryPi:<br \/>\n<em><strong><a href=\"https:\/\/nerdiy.de\/en\/raspberrypi-setup-for-nerdiys\/\">RaspberryPi \u2013 setup for nerdiys!<\/a><\/strong><\/em><br \/>\n<em><strong><a href=\"https:\/\/nerdiy.de\/en\/raspberrypi-the-first-configuration-2\/\">RaspberryPI - The First Configuration!<br \/>\n<\/a><a href=\"https:\/\/nerdiy.de\/en\/can-phone-for-the-little-ones-communicate-with-the-raspberrypi-via-the-ssh-protocol-2\/\">RaspberryPi \u2013 Control the RaspberryPi via SSH<\/a><a href=\"https:\/\/nerdiy.de\/en\/can-phone-for-the-little-ones-communicate-with-the-raspberrypi-via-the-ssh-protocol-2\/\"><br \/>\n<\/a><\/strong><\/em><a href=\"https:\/\/nerdiy.de\/en\/your-own-smart-home-installation-and-entry-into-fhem\/\"><em><strong>FHEM \u2013 Installation on the RaspberryPi<\/strong><\/em><\/a><br \/>\n<em><strong><a href=\"https:\/\/nerdiy.de\/en\/install-mosquitto-on-the-raspberry-mqtt-server-on-the-raspberrypi-2\/\">RaspberryPi - Install MQTT Server on the RaspberryPi<\/a><\/strong><\/em><\/p>\n<p><strong>Required tool:<br \/>\n<\/strong>-no-<strong><br \/>\n<\/strong><\/p>\n<p><strong>Required material:<\/strong><\/p>\n<p><strong>In the following list you will find all the parts you need to implement this article.<\/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=\"Ready: RaspberryPi basic equipment\"            id=\"footable_4042\"\n           data-unique_identifier=\"ninja_table_unique_id_1462679451_4042\"\n           class=\"foo-table ninja_footable foo_table_4042 ninja_table_unique_id_1462679451_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>Log in to the RaspberryPi via SSH<\/h2>\r\n<p>To start, you must first log in to the Rasp Pi with Putty via SSH. How to do this is in the article <a href=\"https:\/\/nerdiy.de\/en\/can-phone-for-the-little-ones-communicate-with-the-raspberrypi-via-the-ssh-protocol-2\/\" target=\"_blank\" rel=\"noopener\"><em><strong>RaspberryPi - Control the RaspberryPi via SSH<\/strong><\/em><\/a> described.<\/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\">After entering your username and password you can enter the first commands.<\/figcaption><\/figure>\n<hr \/>\n<h2>Update package management<\/h2>\r\n<p>The package management in Linux is a &quot;central place&quot; through which various software packages can be installed. In order for this to work reliably, the lists and sources of the package management should be updated before each installation of new packages.<\/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\">To start the update of the package management you have to enter the following command.<\/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\">Depending on how long ago your last update of the package management was, this process can now take a while. The lists that refer to the individual package sources are updated first.<\/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\">After that, the packages themselves are updated. Since additional memory is occupied, you will be asked again for your consent. You have to confirm this with a &quot;J&quot; and &quot;Enter&quot;.<\/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\">Once the update is complete, you will see a small summary of the duration and scope of the update.<\/figcaption><\/figure>\n<hr \/>\n<h2>Install Perl MQTT packages<\/h2>\n<p>In order for FHEM to communicate with the MQTT server, two Perl packages must be installed.<br \/>\nTo do this, you have to log in to the RasPi with Putty and enter the following commands:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">sudo cpan install Net::MQTT:Simple sudo cpan install Net::MQTT:Constants<\/pre>\n<p>The question \"Would you like to configure as much as possible automatically? [yes]\" you confirm with \"yes\" and 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\/en\/install-fhem-mqtt-module\/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\">The installation of the two packages took me about five minutes. So time enough to get a new coffee \ud83d\ude42 .<\/figcaption><\/figure>\n<hr \/>\n<h2>Restart FHEM<\/h2>\n<p>In order for the newly installed packages to be recognized by FHEM, FHEM must be restarted once. To do this you have to enter the following two commands one after the other. This will first stop the server and then start it again. You can also find further information about stopping and starting in the article <a href=\"https:\/\/nerdiy.de\/en\/fhem-construction-modules-worth-knowing-2\/\"><em><strong>FHEM - Structure, modules &amp; interesting facts<\/strong><\/em><\/a><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">sudo \/etc\/init.d\/fhem stop sudo \/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\/en\/install-fhem-mqtt-module\/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>Define MQTT clients<\/h2>\n<p>In order for you to be able to send and receive data via FHEM MQTT, FHEM must register as a client with the MQTT server. You only have to create this client once. All sensors or actuators registered in FHEM will later be supplied with data via this client or can send their data via it.<\/p>\n<p>In order to register the MQTT client in FHEM you have to switch to the FHEM web interface.<br \/>\nThere is an input field at the top where we can enter the definition of the MQTT client.<\/p>\n<p>The definition is (for example):<\/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\/en\/install-fhem-mqtt-module\/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\/en\/install-fhem-mqtt-module\/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>The command created the MQTT client in FHEM. But it can&#039;t do much yet.<\/p>\n<hr \/>\n<p>To test the function we create an MQTT_ DEVICE. This module can be used to subscribe to MQTT topics in FHEM and also publish data.<\/p>\n<p>The definition of our small test module is:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">define mqttTest MQTT_DEVICE; attr mqttTest subscribeReading_testTopic testTopic; attr 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\/en\/install-fhem-mqtt-module\/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\">You enter this again in the text field on the FHEM web configuration page.<\/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\/en\/install-fhem-mqtt-module\/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\">After defining the test module, you will not be forwarded directly to its configuration page. You will find it in the \"Room\" \"Unsorted\" and then under \"mqttTest\".<\/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\/en\/install-fhem-mqtt-module\/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\">The configuration page of the module you just defined.<\/figcaption><\/figure>\n<hr \/>\n<h2>Send test message and check reception<\/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\/en\/install-fhem-mqtt-module\/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\">In order to send and receive a test message, you have to go to the configuration page of the defined module. There you enter any text in the text field circled in red.<\/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\/en\/install-fhem-mqtt-module\/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\">You can then send this text by clicking on \u201cset\u201d. This is then sent to the MQTT server via MQTT with the topic \u201ctestTopic\u201d.<\/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\/en\/install-fhem-mqtt-module\/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\">However, as we also subscribed to the \"testTopic\" topic when defining the module, we receive an update to this \"testTopic\" reading at this very moment. The text we sent was therefore received again. So the configuration in FHEM works \ud83d\ude42<\/figcaption><\/figure>\n<hr \/>\n<p>You have now made your FHEM installation MQTT capable.<\/p>\n<h2>Have fun with the project<\/h2>\r\n<p>I hope everything worked as described for you. If not or you have questions or suggestions please let me know in the comments. I will then add this to the article if necessary.<br \/>Ideas for new projects are always welcome. \ud83d\ude42<\/p>\r\n<p><strong>PS Many of these projects - especially the hardware projects - cost a lot of time and money. Of course I do this because I enjoy it, but if you think it&#039;s cool that I share the information with you, I would be happy about a small donation to the coffee fund. \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>","protected":false},"excerpt":{"rendered":"<p>In the article RaspberryPi - Install MQTT Server on the RaspberryPi I had written a little bit about MQTT and explained how to install an own MQTT server on the RaspberryPi. With this [...]<\/p>","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\/en\/install-fhem-mqtt-module\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\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\/en\/install-fhem-mqtt-module\/\" \/>\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=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Fab\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\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\":\"en-US\",\"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\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/nerdiy.de\\\/en\\\/install-fhem-mqtt-module\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@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\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/#organization\",\"name\":\"Nerdiy.de\",\"url\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@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\":\"en-US\",\"@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 - Install MQTT module - nerdiy.de - DIY, electronics, 3D printing and more...","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\/en\/install-fhem-mqtt-module\/","og_locale":"en_US","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\/en\/install-fhem-mqtt-module\/","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":{"Written by":"Fab","Est. reading time":"4 minutes"},"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":"en-US","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 - Install MQTT module - nerdiy.de - DIY, electronics, 3D printing and more...","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":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/nerdiy.de\/en\/install-fhem-mqtt-module\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@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, electronics, 3D printing and more...","description":"At nerdiy.de, everything revolves around electronics, DIY, 3D printing, smart home and many other technical topics.","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":"en-US"},{"@type":"Organization","@id":"https:\/\/nerdiy.de\/de_de\/#organization","name":"Nerdiy.de","url":"https:\/\/nerdiy.de\/de_de\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@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":"en-US","@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\/en\/create-fhem-mqtt-devices\/","url_meta":{"origin":197,"position":0},"title":"HowTo: FHEM \u2013 Create MQTT devices","author":"Fab","date":"7. March 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\/en\/category\/evening-project2h\/"},"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\/en\/install-mosquitto-on-the-raspberry-mqtt-server-on-the-raspberrypi-2\/","url_meta":{"origin":197,"position":1},"title":"HowTo: RaspberryPi \u2013 Install MQTT Server on the RaspberryPi","author":"Fab","date":"22. February 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\/en\/category\/evening-project2h\/"},"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\/en\/fhem-construction-modules-worth-knowing-2\/","url_meta":{"origin":197,"position":2},"title":"HowTo: FHEM - structure, modules &amp; things worth knowing","author":"Fab","date":"7. March 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\/en\/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\/en\/secure-fhem-access-to-the-configuration-interface\/","url_meta":{"origin":197,"position":3},"title":"HowTo: FHEM - Securing access to the configuration interface","author":"Fab","date":"7. March 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\/en\/category\/evening-project2h\/"},"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\/en\/your-own-smart-home-installation-and-entry-into-fhem\/","url_meta":{"origin":197,"position":4},"title":"HowTo: FHEM \u2013 Installation on the RaspberryPi","author":"Fab","date":"21. February 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\/en\/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\/en\/fhem-nanocul-install\/","url_meta":{"origin":197,"position":5},"title":"HowTo: FHEM \u2013 install nanoCul","author":"Fab","date":"22. February 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\/en\/category\/evening-project2h\/"},"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\/en\/wp-json\/wp\/v2\/posts\/197","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nerdiy.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nerdiy.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nerdiy.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nerdiy.de\/en\/wp-json\/wp\/v2\/comments?post=197"}],"version-history":[{"count":0,"href":"https:\/\/nerdiy.de\/en\/wp-json\/wp\/v2\/posts\/197\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nerdiy.de\/en\/wp-json\/wp\/v2\/media\/282"}],"wp:attachment":[{"href":"https:\/\/nerdiy.de\/en\/wp-json\/wp\/v2\/media?parent=197"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nerdiy.de\/en\/wp-json\/wp\/v2\/categories?post=197"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nerdiy.de\/en\/wp-json\/wp\/v2\/tags?post=197"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}