This is Scratch Link for BLE devices under Linux. For BLE it uses BlueZ via D-Bus.
Scratch link has been so far tested only with Intelino smart train.
- install Node.js 14 or newer
- clone this repo
- in cloned directory run
npm i
- copy
node_modules/@mz/bluez/user-ble.conf
to/etc/dbus-1/system.d/user-ble.conf
runsudo systemctl reload dbus
- in cloned directory run
npm start
(ornpm run debug
to get debug logs) - in browser visit https://device-manager.scratch.mit.edu:20110/ and accept insecure connection
- for Intelino smart train visit https://scratch.intelino.com/ and have a fun!