/can2mqtt

Generic DBC based CAN 2 MQTT brigde

Primary LanguagePython

DBC based CAN to MQTT brigde

This is a generic CAN 2 MQTT bridge build with Python 3

Setup

This package is based upon the following dependencies:

Install all required Python 3 dependencies on a raspberry:

sudo apt-get install python3-pip python3-can
pip3 install paho-mqtt cantools

Usage

Copy your DBC files into the root directory.

Copy config.example.yaml to config.yaml and modify it.

Run ./main.py or python3 main.py