Skip to main content

crestron-nvx

CI Apache-2.0

An unofficial async Python client for direct local communication with Crestron DM NVX AV-over-IP endpoints.

API provenance

This library implements Crestron's ** publicly documented DM NVX REST API**. The authoritative external references are Crestron's public:

Those references describe the API's HTTPS authentication, GET/POST methods, object paths, property types, and model-specific applicability. This repository does not copy or redistribute Crestron manuals, schemas, examples, firmware, or other proprietary material. The external documentation and device behaviour may change, and continued compatibility is not guaranteed.

See API_PROVENANCE.md for the project's source and fixture policy.

Status

Version 0.1 is deliberately read-only. It authenticates over HTTPS and reads device identity, device-specific state, A/V I/O status, receive streams, and transmit streams. An allow-listed read method also supports safe exploration of documented objects such as Preview.

No reboot, routing, input, mode, stream, or configuration write can be issued by this release.

The declared initial support scope is:

Model Firmware 6.0 Firmware 7.1
DM-NVX-350 Supported; validation pending Supported; hardware validated
DM-NVX-360 Supported; validation pending Supported; hardware validated
DM-NVX-E30 Supported; hardware validated Supported; validation pending

The parser detects capabilities from returned objects and fields. It does not reject other firmware versions, but versions outside this table are currently best-effort.

Installation

The package will be installable after its first PyPI release:

python -m pip install crestron-nvx

For development before that release:

python -m pip install --editable '.[test]'

Usage

from aiohttp import ClientSession
from crestron_nvx import NvxClient

async with ClientSession() as session:
    client = NvxClient(
        session,
        "192.0.2.10",
        "username",
        "password",
        verify_ssl=False,
    )
    snapshot = await client.async_get_snapshot()
    print(snapshot.device.model)

verify_ssl=False accepts an endpoint without authenticating its certificate. This is often necessary for factory/self-signed DM NVX certificates, but an on-path device could then impersonate the endpoint and receive its credentials. Use that mode only on a trusted, isolated local network. Prefer verify_ssl=True whenever the endpoint certificate is trusted by the client host. Never log credentials, authentication cookies, raw device responses, or personally identifying endpoint data.

Development

Install the test dependencies and run:

ruff format --check .
ruff check .
mypy
pytest --cov=crestron_nvx --cov-report=term-missing
python -m build
twine check dist/*

Tests use small, invented fixtures that describe only the fields required to exercise library behaviour. Raw device responses must not be committed.

Licence

Copyright © 2026 Daniel Wilson (@Danw33)

Licensed under the Apache License, Version 2.0. See LICENSE and NOTICE. The licence covers this project's code and documentation; it does not grant rights to third-party trademarks, firmware, documentation, or other materials.

Crestron and DM NVX are trademarks of their respective owners.

Release files for crestron-nvx 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for crestron-nvx 0.1.0
File Size Uploaded
crestron_nvx-0.1.0.tar.gz 20.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for crestron-nvx 0.1.0
File Interpreter ABI Platform
crestron_nvx-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 34.2 kB

Release files / crestron_nvx-0.1.0.tar.gz

Download URL crestron_nvx-0.1.0.tar.gz
Size 20.5 kB
Tags Source
SHA-256 checksum
How to use checksums
183a102eb276dd30e60e1cd72bde51b170e26f2b38ae8316aa5582f4e55d7dcc
BLAKE2b-256 checksum
How to use checksums
17b0c64233207e93be7c314afc23d254238c750a4a44b9004354f8c3171cc4f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.

Transparency log

Release files / crestron_nvx-0.1.0-py3-none-any.whl

Download URL crestron_nvx-0.1.0-py3-none-any.whl
Size 13.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4df4edcae399bec618850b10df4a6bdff1306577258dc645195075a82a57f667
BLAKE2b-256 checksum
How to use checksums
4ee8962e93b10214582f83f891ab0cab3a9c65a1503c9ca69532f877daefc204
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.

Transparency log

Release history Release notifications | RSS feed

0.2.0

2 release files

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page