New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

node-red-contrib-bsb-lan

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-bsb-lan

A node-red node that makes the communication with BSB-Lan very easy

  • 1.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7
increased by133.33%
Maintainers
1
Weekly downloads
 
Created
Source

CLA assistant compile CodeFactor npm version

node-red-contrib-bsb-lan a BSB-LAN node for Node-RED

Provides functionality to retrieve data from the BSB-LAN adapter.

When triggered, the node will login and make the configured request.

This is an sample request of fetching (GET) two parameters:

{
    "_msgid": "...",
    "payload": {
        "700": {
            "name": "Betriebsart",
            "error": 0,
            "value": "1",
            "desc": "Automatik",
            "dataType": 1,
            "readonly": 0,
            "unit": ""
        },
        "710": {
            "name": "Komfortsollwert",
            "error": 0,
            "value": "22.0",
            "desc": "",
            "dataType": 0,
            "readonly": 0,
            "unit": "°C"
        }
    }
}

Install

Install via the palette manage in the Node-RED admin ui (no restart needed).

Alternatively run the following command in your Node-RED user directory (typically ~/.node-red):

npm install node-red-contrib-bsb-lan

then restart Node-RED and add an instance of the bsb-lan node.

Usage

Just add the connection settings and select what type of request you want to sent.

You can also override the configuration settings with properties that are injected into the incomig message.

propertytypeexample
requesttypeGET / SET / INFGET
parameters[][700,710] (fetched in GET the parameter 700 & 710)
valuenumber22.0 (only valid for requesttype SET / INF)

GET

With the GET you can fetch multiple parameters in on request. Just select in the parameters tree the parameter that you like to fetch and inject a message.

config

The payload will be filled with the values.

SET / INF

You can even change the configuration of your device but you have to first enable in the BSB-LAN the write functionality see Chapter 5

Select the right request type and now you can select only one value from the parameter list. Fill in the value that you want to write into the parameter and inject a message.

Keywords

FAQs

Package last updated on 01 Sep 2023

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