/scratch-link-ble-linux

Scratch Link for BLE devices under Linux.

Primary LanguageTypeScript

Scratch Link for BLE devices under Linux

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.

Installation

  1. install Node.js 14 or newer
  2. clone this repo
  3. in cloned directory run npm i
  4. copy node_modules/@mz/bluez/user-ble.conf to /etc/dbus-1/system.d/user-ble.conf run sudo systemctl reload dbus

Running

  1. in cloned directory run npm start (or npm run debug to get debug logs)
  2. in browser visit https://device-manager.scratch.mit.edu:20110/ and accept insecure connection
  3. for Intelino smart train visit https://scratch.intelino.com/ and have a fun!