GithubHelp home page GithubHelp logo

can2mqtt's People

Contributors

tillsc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

can2mqtt's Issues

yaml changes support for Python3.9

I had to change two lines to get it to work again with the latest builds

  • line12: config = yaml.safe_load(stream)

and add encoding to the open (otherwise you get an "I/O operation on closed file")

line 66: with open (file, 'r', encoding='utf-8') as fin:

support for CAN-FD and message filters

Hi - thank you this is a great project. I was looking for something that could publish decoded CAN/CAN-FD messages to MQTT broker as my end goal is to send it out to a webpage.

But my issue is that we're using CAN-FD bus and messages v/s std CAN. The config file supports bus bitrate but not ddrate - I was planning to fork and add that unless you plan to do it. Also another good option would be to support message filters because not all messages in the DBC as well as over the bus may be of interest. Hence was also planning to implement a config param to allow the user to define filters for specific messages/mask based on what is supported by socketcan.

Thank you again for a great project!

Script stops after a while

Hi there, this script works great, thank you for creating it.

I'm encountering an issue when it runs for a while but I'm having difficulty finding the cause or coming up with a fix. The MQTT broker & CAN connections do not present issues with any of the other connections to them.

Is it straightforward to detect if the script stops working and if it does to restart it? I'm a bit new at this so don't know a sensible way to do this.

Sometimes the script stops with a traceback as shown below, and other times there is no traceback but it stops bridging the messages to MQTT.

image

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.