Web API DMX Keypad

Archive of the non-categorized posts related to the QLC+ technical support.
Please do not create new threads here, instead, use the categories above !
Post Reply
User avatar
sbenejam
Posts: 621
Joined: Sun Apr 12, 2015 6:28 pm
Location: Spain
Real Name: Santiago Benejam Torres
Contact:

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. ;-)
Post Reply