Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-red-contrib-can

Package Overview
Dependencies
Maintainers
6
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-can

Node RED Node interfacing with a CAN network.

  • 1.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
15
increased by7.14%
Maintainers
6
Weekly downloads
 
Created
Source

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.

The node can be 'enabled' or 'disabled' by sending a 'msg.can' message of 'enable' or 'disable'. This makes it easy to to halt or start can messages while the flow is running or based of external logic.

The node can also be configured to send a CAN message any time there is an update to the node, or only on change.

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.

Keywords

FAQs

Package last updated on 15 Sep 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc