ELM327 OBD-II Source
Node ID: elm327 · Role: Source · Realtime config: no
Description
Reads vehicle speed from an ELM327 OBD-II adapter over serial or Bluetooth. Polls PID 0x0D to produce VehicleSpeed data for dead-reckoning fusion.
Inputs / Outputs
- Inputs: (none)
- Outputs:
VehicleSpeed
Config aliases
Elm327Source, elm327Source, elm327
Properties
The following fields are exposed in the node’s Properties panel in the UI. Types map to UI widgets (e.g. string → text input, number → numeric, boolean → toggle, select → dropdown, json → JSON editor).
| Key | Label | Type | Default | Options | Description / Notes |
|---|---|---|---|---|---|
port | Serial Port | select | "" | ``, COM11, COM18, COM3, COM4, COM5, COM6, COM7, COM8 | Serial port of the ELM327 adapter. |
baudrate | Baud Rate | select | 115200 | 9600, 38400, 57600, 115200, 230400 | Serial baud rate for the ELM327 adapter. |
isPorsche | Porsche Mode | boolean | false | — | Use the Porsche-specific PID set instead of the generic OBD-II PIDs. |
protocolAutoDetect | Protocol Auto-Detect | boolean | false | — | — |
Example node definition
A full node definition in config.json looks like the block below. Paste it under the sources key of your config, keyed by the node’s instance name (any identifier; it doesn’t have to match the node ID).
{
"sources": {
"elm327": {
"outEndpoint": "inproc://elm327_data",
"settings": {
"baudrate": "115200",
"isPorsche": false,
"port": "",
"protocolAutoDetect": false
}
}
}
}
Field reference
| Field | Purpose |
|---|---|
outEndpoint | ZMQ / inproc endpoint this source binds to publish its output. The runtime auto-generates one if omitted. |
settings | All user-configurable fields — see the Properties table above. |
Connections can also be declared at the top-level
connectionsarray whensettings.explicitConnectionsistrue, as an alternative to fillinginputEndpointson each node.