---
title: "DmxCommand"
description: "API documentation for DmxCommand"
url: https://developer.disguise.one/python-api/docs/dmxcommand/
---

# DmxCommand

A command sent to a DMX fixture to get it to do things (eg turn off, reset, etc)

See also: [Devices Guide](/plugins/guides/devices)

Base class (inherits properties and methods): _[Resource](/python-api/docs/resource#resource)_

## Properties

#### **channel** : _int_

The channel (1-based) to send the number to

_UserName: Channel_

#### **encoding** : _int_

_Options: {0: ‘8-bit’, 1: ‘16-bit big endian’, 2: ‘16-bit little endian’, 3: ‘24-bit big endian’, 4: ‘24-bit little endian’}  
UserName: Encoding_

#### **max\_value** : _int_

Allows you scale the ‘value’ to any range. ‘max’ specifies the upper number in the range

_Category: Range  
UserName: Maximum value_

#### **min\_value** : _int_

Allows you scale the ‘value’ to any range. ‘min’ specifies the lower number in the range

_Category: Range  
UserName: Minimum value_

#### **time** : _int_

If the number must be sent for a certain duration to active the command, specify it here (in seconds)

_UserName: Time_

#### **value** : _int_

The number to send to activate the command

_UserName: Value_

## Constructors

#### **\_\_init\_\_**(self)
