WebThingsIO / thing-url-adapter

Proxy adapter for Web Thing API endpoints
Mozilla Public License 2.0
22 stars 18 forks source link

Default Bluetooth scanning to off. #61

Closed mrstegeman closed 5 years ago

mrstegeman commented 5 years ago

It keeps leading to issues for other people with it defaulted on.

benfrancis commented 5 years ago

This is a shame, if we're promoting this as a standard for discovery.

I'm wondering whether as a longer term fix we need to implement some kind of abstraction layer, a shared Bluetooth service which multiple add-ons can use. What do you think?

mrstegeman commented 5 years ago

I thought the same thing. The annoying part is that, on Linux, BlueZ is supposed to already be that abstraction layer. What you're suggesting is akin to @dhylands suggestion of a serial port manager.

This is also going to be difficult, though, because people are already wanting to do Bluetooth stuff in Node, Python, and Rust.