Socket
Book a DemoInstallSign in
Socket

node-red-contrib-victron-modbus

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-victron-modbus

Access the Victron equipment via the modbus

0.1.5
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

node-red-contrib-victron-modbus

Tankpump flow

Leaning on the shoulders of giants. So in this case the code of the flex-getter module of node-red-contrib-modbus is used to create a Victron specific modbus client.

It uses the /opt/victronenergy/dbus-modbustcp/attributes.csv file for making the dropdown in the edit panel to select the value to read. Al you need to determine before you can use the node, is to get the used Unit ID.

If you don't have that, you can also download it from here and store it in your Node-RED userDir (typically ~/.node-red). The following curl command does just that:

curl -o ~/.node-red/attributes.csv https://raw.githubusercontent.com/victronenergy/dbus_modbustcp/master/attributes.csv

Edit panel

It will show all available attributes, not just the ones that are actually available on the system. Also, make sure that you enter the correct Unit ID to match the wanted attribute. The easiest way to obtain the attribute is to check the console under Settings -> Services -> Modbus TCP -> Available services.

Installation

You can install the node from the palette manager, but be warned that, if you don't have node-red-contrib-modbus installed yet, you will need to restart Node-RED first. See here for more details.

About

The code relies on node-red-contrib-modbus and uses part of that code to function.

Keywords

node-red

FAQs

Package last updated on 24 Feb 2024

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.