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
Software requirement (tested OS)
- Windows(x64) or linux(x64 or arm)
- Run on dotnet 6.0
Supported ECU or sensor protocol
- OBD-II with ELM327 (or compatible) adaptor
- Arduino-CarSignalSensorBox
- Read vehicle speed pulse, engine rev pulse.
- Read boost pressure (intake manifold pressure) using pressure sensor + Arduino interal ADC.
- Read water temperature and oil temperature using temperature sensor and Arduino internal ADC.
- Now, Autogauge boost and (water/oil) temperature sensors are supported.
- See Arduino-CarSignalSensorBox for the detail
- Defi-Link
- Only support old type of Defi control unit. Defi-advance is not supported.
- SSM(Subaru select monitor)
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