Obdii
The repo contains the Python code developed for the Connected Car OSS work
Install / Use
/learn @luigisaetta/ObdiiREADME
OBDII
Author: L. Saetta
Starting Date: 27/12/2017
Last update: 04/02/2018
luigi.saetta@gmail.com
This repository contains most of the work I have done to develop a working prototype for my idea of a Connected Car.
Following, some details:
HW that will be used:
- OBDII port in the car
- OBDII Bluetooth adapter (available from Amazon, for example)
- a Raspberry PI 3 (need bluetooth and WIFI)
- A SmartPhone, for Internet Connectivity (in my case an iPhone)
- a PowerBank, to power the RPI
- GlobalSat USB GPS Receiver BU-353-S4 (SiRF Star IV)
- (optional) Google Voice AYI kit
Cloud Services:
- Compute and Storage Services (a Linux VM)
- MQTT broker (TLS capable)
- NodeRED, to process msgs (MQTT and NodeRED are incapsulated in Docker Container)
The software running on RPI is developed in Python and run as a set of System Services
SW Dependencies:
- Paho MQTT client for Python (see: https://www.eclipse.org/paho/clients/python/)
- configparser
- Python-OBD to access data from OBDII interface (see credits)
Release 0.6: This release is to test the OBDII interface and demonstrate that the project is feasible. The first release of the code will read, in a loop, a set of values from OBDII interface, format it as a JSON msg and will send it to the MQTT broker to a dedicated topic. Communication will be secure and protected using TLS1.2. QoS for msgs will be: 1 (guaranteed at least once). In a separate project I will create a NodeRED flow to show the data from the car in a Dashboard.
Release 0.7: OBD2 becomes a system service on RPI, therefore is automatically started on RPI startup!
Release 0.8: Added Command Processor. It is possible now to send commands to RPI as msgs on a topic dedicated to the car
Release 0.9 (wip): Integration with Google Voice Kit. This is the Next Big Thing!!!
Release 1.0 (not yet available, sorry): Production ready code with all the features described for vers. 0.6
Release 2.0: In release 2.0 I will integrate Oracle IoT Cloud Service and Oracle IoT Fleet Management.
Release 3.0: I will integrate the Python code with Eclipse Kura.
Release history:
- 29/12/2017: vers. 0.6
- 01/01/2018: vers. 0.7
For more information about OBD-II, see https://en.wikipedia.org/wiki/OBD-II_PIDs
Credits:
- Access in Python code to OBDII data is realized using Python-OBD, see http://python-obd.readthedocs.io/en/latest/
Related Skills
node-connect
351.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
