Giter Site home page Giter Site logo

obdii's People

Contributors

djs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

obdii's Issues

Problem with python-serial 2.6-1.1

I'm running Debian Wheezy Jessie, and I had pretty big problem with the new(ish) version of python-serial. On 2.6-1.1, elm.py would change the stty settings after the first run. That is, the program ran once but hung on the second try.

After downgrading to python-serial 2.5-2.1, everything worked again.

I'm not 100% on the steps to reproduce faithfully on another computer, it's just a problem I had on mine.

Need to handle no response condition

PID may return NO DATA even when the car is running. Need to handle this condition

Traceback (most recent call last):
  File "backend.py", line 118, in <module>
    main()
  File "backend.py", line 108, in main
    record = poll(interface)
  File "backend.py", line 49, in poll
    intake_temp = interface.get_intake_air_temperature()
  File "/home/pi/obdii/obdii.py", line 130, in get_intake_air_temperature
    data = self._get_response([0x01, 0x0F])
  File "/home/pi/obdii/obdii.py", line 26, in _get_response
    response = self.adapter.send_obdii_command(command)
  File "/home/pi/obdii/elm.py", line 113, in send_obdii_command
    data.append(int(byte, 16))
ValueError: invalid literal for int() with base 16: 'NO'

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.