1 line
18 KiB
JSON
1 line
18 KiB
JSON
{"type":"search","query":{"original":"raspberry pi zero w bluetooth presence tracking home assistant","show_strict_warning":false,"is_navigational":false,"is_news_breaking":false,"spellcheck_off":true,"country":"us","bad_results":false,"should_fallback":false,"postal_code":"","city":"","header_country":"","more_results_available":true,"state":""},"mixed":{"type":"mixed","main":[{"type":"web","index":0,"all":false},{"type":"web","index":1,"all":false},{"type":"videos","all":true},{"type":"web","index":2,"all":false},{"type":"web","index":3,"all":false},{"type":"web","index":4,"all":false},{"type":"web","index":5,"all":false},{"type":"web","index":6,"all":false},{"type":"web","index":7,"all":false},{"type":"web","index":8,"all":false},{"type":"web","index":9,"all":false},{"type":"web","index":10,"all":false},{"type":"web","index":11,"all":false},{"type":"web","index":12,"all":false},{"type":"web","index":13,"all":false},{"type":"web","index":14,"all":false},{"type":"web","index":15,"all":false},{"type":"web","index":16,"all":false},{"type":"web","index":17,"all":false},{"type":"web","index":18,"all":false},{"type":"web","index":19,"all":false}],"top":[],"side":[]},"videos":{"type":"videos","results":[{"type":"video_result","url":"https://www.youtube.com/watch?v=7vm7oL4JDi8","title":"Bluetooth Presence Detection And You! - YouTube","description":"https://forum.level1techs.com/t/bluetooth-presence-detection-for-home-automation-the-level1-way/148516**********************************Thanks for watching o","age":"March 12, 2020","page_age":"2020-03-12T15:13:35","fetched_content_timestamp":1753853006,"video":{"duration":"11:10","creator":"Level1Linux","publisher":"YouTube"},"meta_url":{"scheme":"https","netloc":"youtube.com","hostname":"www.youtube.com","favicon":"https://imgs.search.brave.com/Wg4wjE5SHAargkzePU3eSLmWgVz84BEZk1SjSglJK_U/rs:fit:32:32:1:0/g:ce/aHR0cDovL2Zhdmlj/b25zLnNlYXJjaC5i/cmF2ZS5jb20vaWNv/bnMvOTkyZTZiMWU3/YzU3Nzc5YjExYzUy/N2VhZTIxOWNlYjM5/ZGVjN2MyZDY4Nzdh/ZDYzMTYxNmI5N2Rk/Y2Q3N2FkNy93d3cu/eW91dHViZS5jb20v","path":"› watch"},"thumbnail":{"src":"https://imgs.search.brave.com/JY7GMWPAGm8QFlHv0EB49W4OdgwoaD_7knszp6680Y8/rs:fit:200:200:1:0/g:ce/aHR0cHM6Ly9pLnl0/aW1nLmNvbS92aS83/dm03b0w0SkRpOC9t/YXhyZXNkZWZhdWx0/LmpwZw","original":"https://i.ytimg.com/vi/7vm7oL4JDi8/maxresdefault.jpg"}},{"type":"video_result","url":"https://www.youtube.com/watch?v=nZAr_e2JCtE","title":"HOW TO - Setup Room Assistant #1 (Bluetooth Presence Detection) ...","description":"Interested in Bluetooth Presence detection for your Smart Home or for Home Assistant?In this video we are starting our basic setup of Room Assistant. We will...","age":"March 2, 2021","page_age":"2021-03-02T17:50:18","fetched_content_timestamp":1731163824,"video":{"duration":"23:32","views":58664,"creator":"Mark Watt Tech","publisher":"YouTube"},"meta_url":{"scheme":"https","netloc":"youtube.com","hostname":"www.youtube.com","favicon":"https://imgs.search.brave.com/Wg4wjE5SHAargkzePU3eSLmWgVz84BEZk1SjSglJK_U/rs:fit:32:32:1:0/g:ce/aHR0cDovL2Zhdmlj/b25zLnNlYXJjaC5i/cmF2ZS5jb20vaWNv/bnMvOTkyZTZiMWU3/YzU3Nzc5YjExYzUy/N2VhZTIxOWNlYjM5/ZGVjN2MyZDY4Nzdh/ZDYzMTYxNmI5N2Rk/Y2Q3N2FkNy93d3cu/eW91dHViZS5jb20v","path":"› watch"},"thumbnail":{"src":"https://imgs.search.brave.com/7_BKx9CT9DcN-b4nYLdGmcqcE6UiUE6C9zSUr1LQN7Y/rs:fit:200:200:1:0/g:ce/aHR0cHM6Ly9pLnl0/aW1nLmNvbS92aS9u/WkFyX2UySkN0RS9t/YXhyZXNkZWZhdWx0/LmpwZw","original":"https://i.ytimg.com/vi/nZAr_e2JCtE/maxresdefault.jpg"}},{"type":"video_result","url":"https://www.youtube.com/watch?v=R1kxuB4pi9k","title":"Build a Voice Assistant with Built-In Bluetooth Presence Detection ...","description":"Enhancing Home Assistant's Wyoming Voice Satellite with Bluetooth Presence Detection. We'll compare ESPresence with Room Assistant to determine the best sol...","age":"February 19, 2024","page_age":"2024-02-19T23:33:46","fetched_content_timestamp":1768798312,"video":{"duration":"19:52","creator":"FutureProofHomes","publisher":"YouTube"},"meta_url":{"scheme":"https","netloc":"youtube.com","hostname":"www.youtube.com","favicon":"https://imgs.search.brave.com/Wg4wjE5SHAargkzePU3eSLmWgVz84BEZk1SjSglJK_U/rs:fit:32:32:1:0/g:ce/aHR0cDovL2Zhdmlj/b25zLnNlYXJjaC5i/cmF2ZS5jb20vaWNv/bnMvOTkyZTZiMWU3/YzU3Nzc5YjExYzUy/N2VhZTIxOWNlYjM5/ZGVjN2MyZDY4Nzdh/ZDYzMTYxNmI5N2Rk/Y2Q3N2FkNy93d3cu/eW91dHViZS5jb20v","path":"› watch"},"thumbnail":{"src":"https://imgs.search.brave.com/fjE0cmPqF7YMMYIRHyj9X31JFvULzD4q9QBymAdKOVg/rs:fit:200:200:1:0/g:ce/aHR0cHM6Ly9pLnl0/aW1nLmNvbS92aS9S/MWt4dUI0cGk5ay9t/YXhyZXNkZWZhdWx0/LmpwZw","original":"https://i.ytimg.com/vi/R1kxuB4pi9k/maxresdefault.jpg"}}],"mutated_by_goggles":false},"web":{"type":"search","results":[{"title":"Presence detection with low cost BLE devices and Raspberry Pi/Zero W - Share your Projects! - Home Assistant Community","url":"https://community.home-assistant.io/t/presence-detection-with-low-cost-ble-devices-and-raspberry-pi-zero-w/28173","is_source_local":false,"is_source_both":false,"description":"This is a few notes on BLE-based presence detection. The obvious use case seemed to be to have your phone as the presence token. I started off looking into Eddystone and iBeacon devices but they seem to be too applicati…","page_age":"2017-09-27T21:58:22","profile":{"name":"Home Assistant","url":"https://community.home-assistant.io/t/presence-detection-with-low-cost-ble-devices-and-raspberry-pi-zero-w/28173","long_name":"community.home-assistant.io","img":"https://imgs.search.brave.com/jSp-jUUH4GXPdjWF6cYjgyL0019LwMuRfI7ApFPLYKk/rs:fit:32:32:1:0/g:ce/aHR0cDovL2Zhdmlj/b25zLnNlYXJjaC5i/cmF2ZS5jb20vaWNv/bnMvMmEyOTQ3MGI2/NGEzMGVlYWE0ZDk0/ZWM5MTA5OThiNzIw/YWFkMDJmYThiMGJk/ZjBkMzBmOTE3MmJl/YzRjYzM2ZS9jb21t/dW5pdHkuaG9tZS1h/c3Npc3RhbnQuaW8v"},"language":"en","family_friendly":true,"type":"search_result","subtype":"article","is_live":false,"meta_url":{"scheme":"https","netloc":"community.home-assistant.io","hostname":"community.home-assistant.io","favicon":"https://imgs.search.brave.com/jSp-jUUH4GXPdjWF6cYjgyL0019LwMuRfI7ApFPLYKk/rs:fit:32:32:1:0/g:ce/aHR0cDovL2Zhdmlj/b25zLnNlYXJjaC5i/cmF2ZS5jb20vaWNv/bnMvMmEyOTQ3MGI2/NGEzMGVlYWE0ZDk0/ZWM5MTA5OThiNzIw/YWFkMDJmYThiMGJk/ZjBkMzBmOTE3MmJl/YzRjYzM2ZS9jb21t/dW5pdHkuaG9tZS1h/c3Npc3RhbnQuaW8v","path":" › share your projects!"},"thumbnail":{"src":"https://imgs.search.brave.com/FZj-PrnsVTFpzHFtV16apA4VPtwlGpbkoHQvRebg5P4/rs:fit:200:200:1:0/g:ce/aHR0cHM6Ly9jb21t/dW5pdHktYXNzZXRz/LmhvbWUtYXNzaXN0/YW50LmlvL29yaWdp/bmFsLzRYLzUvMC9l/LzUwZTU4NWZhZWE4/NTAxMGViYjE2ZDNk/NDY2ZjA3MWVmOTBl/YzEzOTMucG5n","original":"https://community-assets.home-assistant.io/original/4X/5/0/e/50e585faea85010ebb16d3d466f071ef90ec1393.png","logo":false},"age":"September 27, 2017","extra_snippets":["This is a few notes on BLE-based presence detection. The obvious use case seemed to be to have your phone as the presence token. I started off looking into Eddystone and iBeacon devices but they seem to be too application oriented and I couldn’t get my phone working with them - interestingly this seems to due to the security differences between stock Android and LineageOS - but I couldn’t really get this to work usefully.","This is a few notes on BLE-based presence detection. The obvious use case seemed to be to have your phone as the presence token. I started off looking into Eddystone and iBeacon devices but they seem to be too applicati…"]},{"title":"r/homeassistant on Reddit: Bluetooth presence detection using a raspberry pi","url":"https://www.reddit.com/r/homeassistant/comments/f7te6g/bluetooth_presence_detection_using_a_raspberry_pi/","is_source_local":false,"is_source_both":false,"description":"... Finally managed to get reliable ... a video about it. Covers <strong>installing the script on the pi, setting it up, get the sensor in home assistant and turning it into a device_tracker to link to my user</strong>....","page_age":"2020-02-22T14:44:19","profile":{"name":"Reddit","url":"https://www.reddit.com/r/homeassistant/comments/f7te6g/bluetooth_presence_detection_using_a_raspberry_pi/","long_name":"reddit.com","img":"https://imgs.search.brave.com/U-eHNCapRHVNWWCVPPMTIvOofZULh0_A_FQKe8xTE4I/rs:fit:32:32:1:0/g:ce/aHR0cDovL2Zhdmlj/b25zLnNlYXJjaC5i/cmF2ZS5jb20vaWNv/bnMvN2ZiNTU0M2Nj/MTFhZjRiYWViZDlk/MjJiMjBjMzFjMDRk/Y2IzYWI0MGI0MjVk/OGY5NzQzOGQ5NzQ5/NWJhMWI0NC93d3cu/cmVkZGl0LmNvbS8"},"language":"en","family_friendly":true,"type":"search_result","subtype":"qa","is_live":false,"meta_url":{"scheme":"https","netloc":"reddit.com","hostname":"www.reddit.com","favicon":"https://imgs.search.brave.com/U-eHNCapRHVNWWCVPPMTIvOofZULh0_A_FQKe8xTE4I/rs:fit:32:32:1:0/g:ce/aHR0cDovL2Zhdmlj/b25zLnNlYXJjaC5i/cmF2ZS5jb20vaWNv/bnMvN2ZiNTU0M2Nj/MTFhZjRiYWViZDlk/MjJiMjBjMzFjMDRk/Y2IzYWI0MGI0MjVk/OGY5NzQzOGQ5NzQ5/NWJhMWI0NC93d3cu/cmVkZGl0LmNvbS8","path":" › r/homeassistant › bluetooth presence detection using a raspberry pi"},"thumbnail":{"src":"https://imgs.search.brave.com/A5H_aQiEBuUODR0lNeU8iDfhrWUvO8oEmRGE_mcS_gM/rs:fit:200:200:1:0/g:ce/aHR0cHM6Ly93d3cu/cmVkZGl0c3RhdGlj/LmNvbS9pY29uLnBu/Zw","original":"https://www.redditstatic.com/icon.png","logo":true},"age":"February 22, 2020","extra_snippets":["Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io. ... Finally managed to get reliable bluetooth presence detection going, so decided to make a video about it. Covers installing the script on the pi, setting it up, get the sensor in home assistant and turning it into a device_tracker to link to my user.","I didn't plan to make this into a video, just wanted bluetooth tracking working for now, and because I ran into some issues (mostly monitor not working and presence being so easy) I decided to share it. But I still want the new, better and maintained thing working, so you can probably expect a new video later :) ... Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server.","Not sure what Bluetooth version it uses, I'm running it on a raspberry pi 3 (non plus). All it does is scan for Bluetooth devices and tell you if that device is in range. I didn't see anything about angle of arrival. If you say that's a Bluetooth 5.1 features, then I'm pretty sure it wont work, since the last update to the script was 1 year before Bluetooth 5.1 even got released. ... Oh. You would check out room assistant for home assistant","Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io. ... Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server."]},{"title":"GitHub - jxlarrea/ha-bt-proximity: Distributed Bluetooth Room Presence Sensor for Home Assistant","url":"https://github.com/jxlarrea/ha-bt-proximity","is_source_local":false,"is_source_both":false,"description":"<strong>This is a complete DIY solution for room presence/proximity detection in Home Assistant</strong>. It uses a Raspberry Zero W to track the proximity of phones, smartwatches, etc. via bluetooth.","profile":{"name":"GitHub","url":"https://github.com/jxlarrea/ha-bt-proximity","long_name":"github.com","img":"https://imgs.search.brave.com/xxsA4YxzaR0cl-DBsH9-lpv2gsif3KMYgM87p26bs_o/rs:fit:32:32:1:0/g:ce/aHR0cDovL2Zhdmlj/b25zLnNlYXJjaC5i/cmF2ZS5jb20vaWNv/bnMvYWQyNWM1NjA5/ZjZmZjNlYzI2MDNk/N2VkNmJhYjE2MzZl/MDY5ZTMxMDUzZmY1/NmU3NWIzNWVmMjk0/NTBjMjJjZi9naXRo/dWIuY29tLw"},"language":"en","family_friendly":true,"type":"search_result","subtype":"software","is_live":false,"meta_url":{"scheme":"https","netloc":"github.com","hostname":"github.com","favicon":"https://imgs.search.brave.com/xxsA4YxzaR0cl-DBsH9-lpv2gsif3KMYgM87p26bs_o/rs:fit:32:32:1:0/g:ce/aHR0cDovL2Zhdmlj/b25zLnNlYXJjaC5i/cmF2ZS5jb20vaWNv/bnMvYWQyNWM1NjA5/ZjZmZjNlYzI2MDNk/N2VkNmJhYjE2MzZl/MDY5ZTMxMDUzZmY1/NmU3NWIzNWVmMjk0/NTBjMjJjZi9naXRo/dWIuY29tLw","path":"› jxlarrea › ha-bt-proximity"},"thumbnail":{"src":"https://imgs.search.brave.com/QXfn22PinUQo95OHd3u9LactkbjIqojKA7jOl2sBDXs/rs:fit:200:200:1:0/g:ce/aHR0cHM6Ly9vcGVu/Z3JhcGguZ2l0aHVi/YXNzZXRzLmNvbS83/OWU5MGE0MTM0NDI0/NzBiOWI4ODBhNDkw/ZmUxNTYzYzE1ZmNk/NmFhMTBkNjYzZTE0/M2QxYTQ1MmIyNmVl/MzU0L2p4bGFycmVh/L2hhLWJ0LXByb3hp/bWl0eQ","original":"https://opengraph.githubassets.com/79e90a413442470b9b880a490fe1563c15fcd6aa10d663e143d1a452b26ee354/jxlarrea/ha-bt-proximity","logo":false},"extra_snippets":["If all went well, you will now see in Home Assistant the previously added sensor showing the relative proximity of your tracked devices. The sensor proximity value ranges from 0 (closest proximity possible) to -100 (undetectable). You can use this proximity value to setup Automations based on room presence in your home or even place multiple Raspberry Pi Zero W's around your place to triangulate your position.","Before working on this, I tried to find an already existing room presence detection solution for Home Assistant. I came across 2 in particular that became the inspiration to create this: @andrewjfreyer's presence: This seemed like the solutions I was looking for. Unfortunately, his approach only works as a binary sensor: If multiple Raspberry Pi Zero W in different rooms around your house detect your tracked device bluetooth signal, they will all mark as if you are present in their respective rooms at the same time.","Distributed Bluetooth Room Presence Sensor for Home Assistant - jxlarrea/ha-bt-proximity","This is a complete DIY solution for room presence/proximity detection in Home Assistant. It uses a Raspberry Zero W to track the proximity of phones, smartwatches, etc. via bluetooth."]},{"title":"Presence Detection with BLE using monitor.sh - Self-Hosted Show Wiki","url":"https://wiki.selfhosted.show/home-automation/home-assistant/presence-detection/detection-with-monitor-sh/","is_source_local":false,"is_source_both":false,"description":"- platform: mqtt source_type: 'bluetooth' devices: person1: 'location/person1' We are basically saying that we are want an MQTT Topic called location/person1. We will be publishing state to this with some scripts later. This is where I actually got stuck and it wasn't until I found this bit of wisdom that things fell into place. We need to manually add entries to the known_devices file. person1: hide_if_away: false icon: mac: picture: vendor: track: true name: Test Person","profile":{"name":"Self-Hosted Show","url":"https://wiki.selfhosted.show/home-automation/home-assistant/presence-detection/detection-with-monitor-sh/","long_name":"wiki.selfhosted.show","img":"https://imgs.search.brave.com/3txqDCfrWduLnJ7CNQz6A58wpseWTDBuESg8XytoKBA/rs:fit:32:32:1:0/g:ce/aHR0cDovL2Zhdmlj/b25zLnNlYXJjaC5i/cmF2ZS5jb20vaWNv/bnMvNTUxYjg0ZTkx/YjRkZGIzOTg1MzAw/Y2QwYzUzMGMyMDYy/ZjhkNTQ1NWE4NzBl/NTM5ZjdhNjEwZGMy/MmZjMzZjMS93aWtp/LnNlbGZob3N0ZWQu/c2hvdy8"},"language":"en","family_friendly":true,"type":"search_result","subtype":"generic","is_live":false,"meta_url":{"scheme":"https","netloc":"wiki.selfhosted.show","hostname":"wiki.selfhosted.show","favicon":"https://imgs.search.brave.com/3txqDCfrWduLnJ7CNQz6A58wpseWTDBuESg8XytoKBA/rs:fit:32:32:1:0/g:ce/aHR0cDovL2Zhdmlj/b25zLnNlYXJjaC5i/cmF2ZS5jb20vaWNv/bnMvNTUxYjg0ZTkx/YjRkZGIzOTg1MzAw/Y2QwYzUzMGMyMDYy/ZjhkNTQ1NWE4NzBl/NTM5ZjdhNjEwZGMy/MmZjMzZjMS93aWtp/LnNlbGZob3N0ZWQu/c2hvdy8","path":"› home-automation › home-assistant › presence-detection › detection-with-monitor-sh"},"extra_snippets":["But I have had some issues with presence detection using the standard device_tracker component. Though I live in a small place, being in Tokyo, Home Assistant sometimes stops detecting phones if they are in an area of the apartment a little away from the Home Assistant server. This I suspect is due to the position of the Raspberry Pi and the building material.","- platform: mqtt source_type: 'bluetooth' devices: person1: 'location/person1' We are basically saying that we are want an MQTT Topic called location/person1. We will be publishing state to this with some scripts later. This is where I actually got stuck and it wasn't until I found this bit of wisdom that things fell into place. We need to manually add entries to the known_devices file. person1: hide_if_away: false icon: mac: picture: vendor: track: true name: Test Person","But I hope others might find it useful. Since I had to work through it and piece it together. Thanks to those who posted the work online. It was invaluable. The main part I found missing was the known_devices.yaml · Bluetooth Presence Detection for Home Automation – The Level1 Way","At this point we have a sensor that returns true or false if it can see the bluetooth device we are looking for. But it's not actually connected to any HA automations. ... Which auto populates the known_devices file. These devices are then used as triggers for my automations. I want to avoid making larges changes. So we are going to make some virtual device_trackers."]},{"title":"Presence detection with Raspberry Pi, Home Assistant and Monitor - YouTube","url":"https://www.youtube.com/watch?v=-uRq4L6bxrI","is_source_local":false,"is_source_both":false,"description":"RECOMMENDED Raspberry Pi Zero W (Amazon Affiliate link) - https://amzn.to/2LjtYQURECOMMENDED Raspberry Pi Zero W Official Starter Kit (Amazon Affiliate link)...","page_age":"2021-01-06T18:30:01","profile":{"name":"YouTube","url":"https://www.youtube.com/watch?v=-uRq4L6bxrI","long_name":"youtube.com","img":"https://imgs.search.brave.com/Wg4wjE5SHAargkzePU3eSLmWgVz84BEZk1SjSglJK_U/rs:fit:32:32:1:0/g:ce/aHR0cDovL2Zhdmlj/b25zLnNlYXJjaC5i/cmF2ZS5jb20vaWNv/bnMvOTkyZTZiMWU3/YzU3Nzc5YjExYzUy/N2VhZTIxOWNlYjM5/ZGVjN2MyZDY4Nzdh/ZDYzMTYxNmI5N2Rk/Y2Q3N2FkNy93d3cu/eW91dHViZS5jb20v"},"language":"en","family_friendly":true,"type":"search_result","subtype":"video","is_live":false,"meta_url":{"scheme":"https","netloc":"youtube.com","hostname":"www.youtube.com","favicon":"https://imgs.search.brave.com/Wg4wjE5SHAargkzePU3eSLmWgVz84BEZk1SjSglJK_U/rs:fit:32:32:1:0/g:ce/aHR0cDovL2Zhdmlj/b25zLnNlYXJjaC5i/cmF2ZS5jb20vaWNv/bnMvOTkyZTZiMWU3/YzU3Nzc5YjExYzUy/N2VhZTIxOWNlYjM5/ZGVjN2MyZDY4Nzdh/ZDYzMTYxNmI5N2Rk/Y2Q3N2FkNy93d3cu/eW91dHViZS5jb20v","path":"› watch"},"thumbnail":{"src":"https://imgs.search.brave.com/pW0nq4U8FKE6x-tRxlkTuxXcucso2uMtWuZiYj4QNJQ/rs:fit:200:200:1:0/g:ce/aHR0cHM6Ly9pLnl0/aW1nLmNvbS92aS8t/dVJxNEw2YnhySS9t/YXhyZXNkZWZhdWx0/LmpwZw","original":"https://i.ytimg.com/vi/-uRq4L6bxrI/maxresdefault.jpg","logo":false},"age":"January 6, 2021","extra_snippets":["AboutPressCopyrightContact usCreatorsAdvertiseDevelopersTermsPrivacyPolicy & SafetyHow YouTube worksTest new featuresNFL Sunday Ticket"]}],"family_friendly":true}} |