{"id":39861,"date":"2018-02-21T13:35:59","date_gmt":"2018-02-21T12:35:59","guid":{"rendered":"https:\/\/magazinnew.reichelt.de\/magazin\/uncategorized\/the-first-steps-to-make-a-raspberry-pi-smart-home\/"},"modified":"2023-08-09T11:02:21","modified_gmt":"2023-08-09T09:02:21","slug":"first-steps-make-smart-home-raspberry-pi","status":"publish","type":"post","link":"https:\/\/www.reichelt.com\/magazin\/en\/projects\/first-steps-make-smart-home-raspberry-pi\/","title":{"rendered":"The first steps to make a Raspberry Pi Smart Home"},"content":{"rendered":"\n<p>Smart home systems have become more and more popular in recent years. But sometimes they can have limits when it comes to missing interfaces, expandability or adaptability. We&#8217;ll show you how to handle it yourself and build your own Raspberry Pi smart home centre, which you can customise and expand to your liking. Here\u2019s how to get started.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The project<\/h2>\n\n\n\n<p><strong>Suitable for:<\/strong> beginners with basic knowledge, advanced<\/p>\n\n\n\n<p><strong>Time required:<\/strong> about 1-2 hours<\/p>\n\n\n\n<p><strong>Budget: <\/strong>about \u00a370<\/p>\n\n\n\n<p><strong>You need:<\/strong> 1x Raspberry Pi3 set, RPI relay board (network cable optional)<\/p>\n\n\n\n<p><strong>Can be extended with:<\/strong> any smart home system<\/p>\n\n\n\n<p><strong>You will also need: <\/strong>screen, PC keyboard, internet connection<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Advantages compared to complete smart home systems<\/h3>\n\n\n\n<p>In this how-to, we&#8217;d like to introduce you to openHABian, a free piece of software which is a Debian derivative that turns your Raspberry Pi into a smart home server. But why should you do this if, for example, you already have an Amazon Echo System or Google&#8217;s Smart Home?<\/p>\n\n\n\n<p>The special thing about openHABian is that you can integrate all your existing Smart Home systems (list of supported systems here), so you only need one central control unit. You can also create interfaces with devices that do not have a smart interface by default.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1000\" height=\"681\" src=\"https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2018\/02\/RPi-Smart-Home.png\" alt=\"The first steps to make a Raspberry Pi Smart Home.\" class=\"wp-image-78860\" srcset=\"https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2018\/02\/RPi-Smart-Home.png 1000w, https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2018\/02\/RPi-Smart-Home-300x204.png 300w, https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2018\/02\/RPi-Smart-Home-768x523.png 768w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><figcaption class=\"wp-element-caption\">The first steps to make a Raspberry Pi Smart Home<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Install openHABian on the Raspberry Pi<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1: Prepare microSD card<\/h3>\n\n\n\n<p>First, set up your Raspberry Pi as an openHABian server. To do this, download the <a href=\"https:\/\/community.openhab.org\/t\/openhabian-v1-4-released\/37398\">image<\/a> from the openHAB website, unzip it and flash it with suitable software, such as Etcher, onto a microSD card.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2: Make an internet connection<\/h3>\n\n\n\n<p>Since an active internet connection is required during installation, either enter the SSID and password of your WiFi network in openhabian.conf or connect your Raspberry Pi to your router via a network cable. We recommend the second option, as connecting with WiFi can often cause problems during installation.<\/p>\n\n\n\n<p>wifi_ssid = &#8220;My Wi-Fi SSID&#8221;<\/p>\n\n\n\n<p>wifi_psk = &#8220;password123&#8221;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3: The installation<\/h3>\n\n\n\n<p>Now plug the microSD card into the Raspberry Pi and connect it to the power supply. The installation starts automatically and takes about 25 minutes, depending on the version of your Raspberry Pis (Rpi) and your internet connection.<\/p>\n\n\n\n<p>If the installation was successful, you will be asked for username and password (openhabian \/ openhabian). Then you will see an openHABian lettering as an ASCII graphic.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 4: Define IP address<\/h3>\n\n\n\n<p>Determine the IP address of the RPis by typing \u2018hostname -I\u2019 in the console. Now enter this in your browser and you will see the control panel of your openHAB server (you can select \u2018Standard\u2019 here).<\/p>\n\n\n\n<p>Finally, we recommend assigning a static IP address to the Raspberry Pi. You can do this in the settings of your router. Furthermore, a samba connection, as well as external access to the Raspberry PI via SSH during setup, are very helpful. Both services are preconfigured and can be reached at the IP address with the default username and password.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2018\/02\/RPi-04.png\"><img decoding=\"async\" width=\"1000\" height=\"596\" src=\"https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2018\/02\/RPi-04.png\" alt=\"This is what your openHAB control panel looks like once you have entered the IP address of your RPis\" class=\"wp-image-78868\" srcset=\"https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2018\/02\/RPi-04.png 1000w, https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2018\/02\/RPi-04-300x179.png 300w, https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2018\/02\/RPi-04-768x458.png 768w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/a><figcaption class=\"wp-element-caption\">This is what your openHAB control panel looks like once you have entered the IP address of your RPis<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Your first smart home application<\/h3>\n\n\n\n<p>With the very first smart home application for Raspberry Pi, we want to be able to do something that is impossible with any other conventional smart home system. We want to use a new interface to switch a relay that allows you to control devices in your house that do not have a smart interface, such as your garage door, exterior and interior lighting, air conditioning, electric door locks, shutters &#8230; and many more.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 1: The hardware<\/strong><\/h3>\n\n\n\n<p>Plug the relay board into the Raspberry Pi as shown and connect the circuit to be controlled (35V max!) to relay 1. This is all you need for hardware installation.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2018\/02\/RPi-02-1.png\"><img decoding=\"async\" width=\"1000\" height=\"553\" data-id=\"79008\" src=\"https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2018\/02\/RPi-02-1.png\" alt=\"Connecting a circuit to be controlled to relay 1 (note labelling)\" class=\"wp-image-79008\" srcset=\"https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2018\/02\/RPi-02-1.png 1000w, https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2018\/02\/RPi-02-1-300x166.png 300w, https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2018\/02\/RPi-02-1-768x425.png 768w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/a><figcaption class=\"wp-element-caption\">Connecting a circuit to be controlled to relay 1 (note labelling)<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2018\/02\/RPi-03.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"877\" data-id=\"79016\" src=\"https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2018\/02\/RPi-03.png\" alt=\"LEDs indicate the switching state of the relays (Attention: The sequence of the LEDs is 1,3,2,4)\" class=\"wp-image-79016\" srcset=\"https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2018\/02\/RPi-03.png 1000w, https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2018\/02\/RPi-03-300x263.png 300w, https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2018\/02\/RPi-03-768x674.png 768w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/a><figcaption class=\"wp-element-caption\">LEDs indicate the switching state of the relays (Attention: The sequence of the LEDs is 1,3,2,4)<\/figcaption><\/figure>\n<\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">&nbsp;<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 2: Insert your code<\/strong><\/h3>\n\n\n\n<p>Next, copy the following scripts to the corresponding folders in the conf folder of your Raspberry Pis (the script is Python script). Use the samba connection to your RPi.exec.things:<\/p>\n\n\n\n<p>Thing exec:command:remote-send [<\/p>\n\n\n\n<p>command=&#8221;sudo python3 \/etc\/openhab2\/scripts\/relaySwitch.py %2$s&#8221;,<\/p>\n\n\n\n<p>interval=0,<\/p>\n\n\n\n<p>autorun=true]\n\n\n\n<p>]\n\n\n\n<p><strong>Relay_Switch.items:<\/strong><\/p>\n\n\n\n<p>Switch Relay_Switch_1 &lt;poweroutlet&gt;<\/p>\n\n\n\n<p>Switch Remote_Send { channel=&#8221;exec:command:remote-send:run&#8221; }<\/p>\n\n\n\n<p>String Remote_Send_Args { channel=&#8221;exec:command:remote-send:input&#8221; }<\/p>\n\n\n\n<p>String Remote_Send_Out { channel=&#8221;exec:command:remote-send:output&#8221; }<\/p>\n\n\n\n<p><strong>Relay_Switch_1.rules:<\/strong><\/p>\n\n\n\n<p>rule &#8220;Relay Switch 1&#8221;<\/p>\n\n\n\n<p>when<\/p>\n\n\n\n<p>Item Relay_Switch_1 received command<\/p>\n\n\n\n<p>then<\/p>\n\n\n\n<p>while(Remote_Send.state == ON){<\/p>\n\n\n\n<p>Thread::sleep(500)<\/p>\n\n\n\n<p>}<\/p>\n\n\n\n<p>if(receivedCommand == ON){<\/p>\n\n\n\n<p>Remote_Send_Args.sendCommand(&#8220;1 ON&#8221;)<\/p>\n\n\n\n<p>}else{<\/p>\n\n\n\n<p>Remote_Send_Args.sendCommand(&#8220;1 OFF&#8221;)<\/p>\n\n\n\n<p>}<\/p>\n\n\n\n<p>while(Remote_Send.state != OFF){<\/p>\n\n\n\n<p>Thread::sleep(500)<\/p>\n\n\n\n<p>}<\/p>\n\n\n\n<p>logInfo(&#8220;Relay_Switch_1&#8221;, &#8220;Result:&#8221; + Remote_Send_Out.state )<\/p>\n\n\n\n<p>end<\/p>\n\n\n\n<p><strong>relaySwitch.py:<\/strong><\/p>\n\n\n\n<p>#!\/usr\/bin\/python3<\/p>\n\n\n\n<p>import argparse<\/p>\n\n\n\n<p>import smbus<\/p>\n\n\n\n<p>class Relays():<\/p>\n\n\n\n<p>def __init__(self):<\/p>\n\n\n\n<p>self.dev_addr = 0x20<\/p>\n\n\n\n<p>self.dev_reg_mode1 = 0x06<\/p>\n\n\n\n<p>self.dev_reg_data = 0xff<\/p>\n\n\n\n<p>self.bus = smbus.SMBus(1)<\/p>\n\n\n\n<p>self.block = self.bus.read_byte_data(self.dev_addr, self.dev_reg_mode1)<\/p>\n\n\n\n<p>def set_on(self, relays):<\/p>\n\n\n\n<p>print(&#8220;Setting {} on&#8230;&#8221;.format(relays))<\/p>\n\n\n\n<p>self.block &amp;= ~(0x1 &lt;&lt; relays)<\/p>\n\n\n\n<p>self.bus.write_byte_data(self.dev_addr, self.dev_reg_mode1, self.block)<\/p>\n\n\n\n<p>def set_off(self, relays):<\/p>\n\n\n\n<p>print(&#8220;Setting {} off&#8230;&#8221;.format(relays))<\/p>\n\n\n\n<p>self.block |= (0x1 &lt;&lt; relays)<\/p>\n\n\n\n<p>self.bus.write_byte_data(self.dev_addr, self.dev_reg_mode1, self.block)<\/p>\n\n\n\n<p>def read_bytes(self,relays):<\/p>\n\n\n\n<p>self.dev_reg_data |= (0x1 &lt;&lt; relays)<\/p>\n\n\n\n<p>block = self.bus.read_byte_data(self.dev_addr, self.dev_reg_mode1)<br>if __name__ == &#8220;__main__&#8221;:<\/p>\n\n\n\n<p>def state2bool(state):<\/p>\n\n\n\n<p>if state.lower() == &#8220;on&#8221;:<\/p>\n\n\n\n<p>return True<\/p>\n\n\n\n<p>elif state.lower() == &#8220;off&#8221;:<\/p>\n\n\n\n<p>return False<\/p>\n\n\n\n<p>else:<\/p>\n\n\n\n<p>raise argparse.ArgumentTypeError(&#8220;State can either be on or off&#8221;)<br>parser = argparse.ArgumentParser(<\/p>\n\n\n\n<p>description=&#8221;Change the state of a relays&#8221;<\/p>\n\n\n\n<p>)<\/p>\n\n\n\n<p>parser.add_argument(&#8220;relay_id&#8221;, type=int)<\/p>\n\n\n\n<p>parser.add_argument(&#8220;state&#8221;, type=str)<\/p>\n\n\n\n<p>args = parser.parse_args()<\/p>\n\n\n\n<p>relays = Relays()<\/p>\n\n\n\n<p>if state2bool(args.state):<\/p>\n\n\n\n<p>relays.set_on(args.relay_id-1)<\/p>\n\n\n\n<p>else:<\/p>\n\n\n\n<p>relays.set_off(args.relay_id-1)<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 3: Activate the circuit of the relay<\/strong><\/h3>\n\n\n\n<p>Next, you need to create the button that will be used to switch the relay in the user interface and install various bindings. To do this, enter the IP address of your RPis in the address field of your browser and navigate as follows: PAPER UI-&gt; Addons-&gt; Bindings.<\/p>\n\n\n\n<p>Search for GPIO Binding and click &#8220;Install.&#8221; The same is done with the EXEC Binding and the REGEX Transformation.<\/p>\n\n\n\n<p>Then navigate back and select HABPANEL. Create a new switch here and under HABItem, select the relay item &#8220;Switch_Relay_1&#8221; to be controlled.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"533\" src=\"https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2018\/02\/RPi-05.png\" alt=\"Creation of a button in the HABPABLE which can activate the relay switch\" class=\"wp-image-79026\" srcset=\"https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2018\/02\/RPi-05.png 1000w, https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2018\/02\/RPi-05-300x160.png 300w, https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2018\/02\/RPi-05-768x409.png 768w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><figcaption class=\"wp-element-caption\">Creation of a button in the HABPABLE which can activate the relay switch<\/figcaption><\/figure>\n\n\n\n<p>Save and click \u2018Run\u2018. If you now operate the switch, you should hear the click of the relay, the corresponding LED should light up and your connected circuit should be activated.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-3 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"669\" data-id=\"79042\" src=\"https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2018\/02\/RPi-07.png\" alt=\"This is how the button looks in the browser\" class=\"wp-image-79042\" srcset=\"https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2018\/02\/RPi-07.png 1000w, https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2018\/02\/RPi-07-300x201.png 300w, https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2018\/02\/RPi-07-768x514.png 768w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><figcaption class=\"wp-element-caption\">This is how the button looks in the browser<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"688\" data-id=\"79034\" src=\"https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2018\/02\/RPi-06.png\" alt=\"This is how the button looks on a mobile device\" class=\"wp-image-79034\" srcset=\"https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2018\/02\/RPi-06.png 800w, https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2018\/02\/RPi-06-300x258.png 300w, https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2018\/02\/RPi-06-768x660.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">This is how the button looks on a mobile device<\/figcaption><\/figure>\n<\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 4: Find errors<\/strong><\/h3>\n\n\n\n<p>If nothing happens, check if the i2c protocol is set up correctly (follow these steps) or check if you have granted enough rights (please follow these steps). The openHAB Log Viewer is useful for debugging and can be found under Port 9001.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Access outside of your own network<\/strong><\/h2>\n\n\n\n<p>Of course, you will want to not only have control over your equipment in-house, but from anywhere. To enable this, openHABian provides a cloud-based service. First, add the openHAB Cloud Connector in the HABPANEL under MISC. Then register yourself and your openHAB server at myopenhab.org. You can find the required UUID y entering the following in the console of your RPis:<\/p>\n\n\n\n<p>UUID: cat \/var\/lib\/openhab2\/uuid<br>Secret: cat \/var\/lib\/openhab2\/openhabcloud\/secret<\/p>\n\n\n\n<p>After logging in, the link to your control panel will be displayed directly on the start page. Like an app, you can now link it to the start screen on your smartphone. So, you always have full control over the functions of your home.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2018\/02\/RPi-08.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"457\" src=\"https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2018\/02\/RPi-08.png\" alt=\"Installing add-ons in the PAPER UI\" class=\"wp-image-79050\" srcset=\"https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2018\/02\/RPi-08.png 1000w, https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2018\/02\/RPi-08-300x137.png 300w, https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2018\/02\/RPi-08-768x351.png 768w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/a><figcaption class=\"wp-element-caption\">Installing add-ons in the PAPER UI<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2018\/02\/RPi-09.png\"><img loading=\"lazy\" decoding=\"async\" width=\"917\" height=\"1000\" src=\"https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2018\/02\/RPi-09.png\" alt=\"Use Putty to access your RPi via SSH\" class=\"wp-image-79058\" srcset=\"https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2018\/02\/RPi-09.png 917w, https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2018\/02\/RPi-09-275x300.png 275w, https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2018\/02\/RPi-09-768x838.png 768w\" sizes=\"(max-width: 917px) 100vw, 917px\" \/><\/a><figcaption class=\"wp-element-caption\">Use Putty to access your RPi via SSH<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Smart home systems have become more and more popular in recent years. But sometimes they can have limits when it comes to missing interfaces, expandability or adaptability. We&#8217;ll show you how to handle it yourself and build your own Raspberry Pi smart home centre, which you can customise and expand to your liking. Here\u2019s how [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":78852,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6037],"tags":[4488,4371,3699,3769],"class_list":["post-39861","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-projects","tag-home-network","tag-network","tag-raspberry-pi","tag-smart-home"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.5 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to make a Raspberry Pi Smart Home|How to make a Raspberry Pi Smart Home<\/title>\n<meta name=\"description\" content=\"Use free openHABian software to transform your Raspberry Pi into a smart home system that\u2019s customised according to your needs. Build your Raspberry Pi Smart Home today!|Use free openHABian software to transform your Raspberry Pi into a smart home system that\u2019s customised according to your needs. Build your Raspberry Pi Smart Home today!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.reichelt.com\/magazin\/en\/projects\/first-steps-make-smart-home-raspberry-pi\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Create a smart home with Raspberry Pi \u2013 here\u2019s how!|Create a smart home with Raspberry Pi \u2013 here\u2019s how!\" \/>\n<meta property=\"og:description\" content=\"Are traditional smart home systems not enough for you? We&#039;ll show you how to use openHABian and Raspberry Pi to create a smart home system that suits your needs and integrates your existing devices.|Are traditional smart home systems not enough for you? We&#039;ll show you how to use openHABian and Raspberry Pi to create a smart home system that suits your needs and integrates your existing devices.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.reichelt.com\/magazin\/en\/projects\/first-steps-make-smart-home-raspberry-pi\/\" \/>\n<meta property=\"og:site_name\" content=\"reichelt Magazin\" \/>\n<meta property=\"article:published_time\" content=\"2018-02-21T12:35:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-09T09:02:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/212.184.1.90\/magazin\/wp-content\/uploads\/2018\/02\/Titel_RPi_Smarthome.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1350\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"The first steps to make a Raspberry Pi Smart Home\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/projects\\\/first-steps-make-smart-home-raspberry-pi\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/projects\\\/first-steps-make-smart-home-raspberry-pi\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/#\\\/schema\\\/person\\\/54edf009d7730dbe36a83d3e9948e08f\"},\"headline\":\"The first steps to make a Raspberry Pi Smart Home\",\"datePublished\":\"2018-02-21T12:35:59+00:00\",\"dateModified\":\"2023-08-09T09:02:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/projects\\\/first-steps-make-smart-home-raspberry-pi\\\/\"},\"wordCount\":1348,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/projects\\\/first-steps-make-smart-home-raspberry-pi\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/wp-content\\\/uploads\\\/2018\\\/02\\\/Titel_RPi_Smarthome.png\",\"keywords\":[\"home network\",\"network\",\"Raspberry Pi\",\"Smart-Home\"],\"articleSection\":[\"Projects\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/projects\\\/first-steps-make-smart-home-raspberry-pi\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/projects\\\/first-steps-make-smart-home-raspberry-pi\\\/\",\"url\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/projects\\\/first-steps-make-smart-home-raspberry-pi\\\/\",\"name\":\"How to make a Raspberry Pi Smart Home|How to make a Raspberry Pi Smart Home\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/projects\\\/first-steps-make-smart-home-raspberry-pi\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/projects\\\/first-steps-make-smart-home-raspberry-pi\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/wp-content\\\/uploads\\\/2018\\\/02\\\/Titel_RPi_Smarthome.png\",\"datePublished\":\"2018-02-21T12:35:59+00:00\",\"dateModified\":\"2023-08-09T09:02:21+00:00\",\"description\":\"Use free openHABian software to transform your Raspberry Pi into a smart home system that\u2019s customised according to your needs. Build your Raspberry Pi Smart Home today!|Use free openHABian software to transform your Raspberry Pi into a smart home system that\u2019s customised according to your needs. Build your Raspberry Pi Smart Home today!\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/projects\\\/first-steps-make-smart-home-raspberry-pi\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/projects\\\/first-steps-make-smart-home-raspberry-pi\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/projects\\\/first-steps-make-smart-home-raspberry-pi\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/wp-content\\\/uploads\\\/2018\\\/02\\\/Titel_RPi_Smarthome.png\",\"contentUrl\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/wp-content\\\/uploads\\\/2018\\\/02\\\/Titel_RPi_Smarthome.png\",\"width\":1350,\"height\":400,\"caption\":\"With the free openHABian software, you can transform your Raspberry Pi into a smart home system that you can design according to your wishes.\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/projects\\\/first-steps-make-smart-home-raspberry-pi\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"The first steps to make a Raspberry Pi Smart Home\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/\",\"name\":\"reichelt Magazin\",\"description\":\"Das Technik Magazin\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/#organization\",\"name\":\"reichelt Magazin\",\"url\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/reichelt_magazin_logo_de_nl-1.svg\",\"contentUrl\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/reichelt_magazin_logo_de_nl-1.svg\",\"width\":456,\"height\":149,\"caption\":\"reichelt Magazin\"},\"image\":{\"@id\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/#\\\/schema\\\/person\\\/54edf009d7730dbe36a83d3e9948e08f\",\"name\":\"admin\",\"sameAs\":[\"https:\\\/\\\/magazin.reichelt.de\\\/magazin\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to make a Raspberry Pi Smart Home|How to make a Raspberry Pi Smart Home","description":"Use free openHABian software to transform your Raspberry Pi into a smart home system that\u2019s customised according to your needs. Build your Raspberry Pi Smart Home today!|Use free openHABian software to transform your Raspberry Pi into a smart home system that\u2019s customised according to your needs. Build your Raspberry Pi Smart Home today!","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:\/\/www.reichelt.com\/magazin\/en\/projects\/first-steps-make-smart-home-raspberry-pi\/","og_locale":"en_US","og_type":"article","og_title":"Create a smart home with Raspberry Pi \u2013 here\u2019s how!|Create a smart home with Raspberry Pi \u2013 here\u2019s how!","og_description":"Are traditional smart home systems not enough for you? We'll show you how to use openHABian and Raspberry Pi to create a smart home system that suits your needs and integrates your existing devices.|Are traditional smart home systems not enough for you? We'll show you how to use openHABian and Raspberry Pi to create a smart home system that suits your needs and integrates your existing devices.","og_url":"https:\/\/www.reichelt.com\/magazin\/en\/projects\/first-steps-make-smart-home-raspberry-pi\/","og_site_name":"reichelt Magazin","article_published_time":"2018-02-21T12:35:59+00:00","article_modified_time":"2023-08-09T09:02:21+00:00","og_image":[{"width":1350,"height":400,"url":"https:\/\/212.184.1.90\/magazin\/wp-content\/uploads\/2018\/02\/Titel_RPi_Smarthome.png","type":"image\/png"}],"author":"admin","twitter_card":"summary_large_image","twitter_title":"The first steps to make a Raspberry Pi Smart Home","twitter_misc":{"Written by":"admin","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.reichelt.com\/magazin\/en\/projects\/first-steps-make-smart-home-raspberry-pi\/#article","isPartOf":{"@id":"https:\/\/www.reichelt.com\/magazin\/en\/projects\/first-steps-make-smart-home-raspberry-pi\/"},"author":{"name":"admin","@id":"https:\/\/www.reichelt.com\/magazin\/en\/#\/schema\/person\/54edf009d7730dbe36a83d3e9948e08f"},"headline":"The first steps to make a Raspberry Pi Smart Home","datePublished":"2018-02-21T12:35:59+00:00","dateModified":"2023-08-09T09:02:21+00:00","mainEntityOfPage":{"@id":"https:\/\/www.reichelt.com\/magazin\/en\/projects\/first-steps-make-smart-home-raspberry-pi\/"},"wordCount":1348,"commentCount":0,"publisher":{"@id":"https:\/\/www.reichelt.com\/magazin\/en\/#organization"},"image":{"@id":"https:\/\/www.reichelt.com\/magazin\/en\/projects\/first-steps-make-smart-home-raspberry-pi\/#primaryimage"},"thumbnailUrl":"https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2018\/02\/Titel_RPi_Smarthome.png","keywords":["home network","network","Raspberry Pi","Smart-Home"],"articleSection":["Projects"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.reichelt.com\/magazin\/en\/projects\/first-steps-make-smart-home-raspberry-pi\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.reichelt.com\/magazin\/en\/projects\/first-steps-make-smart-home-raspberry-pi\/","url":"https:\/\/www.reichelt.com\/magazin\/en\/projects\/first-steps-make-smart-home-raspberry-pi\/","name":"How to make a Raspberry Pi Smart Home|How to make a Raspberry Pi Smart Home","isPartOf":{"@id":"https:\/\/www.reichelt.com\/magazin\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.reichelt.com\/magazin\/en\/projects\/first-steps-make-smart-home-raspberry-pi\/#primaryimage"},"image":{"@id":"https:\/\/www.reichelt.com\/magazin\/en\/projects\/first-steps-make-smart-home-raspberry-pi\/#primaryimage"},"thumbnailUrl":"https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2018\/02\/Titel_RPi_Smarthome.png","datePublished":"2018-02-21T12:35:59+00:00","dateModified":"2023-08-09T09:02:21+00:00","description":"Use free openHABian software to transform your Raspberry Pi into a smart home system that\u2019s customised according to your needs. Build your Raspberry Pi Smart Home today!|Use free openHABian software to transform your Raspberry Pi into a smart home system that\u2019s customised according to your needs. Build your Raspberry Pi Smart Home today!","breadcrumb":{"@id":"https:\/\/www.reichelt.com\/magazin\/en\/projects\/first-steps-make-smart-home-raspberry-pi\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.reichelt.com\/magazin\/en\/projects\/first-steps-make-smart-home-raspberry-pi\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.reichelt.com\/magazin\/en\/projects\/first-steps-make-smart-home-raspberry-pi\/#primaryimage","url":"https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2018\/02\/Titel_RPi_Smarthome.png","contentUrl":"https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2018\/02\/Titel_RPi_Smarthome.png","width":1350,"height":400,"caption":"With the free openHABian software, you can transform your Raspberry Pi into a smart home system that you can design according to your wishes."},{"@type":"BreadcrumbList","@id":"https:\/\/www.reichelt.com\/magazin\/en\/projects\/first-steps-make-smart-home-raspberry-pi\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.reichelt.com\/magazin\/en\/"},{"@type":"ListItem","position":2,"name":"The first steps to make a Raspberry Pi Smart Home"}]},{"@type":"WebSite","@id":"https:\/\/www.reichelt.com\/magazin\/en\/#website","url":"https:\/\/www.reichelt.com\/magazin\/en\/","name":"reichelt Magazin","description":"Das Technik Magazin","publisher":{"@id":"https:\/\/www.reichelt.com\/magazin\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.reichelt.com\/magazin\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.reichelt.com\/magazin\/en\/#organization","name":"reichelt Magazin","url":"https:\/\/www.reichelt.com\/magazin\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.reichelt.com\/magazin\/en\/#\/schema\/logo\/image\/","url":"https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2021\/11\/reichelt_magazin_logo_de_nl-1.svg","contentUrl":"https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2021\/11\/reichelt_magazin_logo_de_nl-1.svg","width":456,"height":149,"caption":"reichelt Magazin"},"image":{"@id":"https:\/\/www.reichelt.com\/magazin\/en\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.reichelt.com\/magazin\/en\/#\/schema\/person\/54edf009d7730dbe36a83d3e9948e08f","name":"admin","sameAs":["https:\/\/magazin.reichelt.de\/magazin"]}]}},"_links":{"self":[{"href":"https:\/\/www.reichelt.com\/magazin\/en\/wp-json\/wp\/v2\/posts\/39861","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.reichelt.com\/magazin\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.reichelt.com\/magazin\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.reichelt.com\/magazin\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.reichelt.com\/magazin\/en\/wp-json\/wp\/v2\/comments?post=39861"}],"version-history":[{"count":5,"href":"https:\/\/www.reichelt.com\/magazin\/en\/wp-json\/wp\/v2\/posts\/39861\/revisions"}],"predecessor-version":[{"id":85413,"href":"https:\/\/www.reichelt.com\/magazin\/en\/wp-json\/wp\/v2\/posts\/39861\/revisions\/85413"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.reichelt.com\/magazin\/en\/wp-json\/wp\/v2\/media\/78852"}],"wp:attachment":[{"href":"https:\/\/www.reichelt.com\/magazin\/en\/wp-json\/wp\/v2\/media?parent=39861"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.reichelt.com\/magazin\/en\/wp-json\/wp\/v2\/categories?post=39861"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.reichelt.com\/magazin\/en\/wp-json\/wp\/v2\/tags?post=39861"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}