Difference between revisions of "DMX Storage"
(+ HTML Interface) |
(Documentation :)) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 20: | Line 20: | ||
*[[DMX]] (not yet implemented) | *[[DMX]] (not yet implemented) | ||
*[[DMX FXSlot]] | *[[DMX FXSlot]] | ||
+ | *[[DMX_Storage#HTML_Interface | DMX WebGUI]] | ||
== Modules (output) == | == Modules (output) == | ||
Line 35: | Line 36: | ||
{| border='1' | {| border='1' | ||
| ''Command syntax'' | | ''Command syntax'' | ||
+ | | ''Return values'' | ||
| ''Short description'' | | ''Short description'' | ||
|- | |- | ||
− | | dmx channels | + | | dmx channels [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] |
− | | | + | | None |
+ | | Switches the universe [on] (LIVE) or [off] (BLACKOUT] | ||
|- | |- | ||
− | | dmx universe | + | | 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 | | 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+). | 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. | The interface can be enabled in the [VFS] menu. | ||
− | When using Firefox, make sure to enable "Support <input type=range> for Firefox". | + | Tested browsers: |
− | [[File:Ethersex-dmxUI.png|right|500px|thumb|The HTML interface in Chromium | + | {| border='1' |
+ | |- | ||
+ | | 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". | ||
+ | [[File:Ethersex-dmxUI.png|right|500px|thumb|The HTML interface in Chromium 37.0 on Linux]] | ||
[[Category:e6la]] | [[Category:e6la]] |
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
- Artnet
- DMX (not yet implemented)
- DMX FXSlot
- DMX WebGUI
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".