Page 1 of 1

Web API DMX Keypad

Posted: Sun Sep 06, 2015 7:35 am
by sbenejam
Starting from the Web API Test Page code after some modifications I created a DMX Keypad to remotely adjust the values of DMX channels easily from a tablet or phone. I must say that I am not a programmer but I've got some basic knowledge of Python and other languages, but did not know much Javascript. Surely the code and interface design has many flaws and can improve a lot. I've been learning about JavaScript as I advanced in the changes. I think it may be useful to control the lights from the stage setting up lights.
  • To use it you must start the qlcplus with the -w switch.
  • Open DMX Keypad file on the Web browser on your mobile device and connect it
  • Type a channel number and assigns it a value between 0-255 . Examples:( 1AT255, 1THRU5AT255 )
It's a fist approach to the DMX Keypad application. Doesn't have at the moment some controls to disallow the use of values that are not between the range 0-255 or assign values between 0-100% translating percentage values to 0-255 range. The keys "+" and "-" are not activated yet. Adapt the design of the interface to improve the use and display on mobile devices could be a major improvement.
The DMX Keypad file can be used locally o located on a web server. In my Ubuntu laptop I installed nginx and placed the file in /var/www/html. Open locally from Chrome browser on an android smartphone works too.
I attached a file named qlc_dmx_key_pad.txt rename it changing extension to html. The forum software don't allow to upload html files.

Your comments, suggestions and help are welcome. ;-)