android icon indicating copy to clipboard operation
android copied to clipboard

Listing nearby WIFI networks (BSSID)

Open hllhll opened this issue 4 months ago • 1 comments

Is your feature request related to a problem? Please describe. I would like to setup some automations such as 1) turning on my bluetooth when the phone detects my vehicle's Headunit ( assuming "wifi scanning always on" This is I think always running even if wifi is off). 2) Open the underground parking lot door w/o needing to use iBeacon, potentially based off wifi networks available nearby. (this is not a personal parking, rather a medium sized one, it takes a minute or so to reach the entrance)

Describe the solution you'd like I would like to have ability (sensor) that would list WIFI network as seen in the wifi menu screen of my phone (even hidden ones if possible since I think their BSSID is broadcast). The same goes for bluetooth, have to option to get the list of available bluetooth devices (macs, even w/o device names).

Describe alternatives you've considered, if any So far, the app only allow for BLE beacons monitoring, and only "CONNECTED" bluetooth devices that are not beacons. Same goes for wifi, the wifi sensor will only get updated if I will connect to a specified network.

The case in (1) above is actually more complex then that, the usecase is Wireless AA adapter; the Wifi on the adapter does not provide internet access, so the phone would not auto-connect (also mostly wifi is off for me at the time I enter the vehicle), hence, I cannot use the existing sensor. It will connect when the bluetooth first turns on and connect, then the phone would connect to the AA Adapter Wifi while getting the internet from the mobile network.

Additional context As I understand, the information is available on the phone even if I'm not connected to the network. any reason why this is not already implemented?

I have looked here and online for possible solutions, couldn't find any, if there's any other/3rd party ideas that can be integrated into ha/companion app will be glad to know.

hllhll avatar Feb 16 '24 13:02 hllhll