• Version 4.0.1
  • Published
  • 12.4 kB
  • 2 dependencies
  • MIT license


npm i enttec-open-dmx-usb
yarn add enttec-open-dmx-usb
pnpm add enttec-open-dmx-usb


A Node.js library for interacting with the Enttec Open DMX USB interface



variable PRODUCT_ID

const PRODUCT_ID: string;

    variable VENDOR_ID

    const VENDOR_ID: string;


      class EnttecOpenDMXUSBDevice

      class EnttecOpenDMXUSBDevice extends EventEmitter<Events> {}


        constructor(path: string, startSending?: boolean, usleep?: Usleep);

        method getFirstAvailableDevice

        static getFirstAvailableDevice: () => Promise<string>;
        • Get the path of the first available device.


          When no device is found.

        method listDevices

        static listDevices: () => Promise<string[]>;
        • Get the paths of all available devices.

        method setChannels

        setChannels: (
        channels: Buffer | number[] | Record<number, number>,
        clear?: boolean
        ) => void;
        • Set channel values. If channels is an Object, the keys are the channel numbers.

          Parameter channels

          Parameter clear

          Whether all previously assigned channels should be set to 0

        method startSending

        startSending: (interval?: number) => void;
        • Start sending.

          Parameter interval

          The milliseconds between each attempt to send. Most of the time 0 works fine.


          When the device is not ready yet.

        method stopSending

        stopSending: () => void;
        • Stop sending.

        Package Files (1)

        Dependencies (2)

        Dev Dependencies (3)

        Peer Dependencies (0)

        No peer dependencies.


        To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

        You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/enttec-open-dmx-usb.

        • Markdown
        • HTML
          <a href="https://www.jsdocs.io/package/enttec-open-dmx-usb"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>