Announcement

Collapse
No announcement yet.

Ultraview Setup Instructions

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

    #31
    SteveP,

    There is a function called "BuildIcon" in /include/ultra_view2_xml.inc (an include file for ultra_view2_xml.vbs ) which takes a device string as a parameter and then strips out unwanted characters including the degree symbol. I think that's the function you need to call. Don't quote me on it though. Hopefully someone will correct me if I'm leading you down the wrong path.

    Joe
    HomeSeer Rocks!

    Comment


      #32
      I found a couple of weather devices that had a degree in them. I added some logic to pick up my names and do the translate. Got the vbs portion working now. On to the next step of making the asp work.

      SteveP

      I Pledge Allegiance to the flag of the United States of America and to the Republic for which it stands, one Nation under God, indivisible, with liberty and justice for all.
      The REAL Pledge of Allegiance

      Comment


        #33
        It appears that it tries to display all status as gif. There are no gifs for things such as temps from what I can tell. Maybe this is because I wasn't loading ultraview, just ultrastatus. Maybe since it is taking a lot of errors trying to load gifs that don't exist, it crashes HS?

        SteveP

        I Pledge Allegiance to the flag of the United States of America and to the Republic for which it stands, one Nation under God, indivisible, with liberty and justice for all.
        The REAL Pledge of Allegiance

        Comment


          #34
          I tried putting a blank between a couple of fiels in ultra_view2_status_temperature.xsl but that section failed to display. Does html like   need to be enclosed in something?

          SteveP

          I Pledge Allegiance to the flag of the United States of America and to the Republic for which it stands, one Nation under God, indivisible, with liberty and justice for all.
          The REAL Pledge of Allegiance

          Comment


            #35
            I don't think there is a way to add HTML to the xsl file but I'm not positive. I've also tried in the past to add HTML in the ultra_view2_xml.inc file to change colors and so forth with no success.

            -Tom

            Visit my HomeSeer at http://68.55.68.192:81 (Guest Downloads!)
            -Tom

            Visit Kernhome
            Kern Theater Gallery

            (User: guest / Pass: guest)

            Comment


              #36
              <BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>Originally posted by Steve P:
              I tried putting a blank between a couple of fiels in ultra_view2_status_temperature.xsl but that section failed to display. Does html like &nbsp; need to be enclosed in something?
              ...<HR></BLOCKQUOTE>

              &amp;nbsp; can cause XML to choke. Try using &amp;#160; instead.

              Any HTML added to the xsl file must be well formed. This means any start tag must have a matching end tag and attributes must have a value. Examples:
              &lt;br&gt; must be in the form: &lt;br /&gt;
              &lt;p&gt; must have matching end tag: &lt;/p&gt;
              &lt;td nowrap&gt; must be like: &lt;td nowrap=""&gt;

              If you have FrontPage, you can use the "Apply XML formatting rules" to your HTML code.

              After modifying the xsl file, you can check it by double-clicking it... it should load in Internet Explorer. If any sytnax errors are encoutered, it will tell you the line number and a brief description of the error.

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

              Comment


                #37
                I see where someone had trouble with a degree symbol.. so I edited the ultra_view2_XML include to try and catch it.. as any device from my garyga 1 wire plugin was causing the status page not to load.. I added a couple caes to search on the device type but cant get it to work.. how do I debug where the choke is occuring? can it be choking on a house code of [ as opposed to a letter? any help is appreciated im stumped.. in my homeseer devices the degree symbol they use looks like a little degree wuth a line under it .. maybe its a different ASCII code? or is it just a font difference..
                -christopher
                PerfecTemp - the Most advanced HVAC system I've ever Built - and its in my House

                Comment


                  #38
                  Looks like the garyga plugin uses an ASCII 167 for a degree symbol instead of the one used in the include file, once I set it to look for that, bingo my status page is back again
                  -christopher
                  PerfecTemp - the Most advanced HVAC system I've ever Built - and its in my House

                  Comment


                    #39
                    o.k. I have the initial page up and running. At least it is finding some of my devices. The first problem I had was that my include files needed to go in the "include" directory, and other scripts use an "includes" directory. Took me a while to see the spelling. . . So now it's working. BUT, how do I add a link to show up on the page? I see it is looking at settings.ini, so do I add it there? I see the regular ones, but I'm using ultalog and I want to add it to the links.
                    A computer's attention span is as long
                    as it's powercord.

                    Comment

                    Working...
                    X