{"id":3741,"date":"2019-03-07T19:31:35","date_gmt":"2019-03-07T18:31:35","guid":{"rendered":"https:\/\/www.nerdiy.de\/?p=3741"},"modified":"2019-07-30T06:53:24","modified_gmt":"2019-07-30T04:53:24","slug":"create-fhem-mqtt-devices","status":"publish","type":"post","link":"https:\/\/nerdiy.de\/en\/create-fhem-mqtt-devices\/","title":{"rendered":"HowTo: FHEM \u2013 Create MQTT devices"},"content":{"rendered":"<p>In the article <a href=\"https:\/\/nerdiy.de\/en\/install-mosquitto-on-the-raspberry-mqtt-server-on-the-raspberrypi-2\/\"><strong><em>RaspberryPi<\/em><\/strong><em><strong> - Install MQTT Server on the RaspberryPi<\/strong><\/em><\/a> I 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><span style=\"color: #ff0000;\">Safety instructions <\/span><\/h2>\r\n<p><span style=\"color: #ff0000;\">I know the following notes are always kind of annoying and seem unnecessary. Unfortunately, many people who knew &quot;better&quot; have lost eyes, fingers or other things due to carelessness or injured themselves. Data loss is almost negligible in comparison, but even these can be really annoying. Therefore, please take five minutes to read the safety instructions. Because even the coolest project is not worth injury or other trouble.<\/span><br \/><strong><em><a href=\"https:\/\/nerdiy.de\/en\/safety-instructions\/\"><span style=\"color: #ff0000;\">https:\/\/www.nerdiy.de\/sicherheitshinweise\/<\/span><\/a><\/em><\/strong><\/p>\r\n<h2>Affiliate links\/advertising links<\/h2>\r\n<p><em>The links to online shops listed here are so-called affiliate links. If you click on such an affiliate link and make a purchase via this link, Nerdiy.de will receive a commission from the relevant online shop or provider. The price does not change for you. If you make your purchases via these links, you support Nerdiy.de in being able to offer other useful projects in the future. \ud83d\ude42\u00a0<\/em><\/p>\n<hr \/>\n<h2>Requirements<\/h2>\n<p>Before you start with this article you should have prepared the RaspberryPi so that it is accessible via the network and controllable via SSH.<\/p>\n<p>The 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 \u2013 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><a href=\"https:\/\/nerdiy.de\/en\/your-own-smart-home-installation-and-entry-into-fhem\/\">Your own smart home - installation and getting started with FHEM<\/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\/install-mosquitto-on-the-raspberry-mqtt-server-on-the-raspberrypi-2\/\"><em><strong>Mosquitto on the Raspberry - Install MQTT Server on the RaspberryPi<\/strong><\/em><\/a><\/p>\n<p><strong>Tools needed:<br \/>\n<\/strong>-no-<\/p>\n<p><strong>Materials needed:<\/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_6203\"\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=\"6203\" data-filter-delay=\"1000\" aria-label=\"Done: FHEM - create MQTT devices - material list\"            id=\"footable_6203\"\n           data-unique_identifier=\"ninja_table_unique_id_3788540980_6203\"\n           class=\"foo-table ninja_footable foo_table_6203 ninja_table_unique_id_3788540980_6203 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.<\/p>\n<figure id=\"attachment_5823\" aria-describedby=\"caption-attachment-5823\" style=\"width: 661px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-putty-2018-12-13-11-11-10.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"5823\" data-permalink=\"https:\/\/nerdiy.de\/en\/create-fhem-mqtt-devices\/putty-2018-12-13-11-11-10\/\" data-orig-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-putty-2018-12-13-11-11-10.png?fit=661%2C418&amp;ssl=1\" data-orig-size=\"661,418\" 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=\"putty-2018-12-13-11-11-10\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-putty-2018-12-13-11-11-10.png?fit=661%2C418&amp;ssl=1\" class=\"wp-image-5823 size-full\" src=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-putty-2018-12-13-11-11-10.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-howto-fhem-mqtt-geraete-anlegen-putty-2018-12-13-11-11-10.png?w=661&amp;ssl=1 661w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-putty-2018-12-13-11-11-10.png?resize=300%2C190&amp;ssl=1 300w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-putty-2018-12-13-11-11-10.png?resize=600%2C379&amp;ssl=1 600w\" sizes=\"auto, (max-width: 661px) 100vw, 661px\" \/><\/a><figcaption id=\"caption-attachment-5823\" class=\"wp-caption-text\">For this you have to log in with Putty on the RasPi and enter the following command.<\/figcaption><\/figure>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">sudo apt-get install libmodule-pluggable-perl &amp;&amp; sudo cpan install Net::MQTT:Simple &amp;&amp; sudo cpan install Net::MQTT:Constants<\/pre>\n<figure id=\"attachment_5824\" aria-describedby=\"caption-attachment-5824\" style=\"width: 661px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-putty-2018-12-13-11-11-16.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"5824\" data-permalink=\"https:\/\/nerdiy.de\/en\/create-fhem-mqtt-devices\/putty-2018-12-13-11-11-16\/\" data-orig-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-putty-2018-12-13-11-11-16.png?fit=661%2C418&amp;ssl=1\" data-orig-size=\"661,418\" 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=\"putty-2018-12-13-11-11-16\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-putty-2018-12-13-11-11-16.png?fit=661%2C418&amp;ssl=1\" class=\"wp-image-5824 size-full\" src=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-putty-2018-12-13-11-11-16.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-howto-fhem-mqtt-geraete-anlegen-putty-2018-12-13-11-11-16.png?w=661&amp;ssl=1 661w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-putty-2018-12-13-11-11-16.png?resize=300%2C190&amp;ssl=1 300w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-putty-2018-12-13-11-11-16.png?resize=600%2C379&amp;ssl=1 600w\" sizes=\"auto, (max-width: 661px) 100vw, 661px\" \/><\/a><figcaption id=\"caption-attachment-5824\" class=\"wp-caption-text\">You acknowledge the warning that this will occupy additional memory with a \"J\" and \"Enter\".<\/figcaption><\/figure>\n<p><figure id=\"attachment_5825\" aria-describedby=\"caption-attachment-5825\" style=\"width: 661px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-putty-2018-12-13-11-12-02.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"5825\" data-permalink=\"https:\/\/nerdiy.de\/en\/create-fhem-mqtt-devices\/putty-2018-12-13-11-12-02\/\" data-orig-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-putty-2018-12-13-11-12-02.png?fit=661%2C418&amp;ssl=1\" data-orig-size=\"661,418\" 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=\"putty-2018-12-13-11-12-02\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-putty-2018-12-13-11-12-02.png?fit=661%2C418&amp;ssl=1\" class=\"wp-image-5825 size-full\" src=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-putty-2018-12-13-11-12-02.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-howto-fhem-mqtt-geraete-anlegen-putty-2018-12-13-11-12-02.png?w=661&amp;ssl=1 661w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-putty-2018-12-13-11-12-02.png?resize=300%2C190&amp;ssl=1 300w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-putty-2018-12-13-11-12-02.png?resize=600%2C379&amp;ssl=1 600w\" sizes=\"auto, (max-width: 661px) 100vw, 661px\" \/><\/a><figcaption id=\"caption-attachment-5825\" class=\"wp-caption-text\">The question \"Would you like to configure as much as possible automatically? [yes]\" you confirm with \"yes\" and Enter.<\/figcaption><\/figure>The installation of the two packages took me about five minutes. So time enough to get a new coffee \ud83d\ude42 .<\/p>\n<hr \/>\n<h2>Create MQTT clients<\/h2>\n<p>In order to establish a connection with an MQTT device in the next step, an MQTT client must first be created. This will later save the necessary data for the connection with the MQTT server.<\/p>\n<figure id=\"attachment_5803\" aria-describedby=\"caption-attachment-5803\" style=\"width: 806px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-01-17.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"5803\" data-permalink=\"https:\/\/nerdiy.de\/en\/create-fhem-mqtt-devices\/chrome-2018-12-13-11-01-17\/\" data-orig-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-01-17.png?fit=806%2C605&amp;ssl=1\" data-orig-size=\"806,605\" 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=\"chrome-2018-12-13-11-01-17\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-01-17.png?fit=806%2C605&amp;ssl=1\" class=\"wp-image-5803 size-full\" src=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-01-17.png?resize=806%2C605&#038;ssl=1\" alt=\"\" width=\"806\" height=\"605\" srcset=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-01-17.png?w=806&amp;ssl=1 806w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-01-17.png?resize=300%2C225&amp;ssl=1 300w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-01-17.png?resize=768%2C576&amp;ssl=1 768w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-01-17.png?resize=360%2C270&amp;ssl=1 360w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-01-17.png?resize=80%2C60&amp;ssl=1 80w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-01-17.png?resize=600%2C450&amp;ssl=1 600w\" sizes=\"auto, (max-width: 806px) 100vw, 806px\" \/><\/a><figcaption id=\"caption-attachment-5803\" class=\"wp-caption-text\">To do this, enter the following command in the command prompt of your FHEM instance.<\/figcaption><\/figure>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">define mqttClient MQTT 192.168.0.1:1883<\/pre>\n<p>The command to create a MQTT client corresponds to the following \"define name-of-mqtt-client MQTT host-or-ip-of-mqtt-server:port-of-the-server\". So if your MQTT server has the IP address \"192.168.0.1\", the port 1883 which is the default port for MQTT) the command to create the MQTT client is \"define mqttClient MQTT 192.168.0.1:1883\". Of course, any other name can be used for \"mqttClient\".<\/p>\n<figure id=\"attachment_5804\" aria-describedby=\"caption-attachment-5804\" style=\"width: 806px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-20-33.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"5804\" data-permalink=\"https:\/\/nerdiy.de\/en\/create-fhem-mqtt-devices\/chrome-2018-12-13-11-20-33\/\" data-orig-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-20-33.png?fit=806%2C605&amp;ssl=1\" data-orig-size=\"806,605\" 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=\"chrome-2018-12-13-11-20-33\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-20-33.png?fit=806%2C605&amp;ssl=1\" class=\"wp-image-5804 size-full\" src=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-20-33.png?resize=806%2C605&#038;ssl=1\" alt=\"\" width=\"806\" height=\"605\" srcset=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-20-33.png?w=806&amp;ssl=1 806w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-20-33.png?resize=300%2C225&amp;ssl=1 300w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-20-33.png?resize=768%2C576&amp;ssl=1 768w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-20-33.png?resize=360%2C270&amp;ssl=1 360w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-20-33.png?resize=80%2C60&amp;ssl=1 80w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-20-33.png?resize=600%2C450&amp;ssl=1 600w\" sizes=\"auto, (max-width: 806px) 100vw, 806px\" \/><\/a><figcaption id=\"caption-attachment-5804\" class=\"wp-caption-text\">Now click on \"Save config\" in the upper left corner and restart your FHEM server using the following command.<\/figcaption><\/figure>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">shutdown restart<\/pre>\n<p>After the server is restarted, you are ready to create new MQTT bridges and devices.<\/p>\n<figure id=\"attachment_5805\" aria-describedby=\"caption-attachment-5805\" style=\"width: 805px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-22-24.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"5805\" data-permalink=\"https:\/\/nerdiy.de\/en\/create-fhem-mqtt-devices\/chrome-2018-12-13-11-22-24\/\" data-orig-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-22-24.png?fit=805%2C605&amp;ssl=1\" data-orig-size=\"805,605\" 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=\"chrome-2018-12-13-11-22-24\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-22-24.png?fit=805%2C605&amp;ssl=1\" class=\"wp-image-5805 size-full\" src=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-22-24.png?resize=805%2C605&#038;ssl=1\" alt=\"\" width=\"805\" height=\"605\" srcset=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-22-24.png?w=805&amp;ssl=1 805w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-22-24.png?resize=300%2C225&amp;ssl=1 300w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-22-24.png?resize=768%2C577&amp;ssl=1 768w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-22-24.png?resize=360%2C270&amp;ssl=1 360w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-22-24.png?resize=80%2C60&amp;ssl=1 80w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-22-24.png?resize=600%2C451&amp;ssl=1 600w\" sizes=\"auto, (max-width: 805px) 100vw, 805px\" \/><\/a><figcaption id=\"caption-attachment-5805\" class=\"wp-caption-text\">View of the newly created MQTT client. Here you can see if a connection to the MQTT server could be established. In addition, more information about the connection to the MQTT server is displayed.<\/figcaption><\/figure>\n<figure id=\"attachment_5806\" aria-describedby=\"caption-attachment-5806\" style=\"width: 805px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-22-32.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"5806\" data-permalink=\"https:\/\/nerdiy.de\/en\/create-fhem-mqtt-devices\/chrome-2018-12-13-11-22-32\/\" data-orig-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-22-32.png?fit=805%2C604&amp;ssl=1\" data-orig-size=\"805,604\" 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=\"chrome-2018-12-13-11-22-32\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-22-32.png?fit=805%2C604&amp;ssl=1\" class=\"wp-image-5806 size-full\" src=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-22-32.png?resize=805%2C604&#038;ssl=1\" alt=\"\" width=\"805\" height=\"604\" srcset=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-22-32.png?w=805&amp;ssl=1 805w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-22-32.png?resize=300%2C225&amp;ssl=1 300w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-22-32.png?resize=768%2C576&amp;ssl=1 768w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-22-32.png?resize=360%2C270&amp;ssl=1 360w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-22-32.png?resize=80%2C60&amp;ssl=1 80w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-22-32.png?resize=600%2C450&amp;ssl=1 600w\" sizes=\"auto, (max-width: 805px) 100vw, 805px\" \/><\/a><figcaption id=\"caption-attachment-5806\" class=\"wp-caption-text\">In order for the changes made to be applied and permanently saved, you must remember to click on \"Save config\". This will save the changed settings permanently in the configuration file.<\/figcaption><\/figure>\n<hr \/>\n<h2>Setting up the MQTT Bridge using the example of a MAX! heating thermostat<\/h2>\n<p>In this example, we create an MQTT bridge. As the name suggests, the MQTT bridge connects something to each other. In this case the MAX! heating thermostat with the MQTT world. In principle, this link works according to the same scheme with all already installed sensors or actuators. In the case of the MAX! heating thermostat, this works with the following command.<\/p>\n<figure id=\"attachment_5809\" aria-describedby=\"caption-attachment-5809\" style=\"width: 806px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-29-41.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"5809\" data-permalink=\"https:\/\/nerdiy.de\/en\/create-fhem-mqtt-devices\/chrome-2018-12-13-11-29-41\/\" data-orig-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-29-41.png?fit=806%2C604&amp;ssl=1\" data-orig-size=\"806,604\" 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=\"chrome-2018-12-13-11-29-41\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-29-41.png?fit=806%2C604&amp;ssl=1\" class=\"wp-image-5809 size-full\" src=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-29-41.png?resize=806%2C604&#038;ssl=1\" alt=\"\" width=\"806\" height=\"604\" srcset=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-29-41.png?w=806&amp;ssl=1 806w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-29-41.png?resize=300%2C225&amp;ssl=1 300w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-29-41.png?resize=768%2C576&amp;ssl=1 768w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-29-41.png?resize=360%2C270&amp;ssl=1 360w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-29-41.png?resize=80%2C60&amp;ssl=1 80w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-29-41.png?resize=600%2C450&amp;ssl=1 600w\" sizes=\"auto, (max-width: 806px) 100vw, 806px\" \/><\/a><figcaption id=\"caption-attachment-5809\" class=\"wp-caption-text\">The structure of the command is as follows: \"define name-of-mqtt-bridge MQTT_BRIDGE name-of-sensor-or-actuator\". In the case of the MAX! heating thermostat with the name \"MAX_15504f\", the command is thus as follows.<\/figcaption><\/figure>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">defineHeatingWorkroomMqtt MQTT_BRIDGE MAX_15504f<\/pre>\n<p>This creates the module \"HeizungArbeitszimmerMqtt\" of type \"MQTT_BRIDGE\" and links it to the already existing module \"MAX_15504f\".<\/p>\n<figure id=\"attachment_5811\" aria-describedby=\"caption-attachment-5811\" style=\"width: 774px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-30-02.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"5811\" data-permalink=\"https:\/\/nerdiy.de\/en\/create-fhem-mqtt-devices\/chrome-2018-12-13-11-30-02\/\" data-orig-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-30-02.png?fit=774%2C581&amp;ssl=1\" data-orig-size=\"774,581\" 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=\"chrome-2018-12-13-11-30-02\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-30-02.png?fit=774%2C581&amp;ssl=1\" class=\"wp-image-5811 size-full\" src=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-30-02.png?resize=774%2C581&#038;ssl=1\" alt=\"\" width=\"774\" height=\"581\" srcset=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-30-02.png?w=774&amp;ssl=1 774w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-30-02.png?resize=300%2C225&amp;ssl=1 300w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-30-02.png?resize=768%2C576&amp;ssl=1 768w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-30-02.png?resize=360%2C270&amp;ssl=1 360w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-30-02.png?resize=80%2C60&amp;ssl=1 80w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-30-02.png?resize=600%2C450&amp;ssl=1 600w\" sizes=\"auto, (max-width: 774px) 100vw, 774px\" \/><\/a><figcaption id=\"caption-attachment-5811\" class=\"wp-caption-text\">The created MQTT_BRIDGE is now in the \"Unsorted\" room. Switch to this room and open the detailed view of the created MQTT bridge.<\/figcaption><\/figure>\n<figure id=\"attachment_5810\" aria-describedby=\"caption-attachment-5810\" style=\"width: 805px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-29-45.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"5810\" data-permalink=\"https:\/\/nerdiy.de\/en\/create-fhem-mqtt-devices\/chrome-2018-12-13-11-29-45\/\" data-orig-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-29-45.png?fit=805%2C604&amp;ssl=1\" data-orig-size=\"805,604\" 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=\"chrome-2018-12-13-11-29-45\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-29-45.png?fit=805%2C604&amp;ssl=1\" class=\"wp-image-5810 size-full\" src=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-29-45.png?resize=805%2C604&#038;ssl=1\" alt=\"\" width=\"805\" height=\"604\" srcset=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-29-45.png?w=805&amp;ssl=1 805w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-29-45.png?resize=300%2C225&amp;ssl=1 300w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-29-45.png?resize=768%2C576&amp;ssl=1 768w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-29-45.png?resize=360%2C270&amp;ssl=1 360w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-29-45.png?resize=80%2C60&amp;ssl=1 80w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-29-45.png?resize=600%2C450&amp;ssl=1 600w\" sizes=\"auto, (max-width: 805px) 100vw, 805px\" \/><\/a><figcaption id=\"caption-attachment-5810\" class=\"wp-caption-text\">In the detail view you can now see all information about the created MQTT bridge. However, before the MQTT bridge can connect data from the MAX! heating thermostat with the MQTT world, it must first know which reading of the heating thermostat is to be linked with which MQTT topic.<\/figcaption><\/figure>\n<p>For this purpose there is the attribute \"publishReading_XYZ\". This causes the MQTT bridge to automatically forward all updates on the reading \"XYZ\" to the specified topic.<\/p>\n<figure id=\"attachment_5812\" aria-describedby=\"caption-attachment-5812\" style=\"width: 806px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-39-43.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"5812\" data-permalink=\"https:\/\/nerdiy.de\/en\/create-fhem-mqtt-devices\/chrome-2018-12-13-11-39-43\/\" data-orig-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-39-43.png?fit=806%2C605&amp;ssl=1\" data-orig-size=\"806,605\" 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=\"chrome-2018-12-13-11-39-43\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-39-43.png?fit=806%2C605&amp;ssl=1\" class=\"wp-image-5812 size-full\" src=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-39-43.png?resize=806%2C605&#038;ssl=1\" alt=\"\" width=\"806\" height=\"605\" srcset=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-39-43.png?w=806&amp;ssl=1 806w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-39-43.png?resize=300%2C225&amp;ssl=1 300w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-39-43.png?resize=768%2C576&amp;ssl=1 768w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-39-43.png?resize=360%2C270&amp;ssl=1 360w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-39-43.png?resize=80%2C60&amp;ssl=1 80w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-39-43.png?resize=600%2C450&amp;ssl=1 600w\" sizes=\"auto, (max-width: 806px) 100vw, 806px\" \/><\/a><figcaption id=\"caption-attachment-5812\" class=\"wp-caption-text\">So enter the following command in the command prompt of your FHEM instance to automatically forward every update of the reading \"temperature\" to the topic \"heating\/workroom\/temperature\".<\/figcaption><\/figure>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">attr HeizArbeitszimmerMqtt publishReading_temperature heizung\/Arbeitszimmer\/temperature<\/pre>\n<p>Make sure that \"publishReading\" and \"temperature\"(the reading of the radiator thermostat(or any other sensor\/actuator)) must be connected with an underscore. This results in \"publishReading_temperature\".<br \/>\nFor the reading \"Battery\" the whole thing would look like this.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">attr HeizArbeitszimmerMqtt publishReading_battery heizung\/Arbeitszimmer\/battery<\/pre>\n<figure id=\"attachment_5815\" aria-describedby=\"caption-attachment-5815\" style=\"width: 806px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-41-30.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"5815\" data-permalink=\"https:\/\/nerdiy.de\/en\/create-fhem-mqtt-devices\/chrome-2018-12-13-11-41-30\/\" data-orig-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-41-30.png?fit=806%2C605&amp;ssl=1\" data-orig-size=\"806,605\" 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=\"chrome-2018-12-13-11-41-30\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-41-30.png?fit=806%2C605&amp;ssl=1\" class=\"wp-image-5815 size-full\" src=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-41-30.png?resize=806%2C605&#038;ssl=1\" alt=\"\" width=\"806\" height=\"605\" srcset=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-41-30.png?w=806&amp;ssl=1 806w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-41-30.png?resize=300%2C225&amp;ssl=1 300w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-41-30.png?resize=768%2C576&amp;ssl=1 768w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-41-30.png?resize=360%2C270&amp;ssl=1 360w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-41-30.png?resize=80%2C60&amp;ssl=1 80w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-41-30.png?resize=600%2C450&amp;ssl=1 600w\" sizes=\"auto, (max-width: 806px) 100vw, 806px\" \/><\/a><figcaption id=\"caption-attachment-5815\" class=\"wp-caption-text\">This linking of reading and MQTT topics also works the other way around. So that values sent to an MQTT topic are automatically entered into a reading of the heating thermostat, you must set the following attribute.<\/figcaption><\/figure>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">attr HeizArbeitszimmerMqtt subscribeSet_desiredTemperature heizung\/Arbeitszimmer\/desiredTemperature<\/pre>\n<p>This causes the topic \"heating\/study\/desiredTemperature\" to be subscribed and every value received on it is automatically entered into the reading \"desiredTemperature\". This way you can control the desired temperature of the heating thermostat via MQTT message.<\/p>\n<figure id=\"attachment_5816\" aria-describedby=\"caption-attachment-5816\" style=\"width: 804px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-41-37.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"5816\" data-permalink=\"https:\/\/nerdiy.de\/en\/create-fhem-mqtt-devices\/chrome-2018-12-13-11-41-37\/\" data-orig-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-41-37.png?fit=804%2C603&amp;ssl=1\" data-orig-size=\"804,603\" 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=\"chrome-2018-12-13-11-41-37\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-41-37.png?fit=804%2C603&amp;ssl=1\" class=\"wp-image-5816 size-full\" src=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-41-37.png?resize=804%2C603&#038;ssl=1\" alt=\"\" width=\"804\" height=\"603\" srcset=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-41-37.png?w=804&amp;ssl=1 804w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-41-37.png?resize=300%2C225&amp;ssl=1 300w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-41-37.png?resize=768%2C576&amp;ssl=1 768w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-41-37.png?resize=360%2C270&amp;ssl=1 360w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-41-37.png?resize=80%2C60&amp;ssl=1 80w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-41-37.png?resize=600%2C450&amp;ssl=1 600w\" sizes=\"auto, (max-width: 804px) 100vw, 804px\" \/><\/a><figcaption id=\"caption-attachment-5816\" class=\"wp-caption-text\">The detail view of your MQTT bridge should now look like this. You can see all linked Reading\/MQTT-Topic combinations under Attributes. Remember again to save this configuration change by clicking on \"Save config\".<\/figcaption><\/figure>\n<hr \/>\n<h2>Testing the set MQTT bridge<\/h2>\n<p>One way to test the freshly created MQTT bridge is described here.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-42-38.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"5817\" data-permalink=\"https:\/\/nerdiy.de\/en\/create-fhem-mqtt-devices\/chrome-2018-12-13-11-42-38\/\" data-orig-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-42-38.png?fit=494%2C216&amp;ssl=1\" data-orig-size=\"494,216\" 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=\"chrome-2018-12-13-11-42-38\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-42-38.png?fit=494%2C216&amp;ssl=1\" class=\"wp-image-5817 size-full\" src=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-42-38.png?resize=494%2C216&#038;ssl=1\" alt=\"\" width=\"494\" height=\"216\" srcset=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-42-38.png?w=494&amp;ssl=1 494w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-42-38.png?resize=300%2C131&amp;ssl=1 300w\" sizes=\"auto, (max-width: 494px) 100vw, 494px\" \/><\/a><\/p>\n<p>For this purpose I built a mini MQTT viewer in NodeRed, which shows you the values that are sent to the set topics. <em>\"heating\/study\/temperature\"<\/em> and <em>\"heating\/study\/battery\"<\/em> can be sent. You also have the possibility to send to the topic<em> \"heating\/study\/desiredTemperature\"<\/em> to send the value 25. This has the consequence that - if everything works correctly - the linked radiator thermostat is set to 25\u00b0C.<\/p>\n<figure id=\"attachment_5808\" aria-describedby=\"caption-attachment-5808\" style=\"width: 802px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-23-50.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"5808\" data-permalink=\"https:\/\/nerdiy.de\/en\/create-fhem-mqtt-devices\/chrome-2018-12-13-11-23-50\/\" data-orig-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-23-50.png?fit=802%2C602&amp;ssl=1\" data-orig-size=\"802,602\" 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=\"chrome-2018-12-13-11-23-50\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-23-50.png?fit=802%2C602&amp;ssl=1\" class=\"wp-image-5808 size-full\" src=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-23-50.png?resize=802%2C602&#038;ssl=1\" alt=\"\" width=\"802\" height=\"602\" srcset=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-23-50.png?w=802&amp;ssl=1 802w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-23-50.png?resize=300%2C225&amp;ssl=1 300w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-23-50.png?resize=768%2C576&amp;ssl=1 768w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-23-50.png?resize=360%2C270&amp;ssl=1 360w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-23-50.png?resize=80%2C60&amp;ssl=1 80w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-23-50.png?resize=600%2C450&amp;ssl=1 600w\" sizes=\"auto, (max-width: 802px) 100vw, 802px\" \/><\/a><figcaption id=\"caption-attachment-5808\" class=\"wp-caption-text\">First, we check whether the reception and transfer of values received via MQTT works. To do this, switch to the \"MAX\" room and then to the detailed view of the respective heating thermostat.<\/figcaption><\/figure>\n<figure id=\"attachment_5819\" aria-describedby=\"caption-attachment-5819\" style=\"width: 804px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-43-02.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"5819\" data-permalink=\"https:\/\/nerdiy.de\/en\/create-fhem-mqtt-devices\/chrome-2018-12-13-11-43-02\/\" data-orig-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-43-02.png?fit=804%2C603&amp;ssl=1\" data-orig-size=\"804,603\" 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=\"chrome-2018-12-13-11-43-02\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-43-02.png?fit=804%2C603&amp;ssl=1\" class=\"wp-image-5819 size-full\" src=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-43-02.png?resize=804%2C603&#038;ssl=1\" alt=\"\" width=\"804\" height=\"603\" srcset=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-43-02.png?w=804&amp;ssl=1 804w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-43-02.png?resize=300%2C225&amp;ssl=1 300w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-43-02.png?resize=768%2C576&amp;ssl=1 768w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-43-02.png?resize=360%2C270&amp;ssl=1 360w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-43-02.png?resize=80%2C60&amp;ssl=1 80w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-43-02.png?resize=600%2C450&amp;ssl=1 600w\" sizes=\"auto, (max-width: 804px) 100vw, 804px\" \/><\/a><figcaption id=\"caption-attachment-5819\" class=\"wp-caption-text\">In the detail view you scroll down until you see the Reading ...<\/figcaption><\/figure>\n<p><a href=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-43-15.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"5820\" data-permalink=\"https:\/\/nerdiy.de\/en\/create-fhem-mqtt-devices\/chrome-2018-12-13-11-43-15\/\" data-orig-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-43-15.png?fit=806%2C605&amp;ssl=1\" data-orig-size=\"806,605\" 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=\"chrome-2018-12-13-11-43-15\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-43-15.png?fit=806%2C605&amp;ssl=1\" class=\"wp-image-5820 size-full\" src=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-43-15.png?resize=806%2C605&#038;ssl=1\" alt=\"\" width=\"806\" height=\"605\" srcset=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-43-15.png?w=806&amp;ssl=1 806w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-43-15.png?resize=300%2C225&amp;ssl=1 300w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-43-15.png?resize=768%2C576&amp;ssl=1 768w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-43-15.png?resize=360%2C270&amp;ssl=1 360w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-43-15.png?resize=80%2C60&amp;ssl=1 80w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-43-15.png?resize=600%2C450&amp;ssl=1 600w\" sizes=\"auto, (max-width: 806px) 100vw, 806px\" \/><\/a><\/p>\n<p>... \"desiredTemperature\" is found. This is the reading that we used in the configuration of the MQTT bridge with the MQTT topic <em>\"heating\/study\/desiredTemperature\"<\/em> have linked. Here you will also see the current value of the reading and the time of the last update.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-42-38.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"5817\" data-permalink=\"https:\/\/nerdiy.de\/en\/create-fhem-mqtt-devices\/chrome-2018-12-13-11-42-38\/\" data-orig-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-42-38.png?fit=494%2C216&amp;ssl=1\" data-orig-size=\"494,216\" 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=\"chrome-2018-12-13-11-42-38\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-42-38.png?fit=494%2C216&amp;ssl=1\" class=\"wp-image-5817 size-full\" src=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-42-38.png?resize=494%2C216&#038;ssl=1\" alt=\"\" width=\"494\" height=\"216\" srcset=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-42-38.png?w=494&amp;ssl=1 494w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-42-38.png?resize=300%2C131&amp;ssl=1 300w\" sizes=\"auto, (max-width: 494px) 100vw, 494px\" \/><\/a><\/p>\n<p>If you click on the Inject-Node in the self-built MQTT-Viewer you send the value 25 to the Topic <em>\"heating\/study\/desiredTemperature\"<\/em>. So this should now also update the reading of your heating thermostat to the value 25. In addition, the time of the last update is set to the current time.<\/p>\n<p>To test the opposite way - i.e. the publication of a changed reading on an MQTT topic - just scroll to the top of the detailed view of the MAX! heating thermostat. There you change the desired temperature of your heating thermostat as shown.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-43-41.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"5821\" data-permalink=\"https:\/\/nerdiy.de\/en\/create-fhem-mqtt-devices\/chrome-2018-12-13-11-43-41\/\" data-orig-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-43-41.png?fit=805%2C605&amp;ssl=1\" data-orig-size=\"805,605\" 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=\"chrome-2018-12-13-11-43-41\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-43-41.png?fit=805%2C605&amp;ssl=1\" class=\"alignnone size-full wp-image-5821\" src=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-43-41.png?resize=805%2C605&#038;ssl=1\" alt=\"\" width=\"805\" height=\"605\" srcset=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-43-41.png?w=805&amp;ssl=1 805w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-43-41.png?resize=300%2C225&amp;ssl=1 300w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-43-41.png?resize=768%2C577&amp;ssl=1 768w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-43-41.png?resize=360%2C270&amp;ssl=1 360w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-43-41.png?resize=80%2C60&amp;ssl=1 80w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-43-41.png?resize=600%2C451&amp;ssl=1 600w\" sizes=\"auto, (max-width: 805px) 100vw, 805px\" \/><\/a><\/p>\n<figure id=\"attachment_5822\" aria-describedby=\"caption-attachment-5822\" style=\"width: 765px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-43-46.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"5822\" data-permalink=\"https:\/\/nerdiy.de\/en\/create-fhem-mqtt-devices\/chrome-2018-12-13-11-43-46\/\" data-orig-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-43-46.png?fit=765%2C248&amp;ssl=1\" data-orig-size=\"765,248\" 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=\"chrome-2018-12-13-11-43-46\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-43-46.png?fit=765%2C248&amp;ssl=1\" class=\"wp-image-5822 size-full\" src=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-43-46.png?resize=765%2C248&#038;ssl=1\" alt=\"\" width=\"765\" height=\"248\" srcset=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-43-46.png?w=765&amp;ssl=1 765w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-43-46.png?resize=300%2C97&amp;ssl=1 300w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-chrome-2018-12-13-11-43-46.png?resize=600%2C195&amp;ssl=1 600w\" sizes=\"auto, (max-width: 765px) 100vw, 765px\" \/><\/a><figcaption id=\"caption-attachment-5822\" class=\"wp-caption-text\">This automatically triggers an update of the reading \"battery\". By linking the MQTT bridge with the Topic <em>\"heating\/study\/battery\" <\/em>its value is then published via the topic as desired and is then visible via the configured debug node in your NodeRed environment.<\/figcaption><\/figure>\n<hr \/>\n<h2>Creating an MQTT device using the example of a temperature sensor<\/h2>\n<p>Another possibility of the MQTT module is the creation of MQTT devices. This includes all sensors or devices that send their measured values directly via MQTT. In order to collect these values and combine them in a virtual sensor, you must create an MQTT device.<\/p>\n<p>In this example, we have a temperature sensor in our network that sends the measured temperature value at regular intervals via the MQTT topic \"Ambient data\/basement\/temp\". In order to capture this, an MQTT device is first created with the following command.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">define kellerSensor MQTT_DEVICE<\/pre>\n<figure id=\"attachment_5828\" aria-describedby=\"caption-attachment-5828\" style=\"width: 765px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-firefox-2019-05-14-12-41-34.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"5828\" data-permalink=\"https:\/\/nerdiy.de\/en\/create-fhem-mqtt-devices\/firefox-2019-05-14-12-41-34\/\" data-orig-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-firefox-2019-05-14-12-41-34.png?fit=765%2C574&amp;ssl=1\" data-orig-size=\"765,574\" 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=\"firefox-2019-05-14-12-41-34\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-firefox-2019-05-14-12-41-34.png?fit=765%2C574&amp;ssl=1\" class=\"wp-image-5828 size-full\" src=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-firefox-2019-05-14-12-41-34.png?resize=765%2C574&#038;ssl=1\" alt=\"\" width=\"765\" height=\"574\" 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-41-34.png?w=765&amp;ssl=1 765w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-firefox-2019-05-14-12-41-34.png?resize=300%2C225&amp;ssl=1 300w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-firefox-2019-05-14-12-41-34.png?resize=360%2C270&amp;ssl=1 360w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-firefox-2019-05-14-12-41-34.png?resize=80%2C60&amp;ssl=1 80w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-firefox-2019-05-14-12-41-34.png?resize=600%2C450&amp;ssl=1 600w\" sizes=\"auto, (max-width: 765px) 100vw, 765px\" \/><\/a><figcaption id=\"caption-attachment-5828\" class=\"wp-caption-text\">The command is again composed as follows: \"define Name-of-Mqtt-Device MQTT_DEVICE\". Since we include a temperature sensor in this example that is located in the basement, we call the MQTT_DEVICE \"kellerSensor. So the complete command to create the MQTT_Device is \"environment_data\/basement\/temp\".<\/figcaption><\/figure>\n<figure id=\"attachment_5829\" aria-describedby=\"caption-attachment-5829\" style=\"width: 762px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-firefox-2019-05-14-12-41-44.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"5829\" data-permalink=\"https:\/\/nerdiy.de\/en\/create-fhem-mqtt-devices\/firefox-2019-05-14-12-41-44\/\" data-orig-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-firefox-2019-05-14-12-41-44.png?fit=762%2C571&amp;ssl=1\" data-orig-size=\"762,571\" 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=\"firefox-2019-05-14-12-41-44\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-firefox-2019-05-14-12-41-44.png?fit=762%2C571&amp;ssl=1\" class=\"wp-image-5829 size-full\" src=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-firefox-2019-05-14-12-41-44.png?resize=762%2C571&#038;ssl=1\" alt=\"\" width=\"762\" height=\"571\" 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-41-44.png?w=762&amp;ssl=1 762w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-firefox-2019-05-14-12-41-44.png?resize=300%2C225&amp;ssl=1 300w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-firefox-2019-05-14-12-41-44.png?resize=360%2C270&amp;ssl=1 360w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-firefox-2019-05-14-12-41-44.png?resize=80%2C60&amp;ssl=1 80w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-firefox-2019-05-14-12-41-44.png?resize=600%2C450&amp;ssl=1 600w\" sizes=\"auto, (max-width: 762px) 100vw, 762px\" \/><\/a><figcaption id=\"caption-attachment-5829\" class=\"wp-caption-text\">After you have created the MQTT_Device you will find it in the room \"Unsorted\". You can also open the detailed view shown here.<\/figcaption><\/figure>\n<p>Before this MQTT_Device can display values, it must of course first be linked to the desired MQTT topic. In this example, we want to display all incoming values on the MQTT topic \"Ambient data\/basement\/temp\" in the created MQTT device.<\/p>\n<p>To do this, you need to set the following attribute:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">attr kellerSensor subscribeReading_Temp Ambient Data\/keller\/Temp<\/pre>\n<p>This causes the reading \"Temp\" to be created in the created MQTT_Device \"kellerSensor\" and linked to the subscribed topic \"Ambient data\/keller\/Temp\".<\/p>\n<figure id=\"attachment_5830\" aria-describedby=\"caption-attachment-5830\" style=\"width: 765px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-firefox-2019-05-14-12-42-00.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"5830\" data-permalink=\"https:\/\/nerdiy.de\/en\/create-fhem-mqtt-devices\/firefox-2019-05-14-12-42-00\/\" data-orig-file=\"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&amp;ssl=1\" data-orig-size=\"765,574\" 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=\"firefox-2019-05-14-12-42-00\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"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&amp;ssl=1\" class=\"wp-image-5830 size-full\" src=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-firefox-2019-05-14-12-42-00.png?resize=765%2C574&#038;ssl=1\" alt=\"\" width=\"765\" height=\"574\" 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?w=765&amp;ssl=1 765w, 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?resize=300%2C225&amp;ssl=1 300w, 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?resize=360%2C270&amp;ssl=1 360w, 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?resize=80%2C60&amp;ssl=1 80w, 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?resize=600%2C450&amp;ssl=1 600w\" sizes=\"auto, (max-width: 765px) 100vw, 765px\" \/><\/a><figcaption id=\"caption-attachment-5830\" class=\"wp-caption-text\">In the readings view, the reading \"Temp\" now also appears with the current or last received value and the date of the last update.<\/figcaption><\/figure>\n<p>To brighten up the view you can use the following attribute to add a \"\u00b0C\" to the value of the reading Temp.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">attr kellerSensor stateFormat Temp \u00b0C<\/pre>\n<figure id=\"attachment_5831\" aria-describedby=\"caption-attachment-5831\" style=\"width: 762px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-firefox-2019-05-14-12-42-07.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"5831\" data-permalink=\"https:\/\/nerdiy.de\/en\/create-fhem-mqtt-devices\/firefox-2019-05-14-12-42-07\/\" data-orig-file=\"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-07.png?fit=762%2C571&amp;ssl=1\" data-orig-size=\"762,571\" 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=\"firefox-2019-05-14-12-42-07\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"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-07.png?fit=762%2C571&amp;ssl=1\" class=\"wp-image-5831 size-full\" src=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-firefox-2019-05-14-12-42-07.png?resize=762%2C571&#038;ssl=1\" alt=\"\" width=\"762\" height=\"571\" 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-07.png?w=762&amp;ssl=1 762w, 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-07.png?resize=300%2C225&amp;ssl=1 300w, 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-07.png?resize=360%2C270&amp;ssl=1 360w, 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-07.png?resize=80%2C60&amp;ssl=1 80w, 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-07.png?resize=600%2C450&amp;ssl=1 600w\" sizes=\"auto, (max-width: 762px) 100vw, 762px\" \/><\/a><figcaption id=\"caption-attachment-5831\" class=\"wp-caption-text\">To do this, enter the command \"attr kellerSensor stateFormat Temp \u00b0C\" in the command line of your FHEM instance.<\/figcaption><\/figure>\n<figure id=\"attachment_5832\" aria-describedby=\"caption-attachment-5832\" style=\"width: 765px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-firefox-2019-05-14-12-42-31.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"5832\" data-permalink=\"https:\/\/nerdiy.de\/en\/create-fhem-mqtt-devices\/firefox-2019-05-14-12-42-31\/\" data-orig-file=\"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-31.png?fit=765%2C574&amp;ssl=1\" data-orig-size=\"765,574\" 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=\"firefox-2019-05-14-12-42-31\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"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-31.png?fit=765%2C574&amp;ssl=1\" class=\"wp-image-5832 size-full\" src=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-firefox-2019-05-14-12-42-31.png?resize=765%2C574&#038;ssl=1\" alt=\"\" width=\"765\" height=\"574\" 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-31.png?w=765&amp;ssl=1 765w, 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-31.png?resize=300%2C225&amp;ssl=1 300w, 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-31.png?resize=360%2C270&amp;ssl=1 360w, 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-31.png?resize=80%2C60&amp;ssl=1 80w, 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-31.png?resize=600%2C450&amp;ssl=1 600w\" sizes=\"auto, (max-width: 765px) 100vw, 765px\" \/><\/a><figcaption id=\"caption-attachment-5832\" class=\"wp-caption-text\">This means that the current temperature of the \"kellerSensor\" is now also provided with a \"\u00b0C\" and it is directly apparent that this is a temperature value.<\/figcaption><\/figure>\n<hr \/>\n<h2>More information<\/h2>\n<p><em><strong><a href=\"https:\/\/wiki.fhem.de\/wiki\/MQTT_Einf%C3%BChrung\">https:\/\/wiki.fhem.de\/wiki\/MQTT_Einf%C3%BChrung<\/a><\/strong><\/em><\/p>\n<hr \/>\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 - Installing 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. [...]<\/p>","protected":false},"author":1,"featured_media":5830,"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":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[149,57,61],"tags":[],"class_list":["post-3741","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-abendprojekt2h","category-fhem","category-smarthome"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>HowTo: FHEM - MQTT Ger\u00e4te anlegen - 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\/create-fhem-mqtt-devices\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"HowTo: FHEM - MQTT Ger\u00e4te anlegen - 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\/create-fhem-mqtt-devices\/\" \/>\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=\"2019-03-07T18:31:35+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-07-30T04:53:24+00:00\" \/>\n<meta property=\"og:image\" content=\"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\" \/>\n\t<meta property=\"og:image:width\" content=\"765\" \/>\n\t<meta property=\"og:image:height\" content=\"574\" \/>\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=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/fhem-mqtt-geraete-anlegen\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/fhem-mqtt-geraete-anlegen\\\/\"},\"author\":{\"name\":\"Fab\",\"@id\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/#\\\/schema\\\/person\\\/f1579a71868adb0be60a74246d3e0908\"},\"headline\":\"HowTo: FHEM &#8211; MQTT Ger\u00e4te anlegen\",\"datePublished\":\"2019-03-07T18:31:35+00:00\",\"dateModified\":\"2019-07-30T04:53:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/fhem-mqtt-geraete-anlegen\\\/\"},\"wordCount\":1629,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/fhem-mqtt-geraete-anlegen\\\/#primaryimage\"},\"thumbnailUrl\":\"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\",\"articleSection\":[\"Abendprojekt(&lt;2h)\",\"FHEM\",\"SmartHome\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/fhem-mqtt-geraete-anlegen\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/fhem-mqtt-geraete-anlegen\\\/\",\"url\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/fhem-mqtt-geraete-anlegen\\\/\",\"name\":\"HowTo: FHEM - MQTT Ger\u00e4te anlegen - nerdiy.de - DIY, Elektronik, 3D Druck und mehr...\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/fhem-mqtt-geraete-anlegen\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/fhem-mqtt-geraete-anlegen\\\/#primaryimage\"},\"thumbnailUrl\":\"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\",\"datePublished\":\"2019-03-07T18:31:35+00:00\",\"dateModified\":\"2019-07-30T04:53:24+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\\\/de_de\\\/fhem-mqtt-geraete-anlegen\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/fhem-mqtt-geraete-anlegen\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/fhem-mqtt-geraete-anlegen\\\/#primaryimage\",\"url\":\"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\",\"contentUrl\":\"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\",\"width\":765,\"height\":574},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/fhem-mqtt-geraete-anlegen\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Startseite\",\"item\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"HowTo: FHEM &#8211; MQTT Ger\u00e4te anlegen\"}]},{\"@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 - Create MQTT devices - 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\/create-fhem-mqtt-devices\/","og_locale":"en_US","og_type":"article","og_title":"HowTo: FHEM - MQTT Ger\u00e4te anlegen - 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\/create-fhem-mqtt-devices\/","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":"2019-03-07T18:31:35+00:00","article_modified_time":"2019-07-30T04:53:24+00:00","og_image":[{"width":765,"height":574,"url":"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","type":"image\/png"}],"author":"Fab","twitter_card":"summary_large_image","twitter_creator":"@nerdiyde","twitter_site":"@nerdiyde","twitter_misc":{"Written by":"Fab","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/nerdiy.de\/de_de\/fhem-mqtt-geraete-anlegen\/#article","isPartOf":{"@id":"https:\/\/nerdiy.de\/de_de\/fhem-mqtt-geraete-anlegen\/"},"author":{"name":"Fab","@id":"https:\/\/nerdiy.de\/de_de\/#\/schema\/person\/f1579a71868adb0be60a74246d3e0908"},"headline":"HowTo: FHEM &#8211; MQTT Ger\u00e4te anlegen","datePublished":"2019-03-07T18:31:35+00:00","dateModified":"2019-07-30T04:53:24+00:00","mainEntityOfPage":{"@id":"https:\/\/nerdiy.de\/de_de\/fhem-mqtt-geraete-anlegen\/"},"wordCount":1629,"commentCount":1,"publisher":{"@id":"https:\/\/nerdiy.de\/de_de\/#organization"},"image":{"@id":"https:\/\/nerdiy.de\/de_de\/fhem-mqtt-geraete-anlegen\/#primaryimage"},"thumbnailUrl":"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","articleSection":["Abendprojekt(&lt;2h)","FHEM","SmartHome"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/nerdiy.de\/de_de\/fhem-mqtt-geraete-anlegen\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/nerdiy.de\/de_de\/fhem-mqtt-geraete-anlegen\/","url":"https:\/\/nerdiy.de\/de_de\/fhem-mqtt-geraete-anlegen\/","name":"HowTo: FHEM - Create MQTT devices - nerdiy.de - DIY, electronics, 3D printing and more...","isPartOf":{"@id":"https:\/\/nerdiy.de\/de_de\/#website"},"primaryImageOfPage":{"@id":"https:\/\/nerdiy.de\/de_de\/fhem-mqtt-geraete-anlegen\/#primaryimage"},"image":{"@id":"https:\/\/nerdiy.de\/de_de\/fhem-mqtt-geraete-anlegen\/#primaryimage"},"thumbnailUrl":"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","datePublished":"2019-03-07T18:31:35+00:00","dateModified":"2019-07-30T04:53:24+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\/de_de\/fhem-mqtt-geraete-anlegen\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/nerdiy.de\/de_de\/fhem-mqtt-geraete-anlegen\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/nerdiy.de\/de_de\/fhem-mqtt-geraete-anlegen\/#primaryimage","url":"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","contentUrl":"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","width":765,"height":574},{"@type":"BreadcrumbList","@id":"https:\/\/nerdiy.de\/de_de\/fhem-mqtt-geraete-anlegen\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Startseite","item":"https:\/\/nerdiy.de\/de_de\/"},{"@type":"ListItem","position":2,"name":"HowTo: FHEM &#8211; MQTT Ger\u00e4te anlegen"}]},{"@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\/2019\/03\/www.nerdiy.de-howto-fhem-mqtt-geraete-anlegen-firefox-2019-05-14-12-42-00.png?fit=765%2C574&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9GM3g-Yl","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":197,"url":"https:\/\/nerdiy.de\/en\/install-fhem-mqtt-module\/","url_meta":{"origin":3741,"position":0},"title":"HowTo: Install FHEM \u2013 MQTT module","author":"Fab","date":"12. February 2018","format":false,"excerpt":"In dem Artikel RaspberryPi - 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 ihr einen MQTT Server auch aus FHEM heraus nutzen k\u00f6nnt, m\u00fcsst ihr allerdings noch ein paar FHEM-Module installieren. Wie das\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-180.png?fit=873%2C596&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-180.png?fit=873%2C596&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-180.png?fit=873%2C596&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/02\/Screenshot-180.png?fit=873%2C596&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":3741,"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":3722,"url":"https:\/\/nerdiy.de\/en\/secure-fhem-access-to-the-configuration-interface\/","url_meta":{"origin":3741,"position":2},"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":6607,"url":"https:\/\/nerdiy.de\/en\/howto-zigbee-installation-of-zigbee2mqtt-on-the-raspberry-pi-2\/","url_meta":{"origin":3741,"position":3},"title":"HowTo: Zigbee - Installation of zigbee2mqtt on the Raspberry Pi","author":"Fab","date":"4. January 2022","format":false,"excerpt":"Vor kurzem habe ich damit begonnen Teile meines SmartHome auf den Zigbee-Standard umzustellen. In der Vergangenheit habe ich n\u00e4mlich noch Sensoren und Aktoren basierend auf dem einfachen 433Mhz Funk genutzt. Leider gibt es aber immer weniger Sensoren bzw. Aktoren f\u00fcr diesen \"Funkstandard\". Zu guter Letzt waren dann die sehr g\u00fcnstigen\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\/2022\/01\/www.nerdiy.de-howto-zigbee-installation-von-zigbee2mqtt-auf-dem-raspberry-pi-chrome-dqyvg8wrdf.png?fit=1200%2C683&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2022\/01\/www.nerdiy.de-howto-zigbee-installation-von-zigbee2mqtt-auf-dem-raspberry-pi-chrome-dqyvg8wrdf.png?fit=1200%2C683&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2022\/01\/www.nerdiy.de-howto-zigbee-installation-von-zigbee2mqtt-auf-dem-raspberry-pi-chrome-dqyvg8wrdf.png?fit=1200%2C683&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2022\/01\/www.nerdiy.de-howto-zigbee-installation-von-zigbee2mqtt-auf-dem-raspberry-pi-chrome-dqyvg8wrdf.png?fit=1200%2C683&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2022\/01\/www.nerdiy.de-howto-zigbee-installation-von-zigbee2mqtt-auf-dem-raspberry-pi-chrome-dqyvg8wrdf.png?fit=1200%2C683&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":190,"url":"https:\/\/nerdiy.de\/en\/fhem-construction-modules-worth-knowing-2\/","url_meta":{"origin":3741,"position":4},"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":205,"url":"https:\/\/nerdiy.de\/en\/your-own-smart-home-installation-and-entry-into-fhem\/","url_meta":{"origin":3741,"position":5},"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":[]}],"_links":{"self":[{"href":"https:\/\/nerdiy.de\/en\/wp-json\/wp\/v2\/posts\/3741","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=3741"}],"version-history":[{"count":0,"href":"https:\/\/nerdiy.de\/en\/wp-json\/wp\/v2\/posts\/3741\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nerdiy.de\/en\/wp-json\/wp\/v2\/media\/5830"}],"wp:attachment":[{"href":"https:\/\/nerdiy.de\/en\/wp-json\/wp\/v2\/media?parent=3741"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nerdiy.de\/en\/wp-json\/wp\/v2\/categories?post=3741"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nerdiy.de\/en\/wp-json\/wp\/v2\/tags?post=3741"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}