Giter Club home page Giter Club logo

obd-to-json_elm327's Introduction

OBD to JSON Relay (ELM327)

This program reads OBD-II / EOBD values from an ELM327 chip (widely available) and makes them available through an HTTP server, formatted as a JSON object. It is great for a web overlay on OBS Studio.

News:

  • Oct 2018: Added high-performance WebSocket support

Features

  • Designed for high frequency OBD readings
  • Customizable sequence of OBD readings
  • Automatic recover from most possible communication errors
  • Allows any supported serial port baudrate (AT BRD command)
  • Configuration is live-refreshed (no restart needed)
  • Possibility to run multiple HTTP servers for better performance
  • Nice console output to easily debug problems
  • Optional CSV logging on updated output data

Requirements

Instructions

  1. Install Python3.
  2. Install pySerial.
  3. Edit the files parameters.py and sequenceELM327.py in the sub-directory config.
  4. When you are ready to start, run main.py.

Support

You can open an issue when you have a question, or you can join my Discord server Yvon à bord ! where you are very welcome, or see my contact details on my GitHub profile.

obd-to-json_elm327's People

Contributors

estevanth avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

obd-to-json_elm327's Issues

Suggestion: follow PEP8 standards for variables and formatting

Given that python is a space delineated language it is important to keep spacing consistent. Now, there are way too many spaces at least for my taste. Not saying it's wrong, but adhering to the standards would make it much more readable. It still is but ideally 4 spaces should be enough for nesting. Also camel casing shouldn't be used with variables. Words should be separated with underscores if it's a method or variable and classes should be snake cased. It makes it easier for others to contribute (which I wouldn't mind doing.). The method names should be like verb_property (get_pid_name). The main reason these things are useful is that good IDE will recognize them for what they are, help with code completion and intention, doc generators will be ae to parse properly etc. It's super handy to fall in line as it just makes life easier. You can totally do what you like, and I like what you are doing. Again, I wouldn't mind helping as I'm a gearhead and use hp tuners and build some quick cars. Even writing a datalogging app that will spit out hp tuners log files from an android head unit or phone so that you can use something like obdlink mx to log to an android without keeping your expensive mpvi on the car. It's just a suggestion and it really would make dev easier.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.