bnystrom / node-red-contrib-can

A Node-Red node for communicating with a Control Area Network towards for example a car.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

node-red-contrib-can

Node-RED node based on socketcan for reading a KCD file and handeling CAN-messages sent and received for this.

Install

Run the following command in your Node-RED user directory - typically ~/.node-red

    npm install node-red-contrib-can

Usage

You will need to have can-utils installed on your machine. Since this package is only available for unix systems you will need a unix machine to run this. sudo apt-get install can-utils should work in ubuntu.

Tips

Since this only works with kayak (kcd) files I would recommend having a look at canmatrix which is a python tool to convert between different standards.

Acknowledgements

Thanks to sebi2k1 for his excellent NodeJs wrapper around socketcan. ebroecker for his canmatrix convertion tool.

About

A Node-Red node for communicating with a Control Area Network towards for example a car.

License:Other


Languages

Language:JavaScript 72.8%Language:HTML 27.2%