Skip to main content

Terminal UI for CODESYS PLC visualizations and variables over OPC UA

Project description

tuivisu

Terminal UI for CODESYS PLCs — a TUI take on the WebVisu, readable and editable over SSH. Connects to the PLC's OPC UA server (the supported, documented channel; the WebVisu wire protocol itself is proprietary binary paint commands and deliberately not used).

Install

pipx install tuivisu

Run

tuivisu --url opc.tcp://<plc>:4840 --user <device-user> --password <pw>

Keys: q quit - arrow keys browse - Enter edit the selected value.

Values are live (OPC UA subscription) and update in place. Rows whose Access shows rw * are editable scalars; Enter opens an input and confirms before writing to the PLC. Which variables appear is whatever the project's Symbol Configuration publishes — curate the set in the IDE, exactly like binding a WebVisu to specific GVLs / program variables.

PLC prerequisites

  • A Symbol Configuration object with Support OPC UA features enabled (Application → Add Object → Symbol Configuration), variables published, application downloaded.
  • A device user (or anonymous access explicitly allowed in the device's Communication Policy).

Development

py -m venv .venv
.venv/Scripts/pip install -e . --group dev
.venv/Scripts/python -m pytest -q
ruff check . && ruff format --check . && mypy src

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tuivisu-0.2.1.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tuivisu-0.2.1-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file tuivisu-0.2.1.tar.gz.

File metadata

  • Download URL: tuivisu-0.2.1.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tuivisu-0.2.1.tar.gz
Algorithm Hash digest
SHA256 d70bd10f94fffd41223445af89e2737eabb1ba216b64e11d2a225a47248d348f
MD5 c2cc659e59476204eb13a3cd95617fe6
BLAKE2b-256 f13e20c6c4da9a40ddcc52d62e4264c434679ed6dafe689776db28afe7b9ba2b

See more details on using hashes here.

Provenance

The following attestation bundles were made for tuivisu-0.2.1.tar.gz:

Publisher: release.yml on phobicdotno/tuivisu

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tuivisu-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: tuivisu-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tuivisu-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2118551a5af7ba07e395682fe78557d17c0c55d16fa1353ef7bf3e3e29893651
MD5 eb7b07c365f55c565b1b5364c123765e
BLAKE2b-256 147a6e391090103913f0ed0b058eda4bf38e1fb2f927d111d6657f431ea564d5

See more details on using hashes here.

Provenance

The following attestation bundles were made for tuivisu-0.2.1-py3-none-any.whl:

Publisher: release.yml on phobicdotno/tuivisu

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page