I have the following usecase.
I would like to have a raspberry pi in my garage, that continuously scans for bluetooth devices in range.
Reports this to my HA, so that I can trigger automations based on presence of a device in the garage.
Does anyone have good tips/links/etc for how this could be achieved in the best way?
I currently use a Raspberry Pi Zero 2 W.
This has bluetooth by default.
ESP32 sounds like a good idea.
However, then only BLE seems to be supported, which would limit my options.
Secondly, the combination with WIFI appears to give some challenges.
Thirdly, I canāt find solid information on whether a ācontinuous scanning modeā is supported, in which HA is constantly updated on (unpaired) available devices in the vicinity.
Itās important that devices are detected quickly.
Main usecase is opening the garagedoor when I arrive.
It has to detect my phone/motorcycle/guests so that an automation can open the garage when I arrrive. Preferably in a way that I donāt have to āwaitā for detection.
Battery wise that doesnāt seem to be a good solution.
I might be out of home for days, but when I return I want the garage to respond quickly to my arrival.
You donāt need to have it on high accuracy all the time. Just when you arrive home.
So enable it when you are x distance away, and disable it when you connect to wifi.
But here he wants it to react outside the home.
Not inside where you have triangulation.
Perhaps it works better with a few of them at the same-ish place.
But it canāt ever be quicker than normal BT if itās just one node used with Bermuda.
I just canāt imagine how that would work.
I have a similar situation and question: I have a Bluetooth water timer:
in a location too far from my HA host for reliable BT connection.
First question: When I try to add the Melnor Bluetooth integration, I get:
Error
Config flow could not be loaded: {āmessageā:āInvalid handler specifiedā}
Is this a ābecause Iām running HA in a Docker containerā thing, or because I donāt have a BT portal configured yet, or is there something just wrong with the integration / its installer?
Second question would be: if I put a ESP32 near to the BLE device with Bluetooth Proxy ā ESPHome configured, WiFi coverage is good there, but is it going to be reliable to use WiFi as a bridge to BLE on that device? I have a Ras-Pi 2 W that I was thinking of configuring as the bridge, but havenāt dug into that yetā¦