Simple OPC-UA GUI client.
Written using freeopcua python api and pyqt. Most needed functionalities are implemented including subscribing for data changes and events, write variable values listing attributes and references, and call methods. PR are welcome for any whished improvments
It has also a contextual menu with a few usefull function like putting the mode id in clipboard or the entire browse path which can be used directly in you program: client.nodes.root.get_child(['0:Objects', '2:MyNode'])
The Fork:
- The fork adds the ability to log data in a duckdb database. As default it creates a duckdb file on your home with the name opcua.duckdb.
- Using a duckdb client e.g. DBeaver and onnecting to the database you get a history of all datapoints to which you subscribe. Reading and writing at the same time is not yet supported.
What works:
- connecting and disconnecting
- browsing with icons per node types
- showing attributes and references
- subscribing to variable
- available on pip: sudo pip install git+https://github.com/upohl/opcua-client-gui/opcua-client-gui.git
- subscribing to events and logging them
- write variable node values
- gui for certificates
- gui for encryption
- call methods
- plot method values
- remember last browsed path and restore state
- history view
TODO (listed after priority):
- remember connections and show connection history
- detect lost connection and automatically reconnect
- gui for loging with certificate or user/password (can currently be done by writting them in uri)
- Something else?
Note: PyQT 5 is required.
- Make sure python and python-pip is installed
- 'pip3 install opcua-client'
- 'pip3 install duckdb'
pip3 install git+https://github.com/upohl/opcua-client-gui.git@duckdb-logger- Run with:
opcua-client-adesso
- Install winpython https://winpython.github.io/ , install the version including pyqt5!
- 'pip3 install opcua-client'
- 'pip3 install duckdb'
- Use pip to install opcua-client:
pip install git+https://github.com/upohl/opcua-client-gui.git@duckdb-logger - Run via the script pip created:
YOUR_PYTHON_INSTALL_PATH\Scripts\opcua-client-adesso.exe
To update to the latest release run: pip install opcua-client --upgrade
- Make sure python, python-pip and homebrew is installed
brew install pyqt@5- 'pip3 install opcua-client'
- 'pip3 install duckdb'
pip3 install git+https://github.com/upohl/opcua-client-gui.git@duckdb-logger cryptography numpy- Run with
opcua-client-adesso

