"My Home Automation
Projects"

Interfaces - WebServer
|
Please also read the Disclaimer
Purpose: To provide a basic Web Interface for MediaNet LOADER.xml <loader> You can, if desired, load multiple instances of the web server using different ports/paths as required (e.g. you might create cut-down web pages to fit a pocket pc and make this available on a different port, or have an internal facing version with no password and external facing version with password) There are 2 web pages, index.htm that lists available clients and scanners and device.htm that is a generic web page for all devices. These can be amended/replaced as required The web server uses a file www\web.xml to specify the text (or alternately image) for each item on the web page, examples are: <item param="{cmd_mute}" text="Mute" image="" width="" height="" /> display text 'Mute' for the Mute command <item param="{cmd_power}" text="" image="images\power.tif" width="20" height="20" /> display an imagefor the power button
Some Sample Screenshots
Coverflow The web server (as of 20/03/2009 update) now supports a Coverflow style device interface for use with the Jukebox source Coverflow must be enabled in the Jukebox source (jukebox loader.xml <settings coverflow="y" /> or line can be missing) and it will create 3 xml files for use by the web server If the web server finds coverflow enabled it add's extra hyperlinks to the jukebox main index ("Jukebox by Artist", "Jukebox", "Jukebox by Genre") to launch the flash interface
An album will start playing when you click on the centre image or the album title If the flash control has focus you can press the letters A thru Z as a quick index (Artist/Album only, not genre) To add this to additional website instances, simply copy the support files from www to your own folder(s) This coverflow control is a modifed version of the free coverflow flash application released by Stephen. Many thanks. |