Announcement

Collapse
No announcement yet.

document.all.divRefresh error

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

    document.all.divRefresh error

    If I run the ultra_view2_config.hta it goes to a screen where I input the floor plans then loads the devices and I place them and generate the page. Next I run run the events that run the ultra_view2_xml.txt script and then the ultra_view2_html.txt script.

    After that I open IE 6.0 and load http://localhost/ultra_view2.htm. The floor plan looks fine but no icons for devices. At the bottom left it displays error in page. When I click on it it says line 62 char 2 doesn't support this property or method 'document.all.divRefresh'
    Any idea's?
    Thanks...Sonny

    #2
    Your using an older version of UltraView 2.

    Where did you get it?

    Remove what you have and install this one:
    http://ubb.homeseer.com/6/ubb.x?a=tp...4&m=3612920511

    Regards,
    Ultrajones
    Plug-ins: UltraMon, UltraM1G, UltraCID, Ultra1Wire, UltraLog, UltraWeatherBug, UltraPioneerAVR, UltraGCIR

    Comment


      #3
      I guess what I had was a kludge of what I downloaded a while back and what I'd downloaded the other night. Now I at least have devices.

      I know I am missing something but what is the .asp file and I guess it is used from the http:/localhost/ultra_view2.asp but when do I do that.

      Thanks...Sonny

      Comment


        #4
        Sorry, I don't understand your question.

        Regards,
        Ultrajones
        Plug-ins: UltraMon, UltraM1G, UltraCID, Ultra1Wire, UltraLog, UltraWeatherBug, UltraPioneerAVR, UltraGCIR

        Comment


          #5
          hs 1.5.2 BUILD 24
          Ultra Wiew 2.0.5
          Window 2000 Professional SP2
          IE 6.0.2600.000
          HomeSeer Interface plug-in for the JDS Stargate
          1-31-2002 version 0.1.46
          VWS plugin

          I have seen this question before on the board but never saw an answer I could understand.

          I can import my files from stargate into HS fine.
          Then when I run the Ultra_view2_config.htm file it loads my floor plans and all the devices. Generate works without any errors. I I look at the Ultra_view.cfg in the scripts directory it appears that it is good fo the devices I want to show.
          ction GetLocation(strDeviceID)

          dim arrLocation

          select case strDeviceID

          case "deva53622" arrLocation = array(21, 121, 1, 0) '~deva53622:21:121:1:0
          case "deva53712" arrLocation = array(-100, -100, 1, 0) '~deva53712:-100:-100:1:0
          case "deva82610" arrLocation = array(-100, -100, 1, 0) '~deva82610:-100:-100:1:0
          case "deva67508" arrLocation = array(344, 365, 1, 0) '~deva67508:344:365:1:0
          case "deva67707" arrLocation = array(148, 234, 1, 0) '~deva67707:148:234:1:0
          case "deva74889" arrLocation = array(-100, -100, 1, 0) '~deva74889:-100:-100:1:0
          case "deva78165" arrLocation = array(286, 57, 1, 0) '~deva78165:286:57:1:0
          case "deva59993" arrLocation = array(-100, -100, 1, 0) '~deva59993:-100:-100:1:0
          case "deva37373" arrLocation = array(-100, -100, 1, 0) '~deva37373:-100:-100:1:0
          case "deva67013" arrLocation = array(146, 226, 1, 0) '~deva67013:146:226:1:0
          case "deva37331" arrLocation = array(194, 152, 1, 0) '~deva37331:194:152:1:0
          case "deva37346" arrLocation = array(123, 96, 1, 0) '~deva37346:123:96:1:0
          case "deva53597" arrLocation = array(-100, -100, 1, 0) '~deva53597:-100:-100:1:0
          case "deva77663" arrLocation = array(-100, -100, 1, 0) '~deva77663:-100:-100:1:0
          case "deva77664" arrLocation = array(-100, -100, 1, 0) '~deva77664:-100:-100:1:0
          case "deva77665" arrLocation = array(-100, -100, 1, 0) '~deva77665:-100:-100:1:0
          case "deva77666" arrLocation = array(-100, -100, 1, 0) '~deva77666:-100:-100:1:0
          case "deva77667" arrLocation = array(207, 182, 1, 0) '~deva77667:207:182:1:0
          case "deva77668" arrLocation = array(-100, -100, 1, 0) '~deva77668:-100:-100:1:0
          case "deva77669" arrLocation = array(-100, -100, 1, 0) '~deva77669:-100:-100:1:0
          case "deva77670" arrLocation = array(-100, -100, 1, 0) '~deva77670:-100:-100:1:0
          case "deva77671" arrLocation = array(-100, -100, 1, 0) '~deva77671:-100:-100:1:0
          case "deva77672" arrLocation = array(234, 118, 1, 0) '~deva77672:234:118:1:0
          case "deva77673" arrLocation = array(112, 212, 1, 0) '~deva77673:112:212:1:0
          case "deva77674" arrLocation = array(-100, -100, 1, 0) '~deva77674:-100:-100:1:0
          case "deva77675" arrLocation = array(-100, -100, 1, 0) '~deva77675:-100:-100:1:0
          case "deva77676" arrLocation = array(-100, -100, 1, 0) '~deva77676:-100:-100:1:0
          case "deva77677" arrLocation = array(126, 6, 1, 0) '~deva77677:126:6:1:0
          case "deva77678" arrLocation = array(183, 74, 1, 0) '~deva77678:183:74:1:0
          case else arrLocation = array(-100, -100, 1, 0)
          end select

          GetLocation = arrLocation

          end function

          At this point I run Ultra_View2_xml.txt 3 times as an event from with in HS.

          Upon using Ie //localhost/U;tra_viw2.asp the floor plan loads and one lamp shows up in the bedroom but none of the other icons appear.

          I went through the STEP BY STEP SETUP and and am not sure if I need to add something in the ultra_view2_xml.vbs or the ultra_view2_config.htm?
          Are the statements from the ultra_view.cfg something that needs to be placed somewhere in one of these files?

          Thanks for any insight you can give me.....Sonny

          T

          Comment


            #6
            Reading all the archives I noticed where someone had problems with their weather events messing up the icons. As I am using stargate with all the flags I decided to remove the flags, varibles and I/O other than X10.
            Voila...now I have icons. Does this mean that the devices, flags etc in HS cannot be the same as those imported from Stargate?

            Thanks fo any input.

            Comment

            Working...
            X