View on GitHub

WebSocketGaugeServer

Communicate Defi/SSM/Arduino sensor reader/ELM327 and castthe data on JSON+websocket format.

WebSocketGaugeServer

Description

This is a server side program for WebSocketGauge project.

This program reads the car sensor data (such as vehicle speed, engine rpm, water temp, boost pressure, etc..) and broadcast the data on websocket.

The data are brocasted on json format and can be viewed by dashboard webapp. The source code of dashboard webapp is available on sugiuraii/WebSocketGaugeClientNeo

WebsocketDiagram

Software requirement (tested OS)

Supported ECU or sensor protocol

Tested ECU/sensor

Server name (ECU/sensor communication type) Compatible controller Developed and tested controller Remarks
OBDII with ELM327 ELM327 compatible OBD-II cable ScanTool.net OBDLink SX USB cable and JDM Toyota Prius (ZVW30, 2009 model) Default baud rate is set to 115200bps
OBDII with ELM327 ELM327 compatible OBD-II cable Nobrand ELM327 bluetooth adaptor and JDM Toyota Prius (ZVW30, 2009 model) Default baud rate is set to 115200bps. Tested on linux. Virtual COM port is creaetd by rfcomm. (see here)
Arduino (https://github.com/sugiuraii/Arduino-CarSignalSensorBox) Arduino UNO compatible board + AutoGauge boost sensor, temperature sensor Nobrand ArduinoUNO compatible board Arduino sketch is available on this site.
Defi-link Defi-Link Control Unit-I/II STi Genome sport single meter (boost) Only “Engine_Speed (rpm)” and “Manifold_Absolute_Pressure(boost)” are checked. Other sensors are not checked .
Not compatible with Defi ADVANCE Control Unit.
SSM (Subaru Select Monitor) Subaru SSM capable ECU and OpenPort 1.2 compatible cable monamona-cable and JDM Subaru Impreza WRX STI (GDBA, 2000 model) Schematics seems to be open on this OSDN site

ELM327COM_WebSocket_Server is also tested on com0com and OBDSim (baudrate is set to 9600bps).

Install from binary

See QuickStart.md. For Japanese, see QuickStart_jpn.md

Install by Docker container

See Startup.md and Setup-Docker.md.

Detailed configuration

See Configure.md

Build from source

See Build.md. To build Docker image, see Build-Docker.md.

Client

To get the graphical gauge client, please refer separated project of sugiuraii/WebSocketGaugeClientNeo.

And, trip and fuel consumption logger is also available. Please refer FUELTRIPLogger.md

License

Apache-2.0