Skip to content

OPC UA Sample Server based on node-opcua. Showcasing how to implement companion specifications.

License

Notifications You must be signed in to change notification settings

node-opcua/SampleServer-node-opcua

 
 

Repository files navigation

SampleServer-node-opcua

Node.js CI CodeQL Lint Code Base Container Build

OPC UA Sample Server based on node-opcua
the official book node-opcua: node-opcua by example by Sterfive
API Docs: 2.32.0

Usage

  • download and unpack
  • open folder in VS Code (or in terminal)
  • npm install
  • npm run start

Example Users

User: admin Password: pw1
User: operator Password: pw2
User: guest Password: pw3

Ephemeral Dev Environment

  • Click
  • npm run start
  • split terminal: opcua-commander -e opc.tcp://localhost:4840/UA to have a local OPC UA client

Docker

Set "IP" and "PORT" in env:

  • docker run -it -p 4840:4840 -e PORT=4840 -e IP=127.0.0.1 --name sampleserver-node-opcua ghcr.io/andreasheine/sampleserver-node-opcua:main

Online Server Instance

  • opc.tcp://opcua.umati.app:4843

Implementations of OPC UA Companion Specifications

image

OPC UA Pub/Sub over MQTT

MQTT-Broker: mqtt://broker.hivemq.com:1883
MQTT-Topic: umati/#

License

GitHub

Unless otherwise specified, source code in this repository is licensed under the Apache 2.0 License.

About

OPC UA Sample Server based on node-opcua. Showcasing how to implement companion specifications.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • TypeScript 99.5%
  • Dockerfile 0.5%