Live data from Hacker News

Pyobd - a free and open source program for car diagnostics

github.com

41–42 of 42 posts

Re: Pyobd - a free and open source program for car diagnostics

#41

Would be awesome if ancillary data like ABS and airbags was standardized for all vehicles under right to repair laws then it would be easy to add

Why should safety critical systems be able to be modified by a non-professional? Earnest question

These systems (brakes, airbags) have robust and trivial design, to eliminate any tendency to break on their own. As a side effect, replacing a replaceable airbag is something a layperson can do with a little to none room for screwup, unlike for example a repair of a non safety critical engine, where there is a lot of that room.

Re: Pyobd - a free and open source program for car diagnostics

#42
Cool program, it looks like an easy way to get started with ODB-II, thank you for sharing!

> Currently it only displays live data - no recording and replay is possible. NOTE: The program only displays the engine data, not airbags, ABS and body control systems. Even if your adapter supports that, you will need a more specialized program for that.

If you have more sophisticated requirements, it seems like Wireshark has the ability to stream and record data in real-time: https://www.csselectronics.com/pages/can-bus-to-usb-wireshar... is an ~$70 adapter which shows up as a serial port

Alternatively, https://canable.io/ with USB port seems to support several open source software packages (there are clones of Canable 2.0 Pro available for ~$17 on AliExpress, but hopefully the official version will come back in stock soon):

- Cangaroo (Windows, Linux): Send/receive standard and FD frames, decode messages from DBC files

- SocketCAN (Linux) Native Linux support using slcand (can record and pass into Wireshark)

- python-can (Windows, Linux, Mac) Easily interface with the CAN bus using your CANable and Python scripts

You can also use SigRok to visualize the CAN frames: https://kentindell.github.io/can2

Disclaimer: I have no affiliation and have not used either of these, just posting them as possible options.

Post reply on HN