# Node-red-contrib-can

**URL:** <https://discourse.nodered.org/t/node-red-contrib-can/15059>\
**Category:** General\
**Created:** [3 September 2019 13:35 UTC](https://discourse.nodered.org/t/node-red-contrib-can/15059 "2019-09-03T13:35:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discourse.nodered.org/u/Ivan)\
**Post date:** [3 September 2019 13:35 UTC](https://discourse.nodered.org/t/node-red-contrib-can/15059/1 "2019-09-03T13:35:54Z")

</div>

I installed node-red-contrib-can!  
Tell me how to use this package? I would be grateful for any example or documentation. Thank!

---

<div class="post-metadata">

**Author:** ![Stylo](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/stylo/32/14221_2.png) [@Stylo](https://discourse.nodered.org/u/Stylo)\
**Post date:** [3 September 2019 13:38 UTC](https://discourse.nodered.org/t/node-red-contrib-can/15059/2 "2019-09-03T13:38:35Z")

</div>

> [@Ivan](#):
>
> node-red-contrib-can

"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."

Found under usage [here...](https://www.npmjs.com/package/node-red-contrib-can)

---

<div class="post-metadata">

**Author:** ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discourse.nodered.org/u/Ivan)\
**Post date:** [3 September 2019 13:53 UTC](https://discourse.nodered.org/t/node-red-contrib-can/15059/3 "2019-09-03T13:53:05Z")

</div>

I installed this package on raspberry pi.  
I do not understand how to configure the CAN bus.  
Socket ?  
Bus?  
Database?

Message?  
Signal?

In the node-red-contrib-canbus package, I select only the can0 interface; it is already included in my raspberry pi.

---

<div class="post-metadata">

**Author:** ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discourse.nodered.org/u/Ivan)\
**Post date:** [4 September 2019 08:58 UTC](https://discourse.nodered.org/t/node-red-contrib-can/15059/4 "2019-09-04T08:58:53Z")

</div>

You're using node-red-contrib-can?
