open-audiovisual
Search GitHub

Prolights

Prolights SMARTBAT

Prolights SMARTBAT, a par / wash light by Prolights, with 3 modes (4ch: 4, 6ch: 6 and 10ch: 10). Channel data from Open Fixture Library (MIT), converted to OAV’s fixture format and not checked on a light by this project.

  • from Open Fixture Library (MIT)
  • not checked on a unit yet
Kind
par / wash light
Manufacturer
Prolights
Modes
3 modes (4ch: 4, 6ch: 6 and 10ch: 10)
Protocol
DMX512
Strobe
no rate in the file: kept open under the 3 Hz cap
Licence
MIT
Verified
not checked on a unit yet

Try it

Drive Prolights SMARTBAT without the light

The sliders go through the same Patch and colour split a show uses, and the table is the bytes the light would receive, address by address. Nothing is sent anywhere.

What the light shows

The bytes it receives

ChChannelByteAt this value

Strobe is held to 3 flashes a second, as the engine holds it; this swatch never flashes, it says the rate.

DMX channels

Every channel of Prolights SMARTBAT, mode by mode

Generated from the fixture file, so it is the table the patch reads. Channel numbers count from the fixture’s start address; values are bytes 0–255.

Mode 4ch · 4-Channel 4 channels

ChChannelTypeDefaultWhat the values do
1redcolour: red00–255
2greencolour: green00–255
3bluecolour: blue00–255
4whitecolour: white00–255

Mode 6ch · 6-Channel 6 channels

ChChannelTypeDefaultWhat the values do
1dimmerdimmer00–255
2redcolour: red00–255
3greencolour: green00–255
4bluecolour: blue00–255
5whitecolour: white00–255
6strobestrobe / shutter00–10 open · 11–255 strobe

Mode 10ch · 10-Channel 10 channels

ChChannelTypeDefaultWhat the values do
1dimmerdimmer00–255
2redcolour: red00–255
3greencolour: green00–255
4bluecolour: blue00–255
5whitecolour: white00–255
6colorPresetsTemperatureother00–10 no function · 11–30 color preset (Red … Yellow) · 31–50 color preset (Yellow … Green) · 51–70 color preset (Green … Cyan) · 71–90 color preset (Cyan … Blue) · 91–110 color preset (Blue … Magenta) · 111–130 color preset (Magenta … Red) · 131–150 color preset (Red … White) · 151–170 color preset (White … Blue) · 171–200 color preset (White) · 201–255 color temperature
7strobestrobe / shutter00–10 open · 11–255 strobe
8autoSoundProgramscontrol (written only on purpose)00–10 no function · 11–60 effect (Auto Program 1) · 61–120 effect (Auto Program 2) · 121–180 effect (Auto Program 3) · 181–240 effect (Auto Program 4) · 241–255 effect (Sound Show)
9autoSpeedspeed00–255
10dimmerSpeedcontrol (written only on purpose)00–51 no function (Use device setting) · 52–101 maintenance (Dimmer speed) · 102–152 maintenance (Dimmer speed) · 153–203 maintenance (Dimmer speed) · 204–255 maintenance (Dimmer speed)

Use it

Prolights SMARTBAT in your code

Paste it into a <script type="module"> on any page: it loads @openav/devices and @openav/dmx from this site, patches the light at address 1 in mode 10ch and prints the bytes it would send. Send them with dmxTransport() (Art-Net or sACN through the out-bridge, or an Enttec DMX USB Pro by Web Serial).

javascript
import { device } from 'https://openaudiovisual.com/packages/devices/index.js';
import { Patch, DmxEngine } from 'https://openaudiovisual.com/packages/dmx/index.js';

const light = await device('prolights-smartbat');   // Prolights SMARTBAT
const patch = new Patch();
light.patch(patch, { id: 'light1', address: 1, mode: '10ch' });   // 10 channels from address 1
const engine = new DmxEngine(patch);
engine.set('light1', { dimmer: 1, color: [1, 0.5, 0] });
console.log(engine.render(0).bytes(1).slice(0, 10).join(' '));
// → 255 255 128 0 0 0 0 0 0 0

It prints the channels of mode 10ch, in order:

  1. dimmer 255
  2. red 255
  3. green 128
  4. blue 0
  5. white 0
  6. colorPresetsTemperature 0
  7. strobe 0
  8. autoSoundPrograms 0
  9. autoSpeed 0
  10. dimmerSpeed 0

Files

Take the fixture with you

The fixture file (JSON, open-audiovisual/fixture@1): every mode and channel, the ranges, the sources and the licence. A show loads it with device() or passes it to a Patch.

Where it comes from

Sources, licence, verified

Channel data from Open Fixture Library (MIT), file fixtures/prolights/smartbat.json at commit 849343f6, by Matteo Piccina. Converted by tools/import-ofl.mjs; the conversion keeps each channel’s job, default and ranges.

Licence: MIT. Nobody has checked this file on a light for this project yet: every value is as the source says it.

Sources

Notes in the file

Imported from the Open Fixture Library. Nobody has checked it on a light for this project.

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.

Next step

Light it from a work

The DMX chapter: the patch, scenes, cues, effects, the 3 Hz flash cap and the three ways out of the computer. Example 28 lights a rig on screen, no hardware needed.