SDK v0.1 · read-only · out now

Read any Honda ECU
from your own code.

Live engine data and fault codes from Honda motorcycle ECUs (Keihin and Shindengen) over a plain USB K-Line cable. SDKs for JavaScript and Dart, a machine-readable spec with golden test vectors, and docs your AI assistant can read.

JavaScript
$ npm i @smongrot/sdk
ESM, zero dependencies · browser (WebSerial) + Node ≥ 18 · quickstart
Dart
$ dart pub add smongrot_sdk
Flutter or pure Dart · Android USB-OTG + desktop · quickstart
app.js
import { connect, openWebSerial } from '@smongrot/sdk';

const port = await navigator.serial.requestPort();
const s = await connect(await openWebSerial(port));
const { ecmId } = await s.identify();

for await (const f of s.live()) {
  show(f.fields.rpm, f.fields.batt);   // { status: 'ok', value: 1450 }
}
1

Live engine data

RPM, throttle, engine temperature, battery, injector time, ignition advance, fuel trim. A missing value is reported as absent, never as a fake 0.

2

Fault codes (beta)

Read stored fault codes with plain-English meanings. Read-only: this release never clears codes or changes anything in the ECU.

3

AI-ready docs

One URL gives your coding assistant the whole protocol, API and test vectors. llms.txt · llms-full.txt

Where it runs

Today: any device that can open a USB K-Line (KKL / FTDI) cable. Next: the smongrot SMR board over Bluetooth LE, which also brings iOS.

PlatformUSB K-Line cableSMR board (BLE)
Desktop (Windows · macOS · Linux)NowComing v0.2
Web (Chrome / Edge, WebSerial)NowComing v0.2
Android (USB-OTG)NowComing v0.2
iOSNo USB serial on iPhoneComing v0.2

v0.1 is read-only (identity, live data, fault codes). Full read and ECU write are not part of the SDK.

Paste this URL into your AI
https://developers.smongrot.com/llms.txt

Short index for Claude, ChatGPT, Cursor and friends. llms-full.txt has every doc and the full spec in one file.

Public API

Turn an ECM-ID into a model name, and browse the ECU catalog over HTTPS. Free key, daily rate limit.