ml1969

Gui with additional webinterface

4 posts in this topic

Hello Together,

l have a Script with a gui, that is Controlling a videomatrix, alot of Buttons and so on.

all is working Fine, using Telnet.

 

now it would be Great if I Can Control the Script over lan using a "Build in" Webbrowser. So i Can call the Script from then lan from diffrent devices Opening a Webbrowser.

ok i Can Divide my Script in Many small executables, called by the gui and also called with php and an additional Webserver, but this is not the way i think about.

 

is there a possibility to include this in one Script/ executable?

 

i searched the Web googled alot but i Fund nothing.

 

 

michael

Share this post


Link to post
Share on other sites



8 hours ago, ml1969 said:

l have a Script with a gui, that is Controlling a videomatrix, alot of Buttons and so on.

all is working Fine, using Telnet.

now it would be Great if I Can Control the Script over lan using a "Build in" Webbrowser.

telnet means commandline.

What kind of commands are used over that telnet-connection ?

That "Script with a gui" is running where, in the computer connected to the videomatrix ?


-HaJo

Share this post


Link to post
Share on other sites

Hi,

 

I have a PC Running the Script. The PC is in the Same Network/ lan als the videomatrix.

in the same network there is an access point.

i wrote the script, cause this is easier to use as the build-in web interface of the matrix.

i use telnet to send the switch-commands, all this works great.

 

Now, it would be great if I can use and devices to control it over Elam, so I think a web interface would the best way, I can use tablets, notebooks and so on.

A first idea was:

Using web server on the Sam PC and  a website written in PHP who execute exec() and run an additional script the sends the telnet command ( I can use this execute this script also from my main script)

 

second idea:

using a buil in web service in the main script so I have one script. But I found nothing in the web how to realise this.

 

 

michael

Share this post


Link to post
Share on other sites

Oh I forgot the code, what I need is very easy,

 

output#input

 

there a more extended commands but the example above is good for me.

 

 

michael

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now