Announcement

Collapse
No announcement yet.

Ultra View Status Error

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

    Ultra View Status Error

    I have been trying to get the status view working for some time now. When I run the ultra_view2_xml.vbs script on my 2003 Server I get the following error

    Line 21
    Char 1
    Error Expected statement
    Code 800A0400
    Source MS VBScript compilation error

    I have tried everything but cant get this to work, any ideas?

    #2
    Do you have the ultra_view2.cfg file in the "C:\Program Files\HomeSeer\scripts" directory? If not, create it and put the following code in the file:

    Code:
    function GetLocation(strDeviceID)
    
      dim arrLocation
    
      select case strDeviceID
        case else arrLocation = array(-100, -100, 1, 0)
      end select
    
      GetLocation = arrLocation
    
    end function
    Plug-ins: UltraMon, UltraM1G, UltraCID, Ultra1Wire, UltraLog, UltraWeatherBug, UltraPioneerAVR, UltraGCIR

    Comment


      #3
      I do have that file with the following code in it.


      function GetLocation(strDeviceID)
      dim arrLocation
      select case strDeviceID
      case else arrLocation = array(-100, -100, 1, 0)
      end select
      GetLocation = arrLocation
      end function

      Comment


        #4
        Did you put the include files in the /HomeSeer/include directory?
        Plug-ins: UltraMon, UltraM1G, UltraCID, Ultra1Wire, UltraLog, UltraWeatherBug, UltraPioneerAVR, UltraGCIR

        Comment


          #5
          ultra_view2_common.inc
          ultra_view2_diskio.inc
          ultra_view2_html.inc
          ultra_view2_xml.inc

          These are the files found in the include directory.

          Comment


            #6
            Kevin,
            that was include, not includes - right? UltraSuite installs to include.

            Comment


              #7
              That is correct. I suspect the problem has to do with the application being run on 2003 Server. I have tried everything I can think of to make this work and nothing seems to help.


              Sure will be cool once I get this running. ML will be next and then I plan on jumping into RFID.

              Comment

              Working...
              X