{"id":3776,"date":"2024-03-11T10:46:00","date_gmt":"2024-03-11T15:46:00","guid":{"rendered":"https:\/\/lab.rapternet.us\/?p=3776"},"modified":"2024-01-27T21:10:24","modified_gmt":"2024-01-28T03:10:24","slug":"esp32-bluetooth-proxy-and-ble-tracking","status":"publish","type":"post","link":"https:\/\/lab.rapternet.us\/?p=3776","title":{"rendered":"ESP32 Bluetooth Proxy and BLE Tracking"},"content":{"rendered":"\n<p>I recently started using ESP32s for my projects, mostly out of necessity for the flash sizes and GPIO capabilities, but they do bring in another interesting feature I haven&#8217;t made use of yet, Bluetooth capabilities. Each ESP32 can be used by home assistant as a Bluetooth proxy and BLE tracker. It should be a simple addition to the ESPHome yaml too!<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>The ESPHome configuration for the Bluetooth proxy and BLE tracker is nice and simple to add to a device. If you&#8217;re running the device on Wi-Fi, you may want to comment out the interval and window configuration settings below as they can interfere with the Wi-Fi and cause the device to disconnect and reconnect to Wi-Fi. If you&#8217;re using this from an ethernet device, you&#8217;re in the clear.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">esp32_ble_tracker:<br>  scan_parameters:<br>    interval: 1100ms<br>    window: 1100ms<br>    active: true<br><br>bluetooth_proxy:<br>  active: true<\/pre>\n\n\n\n<p>This is a nice little capability to add to an ESP32 especially if it doesn&#8217;t have as many components already in the configuration. There are some limits to the Bluetooth proxy as well, but it&#8217;s all capability left on the table if you don&#8217;t add it to your configuration.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Resources<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/esphome.io\/components\/esp32_ble_tracker.html\" target=\"_blank\" rel=\"noreferrer noopener\">BLE Tracker docs in ESPHome<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/esphome.io\/components\/bluetooth_proxy.html\" target=\"_blank\" rel=\"noreferrer noopener\">Bluetooth Proxy docs in ESPHome<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>I recently started using ESP32s for my projects, mostly out of necessity for the flash sizes and GPIO capabilities, but they do bring in another interesting feature I haven&#8217;t made use of yet, Bluetooth capabilities. Each ESP32 can be used by home assistant as a Bluetooth proxy and BLE tracker. It should be a simple &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/lab.rapternet.us\/?p=3776\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;ESP32 Bluetooth Proxy and BLE Tracking&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[74,39,14,49],"class_list":["post-3776","post","type-post","status-publish","format-standard","hentry","category-how-to","tag-esphome","tag-home-assistant","tag-quick-bites","tag-smart-home"],"_links":{"self":[{"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/posts\/3776","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3776"}],"version-history":[{"count":5,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/posts\/3776\/revisions"}],"predecessor-version":[{"id":3792,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/posts\/3776\/revisions\/3792"}],"wp:attachment":[{"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3776"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3776"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3776"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}