Announcement

Collapse
No announcement yet.

Scrolling Weather Forcast

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Scrolling Weather Forcast

    Install instructions for adding a scrolling weather forecast to the HomeSeer 2 header.

    Required: weatherXML, HomeSeer 2

    1. Setup HomeSeer options
    a. Open a browser to your HomeSeer and click the setup button.
    b. Click on the Web Site tab.
    c. Find Functions To Call with Body Onload. Enter "displayWeather();".
    d. Click Save

    2. Edit meta.htm
    a. If you don't have a meta.htm file, the create one. Save it in the HomeSeer/html directory.
    b. Add the following code to meta.htm.




    PHP Code:
    <SCRIPT language="Javascript" src="/weathercom_xml/weatherxml.js"></SCRIPT>
    <
    script>
    <!--
    function 
    displayWeather() {
    sMessage weatherScroll;
    userclock.innerHTML=sMessage;
    userclock.style.display='';
    userclock.className="weatherscroll";
    }
    //-->
    </script



    3. Setup script
    a. Download the attached script to the scripts directory.
    b. Schedule the script to run sometime after the weatherxml script.
    c. Run the script now to get the javascript file created for you.

    4. Edit style.css (Optional)
    a. Add the following to your style sheet (homeseer/html/style.css)



    PHP Code:
    .weatherscroll {
    coloryellow;
    width300 px;




    Step 4 is optional and you can change the style to your liking.

    Discussion at:
    http://forums.homeseer.com/showthread.php?t=106807
    Attached Files
    Last edited by CFGuy; September 13, 2005, 07:59 AM.
    --
    Jeff Farmer
    HS 3, HSPhone
    My HS3 Plugins: CFHSExtras, Random, Restart, Tracker, WeatherXML, PanaBluRay
    Other Plugins In Use: APCUPSD, BLOnkyo, Device History, EasyTrigger, HSTouch Server, PHLocation2, Pushover, RFXCom, UltraGCIR3, UltraMon3, UltraPioneerAVR3, X10, Z-Wave

    Hardware: GoControl Irrigation Controler, Schlage Lever Lock, Schlage Deadbolt, Way2Call Hi-Phone, RFXCom RFXrec433 Receiver, WGL 800, TI-103, Z-Net, Pioneer 1120, Pioneer 1021, Pioneer LX302, Panasonic BDT-110, Panasonic BDT-210 x2
Working...
X