Skip to main content

delcom904x

delcom904x is a python class and command-line script to control the Delcom Products 904x series multi-color visual signal indicators. These are USB HID devices that are easily controllable from most platforms (e.g.: macOS, Linux, Windows, OpenBSD).

It has been tested with the 904005-SB but should work with any of the other models without any issues. The yellow in the green, red and yellow indicators is wired the same as blue. There also doesn't appear to be a method of detecting if the attached indicator supports blue or yellow, so blue and yellow commands are synonyms.

Installation

    $ pip install delcom904x
    $ control-delcom904x --green --red --flash --cycle

control-delcom904x usage

    -h, --help        show this help message and exit
    --list            List all USB devices.
    --info            Returns info on the device.
    --red             Enable the red light.
    --green           Enable the green light.
    --blue            Enable the blue light.
    --yellow          Enable the yellow light (if equipped; synonym for blue).
    --flash           Turns on flashing.
    --cycle [100]     Turns on cycling.
    --intensity [80]  Sets brightness: 0-100.
    --reset           Resets the device.

  buzzer options:
    --buzz [3]        Buzz N times: 1-255.
    --buzz-freq 1000  Buzzer frequency in Hz: 16-3906.
    --silence         Stop the buzzer, leaving the LEDs.

Python Code Examples

import delcom904x

light = delcom904x.DelcomMultiColorIndicator()
light.set_color(delcom904x.Color.RED, flashing=True)
light.close()
import delcom904x

with delcom904x.DelcomMultiColorIndicator() as light:
    light.info()
    color = delcom904x.Color.GREEN | delcom904x.Color.RED
    light.set_color(color, flashing=True)
    light.set_intensity(80, color)
import delcom904x

# reset=False leaves the current LED and buzzer state alone when attaching.
with delcom904x.DelcomMultiColorIndicator(reset=False) as light:
    light.enable_buzzer(frequency=2000, on_ms=500, off_ms=250, repeat=5)

udev Notes

On Linux machines, the default udev rulesets may set the permissions on the device to only be accessible to the root user. Add the following rule to /etc/udev/rules.d/ and re-plugin the indicator to allow all users to access the device (optionally, consider changing MODE="0666" to GROUP="dialout" to allow only the dialout group access).

    SUBSYSTEMS=="usb", ATTRS{idVendor}=="0fc5", ATTRS{idProduct}=="b080", MODE="0666"

Metadata

Release files for delcom904x 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 delcom904x 1.0.0
File Size Uploaded Provenance Actions
delcom904x-1.0.0.tar.gz 7.2 kB With provenance Details for delcom904x-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for delcom904x 1.0.0
File Interpreter ABI Platform Actions
delcom904x-1.0.0-py3-none-any.whl Python 3 none any Details for delcom904x-1.0.0-py3-none-any.whl

Total release size: 15.2 kB

Release files / delcom904x-1.0.0.tar.gz

Download URL delcom904x-1.0.0.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e26343bc2d0fce1d32b691af1fb69d100cb7baf1fb8933518e61e80be7f2e4fa
BLAKE2b-256 checksum
How to use checksums
1e68d4de9f44377e4cc8640c89c564619f931938d49ca1294f35c14b174701d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 14, 2026.

Transparency log

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

Download URL delcom904x-1.0.0-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9f9434366b86d8a065b9fadada7d50c309b653962c6d9e0b558ee5bae25e43fa
BLAKE2b-256 checksum
How to use checksums
ac0d05b7f562384812f99df4ead7f038449733b3bae722fb97f76d0ea40382e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 14, 2026.

Transparency log

Security for delcom904x 1.0.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for delcom904x-1.0.0.tar.gz

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 Nov 14, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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