GithubHelp home page GithubHelp logo

vitorfleite / dtclookup Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dsoprea/dtclookup

0.0 0.0 0.0 292 KB

A webpage-based database for automotive diagnostic trouble codes (DTC's).

License: GNU General Public License v2.0

Python 100.00%

dtclookup's Introduction

Diagnostic Trouble Code (DTC) Lookup
====================================

Description
-----------

    This website is a simple lookup utility for SAE (automotive) DTC codes. It can be accessed by hand, but is intended to be implemented by software utilities as a tool to produce meaningful messages from codes read from vehicles via OBDII diagnostic hardware.


Requirements
------------

web.py


Running the Server
------------------

PYTHONPATH=. dtc/tools/start_webserver.py


Usage
-----

    http://localhost:8080/lookup/dtc/code/<code>


Example
-------

    http://localhost:8080/lookup/dtc/code/P0442


Sample Result
-------------

    { "Data": [["Generic", 
                "Evaporative Emission Control System Leak Detected (small leak)"], 
               ["Landrover", 
                "Evap System Small Leak Detected Fault"]], 

      "Error": null }

    
    The result is a JSON-encoded dictionary with the members "Data" and "Error". "Data" is a list of lists, where the latter always has a length of two. The first item is a category (usually the make of the vehicle, or "Generic"), and the second is the description.

    If "Error" is not NULL, then an error occurred.


Notes
-----

The DTC Database (http://www.dtcdatabase.com) runs on this project.

The DTC lists in this project come courtesy of the "scantool" (http://www.scantool.net/downloads/archive/diagnostic-software) project.

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.