"My Home Automation Projects"

Sources - Webcams

Please also read the Disclaimer

MediaNet - Source Modules - Webcams

Purpose: To allow display of webcam images with regular updating

Only use this module when a permanent "always on" broadband internet connection is available (unless it is being used for internal webcams only)

LOADER.xml

<loader>
    <instance>
        <source module="WEBCAMS" enabled="n" type="M" title="Shoutcasts" />
            set enabled="y" if this source is required. title= can be changed to your preference
        <scan title="Reload" />
            the title for scanning can be amended here
        <proxy server="" />
            here you can specify a proxy server
        <menus webcam="Webcam" />
        <titles main="Webcam Selection" webcam="Webcams" />
            the above 2 title lines can be changed to your preference
        <module>
                this watcher enables automatic reload if shoutcast xml files are added/deleted/amended
            <load module="WATCHER" enabled="y" path="Support\WATCHER" />
            <buffers file="1" folder="0" />
            <watch exts="xml" />
        </module>
    </instance>
</loader>

The webcam xml files contain the following types of entry:

<saveto path="c:\mvptest3\webcams" />

Each file needs the above line as first entry, it specifies the path that the webcam images are to be saved to

<webcam title="Mt St Helens" url="http://www.fs.fed.us/gpnf/volcanocams/msh/images/mshvolcanocam.jpg" filename="mshvolcanocam.jpg" interval="45" />

title= is the title of the webcam, url= is the url of the webcam image, filename= is the name to save the image as, interval= is the number of seconds between updates

 <webcam title="Mawson Antartica" page="http://www.aad.gov.au/asset/webcams/mawson/default.asp" head="img src=&#34;small/M" tail="s.jpg" trimleft="15" trimright="" url="http://www.aad.gov.au/asset/webcams/mawson/small/" filename="Antartic Mawson Station.jpg" interval="45" />

The above is a more complicated version, for where a direct url for the image is unavailable