Is it possible to capture bluetooth data from a local machine in a replit? I’m writing a python script that captures and streams data from a bluetooth device.
I’d like to know if there is a way to use replit to capture data from the device. If not in replit directly, perhaps could it could open a Chrome browser and get the data directly from the browser (and stream it to the replit terminal?)
Thanks for any help!
Replit Profile: https://replit.com/@travelmail26
I don’t think this would work, since Bluetooth is built into your machine and not a Repl. Even if it could be passed through the Chrome API, I don’t think they have implemented it to pass through your computer to the Repl themselves. You are best running the script on your machine.
Does this help?
What about port forwarding from a local machine?
I mean that since Chrome has a Bluetooth API, that it would be possible for Replit to add in where if you write Bluetooth transmission code that it would have Chrome get the data and send it to Replit.
Repls are Virtual Machines hosted in the cloud, not local machines so it’s not possible to connect bluetooth to one.
@travelmail26 Has your question been solved? If so, please mark the solution with the Solution button.
You could use Web Bluetooth and then send data to a repl over a websocket.
Yeah but Replit would have to do that, wouldn’t they?