= Guide - Using the EventGhost web server = To use the EventGhost web server the following softwares are needed: * EventGhost * [wiki:"EventGhost plugin"] == Procedure == '''1. Start EventGhost.''' [[Image(Webserver1.png)]] '''2. Add plugin, choose "Webserver" which is found under "Other".''' '''3. Choose which port to use. Usually port 80 is used. Choose which folder the html-file is to be located, for example "C:\Program\EventGhost\www".''' [[Image(Webserver2.png)]] '''4. Add plugin, choose "TellStick" which is found under "External Hardware Control".''' [[Image(Webserver3.png)]] '''5. Preferably create a new folder, named for example "www" or "http".''' '''6. Add a new macro, choose event TellStick - turn on.''' [[Image(Webserver4.png)]] '''7. Choose unit to switch on.''' [[Image(Webserver5.png)]] '''8. Create a new file in the new folder (i.e. for example "C:\Program\EventGhost\www" or "C:\Program\EventGhost\http"). In this example the name of the file is eventghost.html. Enter the following content into the file:''' {{{ EventGhost Webserver example
Example Device
}}} OBS: If the file name is changed the link (i.e. "...eventghost.html...") also has to be changed. '''9. Uncheck "Log only assigned and activated events."''' [[Image(Webserver7.png)]] '''10. Open the file in your web browser by browsing the address http://localhost/eventghost.html''' [[Image(Webserver6.png)]] '''11. Click the lamp for on.''' [[Image(Webserver8.png)]] '''12. Pull the button combination from the log window to the left to the macro.''' [[Image(Webserver9.png)]] '''13. Follow the guide from 4 to 6 and from 9 to 11 to create the corresponding off command.''' [[Image(Webserver10.png)]] '''14. Test the macro by clicking the icons for on and off in the web browser.''' == Download == Here the html example and the xml file are available to download: [http://download.telldus.se/TellStick/Software/Guides/eventghost_webserver/eventghost_webserver.zip eventghost_webserver.zip]. The xml file should be placed in My Documents\EventGhost. If you follow this guide the html and png files should be placed in C:\Program\EventGhost\www.