Announcement

Collapse
No announcement yet.

Error trying to set up Ultra Status

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

    Error trying to set up Ultra Status

    I have everything in the right place, but I can't get any data in the tables. I am following Tom Kern's instructions, but I think I need a little help. I ran ultra_view2.xml.vbs, and I got this error:

    Script Error:
    500:Variable is undefined: 'GetLocation' in line 202

    Any ideas? Thanks.

    #2
    GetLocation() is a function called within ultra_view2_xml.vbs. If your only trying to get the Ultra View2 Status working, then you need to create a blank ultra_view2.cfg file and put that file into the /HomeSeer/scripts directory.
    <pre class="ip-ubbcode-code-pre">
    function GetLocation(strDeviceID)

    dim arrLocation

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

    GetLocation = arrLocation

    end function
    </pre>
    This file is usually created when running the configuration utility outlined witin the setup instructions.

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

    Comment


      #3
      UJ,

      I did that, but it will not save as a .cfg file. It saves it as a text file only. I don't understand it.

      Comment


        #4
        Please nevermind my above post. I got it to work. Thanks.

        Comment

        Working...
        X