Gathering detailed insights and metrics for node-red-contrib-opcua
Gathering detailed insights and metrics for node-red-contrib-opcua
Gathering detailed insights and metrics for node-red-contrib-opcua
Gathering detailed insights and metrics for node-red-contrib-opcua
npm install node-red-contrib-opcua
Module System
Unable to determine the module system for this package.
Min. Node Version
Typescript Support
Node Version
NPM Version
217 Stars
1,042 Commits
197 Forks
21 Watching
2 Branches
42 Contributors
Updated on 26 Nov 2024
JavaScript (80.5%)
HTML (19.5%)
Cumulative downloads
Total Downloads
Last day
7.7%
238
Compared to previous day
Last week
-1.4%
1,585
Compared to previous week
Last month
9.8%
7,611
Compared to previous month
Last year
36.6%
99,743
Compared to previous year
A Node-RED nodes to communicate or serve via OPC UA.
based on node-opcua
Run command on Node-RED installation directory.
npm install node-red-contrib-opcua
or run command for global installation.
npm install -g node-red-contrib-opcua
Use OpcUa-Item to define variables. Use OpcUa-Client to read / write / subscribe / browse OPC UA server.
See some flows under folder ![examples]. Updated server sub-flow example OPCUA-TEST-NODES.json look commands: addFolder, addVariable, addMethod, setFolder. Added new opcua-rights node to set folder/variable access level and role & permissions.
Here you got some ready to use examples. You can use the Import in Node-RED in the right upper corner menu.
Examples are available for Schneider IGSS and Prosys Simulation Server as Node-RED flow. Search for OPC UA on: http://flows.nodered.org/
Property | Function/Value | Notes |
---|---|---|
payload | set interval for subscription or monitorItem | |
interval | Subscription interval | |
queueSize | Subscription queue size | |
deadbandType | "a" abs. or "p" percent | Action monitor |
deadbandValue | integer for deadband | Action monitor |
topic | NodeId and DataType in format ns=3;s=Counter;datatype=Int32 | |
action | subscribe | nodeId / variable |
unsubscribe | nodeId / variable | |
deletesubscription | subscription | |
browse | nodeId / folder | |
info | nodeId | |
read | nodeId | |
write | nodeId & value | |
monitor | deadbandtype abs/pro | |
events | nodeId | |
readmultiple | [nodeId + datatype] | |
writemultiple | [nodeId + datatype + value] |
readmultiple to readmultiple items writemultiple to write multiple items clearitems to empty multiple items (readmultiple / writemultiple)
NOTE: With datatype=xxxArray msg.payload.range = "2:4" can used as indexRange to read/write partial array
Property | Function/Value | Notes |
---|---|---|
payload | dataValue.value.value | |
statusCode | OPC UA StatusCode | |
sourceTimestamp | Source timestamp | |
serverTimestamp | ServerĀ“s timestamp |
Release history (only couple of older releases):
v0.2.223
Fixed: Namespace index used with variables (set value).
Enhancements: Initial value can be set to server variable, server returns nodeId as variable created. Added support for StringArray.
v0.2.117
Enhancement: Added users to server. Users.json contains username, password and role for each user.
v0.2.116
Enhancement: server allow anonymous, added verbose to show trusted/rejected folders.
v0.2.115
Enhancement: server node security settings; mode and policy
v0.2.114
Fix: added to client certificate manager
v0.2.113
Enhancement: server commands: registerNamespace and getNamespaceIndex, user can addVariables with registered namespaces like ns=5.
Enhancement: msg.topic = readmultiple AND msg.payload = ALL then msg.payload = values
v0.2.112
Added DateTime to server.
v0.2.111
Fixed DateTime conversion (write).
v0.2.110
Added 2D and 3D array support. Examples:
ns=1;s=Float2D;datatype=FloatArray[5,5]
ns=1;s=Float3D;datatype=FloatArray[5,5,5]
NOTE: Write range uses msg.range
New feature msg.payload.range can be used to read part of Array
New feature msg.range can be used to write part of Array
Updated example OPCUA-TEST-NODES.json
v0.2.109
Added array range examples (examples/OPCUA-TEST-NODES.json).
Send only if payload contains something.
Added msg.payload.range usage
New feature msg.payload.range can be used to read/write part of Array
Fix: FQDN -> hostname in makeAplicationUri
EventId and statustext as clear string
EventId as hex string
v0.2.108 and older
Fixed support for server Array variables
Browse will create topic and datatype thus output can be connected. Next node can progress output msg.
Refactored browse action fast and simple
Merged event payload fix. Merge pull request #265 from list3f/master
Put OPC UA event data in msg.payload
karma start opcua.conf.js --log-level debug --single-run
Nodes | Function | Done |
---|---|---|
All | ||
Project structure | :white_check_mark: | |
Async calls | :waxing_crescent_moon: | |
UnitTesting | :new_moon: | |
Documentation | :first_quarter_moon: | |
Item | :white_check_mark: | |
Browser | ||
Browse | :white_check_mark: | |
Simple UI interface | :first_quarter_moon: | |
Client | ||
Read | :white_check_mark: | |
Read Multiple | :white_check_mark: | |
Write | :white_check_mark: | |
Write Multiple | :white_check_mark: | |
Subscribe | :white_check_mark: | |
Unsubscribe | :white_check_mark: | |
DeleteSubscription | :white_check_mark: | |
Info | :white_check_mark: | |
Browse | :white_check_mark: | |
AE | :new_moon: | |
reconnect on error | :waxing_crescent_moon: | |
Server | ||
Commands | ||
Restart | :white_check_mark: | |
Add Folder | :white_check_mark: | |
Set Folder | :white_check_mark: | |
Add Variable | :white_check_mark: | |
Add Object | :new_moon: | |
Add Method | :new_moon: | |
Add Equipment | :first_quarter_moon: | |
Add PhysicalAssets | :first_quarter_moon: | |
Delete by NodeId | :white_check_mark: | |
Examples | ||
Methods | ||
Structures | ||
Variables | ||
Objects | ||
AE | ||
Alarm and Events | ||
Subscribe | :white_check_mark: | |
No vulnerabilities found.
Reason
27 commit(s) and 18 issue activity found in the last 90 days -- score normalized to 10
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
1 existing vulnerabilities detected
Details
Reason
Found 2/23 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-11-18
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn Morenode-red-contrib-opcua-server-refresh
Fork of the original 'node-red-contrib-opcua-server' package that is no longer maintained. This has been refactored to support the latest version of node-opcua and fixes incomplete/non-working features.
node-red-contrib-opcua-server
Node-RED contribution nodes with next generation OPC UA in a compact and less dependencies package.
node-red-contrib-opcua-swms
A fork from Node-RED node to communicate via OPC UA based on node-opcua library.
node-opcua-crypto
Crypto tools for Node-OPCUA