provider Bluetooth GET
/bluetooth/scan_results @utdk/google/home
/bluetooth/scan_results Get Scan Results
*See note for Bluetooth under `/setup/bluetooth/status`*
**For Part 2 only**
This returns a list of all nearby bluetooth devices. While the Home app only shows speakers, this list contains all devices including TVs, mobiles, etc.
`rssi` is signal strength, `name` is name, `mac_address` is mac address.
`device_class` and `device_type` are bluetooth codes.
The Home app only lists those devices with `expected_profiles` > 0. Basically, the device should function as a speaker.
Try it
Authentication
Configure credentials for Google Home
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import google_home from '@utdk/google/home';
await google_home.getscanresults()