Friday, January 5, 2018

My Connected Car: Python and versions...

Ok, the first test was OK, at the end.

But I had to struggle for some time. At the beginning, simply the communication with the OBD2 port was not working. A nightmare. And I had to do debugging "in the car". Not really easy.

Basically the reason was that the PySerial library was too old. I didn't know why. Probably python-obd doesn't check any dependencies.
After upgrading pyserial to version 3.x everything was ok.

You need always to test, test, test every time you make a change.

But, know I'm happy.


No comments:

Post a Comment