New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

node-red-contrib-buspro

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-buspro

Node-Red implementation of HDL BusPro (SmartBus) protocol http://hdlautomation.com

latest
Source
npmnpm
Version
1.3.1
Version published
Maintainers
1
Created
Source

node-red-contrib-buspro

npm version GitHub package version dependencies Status

Node-Red implementation of HDL BusPro (SmartBus) protocol http://hdlautomation.com

Based on https://github.com/caligo-mentis/smart-bus.

BusPro-Controller

node that holds connection to IP Gateway of BusPro (Smart-Bus) network

Config

defaults: {
            host: {value:"",required:true},   // HDL BusPro  IP gateway 
            port: {value:6000, required:true, validate:RED.validators.number()},    // and port, default: 6000 
            subnetid: {value: 1, required: true, validate: RED.validators.number()}, // Connector address in HDL network (Subnet ID)
            deviceid: {value: 99, required: true, validate: RED.validators.number()} // Connector address in HDL network (Device ID)
        }

BusPro-IN

Receive commands from BusPro (Smart-Bus) network

Message format

msg:{
  sender: "1.2", //ID of Sender Device
  target: "255.255", //ID of Target Device
  code: 50,    //Integer with command operation code
  payload: {},   //Object with decoded data or raw buffer if data can not be parsed automatically
  topic: 'buspro/1.2/255.255/50' // topic contains a brief selection of parameters "buspro/{sender}/{target}/{command code}
}

Incoming messages can be filtered:

  • All messages
  • Broadcast only
  • FROM specific device
  • TO specific device

You can also use the filter by integer command code.

BusPro-OUT

Send commands to BusPro (Smart-Bus) network

Message for send to bus

msg:{
  target: "1.52", //Target device address
  code: 49,    //Integer with command operation code
  sender: "1.99", // (Optional) Source device address. A message will be sent from this device address. If the sender is not presented, it will be sent from the controller address
  payload: { //Object with data or raw buffer 
  		channel: 2,
  		level: 100
  	}   
}

Keywords

node-red

FAQs

Package last updated on 24 Sep 2021

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