DMX interface
ENTTEC DMX USB Pro
ENTTEC DMX USB Pro is a DMX interface over USB and DMX (5-pin XLR). What OAV knows about it, each fact with the page it was read from, how to set it up, what goes wrong, and the code that reaches it.
Also called: DMX USB Pro · Enttec Pro · USB to DMX · 70304 · DMX 介面
- hand-written record
- not checked on a unit yet
- Kind
- DMX interface
- Manufacturer
- ENTTEC
- Connections
- USB and DMX (5-pin XLR)
- Protocols
- DMX512 · RDM · ENTTEC USB Pro API
- Licence
- MIT
- Verified
- not checked on a unit yet
Try it
The frame ENTTEC DMX USB Pro receives
Three DMX channels as sliders, written into one universe and wrapped in the Pro’s “send DMX” message (label 6) by encodeEnttecDmx(), the bytes Web Serial or the out-bridge would write to the port. Nothing is sent.
0x7E start · 0x06 label · length · start code 0 · channels · 0xE7 end
Facts
What ENTTEC DMX USB Pro is
Each value is read from the page in its row. What could not be read is under “To be confirmed”, not guessed.
Connect
How it plugs in and what it speaks
Connections
USB · DMX (5-pin XLR)
Protocols
DMX512 · RDM · ENTTEC USB Pro API
Setup
Set it up
- From a page with no bridge: dmxTransport('serial', { patch, universe: 1 }) and a Connect button that calls connect(); the browser asks which port only from a click. Chrome or Edge on a computer, on https or localhost. open-audiovisual handbook: DMX lighting (Web Serial and the enttec sink, safety, not here)
- Through the out-bridge instead: an enttec route with the serial device's path, { "match": "dmx/1/*", "sink": "enttec", "path": "/dev/cu.usbserial-…", "universe": 1 }. A missing device is a status, retried every 2 s. open-audiovisual handbook: DMX lighting (Web Serial and the enttec sink, safety, not here)
Known problems
- On Web Serial there is no watchdog: the Pro keeps repeating the last frame, so send a blackout before close(). open-audiovisual handbook: DMX lighting (Web Serial and the enttec sink, safety, not here)
- OAV writes the Pro's "send DMX" frames but no RDM; and an Enttec Open DMX or a bare FTDI cable is not this device and does not work with it. open-audiovisual handbook: DMX lighting (Web Serial and the enttec sink, safety, not here)
Use it
ENTTEC DMX USB Pro in your code
Paste it into a <script type="module"> on any page: it loads the packages from this site. It asks for nothing until you press the button it adds.
import { device } from 'https://openaudiovisual.com/packages/devices/index.js';
import { Patch, DmxEngine, dmxTransport } from 'https://openaudiovisual.com/packages/dmx/index.js';
const pro = await device('enttec-dmx-usb-pro'); // ENTTEC DMX USB Pro
console.log(pro.record.protocols.join(' '));
// → dmx512 rdm enttec-usb-pro
const patch = new Patch();
patch.add({ id: 'par1', profile: 'generic-rgbw', mode: '6ch', address: 1 });
const engine = new DmxEngine(patch);
engine.set('par1', { dimmer: 1, color: [1, 0.5, 0] });
const out = dmxTransport('serial', { patch, universe: 1 });
const button = document.body.appendChild(Object.assign(document.createElement('button'), { textContent: "Connect the ENTTEC DMX USB Pro" }));
button.onclick = async () => { await out.connect(); out.send(engine.render(0)); }; // the browser asks which portWhat reaches it
@openav/dmx·dmxTransportconst out = dmxTransport('serial', { patch, universe: 1 }); button.onclick = () => out.connect()The page writes whole Enttec frames by Web Serial, at most one every 25 ms while anything changes and once a second otherwise, through the flash guard.
@openav/out·OutClient· sinkenttecdmxTransport('bridge', { patch, client: new OutClient({ url: 'ws://127.0.0.1:6450/out' }).connect() })The out-bridge's enttec sink carries one universe to the Pro on a serial device, with the watchdog's safe values when the page goes away.
Files
Take it with you
The record (JSON, open-audiovisual/device@1): the facts with their sources, the setup steps, the problems and the code that reaches it. Other tools can read it with the JSON Schema.
An out-bridge config (out.json) with the route for this device: node packages/out/bridge/out-bridge.mjs --config out.json. Change the address or the port to yours.
Status
How sure this page is
Not checked on a unit yet: every value is as its source says. Only a person with the unit can change that.
To be confirmed
- No real DMX USB Pro has received OAV's frames yet: the bytes follow the published API and the tests decode them on a stand-in port.
Sources
GitHub
Wrong data?
Every value on this page comes from one file in the repository. Open an issue that says which value and where you read the right one, or change the file in a pull request.