GithubHelp home page GithubHelp logo

kafkar's Introduction

kafkar

ELM327 OBD2 to Kafka Topic(s)

Hardware Used: Raspberry PI 4 4GB, ELM 327 Bluetooth Module

Step 1: Have Raspbery Pi OS (Raspbian) running on your RPi4 and Update

sudo apt update
sudo apt upgrade

Step 2: Install Docker

curl -sSL https://get.docker.com | sh

Step 3: Install Portainer

docker volume create portainer_data
docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer

Step 4: Run Docker Compose To-do: Upload docker-compose.yml file into repo

Step 5: Pair with ELM327 using Bluetooth

sudo bluetoothctl 
> agent on
> default-agent 

Now, ensure that the ELM327 is powered on and ready to pair. The following commands will pair and connect the ELM327 to your RPi4:

> scan on
> pair [device Bluetooth address]
> connect [device Bluetooth address]

Step 6: Ensure Kafka Zookeeper Instance and Brokers are Up

Step 7: Run Python Program (To-Do) (Kafka + Spark)

Step 8: Validate data

kafkar's People

Contributors

braveenth avatar

Watchers

 avatar

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.