{"id":5847,"date":"2014-11-30T12:47:02","date_gmt":"2014-11-30T11:47:02","guid":{"rendered":"http:\/\/www.gsm-modem.de\/M2M\/?p=5847"},"modified":"2014-11-30T12:47:02","modified_gmt":"2014-11-30T11:47:02","slug":"bluetooth-low-energy-ble-in-home-automation","status":"publish","type":"post","link":"http:\/\/www.gsm-modem.de\/M2M\/m2m-componets\/bluetooth-low-energy-ble-in-home-automation\/","title":{"rendered":"Bluetooth Low Energy &#8211; BLE &#8211; in home automation"},"content":{"rendered":"<h1 class=\"Normal\">Question about Bluetooth Low Energy (BLE) in home automation to me:<\/h1>\n<p class=\"Normal\"><strong>Q:<\/strong> I&#8217;m working for an IoT start-up and we are looking at BT 4.0 for communication in home automation. We would really like to know about your opinion about BT 4.0, while we have ZigBee and other protocols for home automation, I feel the low power utilization and mesh topology support really favours BT. I would like to know what according to you would be the limitations of BT on a home automation set-up. I understand that there are no theoretical limitations when it comes to number of clients that can connect to a server. But I&#8217;ve read the hardware may enforce some limits. Would it be possible to connect 15-20 clients to a server? If we are not going for a mesh network.<br \/>\nI see that you have iBeacons. Have you tried a scale scenario, what was the maximum number of clients that you were able to connect to a single server?<\/p>\n<div id=\"attachment_5472\" style=\"width: 257px\" class=\"wp-caption alignleft\"><a href=\"http:\/\/www.gsm-modem.de\/M2M\/.\/wp-content\/uploads\/2014\/05\/Bluetooth-low-energy-beacon-at-smart-home_.jpg\"><img aria-describedby=\"caption-attachment-5472\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-5472 \" src=\"http:\/\/www.gsm-modem.de\/M2M\/.\/wp-content\/uploads\/2014\/05\/Bluetooth-low-energy-beacon-at-smart-home_-400x274.jpg\" alt=\"Home Automation system on Bluetooth 4.1\" width=\"247\" height=\"169\" srcset=\"http:\/\/www.gsm-modem.de\/M2M\/.\/wp-content\/uploads\/2014\/05\/Bluetooth-low-energy-beacon-at-smart-home_-400x274.jpg 400w, http:\/\/www.gsm-modem.de\/M2M\/.\/wp-content\/uploads\/2014\/05\/Bluetooth-low-energy-beacon-at-smart-home_-1024x702.jpg 1024w, http:\/\/www.gsm-modem.de\/M2M\/.\/wp-content\/uploads\/2014\/05\/Bluetooth-low-energy-beacon-at-smart-home_.jpg 1095w\" sizes=\"(max-width: 247px) 100vw, 247px\" \/><\/a><p id=\"caption-attachment-5472\" class=\"wp-caption-text\">Home Automation system on Bluetooth 4.1<\/p><\/div>\n<p class=\"Normal\"><strong>A:<\/strong> There is no limitation at your server. Google and Amazon will offer you nearly endless power. If it comes to a home automation (non cloud) at your home, then a customised Android TV box can do the job as well. BLE covers a secure bonded connection and a non secure broadcasted connection. The iBeacon and other BLE beacon are broadcaster. Everybody can listen to. Nevertheless, for some applications the BLE broadcaster is perfect. The range of a BLE beacon is limited. The BLE beacon here offers up to 150 meter in line-of-sight. If it comes to home automation line-of-sight will be reduced to some meters because we have walls at home. The smart phone or a BLE beacon in your pocket will get an attenuation by the human body. On top smart phones often have worst antenna technologies in comparison to the BLE beacons. A smart-phone or a BLE device working in central mode has a limited number of bonded connections. A BLE module in central mode offers 3 to 8 and a smart-phone up to 15. It is aways a matter of RAM and the operating system.<\/p>\n<p class=\"Normal\">BLE at home will need some kind of BLE to other wireless technology gateway. The most common wireless technology at homes is Wi-Fi.<\/p>\n<h2 class=\"Normal\">List of wireless gateways for home automation<\/h2>\n<ul type=\"disc\">\n<li class=\"Normal\">Wi-Fi-BLE gateway<\/li>\n<li class=\"Normal\">Z-Wave-BLE gateway<\/li>\n<li class=\"Normal\">Enocean-BLE gateway<\/li>\n<li class=\"Normal\">Meshed Net on 868\/915 MHz-BLE gateway<\/li>\n<li class=\"Normal\">Wireless KNX-BLE gateway<\/li>\n<li class=\"Normal\">ZigBee-BLE gateway<\/li>\n<\/ul>\n<p class=\"Normal\">Let us go ahead for an example to a home automation on a combination of Wi-Fi and BLE.<\/p>\n<h2 class=\"Normal\">Wi-Fi-BLE gateway<\/h2>\n<p class=\"Normal\">Such a Wi-Fi &#8211; BLE gateway can be designed easily and cheap on a combined Wi-Fi-BLE module.<\/p>\n<h2 class=\"Normal\">BLE clients<\/h2>\n<p class=\"Normal\">The BLE client could be the BLE beacon in your pocket or at your wall up to your smart-phone or tablet.<\/p>\n<h2 class=\"Normal\">Wi-Fi server on Android TV box<\/h2>\n<p class=\"Normal\">The cheapest server you can get is a ready-to-use Android TV box. On several boxes you can run a Linux as well. If you stay on Android, then a bulk of services and apps is available.<\/p>\n<h1 class=\"Normal\">Examples for BLE clients in home automation<\/h1>\n<h2 class=\"Normal\">Temperature sensor on BLE<\/h2>\n<div id=\"attachment_5689\" style=\"width: 258px\" class=\"wp-caption alignleft\"><a href=\"http:\/\/www.gsm-modem.de\/M2M\/.\/wp-content\/uploads\/2014\/09\/Bluetooth-Low-Energy-mounting-bracket.png\"><img aria-describedby=\"caption-attachment-5689\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-5689 size-full\" src=\"http:\/\/www.gsm-modem.de\/M2M\/.\/wp-content\/uploads\/2014\/09\/Bluetooth-Low-Energy-mounting-bracket.png\" alt=\"BLE beacon will wall mounted bracket\" width=\"248\" height=\"271\" \/><\/a><p id=\"caption-attachment-5689\" class=\"wp-caption-text\">BLE beacon will wall mounted bracket<\/p><\/div>\n<p class=\"Normal\">Temperature sensors are a common hardware in home automation. If a BLE beacon will broadcast the temperature at the living room and outside at the veranda then the delta of the temperature can be used to optimise the heating or the air condition.<\/p>\n<h2 class=\"Normal\">Presence detection on BLE<\/h2>\n<p class=\"Normal\">Each Wi-Fi to BLE gateway can be used for presence detection. Any BLE beacon has a unique ID. A BLE beacon at a key-fob or the smart-phone on broadcasting can be used to detect which user is staying in which room. This information is useful to power on or off the light, to regulate the temperature in a room or to start the streaming of the music you like. Each BLE beacon in a pocket can be used to control your car as well.<\/p>\n<h2 class=\"Normal\">Light control on BLE<\/h2>\n<div id=\"attachment_5690\" style=\"width: 220px\" class=\"wp-caption alignleft\"><a href=\"http:\/\/www.gsm-modem.de\/M2M\/.\/wp-content\/uploads\/2014\/09\/Bluetooth-Low-Energy-key-fob.png\"><img aria-describedby=\"caption-attachment-5690\" decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-5690\" src=\"http:\/\/www.gsm-modem.de\/M2M\/.\/wp-content\/uploads\/2014\/09\/Bluetooth-Low-Energy-key-fob.png\" alt=\"BLE key fob\" width=\"210\" height=\"270\" \/><\/a><p id=\"caption-attachment-5690\" class=\"wp-caption-text\">BLE key fob<\/p><\/div>\n<p class=\"Normal\">Indirect light at cabinets are common. They are often on prosperity wireless radio protocols. If this will be replaced to BLE, then the light at the cabinet can be controlled by smart-phone or tablet.<\/p>\n<h2 class=\"Normal\">Recommend kit for home automation (minimum version)<\/h2>\n<ul type=\"disc\">\n<li class=\"Normal\">Evaluation kit with five BLE beacons with programming cable and C-Complier<\/li>\n<li class=\"Normal\">Evaluation kit with Wi-Fi &#8211; BLE module<\/li>\n<\/ul>\n<p class=\"Normal\"><strong>\u00a0Extensions<\/strong><\/p>\n<ul type=\"disc\">\n<li class=\"Normal\">Evaluation kit with BLE module with HCI interface<\/li>\n<li class=\"Normal\">Evaluation kit with BLE module and ARM Cortex M0<\/li>\n<\/ul>\n<h2 class=\"Normal\">\u00a0More about Bluetooth Low Energy<\/h2>\n<ul type=\"disc\">\n<li class=\"Normal\"><a title=\"iBeacon versus Bluetooth Low Energy Beacons\" href=\"http:\/\/www.gsm-modem.de\/M2M\/iot-m2m-tools\/ibeacon-vers-bluetooth-low-energy-beacon\/\">iBeacon versus Bluetooth Low Energy Beacon<\/a><\/li>\n<li class=\"Normal\"><a title=\"Bluetooth Low Energy \/ BLE beacons\" href=\"http:\/\/www.gsm-modem.de\/M2M\/m2m-apps\/bluetooth-low-energy-beacon-2\/\">Bluetooth Low Energy Beacon &#8211; three different versions<\/a><\/li>\n<li class=\"Normal\"><a title=\"Bluetooth Low Energy \/ BLE at this blog\" href=\"http:\/\/www.gsm-modem.de\/M2M\/?s=%23BLE\">More about BLE at this blo<\/a>g<\/li>\n<\/ul>\n<p class=\"Normal\">If you plan to develop an home automation application then do not hesitate to email to harald.naumann(at)gsm-modem.de to get an offer on Wi-FI \/ BLE or any other radio technology.<\/p>\n<p>#BLE<\/p>\n<div class=\"shariff shariff-align-left shariff-widget-align-left\"><ul class=\"shariff-buttons theme-default orientation-horizontal buttonsize-small\"><li class=\"shariff-button twitter shariff-nocustomcolor\" style=\"background-color:#595959\"><a href=\"https:\/\/twitter.com\/share?url=http%3A%2F%2Fwww.gsm-modem.de%2FM2M%2Fm2m-componets%2Fbluetooth-low-energy-ble-in-home-automation%2F&text=Bluetooth%20Low%20Energy%20%E2%80%93%20BLE%20%E2%80%93%20in%20home%20automation\" title=\"Share on X\" aria-label=\"Share on X\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#000; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\"><path fill=\"#000\" d=\"M14.258 10.152L23.176 0h-2.113l-7.747 8.813L7.133 0H0l9.352 13.328L0 23.973h2.113l8.176-9.309 6.531 9.309h7.133zm-2.895 3.293l-.949-1.328L2.875 1.56h3.246l6.086 8.523.945 1.328 7.91 11.078h-3.246zm0 0\"\/><\/svg><\/span><span class=\"shariff-text\">share<\/span>&nbsp;<\/a><\/li><li class=\"shariff-button facebook shariff-nocustomcolor\" style=\"background-color:#4273c8\"><a href=\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=http%3A%2F%2Fwww.gsm-modem.de%2FM2M%2Fm2m-componets%2Fbluetooth-low-energy-ble-in-home-automation%2F\" title=\"Share on Facebook\" aria-label=\"Share on Facebook\" role=\"button\" rel=\"nofollow\" class=\"shariff-link\" style=\"; background-color:#3b5998; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 18 32\"><path fill=\"#3b5998\" d=\"M17.1 0.2v4.7h-2.8q-1.5 0-2.1 0.6t-0.5 1.9v3.4h5.2l-0.7 5.3h-4.5v13.6h-5.5v-13.6h-4.5v-5.3h4.5v-3.9q0-3.3 1.9-5.2t5-1.8q2.6 0 4.1 0.2z\"\/><\/svg><\/span><span class=\"shariff-text\">share<\/span>&nbsp;<\/a><\/li><li class=\"shariff-button linkedin shariff-nocustomcolor\" style=\"background-color:#1488bf\"><a href=\"https:\/\/www.linkedin.com\/sharing\/share-offsite\/?url=http%3A%2F%2Fwww.gsm-modem.de%2FM2M%2Fm2m-componets%2Fbluetooth-low-energy-ble-in-home-automation%2F\" title=\"Share on LinkedIn\" aria-label=\"Share on LinkedIn\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#0077b5; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 27 32\"><path fill=\"#0077b5\" d=\"M6.2 11.2v17.7h-5.9v-17.7h5.9zM6.6 5.7q0 1.3-0.9 2.2t-2.4 0.9h0q-1.5 0-2.4-0.9t-0.9-2.2 0.9-2.2 2.4-0.9 2.4 0.9 0.9 2.2zM27.4 18.7v10.1h-5.9v-9.5q0-1.9-0.7-2.9t-2.3-1.1q-1.1 0-1.9 0.6t-1.2 1.5q-0.2 0.5-0.2 1.4v9.9h-5.9q0-7.1 0-11.6t0-5.3l0-0.9h5.9v2.6h0q0.4-0.6 0.7-1t1-0.9 1.6-0.8 2-0.3q3 0 4.9 2t1.9 6z\"\/><\/svg><\/span><span class=\"shariff-text\">share<\/span>&nbsp;<\/a><\/li><li class=\"shariff-button mailto shariff-nocustomcolor\" style=\"background-color:#a8a8a8\"><a href=\"mailto:?body=http%3A%2F%2Fwww.gsm-modem.de%2FM2M%2Fm2m-componets%2Fbluetooth-low-energy-ble-in-home-automation%2F&subject=Bluetooth%20Low%20Energy%20%E2%80%93%20BLE%20%E2%80%93%20in%20home%20automation\" title=\"Send by email\" aria-label=\"Send by email\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#999; color:#fff\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 32 32\"><path fill=\"#999\" d=\"M32 12.7v14.2q0 1.2-0.8 2t-2 0.9h-26.3q-1.2 0-2-0.9t-0.8-2v-14.2q0.8 0.9 1.8 1.6 6.5 4.4 8.9 6.1 1 0.8 1.6 1.2t1.7 0.9 2 0.4h0.1q0.9 0 2-0.4t1.7-0.9 1.6-1.2q3-2.2 8.9-6.1 1-0.7 1.8-1.6zM32 7.4q0 1.4-0.9 2.7t-2.2 2.2q-6.7 4.7-8.4 5.8-0.2 0.1-0.7 0.5t-1 0.7-0.9 0.6-1.1 0.5-0.9 0.2h-0.1q-0.4 0-0.9-0.2t-1.1-0.5-0.9-0.6-1-0.7-0.7-0.5q-1.6-1.1-4.7-3.2t-3.6-2.6q-1.1-0.7-2.1-2t-1-2.5q0-1.4 0.7-2.3t2.1-0.9h26.3q1.2 0 2 0.8t0.9 2z\"\/><\/svg><\/span><span class=\"shariff-text\">email<\/span>&nbsp;<\/a><\/li><li class=\"shariff-button whatsapp shariff-nocustomcolor\" style=\"background-color:#5cbe4a\"><a href=\"https:\/\/api.whatsapp.com\/send?text=http%3A%2F%2Fwww.gsm-modem.de%2FM2M%2Fm2m-componets%2Fbluetooth-low-energy-ble-in-home-automation%2F%20Bluetooth%20Low%20Energy%20%E2%80%93%20BLE%20%E2%80%93%20in%20home%20automation\" title=\"Share on Whatsapp\" aria-label=\"Share on Whatsapp\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#34af23; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 32 32\"><path fill=\"#34af23\" d=\"M17.6 17.4q0.2 0 1.7 0.8t1.6 0.9q0 0.1 0 0.3 0 0.6-0.3 1.4-0.3 0.7-1.3 1.2t-1.8 0.5q-1 0-3.4-1.1-1.7-0.8-3-2.1t-2.6-3.3q-1.3-1.9-1.3-3.5v-0.1q0.1-1.6 1.3-2.8 0.4-0.4 0.9-0.4 0.1 0 0.3 0t0.3 0q0.3 0 0.5 0.1t0.3 0.5q0.1 0.4 0.6 1.6t0.4 1.3q0 0.4-0.6 1t-0.6 0.8q0 0.1 0.1 0.3 0.6 1.3 1.8 2.4 1 0.9 2.7 1.8 0.2 0.1 0.4 0.1 0.3 0 1-0.9t0.9-0.9zM14 26.9q2.3 0 4.3-0.9t3.6-2.4 2.4-3.6 0.9-4.3-0.9-4.3-2.4-3.6-3.6-2.4-4.3-0.9-4.3 0.9-3.6 2.4-2.4 3.6-0.9 4.3q0 3.6 2.1 6.6l-1.4 4.2 4.3-1.4q2.8 1.9 6.2 1.9zM14 2.2q2.7 0 5.2 1.1t4.3 2.9 2.9 4.3 1.1 5.2-1.1 5.2-2.9 4.3-4.3 2.9-5.2 1.1q-3.5 0-6.5-1.7l-7.4 2.4 2.4-7.2q-1.9-3.2-1.9-6.9 0-2.7 1.1-5.2t2.9-4.3 4.3-2.9 5.2-1.1z\"\/><\/svg><\/span><span class=\"shariff-text\">share<\/span>&nbsp;<\/a><\/li><li class=\"shariff-button rss shariff-nocustomcolor\" style=\"background-color:#ff8c00\"><a href=\"http:\/\/www.gsm-modem.de\/M2M\/feed\/rss\/\" title=\"RSS feed\" aria-label=\"RSS feed\" role=\"button\" class=\"shariff-link\" style=\"; background-color:#fe9312; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 32 32\"><path fill=\"#fe9312\" d=\"M4.3 23.5c-2.3 0-4.3 1.9-4.3 4.3 0 2.3 1.9 4.2 4.3 4.2 2.4 0 4.3-1.9 4.3-4.2 0-2.3-1.9-4.3-4.3-4.3zM0 10.9v6.1c4 0 7.7 1.6 10.6 4.4 2.8 2.8 4.4 6.6 4.4 10.6h6.2c0-11.7-9.5-21.1-21.1-21.1zM0 0v6.1c14.2 0 25.8 11.6 25.8 25.9h6.2c0-17.6-14.4-32-32-32z\"\/><\/svg><\/span><span class=\"shariff-text\">RSS feed<\/span>&nbsp;<\/a><\/li><\/ul><\/div>","protected":false},"excerpt":{"rendered":"<p>Question about Bluetooth Low Energy (BLE) in home automation to me: Q: I&#8217;m working for an IoT start-up and we are looking at BT 4.0 for communication in home automation. We would really like to know about your opinion about BT 4.0, while we have ZigBee and other protocols for home automation, I feel the [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":5472,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"footnotes":""},"categories":[24],"tags":[31,40],"aioseo_notices":[],"_links":{"self":[{"href":"http:\/\/www.gsm-modem.de\/M2M\/wp-json\/wp\/v2\/posts\/5847"}],"collection":[{"href":"http:\/\/www.gsm-modem.de\/M2M\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.gsm-modem.de\/M2M\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.gsm-modem.de\/M2M\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.gsm-modem.de\/M2M\/wp-json\/wp\/v2\/comments?post=5847"}],"version-history":[{"count":3,"href":"http:\/\/www.gsm-modem.de\/M2M\/wp-json\/wp\/v2\/posts\/5847\/revisions"}],"predecessor-version":[{"id":5851,"href":"http:\/\/www.gsm-modem.de\/M2M\/wp-json\/wp\/v2\/posts\/5847\/revisions\/5851"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.gsm-modem.de\/M2M\/wp-json\/wp\/v2\/media\/5472"}],"wp:attachment":[{"href":"http:\/\/www.gsm-modem.de\/M2M\/wp-json\/wp\/v2\/media?parent=5847"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.gsm-modem.de\/M2M\/wp-json\/wp\/v2\/categories?post=5847"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.gsm-modem.de\/M2M\/wp-json\/wp\/v2\/tags?post=5847"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}