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.0.tar.gz (10.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.0-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tuivisu-0.2.0.tar.gz
  • Upload date:
  • Size: 10.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.0.tar.gz
Algorithm Hash digest
SHA256 3360c4ba52160f3dac6fc4303604536ec0d7d5e19a2b5de3b8cecc644911d30d
MD5 2a9dcb42af2ea3c7abede3456454e163
BLAKE2b-256 06e571a66e58efa05bef71432f15d1afbc05f35541508c5ea4fe88ec49ccdc92

See more details on using hashes here.

Provenance

The following attestation bundles were made for tuivisu-0.2.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: tuivisu-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 9.4 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fcab01c2ace7ad10b7accf631778eb094ab51e8b4ea3a2d3546db52dbc7fd791
MD5 598e56f4dfd05ffc5228726c3904115f
BLAKE2b-256 c84f638af9726f1cdc80d2c713734d79d25f44f73c6d45437fb3a6129afa0268

See more details on using hashes here.

Provenance

The following attestation bundles were made for tuivisu-0.2.0-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