Difference between revisions of "DMX Storage"

From Ethersex_Wiki
Jump to: navigation, search
(Web GUI)
(Documentation :))
 
Line 36: Line 36:
 
{| border='1'
 
{| border='1'
 
| ''Command syntax''
 
| ''Command syntax''
 +
| ''Return values''
 
| ''Short description''
 
| ''Short description''
 
|-
 
|-
| dmx channels  
+
| dmx channels [universe]
| Get channels per universe
+
| unsigned char
 +
| Get channels per universe
 
|-
 
|-
| dmx get  
+
| dmx get [universe] [channel]
 +
| unsigned char
 
|  Return channel value
 
|  Return channel value
 
|-
 
|-
| dmx set  
+
| dmx set [universe] [on/off]
Set channel values
+
| None
 +
Switches the universe [on] (LIVE) or [off] (BLACKOUT]
 
|-
 
|-
| dmx universe  
+
| dmx set [universe] dimmer [value]
Get a whole universe
+
| None
 +
Sets the global dimmer value for that universe (0-255)
 +
|-
 +
| dmx set [universe] [channel] [value1] [value2]...[valuen]
 +
| None
 +
| Sets the values of [universe] starting from [channel]
 +
|-
 +
| dmx universe [universe]
 +
| LIVE or BLACKOUT \n Global dimmer value (unsigned char) \n channel 0-n (unsigned char)
 +
| get all channels of [universe] with
 
|-
 
|-
 
| dmx universes  
 
| dmx universes  
| Get universes
+
| unsigned char
 +
| Get total universes
 
|-
 
|-
 
|}
 
|}
 +
 
== Web GUI ==
 
== Web GUI ==
  

Latest revision as of 01:35, 22 September 2014

DMX Storage
Status
Stable
menuconfig Applications->DMX Storage
Pinning no
Ecmd yes
Depends on ECMD (optional)
Requires -
Code https://github.com/ethersex/ethersex/tree/master/services/dmx-storage

Dmx Storage provides a database-like storage layer for DMX information. It forms the core of the Ethersex Lighting Architecture.

Modules (input)

The following modules change/alter the DMX data

Modules (output)

The following modules display/use the dmx data


ECMD commands

Command syntax Return values Short description
dmx channels [universe] unsigned char Get channels per universe
dmx get [universe] [channel] unsigned char Return channel value
dmx set [universe] [on/off] None Switches the universe [on] (LIVE) or [off] (BLACKOUT]
dmx set [universe] dimmer [value] None Sets the global dimmer value for that universe (0-255)
dmx set [universe] [channel] [value1] [value2]...[valuen] None Sets the values of [universe] starting from [channel]
dmx universe [universe] LIVE or BLACKOUT \n Global dimmer value (unsigned char) \n channel 0-n (unsigned char) get all channels of [universe] with
dmx universes unsigned char Get total universes

Web GUI

DMX Storage Channels can also be altered via the HTTP-Server. The interface currently works in most of the Webkit-based browsers (e.g. Google Chrome) and Mozilla Firefox (Version 4+). The interface can be enabled in the [VFS] menu.

Tested browsers:

Browser Version Works
Firefox 23 yes (see note)
Chromium 28.0.1500.95 yes
Konqueror 4.10.5 yes
Android Browser Android 4.3 yes

When using Firefox with a version < 23, make sure to enable "Support <input type=range> for Firefox".

The HTML interface in Chromium 37.0 on Linux