{"id":83,"date":"2021-09-01T14:17:26","date_gmt":"2021-09-01T14:17:26","guid":{"rendered":"https:\/\/www.bleuio.com\/blog\/?p=83"},"modified":"2022-01-24T14:47:03","modified_gmt":"2022-01-24T14:47:03","slug":"location-analysis-using-bluetooth-low-energy","status":"publish","type":"post","link":"https:\/\/www.bleuio.com\/blog\/location-analysis-using-bluetooth-low-energy\/","title":{"rendered":"Location analysis using Bluetooth Low Energy"},"content":{"rendered":"\n<p>Distance to a Bluetooth device can be measured using RSSI value. The following script will help you locate nearby unique BLE devices within a selected range.<\/p>\n\n\n\n<p>This script scans for nearby unique Bluetooth devices within the given range using a well-known RSSI to distance formula.&nbsp;<\/p>\n\n\n\n<p><strong>Requirments<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>You need to have a BLE USB dongle BleuIO&nbsp;<a target=\"_blank\" href=\"https:\/\/www.bleuio.com\/\" rel=\"noreferrer noopener\">https:\/\/www.bleuio.com\/<\/a><\/li><li>To run the script, you need a web application bundler. You can use parceljs.&nbsp;<a target=\"_blank\" href=\"https:\/\/parceljs.org\/getting_started.html\" rel=\"noreferrer noopener\">https:\/\/parceljs.org\/getting_started.html<\/a><\/li><\/ul>\n\n\n\n<p><strong>Instructions<\/strong><\/p>\n\n\n\n<p>git clone https:\/\/github.com\/smart-sensor-devices-ab\/device_within_range.git<\/p>\n\n\n\n<p>Go inside the folder type in terminal<\/p>\n\n\n\n<p>parcel index.html<\/p>\n\n\n\n<p>The script will scan for five seconds for nearby devices within range. You can update the value based on your requirements.<\/p>\n\n\n\n<p>You can also run this script from online at<\/p>\n\n\n\n<figure class=\"wp-block-embed\"><div class=\"wp-block-embed__wrapper\">\nhttps:\/\/smart-sensor-devices-ab.github.io\/device_within_range\/dist\/index.html\n<\/div><\/figure>\n\n\n\n<p>**<em>Make sure your BleuIO dongle is connected<\/em><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/smartsensordevices.com\/wp-content\/uploads\/2021\/09\/image.png\" alt=\"\" class=\"wp-image-1248\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/smartsensordevices.com\/wp-content\/uploads\/2021\/09\/image-1-1024x660.png\" alt=\"\" class=\"wp-image-1250\"\/><\/figure>\n\n\n\n<p>Read more about how to calculate the distance<a href=\"https:\/\/iotandelectronics.wordpress.com\/2016\/10\/07\/how-to-calculate-distance-from-the-rssi-value-of-the-ble-beacon\/\">How to Calculate Distance from the RSSI value of the BLE&nbsp;Beacon<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Distance to a Bluetooth device can be measured using RSSI value. The following script will help you locate nearby unique BLE devices within a selected range. This script scans for nearby unique Bluetooth devices within the given range using a well-known RSSI to distance formula.&nbsp; Requirments You need to have a BLE USB dongle BleuIO&nbsp;https:\/\/www.bleuio.com\/ [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":84,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,2],"tags":[],"class_list":["post-83","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-bleuio","category-bleuio-tutorial"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Location analysis using Bluetooth Low Energy - BleuIO - Create Bluetooth Low Energy application<\/title>\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.bleuio.com\/blog\/location-analysis-using-bluetooth-low-energy\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Location analysis using Bluetooth Low Energy - BleuIO - Create Bluetooth Low Energy application\" \/>\n<meta property=\"og:description\" content=\"Distance to a Bluetooth device can be measured using RSSI value. The following script will help you locate nearby unique BLE devices within a selected range. This script scans for nearby unique Bluetooth devices within the given range using a well-known RSSI to distance formula.&nbsp; Requirments You need to have a BLE USB dongle BleuIO&nbsp;https:\/\/www.bleuio.com\/ [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.bleuio.com\/blog\/location-analysis-using-bluetooth-low-energy\/\" \/>\n<meta property=\"og:site_name\" content=\"BleuIO - Create Bluetooth Low Energy application\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-01T14:17:26+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-01-24T14:47:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.bleuio.com\/blog\/wp-content\/uploads\/2022\/01\/device.png\" \/>\n\t<meta property=\"og:image:width\" content=\"700\" \/>\n\t<meta property=\"og:image:height\" content=\"425\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"BleuIO\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/location-analysis-using-bluetooth-low-energy\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/location-analysis-using-bluetooth-low-energy\\\/\"},\"author\":{\"name\":\"BleuIO\",\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/#\\\/schema\\\/person\\\/89bc581382d5964043f96efc54b75b80\"},\"headline\":\"Location analysis using Bluetooth Low Energy\",\"datePublished\":\"2021-09-01T14:17:26+00:00\",\"dateModified\":\"2022-01-24T14:47:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/location-analysis-using-bluetooth-low-energy\\\/\"},\"wordCount\":176,\"image\":{\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/location-analysis-using-bluetooth-low-energy\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/device.png\",\"articleSection\":[\"BleuIO\",\"BleuIO tutorial\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/location-analysis-using-bluetooth-low-energy\\\/\",\"url\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/location-analysis-using-bluetooth-low-energy\\\/\",\"name\":\"Location analysis using Bluetooth Low Energy - BleuIO - Create Bluetooth Low Energy application\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/location-analysis-using-bluetooth-low-energy\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/location-analysis-using-bluetooth-low-energy\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/device.png\",\"datePublished\":\"2021-09-01T14:17:26+00:00\",\"dateModified\":\"2022-01-24T14:47:03+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/#\\\/schema\\\/person\\\/89bc581382d5964043f96efc54b75b80\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/location-analysis-using-bluetooth-low-energy\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/location-analysis-using-bluetooth-low-energy\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/location-analysis-using-bluetooth-low-energy\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/device.png\",\"contentUrl\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/device.png\",\"width\":700,\"height\":425,\"caption\":\"Location analysis using Bluetooth Low Energy\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/location-analysis-using-bluetooth-low-energy\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Location analysis using Bluetooth Low Energy\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/\",\"name\":\"BleuIO - Create Bluetooth Low Energy application\",\"description\":\"Learn Bluetooth Low Energy programming and build Bluetooth Low Energy Application\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/#\\\/schema\\\/person\\\/89bc581382d5964043f96efc54b75b80\",\"name\":\"BleuIO\",\"sameAs\":[\"https:\\\/\\\/www.bleuio.com\\\/blog\"],\"url\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/author\\\/biadmin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Location analysis using Bluetooth Low Energy - BleuIO - Create Bluetooth Low Energy application","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.bleuio.com\/blog\/location-analysis-using-bluetooth-low-energy\/","og_locale":"en_US","og_type":"article","og_title":"Location analysis using Bluetooth Low Energy - BleuIO - Create Bluetooth Low Energy application","og_description":"Distance to a Bluetooth device can be measured using RSSI value. The following script will help you locate nearby unique BLE devices within a selected range. This script scans for nearby unique Bluetooth devices within the given range using a well-known RSSI to distance formula.&nbsp; Requirments You need to have a BLE USB dongle BleuIO&nbsp;https:\/\/www.bleuio.com\/ [&hellip;]","og_url":"https:\/\/www.bleuio.com\/blog\/location-analysis-using-bluetooth-low-energy\/","og_site_name":"BleuIO - Create Bluetooth Low Energy application","article_published_time":"2021-09-01T14:17:26+00:00","article_modified_time":"2022-01-24T14:47:03+00:00","og_image":[{"width":700,"height":425,"url":"https:\/\/www.bleuio.com\/blog\/wp-content\/uploads\/2022\/01\/device.png","type":"image\/png"}],"author":"BleuIO","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.bleuio.com\/blog\/location-analysis-using-bluetooth-low-energy\/#article","isPartOf":{"@id":"https:\/\/www.bleuio.com\/blog\/location-analysis-using-bluetooth-low-energy\/"},"author":{"name":"BleuIO","@id":"https:\/\/www.bleuio.com\/blog\/#\/schema\/person\/89bc581382d5964043f96efc54b75b80"},"headline":"Location analysis using Bluetooth Low Energy","datePublished":"2021-09-01T14:17:26+00:00","dateModified":"2022-01-24T14:47:03+00:00","mainEntityOfPage":{"@id":"https:\/\/www.bleuio.com\/blog\/location-analysis-using-bluetooth-low-energy\/"},"wordCount":176,"image":{"@id":"https:\/\/www.bleuio.com\/blog\/location-analysis-using-bluetooth-low-energy\/#primaryimage"},"thumbnailUrl":"https:\/\/www.bleuio.com\/blog\/wp-content\/uploads\/2022\/01\/device.png","articleSection":["BleuIO","BleuIO tutorial"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.bleuio.com\/blog\/location-analysis-using-bluetooth-low-energy\/","url":"https:\/\/www.bleuio.com\/blog\/location-analysis-using-bluetooth-low-energy\/","name":"Location analysis using Bluetooth Low Energy - BleuIO - Create Bluetooth Low Energy application","isPartOf":{"@id":"https:\/\/www.bleuio.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.bleuio.com\/blog\/location-analysis-using-bluetooth-low-energy\/#primaryimage"},"image":{"@id":"https:\/\/www.bleuio.com\/blog\/location-analysis-using-bluetooth-low-energy\/#primaryimage"},"thumbnailUrl":"https:\/\/www.bleuio.com\/blog\/wp-content\/uploads\/2022\/01\/device.png","datePublished":"2021-09-01T14:17:26+00:00","dateModified":"2022-01-24T14:47:03+00:00","author":{"@id":"https:\/\/www.bleuio.com\/blog\/#\/schema\/person\/89bc581382d5964043f96efc54b75b80"},"breadcrumb":{"@id":"https:\/\/www.bleuio.com\/blog\/location-analysis-using-bluetooth-low-energy\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.bleuio.com\/blog\/location-analysis-using-bluetooth-low-energy\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bleuio.com\/blog\/location-analysis-using-bluetooth-low-energy\/#primaryimage","url":"https:\/\/www.bleuio.com\/blog\/wp-content\/uploads\/2022\/01\/device.png","contentUrl":"https:\/\/www.bleuio.com\/blog\/wp-content\/uploads\/2022\/01\/device.png","width":700,"height":425,"caption":"Location analysis using Bluetooth Low Energy"},{"@type":"BreadcrumbList","@id":"https:\/\/www.bleuio.com\/blog\/location-analysis-using-bluetooth-low-energy\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.bleuio.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Location analysis using Bluetooth Low Energy"}]},{"@type":"WebSite","@id":"https:\/\/www.bleuio.com\/blog\/#website","url":"https:\/\/www.bleuio.com\/blog\/","name":"BleuIO - Create Bluetooth Low Energy application","description":"Learn Bluetooth Low Energy programming and build Bluetooth Low Energy Application","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.bleuio.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.bleuio.com\/blog\/#\/schema\/person\/89bc581382d5964043f96efc54b75b80","name":"BleuIO","sameAs":["https:\/\/www.bleuio.com\/blog"],"url":"https:\/\/www.bleuio.com\/blog\/author\/biadmin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.bleuio.com\/blog\/wp-json\/wp\/v2\/posts\/83","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bleuio.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bleuio.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bleuio.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bleuio.com\/blog\/wp-json\/wp\/v2\/comments?post=83"}],"version-history":[{"count":1,"href":"https:\/\/www.bleuio.com\/blog\/wp-json\/wp\/v2\/posts\/83\/revisions"}],"predecessor-version":[{"id":85,"href":"https:\/\/www.bleuio.com\/blog\/wp-json\/wp\/v2\/posts\/83\/revisions\/85"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.bleuio.com\/blog\/wp-json\/wp\/v2\/media\/84"}],"wp:attachment":[{"href":"https:\/\/www.bleuio.com\/blog\/wp-json\/wp\/v2\/media?parent=83"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bleuio.com\/blog\/wp-json\/wp\/v2\/categories?post=83"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bleuio.com\/blog\/wp-json\/wp\/v2\/tags?post=83"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}