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.
-
Notifications
You must be signed in to change notification settings - Fork 0
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
iliareshetov/node-opcua-client
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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