{"id":3124,"date":"2023-01-12T09:58:24","date_gmt":"2023-01-12T09:58:24","guid":{"rendered":"https:\/\/csiag.eu\/?p=3124"},"modified":"2023-01-20T17:52:11","modified_gmt":"2023-01-20T17:52:11","slug":"alarm-system-and-smarthome","status":"publish","type":"post","link":"https:\/\/csiag.eu\/en\/blog\/2023\/01\/12\/alarmanlage-und-smarthome\/","title":{"rendered":"Alarm system and SmartHome"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_83 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of contents<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/csiag.eu\/en\/blog\/2023\/01\/12\/alarmanlage-und-smarthome\/#Komponenten\" >Components<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/csiag.eu\/en\/blog\/2023\/01\/12\/alarmanlage-und-smarthome\/#Wo_ist_der_Einbrecher\" >Where is the burglar?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/csiag.eu\/en\/blog\/2023\/01\/12\/alarmanlage-und-smarthome\/#Einkaufsliste\" >Shopping List<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/csiag.eu\/en\/blog\/2023\/01\/12\/alarmanlage-und-smarthome\/#Software\" >software<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/csiag.eu\/en\/blog\/2023\/01\/12\/alarmanlage-und-smarthome\/#Software-Installation\" >Software installation<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/csiag.eu\/en\/blog\/2023\/01\/12\/alarmanlage-und-smarthome\/#Hardware-Installation\" >Hardware installation<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/csiag.eu\/en\/blog\/2023\/01\/12\/alarmanlage-und-smarthome\/#Anschlusse\" >connections<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/csiag.eu\/en\/blog\/2023\/01\/12\/alarmanlage-und-smarthome\/#Zugriff\" >access<\/a><\/li><\/ul><\/nav><\/div>\n<span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading time<\/span> <span class=\"rt-time\"> 3<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span>\n<p>The topics of alarm systems and SmartHome are often found together today. Whether Alexa wakes you up, reminds you of an appointment, turns down the heating when a window is open or you lock the door remotely, these are all actions of SmartHome technologies.<\/p>\n\n\n\n<p>So why not use SmartHome as an alarm system?!<\/p>\n\n\n\n<p>Whether a window contact controls the heating valve, initiates an email or activates a loudspeaker announcement ultimately remains the same.<br><br><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Komponenten\"><\/span>Components<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>What components do you need to implement an alarm system using SmartHome and how do you plan it?<\/p>\n\n\n\n<p>First, create a list of all the windows and doors that need to be monitored, including basement or roof windows.<\/p>\n\n\n\n<p>Then you think about whether a silent or acoustic\/visual alarm or cell phone notification should be triggered.<\/p>\n\n\n\n<p>If necessary, it makes sense to provide an emergency power supply in order to prevent sabotage, for example by short-circuiting the neutral and earth conductors in order to trigger the FI switch.<br><br><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Wo_ist_der_Einbrecher\"><\/span>Where is the burglar?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>If you are at home at the time of the uninvited visit, perhaps simply asleep in bed, you might want to know where the uninvited visitor is, if the worst comes to the worst.<\/p>\n\n\n\n<p>Motion detectors installed in the corner of the room near a window, opposite the room entrance door, are suitable for this purpose. So if he comes through a window, he has already been recognized and reported; if he comes through the door, he is also already detected as soon as he has noticed the motion detector.<\/p>\n\n\n\n<p>This makes it possible to track where the perpetrator is either on a cell phone, tablet or by email. After all, who wants to unexpectedly find themselves face to face with the person in their pajamas?!<br><br><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Einkaufsliste\"><\/span>Shopping List<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.amazon.de\/gp\/product\/B00LFLHZZ6\/ref=as_li_tl?ie=UTF8&amp;tag=csiag-21&amp;camp=1638&amp;creative=6742&amp;linkCode=as2&amp;creativeASIN=B00LFLHZZ6&amp;linkId=9b8a1c8fc7985aa66e222788b545d64a\" target=\"_blank\" rel=\"noreferrer noopener\">Window and door contacts<\/a> (optical, battery operation possible)<\/li>\n\n\n\n<li><a href=\"https:\/\/www.amazon.de\/gp\/product\/B00H7UICRO\/ref=as_li_tl?ie=UTF8&amp;tag=csiag-21&amp;camp=1638&amp;creative=6742&amp;linkCode=as2&amp;creativeASIN=B00H7UICRO&amp;linkId=0a359c4b66cd5ccd5330b3520cc59c07\" target=\"_blank\" rel=\"noreferrer noopener\">motion detector<\/a> (with crawl-under protection, battery operation possible)<\/li>\n\n\n\n<li><a href=\"https:\/\/www.amazon.de\/gp\/product\/B01KMRRHDS\/ref=as_li_tl?ie=UTF8&amp;tag=csiag-21&amp;camp=1638&amp;creative=6742&amp;linkCode=as2&amp;creativeASIN=B01KMRRHDS&amp;linkId=0bb47c78cc2fa6c2e73a54aa0e7a26f6\" target=\"_blank\" rel=\"noreferrer noopener\">speaker<\/a> as a siren, doorbell or status indicator (operated via 2x mono cells)<\/li>\n\n\n\n<li><a href=\"https:\/\/www.amazon.de\/gp\/product\/B01BI1L454\/ref=as_li_tl?ie=UTF8&amp;tag=csiag-21&amp;camp=1638&amp;creative=6742&amp;linkCode=as2&amp;creativeASIN=B01BI1L454&amp;linkId=1fdfb982a8eb7940aa83a3dda361e242\" target=\"_blank\" rel=\"noreferrer noopener\">Dialer<\/a> (Emergency call, 10 numbers each SMS \/ call)<\/li>\n\n\n\n<li><a href=\"https:\/\/www.amazon.de\/gp\/product\/B07TC2BK1X\/ref=as_li_tl?ie=UTF8&amp;tag=csiag-21&amp;camp=1638&amp;creative=6742&amp;linkCode=as2&amp;creativeASIN=B07TC2BK1X&amp;linkId=4f0c49faeeb7af7bf99d5aef7c5efdf5\" target=\"_blank\" rel=\"noreferrer noopener\">Raspberry Pi4<\/a> Model B<\/li>\n\n\n\n<li><a href=\"https:\/\/www.amazon.de\/gp\/product\/B07W4T5CCD\/ref=as_li_tl?ie=UTF8&amp;tag=csiag-21&amp;camp=1638&amp;creative=6742&amp;linkCode=as2&amp;creativeASIN=B07W4T5CCD&amp;linkId=fa830188617fc381e8acbf40627dd591\" target=\"_blank\" rel=\"noreferrer noopener\">Case for Raspberry Pi4<\/a> (incl. power supply)<\/li>\n\n\n\n<li><a href=\"https:\/\/www.amazon.de\/gp\/product\/B08GY9NYRM\/ref=as_li_tl?ie=UTF8&amp;tag=csiag-21&amp;camp=1638&amp;creative=6742&amp;linkCode=as2&amp;creativeASIN=B08GY9NYRM&amp;linkId=5daf2326f69c792e116a07d35bb8af90\" target=\"_blank\" rel=\"noreferrer noopener\">SD card 32GB<\/a> for Raspberry Pi4<\/li>\n\n\n\n<li><a href=\"https:\/\/homematic-guru.de\/produkt\/homematic-funkmodul-fuer-raspberry-pi-fertiggeraet\" target=\"_blank\" rel=\"noreferrer noopener\">Homematic transmitter module<\/a> for the RaspberryPi (finished device, not a kit!)<\/li>\n\n\n\n<li><a style=\"\" href=\"https:\/\/www.amazon.de\/gp\/product\/B006VWYD40\/ref=as_li_tl?ie=UTF8&amp;tag=csiag-21&amp;camp=1638&amp;creative=6742&amp;linkCode=as2&amp;creativeASIN=B006VWYD40&amp;linkId=30aaa9dcd983e1b1f608693e9ed9bc55\" target=\"_blank\" rel=\"noreferrer noopener\">Emergency power supply<\/a> APC 900 VA (UPS for Raspberry Pi4, dialer, etc.)<br><br><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Software\"><\/span>software<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>In order to be able to put all components into operation, you still need the constantly updated RaspberryMatic software from Jens Maus in the current version for the Raspberry Pi4. This can be downloaded for free <a href=\"https:\/\/raspberrymatic.de\/de\/home\/\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a> receive.<\/p>\n\n\n\n<p>Clicking on the Download button leads to the download overview. You can find the section below <em>Download<\/em> and the different versions available. The version required is the one for <em>Raspberry Pi4 Model B<\/em>, which is provided in the form of a ZIP file.<\/p>\n\n\n\n<p>Additional software to create the image file for the SD card is required and will be <a href=\"https:\/\/www.balena.io\/etcher\/\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a> for Windows and <a href=\"https:\/\/www.tweaking4all.com\/hardware\/raspberry-pi\/applepi-baker-v2\/\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a> also available for download free of charge for Mac OS.<br><br><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Software-Installation\"><\/span>Software installation<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>The installation via one of the two imagers is self-explanatory. First you select the image file (included in the ZIP file), then you select the SD card to which the image should be copied, finally you start the copying process and wait until the image is written to the SD card and it was ejected.<\/p>\n\n\n\n<p>The image contains the boot partition and the RaspiMatic program, through which all of the above components can be integrated, managed and programs created.<\/p>\n\n\n\n<p>The SD card is now pushed into the SD card slot of the Raspberry Pi4, with the contacts facing the board until it clicks into place.<br><br><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Hardware-Installation\"><\/span>Hardware installation<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>The Raspberry Pi4 circuit board is installed in the housing and the Homematic radio module is plugged flush into the front of the Raspberry Pi4 post strip.<\/p>\n\n\n\n<p>The fan supplied with the case is screwed onto the top cover of the case from the outside so that it transports the air out of the Raspberry Pi4.<\/p>\n\n\n\n<p>The plugs of the fan connection cable are cut off directly above the plugs. The cable ends are stripped of about two millimeters of insulation and tinned. Before ventilation, both cables are routed inside through the narrow housing cover slot. The black antenna cable finds its way out the same way, or more elegantly via a 2 mm hole in the bottom right corner of the fan housing.<\/p>\n\n\n\n<p>The red cable is soldered to pin 1 + 3.3 V (the first internal pin) on the radio module, and the black cable is soldered to pin 6 - ground (the fourth external pin). This is seen from the SD card slot.<br><br><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Anschlusse\"><\/span>connections<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>For commissioning, only the power supply cable and the network cable need to be connected. After switching on the cable switch coming from the power supply, the Raspberry Pi4 boots, which can be seen by the red and green flashing status LED of the Raspberry Pi4.<br><br><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Zugriff\"><\/span>access<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>The Raspberry Pi4 starts in DHCP mode, which means the IP address is assigned by the router. The assigned IP must first be found on the router&#039;s website and then entered in the address bar in the browser.<\/p>","protected":false},"excerpt":{"rendered":"<p><span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading time<\/span> <span class=\"rt-time\"> 3<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span>Die Themen Alarmanlage und SmartHome sind heute oft gemeinsam anzutreffen. Ob Alexa einen weckt, an einen Termin erinnert, ein ge\u00f6ffnetes Fenster die Heizung herunter regelt oder man aus der Ferne die T\u00fcre zuschlie\u00dft, all dies sind Aktionen von SmartHome-Technologien. Warum also nicht SmartHome auch als Alarmanlage einsetzen?! Ob ein Fensterkontakt das Heizungsventil ansteuert, eine Mail&hellip;&nbsp;<a href=\"https:\/\/csiag.eu\/en\/blog\/2023\/01\/12\/alarmanlage-und-smarthome\/\" rel=\"bookmark\">Read More \"<span class=\"screen-reader-text\">Alarm system and SmartHome<\/span><\/a><\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","footnotes":""},"categories":[901,346],"tags":[942,947,951,946,950,943,844,948,955,944,549,952,949,471,370,954,945,953],"class_list":["post-3124","post","type-post","status-publish","format-standard","hentry","category-alarmanlage","category-smarthome","tag-alarmanlage","tag-benachrichtigung","tag-bewegungsmelder","tag-dachfenster","tag-einbrecher","tag-fensterkontakt","tag-fi-schalter","tag-handy","tag-hardware","tag-heizungsventil","tag-lautsprecher","tag-mail","tag-notstromversorgung","tag-raspberry-pi","tag-smarthome","tag-software","tag-tuere","tag-waehlgeraet"],"modified_by":"Achim Goerner","_links":{"self":[{"href":"https:\/\/csiag.eu\/en\/wp-json\/wp\/v2\/posts\/3124","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/csiag.eu\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/csiag.eu\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/csiag.eu\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/csiag.eu\/en\/wp-json\/wp\/v2\/comments?post=3124"}],"version-history":[{"count":0,"href":"https:\/\/csiag.eu\/en\/wp-json\/wp\/v2\/posts\/3124\/revisions"}],"wp:attachment":[{"href":"https:\/\/csiag.eu\/en\/wp-json\/wp\/v2\/media?parent=3124"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/csiag.eu\/en\/wp-json\/wp\/v2\/categories?post=3124"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/csiag.eu\/en\/wp-json\/wp\/v2\/tags?post=3124"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}