Available in Chrome 55+ | View on GitHub
The Web Bluetooth API lets websites discover and communicate with devices over the Bluetooth 4 wireless standard using the Generic Attribute Profile (GATT). It is currently partially implemented in Android M, Chrome OS, Linux, and Mac.
This sample illustrates the use of the Web Bluetooth API to interact with the Coyote device alert service.
Note: During operation, the tab must stay in the foreground in order to keep sending the power levels. Otherwise the device will stutter (background tabs can only "tick" once a second). This problem can be addressed using web-workers.