Skip to main content

Python client library for communicating with dbx DriveRack loudspeaker management systems

Project description

DBX DriveRack client for Python

This module provides a Python client library for discovering, connecting to, reading values from, and controlling aspects of a dbx DriveRack® loudspeaker management system device.

Presently, only the DriveRack PA2 model is supported.

Requirements

  • Python (>= 3.11)

    • Other dependencies are specified within the project files for automatic installation by a package manager, such as pip.
  • A compatible DriveRack hardware unit:

    • DriveRack PA2 (firmware version 1.2.0.1)
  • Network connectivity between this client and the device.

    • Both must be on the same IPv4 subnet for discovery to work.

Getting started

Install

pip install dbxdriverack

Discover online DriveRack devices

import dbxdriverack.pa2 as pa2

with pa2.PA2() as drack:
    devices = drack.discoverDevices()

    print(devices)

Connect and mute all outputs

import dbxdriverack.pa2 as pa2

with pa2.PA2() as drack:
    address = "192.168.1.100"  # or use discovery to find
    drack.connect(address)

    drack.bulkMute(dr.CmdMuteAll)

Examples

See the docs/examples/ directory for examples of each DriveRack feature.

Documentation

Module documentation, including functions and constants, is available here.

Limitations

At this time, only the DriveRack PA2 is supported. I simply do not own any other models, such as the VENU360, to develop and test with.

This is intended to be used for one-shot or bulk automated operations on a DriveRack, for example, getting or changing particular settings at a point in time. It is not designed to be connected to a device long-term and used interactively. While the DriveRack (and its native clients) do support realtime parameter change tracking via subscriptions, this module does not (and does not plan to) support these subscriptions. Furthermore, the default timeout values in this module may make even issuing commands manually in an interactive Python session difficult.

Contributing

Any DriveRack PA2 users are encouraged to test this module and provide bug reports or code contributions. I am seeking anyone with other DriveRack models (such as the VENU360) to help develop support for this and other devices.

Acknowledgements

dbx, DriveRack®, and other brand names are trademarks of Harman International Industries, Inc., a subsidiary of Samsung Electronics Co., Ltd.

This project is not affiliated with or endorsed by any of these companies, and the use of their trademarks is for identification purposes only.

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

dbxdriverack-0.0.1.tar.gz (34.8 kB view details)

Uploaded Source

Built Distribution

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

dbxdriverack-0.0.1-py3-none-any.whl (43.8 kB view details)

Uploaded Python 3

File details

Details for the file dbxdriverack-0.0.1.tar.gz.

File metadata

  • Download URL: dbxdriverack-0.0.1.tar.gz
  • Upload date:
  • Size: 34.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for dbxdriverack-0.0.1.tar.gz
Algorithm Hash digest
SHA256 7fe45a4beea4ad2a9d4f8e71e3f654d7b6b79cd594c056e6daafc94708da0ca8
MD5 3d3e712b908af355fc54c2ae10beddcc
BLAKE2b-256 19996a2de21880434e52744aae223fa01c14f26c85454d901795e104e9639657

See more details on using hashes here.

File details

Details for the file dbxdriverack-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: dbxdriverack-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 43.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for dbxdriverack-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9443ee3b4f415911b0f970efac0162d677bf874415588bcf26224ada39d9836b
MD5 51cc31797d60b44373e5fbd156e8a02e
BLAKE2b-256 2c21bbf1ea1fdb57b7350e3efc3e39f903e6e735457fcde0630b8f48784c1ae0

See more details on using hashes here.

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