Skip to main content

Netbox Plugin for Sonance Amp Input and Output Parameters

This plugin models SonAmp input and output parameters as an extension to an "Other" Interface.

Data Model

Configuration parameters for inputs and outputs are stored in two models: AmpInputSettings and AmpOutputSettings, which are tied to an Interface through a one-to-one foreign key relationship.

For AmpInputSettings, the following fields are managed:

  • Level Trim dB: value of -6.0 to 6.0 in 0.5 steps

The Interface Label field is applied to the Input Name parameter. This name is also what is offered when choosing an Output Source below; if an input interface has no label set, its name is used instead.

For AmpOutputSettings, the following fields are managed:

  • Output Setup
    • Stereo/Mono: "stereo" or "mono"
    • DSP Preset: preset name (freeform string)
    • Output Group: choice of "A" to "H"
    • Bridge Mode: "on" or "off"
  • Output Source
    • Output Source 1: choice of any other interface on the same device configured with input amp parameters, offered by that interface's label (or name, if it has no label)
    • Output Source 2: as above
    • Mode Source 2: choice of "mute", "mix", or "off"
  • Output Volume
    • Output Volume: value between -70 and 12
    • Turn On Volume: as above
    • Maximum Volume: as above
    • Gain Offset: value of -6.0 to 6.0 in 0.5 steps
    • Mute: "on" or "off"

The Interface Label field is applied to the Output Name parameter.

User Interface

The plugin ties the custom model editing into the Interface detail form. The editing form allows choosing "No amp parameters", "Input amp parameters", or "Output amp parameters" for each interface. Changing the type will add or remove the respective model entry, and show the correct form for the type.

Compatibility

NetBox Version Plugin Version
4.1 - 4.99 0.1.0

Installation

Install the plugin into your NetBox virtual environment:

pip install netbox-plugin-sonance-amp

Enable it in your NetBox configuration.py (or plugins.py, if using netbox-docker):

PLUGINS = [
    "netbox_plugin_sonance_amp",
]

Then run migrations and restart NetBox:

python manage.py migrate
python manage.py collectstatic --no-input

Development / Testing

A self-contained Docker Compose setup is included for trying the plugin out against a real NetBox instance. It builds a NetBox image with the plugin installed from this repository's source, so no packaging or PyPI publish is required.

docker compose up -d --build

Once the netbox service reports healthy, log in at http://localhost:8000/ with admin / admin. A demo device, sonamp-1, is created automatically with 8 input interfaces (In 1L through In 4R, each already configured with input amp parameters) and 8 output interfaces (Speaker 1L through Speaker 4R, all type "Other") so you can open any interface's detail page and add amp parameters right away -- including picking an Output Source from the labeled inputs.

To stop and remove the stack (including its database volume):

docker compose down -v

Release files for netbox-plugin-sonance-amp 1.0.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 netbox-plugin-sonance-amp 1.0.0
File Size Uploaded
netbox_plugin_sonance_amp-1.0.0.tar.gz 15.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for netbox-plugin-sonance-amp 1.0.0
File Interpreter ABI Platform
netbox_plugin_sonance_amp-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 37.0 kB

Release files / netbox_plugin_sonance_amp-1.0.0.tar.gz

Download URL netbox_plugin_sonance_amp-1.0.0.tar.gz
Size 15.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4cebd8977b0f2fe49d30faac8d80ca3798b2f889838f17bf6776e49a9903f4e8
BLAKE2b-256 checksum
How to use checksums
b2b6fa6e3e3fa67baf1604b1df5a23deeb5c8314703285ee51aaccff3e9d84a1
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 7, 2026.

Transparency log

Release files / netbox_plugin_sonance_amp-1.0.0-py3-none-any.whl

Download URL netbox_plugin_sonance_amp-1.0.0-py3-none-any.whl
Size 21.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eedd219542d5e2d91a74ecb3fad477500cd1e9448ed2c51bae8b2575e7106fe4
BLAKE2b-256 checksum
How to use checksums
7ceb4738d76c758875a4ac237b24df3ec078f429fb0be2a67a2588a055441f56
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 7, 2026.

Transparency log

Release history Release notifications | RSS feed

1.1.0

2 release files

This release

1.0.0 This release

2 release files

0.9.3

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