Difference between revisions of "DMX Storage"

From Ethersex_Wiki
Jump to: navigation, search
(added input module "Web GUI")
(Documentation :))
 
(2 intermediate revisions by the same user not shown)
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 ==
  
Line 67: Line 82:
 
|-
 
|-
 
| Firefox  
 
| Firefox  
| 10.0.2
+
| 23
 
| yes (see note)
 
| yes (see note)
 
|-
 
|-
 
| Chromium  
 
| Chromium  
| 17.0.963.56
+
| 28.0.1500.95
 
| yes
 
| yes
 
|-
 
|-
 
| Konqueror  
 
| Konqueror  
| 4.8.00
+
| 4.10.5
| no
+
| yes
 
|-
 
|-
 
| Android Browser  
 
| Android Browser  
| Android 4.?
+
| Android 4.3
| no
+
| yes
 
|-
 
|-
 
|}
 
|}
When using Firefox, make sure to enable "Support <input type=range> for Firefox".
+
When using Firefox with a version < 23, make sure to enable "Support <input type=range> for Firefox".
[[File:Ethersex-dmxUI.png|right|500px|thumb|The HTML interface in Chromium 17]]
+
[[File:Ethersex-dmxUI.png|right|500px|thumb|The HTML interface in Chromium 37.0 on Linux]]
  
 
[[Category:e6la]]
 
[[Category:e6la]]

Latest revision as of 02: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