While the web server is already working and thus set
K8055MARIE-demo.htm is accessible via the Internet by typing http://
YOUR_IP is the IP address of your computer), access to the USB card using K8055-MARIE be activated.
In K8055-MARIE tab Remote Server (see Fig. 1), set the communication port (choice Host PORT), after which the website
K8055MARIE-demo.htm to communicate with the K8055 USB board. Port value is set by default to 8080, but can be changed. Selected port obviously not be occupied by another Web application (eg camera server, etc.). Beware the security settings of the firewall operating system. It is possible that you will permit the specified port firewall asked.
The second parameter that allows you to accept commands only from the selected control website is callsign Allow-Origin. It is the URL of the page that is allowed to send control commands. Default value is *, which means that orders can be received from any website that sends the request.
K8055-MARIE application to connect to the Internet using the START Server (beware of possible query firewall - access is necessary to enable).
By checking the option Next start is automatic with this paramaters (to ver. 1.11A) or Automatic start (with this parameters) (since ver. 1.15A) is stored parameters specified in the INI file. It automatic start USB connection and control server with last parameters after next K8055-MARIE start.
K8055MARIE-demo.htm(Valid for the K8055-MARIE version 2.56 and higher)
Now we need to set parameters for access from the website to the application K8055-MARIE. We will work with the HTML file K8055MARIE-demo.htm from the directory
Open the file
K8055MARIE-demo.htm in any text editor (eg Notepad). We have to change some lines in the section
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<meta http-equiv="content-type" content="text/html; charset=Windows-1250">
<title>K8055-MARIE : Demo</title>
YOUR_IP to the IP address (or URL) of the computer where is application K8055-MARIE installed. Parameter
:80 is the port number on which the application is listening K8055-MARIE - see Application Settings.
If you have everything set up correctly it should be possible to remotely control the website K8055 USB card.
Since the Web site you want to monitor response K8055 USB board using a webcam, we have to set the application YAWCAM - server webcam.
Run the application YAWCAM in choosing Settings choose camera option Device → Change to (or Detect webcam).
In choosing Settings → Edot Settings → Output → Stream(see Fig. 2) you must specify the communications port, after which the application will be broadcast YAWCAM image webcam. The default value is 8081 (if not in conflict with another application we have it).
For other treatment settings YAWCAM recommend to visit the author's website and study the documentation (definitely it will be worth).
It remains display settings webcams in your website
K8055MARIE-demo.htm. Open it in any text editor. We find the line:
<iframe src="http://YOUR_IP:8081/" width="320" height="240" frameborder="0" scrolling="no"></iframe>
YOUR_IP enters the public IP address of your computer. Entered after the colon is the port number on which the server sends a webcam. After you save the file change of address.
Installation is complete. It is now possible from any computer in the world connected to the Internet control panel K8055 USB connected to a host computer and watch everything connected webcam. Just load the page
YOUR_IP is the public IP address of your computer).
YAWCAM is a great application for controlling webcams. Since version 0.5.0 it no longer has a problem with saving settings, if it starts multiple times. We may start YAWCAM twice, both instances store their settings in the same place. The first application reads settings normally the second instance reads/creates a subdirectory named 2. But if we run YAWCAM only once and we want to load the settings from a subdirectory 2, we fail - it reads settings from the main directory. We will show you the following trick to set this application so that it can be used independently two webcams and the setting was always there when we need it.
Install YAWCAM for example to a folder:
C:\Program Files\yawcam1. The application YAWCAM do not start yet!
Create a copy of the folder
yawcam1 in the same place (
C:\Program Files\) and call it
yawcam2. Now we have two independent copies of the YAWCAM.
service_profile.cfg in the folder
yawcam1 by a text editor (eg Notepad) and change the path to eg
Then do the same with file
service_profile.cfg in the folder
C:\Program Files\yawcam2 (Set the path:
It is still necessary to edit the file
start.bat in the folder
C:\Program Files\yawcam1 (and
yawcam2 too). Add the word
service to the end:
…bla bla… -splash:img/splash.gif yawcam.Main service
Gradually run both applications YAWCAM. Set the necessary values for each application. After finishing in both folders (set in the file
service_profile.cfg) are created subfolders
.yawcam. There are stored main application settings. Two different installation folder => two different settings files! ;-)