Skip to content

JavaScript OPC UA client has been implemented to subscribe to the server and monitor changes in the temperature sensor value. Upon detecting a change, the new value is saved to a PostgreSQL database

Notifications You must be signed in to change notification settings

iliareshetov/node-opcua-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaScript OPC UA client that connects to a server using the OPC UA communication protocol.
The client subscribes to the server and continuously monitors a temperature sensor's value.
Whenever the value changes, the new value is logged to the console and saved to a PostgreSQL database.
The code uses the "node-opcua" and "os" libraries to implement the OPC UA client and obtain the hostname of the device running the code.

Use: Simulation of a PLC server that uses the OPC UA

About

JavaScript OPC UA client has been implemented to subscribe to the server and monitor changes in the temperature sensor value. Upon detecting a change, the new value is saved to a PostgreSQL database

Topics

Resources

Stars

Watchers

Forks