Announcement

Collapse
No announcement yet.

Ultraview Setup Instructions

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

    #16
    Ultrajones

    Thanks for help. I go to the .vbs and I do not get an error. To make sure I understand, I go to the .vbs address and all I see is...

    - <DEVICE ID="deva80396" CODE="]3" STATUS="3" VALUE="0" TIME="1514" CTL="3">
    - <ICON X="-100" Y="-100" Z="0" FLOOR="1">
    - <![CDATA[ off.gif
    ]]>
    </ICON>
    <NAME>Speaker 3</NAME>
    - <STRING>
    - <![CDATA[ Off
    ]]>
    </STRING>
    <LOCATION>WAF AB8SS Speaker Switcher</LOCATION>
    <TYPE>WAF AB8SS</TYPE>
    </DEVICE>
    - <DEVICE ID="deva80397" CODE="]4" STATUS="3" VALUE="0" TIME="1514" CTL="3">
    - <ICON X="-100" Y="-100" Z="0" FLOOR="1">
    - <![CDATA[ off.gif
    ]]>
    </ICON>
    .....

    I do not get any script errors. I have been trying isolate where or why the audio.xml shows up and then doesn't. If I remove the audio.xml section completely from the asp and add the 'WAF AB8SS' test to the fan.xml, the speakers show up there. If I take the new fans.xml and copy it to audio.xml and THEN change the asp to use audio.xml instead of fans.xml the speakers then show up in the Lamps and Modules section. Is there something I should be looking for in the .vbs screen?

    tia,
    michael

    Comment


      #17
      I am getting the parsed file (I think)...

      Should it look like this?

      ]> L Table Lamp Living Room Lamp Module B Yard Light Outside Lamp Module B Door Light Outside Lamp Module Left Table Lamp Basement Lamp Module Right Table Lamp Basement Lamp Module Floor Lamp Basement Lamp Module R Table Lamp Living Room Lamp Module Weather-Conditions Weather Virtual Weather-Temperature Weather Virtual Weather-Wind Weather Virtual Weather-DewPoint Weather Virtual Weather-Humidity Weather Virtual Weather...

      Or should it look more like code?

      Still no status on the page. Page loads with no problem but doesn't display any status'.

      I have only made a change to the "network" xsl file to beta test it. Should I be chaging info on all xsl's to match my device names?

      Thanks!

      Comment


        #18
        <BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>Originally posted by michael_turner0:
        ...
        I do not get any script errors. I have been trying isolate where or why the audio.xml shows up and then doesn't. If I remove the audio.xml section completely from the asp and add the 'WAF AB8SS' test to the fan.xml, the speakers show up there. If I take the new fans.xml and copy it to audio.xml and THEN change the asp to use audio.xml instead of fans.xml the speakers then show up in the Lamps and Modules section. Is there something I should be looking for in the .vbs screen?

        tia,
        michael<HR></BLOCKQUOTE>

        Testing the XML file using http://localhost/ultra_view2_xml.vbs:
        Just make sure the .vbs screen contains well formed XML. Scroll all the way to the buttom to ensure the XML file was completly parsed by the default .xsl stylesheet and no errors are displayed.

        Testing the XSL files you modify by double-clicking the file. It should open within Interent Explorer. Scroll all the way to the bottom to ensure you don't see any parsing errors.
        Plug-ins: UltraMon, UltraM1G, UltraCID, Ultra1Wire, UltraLog, UltraWeatherBug, UltraPioneerAVR, UltraGCIR

        Comment


          #19
          <BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>Originally posted by jeport:
          I am getting the parsed file (I think)...

          Should it look like this?

          ]&gt; L Table Lamp Living Room Lamp Module B Yard Light Outside Lamp Module B Door Light Outside Lamp Module Left Table Lamp Basement Lamp Module Right Table Lamp Basement Lamp Module Floor Lamp Basement Lamp Module R Table Lamp Living Room Lamp Module Weather-Conditions Weather Virtual Weather-Temperature Weather Virtual Weather-Wind Weather Virtual Weather-DewPoint Weather Virtual Weather-Humidity Weather Virtual Weather...

          Or should it look more like code?

          Still no status on the page. Page loads with no problem but doesn't display any status'.

          I have only made a change to the "network" xsl file to beta test it. Should I be chaging info on all xsl's to match my device names?

          Thanks!<HR></BLOCKQUOTE>

          Testing the XML file using http://localhost/ultra_view2_xml.vbs:
          Just make sure the .vbs screen contains well formed XML. Scroll all the way to the buttom to ensure the XML file was completly parsed by the default .xsl stylesheet and no errors are displayed.

          Testing the XSL files you modify by double-clicking the file. It should open within Interent Explorer. Scroll all the way to the bottom to ensure you don't see any parsing errors.

          Once these verifications are made, you can modify the XSL files to match your environment.
          Plug-ins: UltraMon, UltraM1G, UltraCID, Ultra1Wire, UltraLog, UltraWeatherBug, UltraPioneerAVR, UltraGCIR

          Comment


            #20
            <BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>Originally posted by Ultrajones:
            <BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>Originally posted by michael_turner0:
            ...
            I do not get any script errors. I have been trying isolate where or why the audio.xml shows up and then doesn't. If I remove the audio.xml section completely from the asp and add the 'WAF AB8SS' test to the fan.xml, the speakers show up there. If I take the new fans.xml and copy it to audio.xml and THEN change the asp to use audio.xml instead of fans.xml the speakers then show up in the Lamps and Modules section. Is there something I should be looking for in the .vbs screen?

            tia,
            michael<HR></BLOCKQUOTE>

            Testing the XML file using http://localhost/ultra_view2_xml.vbs:
            Just make sure the .vbs screen contains well formed XML. Scroll all the way to the buttom to ensure the XML file was completly parsed by the default .xsl stylesheet and no errors are displayed.

            Testing the XSL files you modify by double-clicking the file. It should open within Interent Explorer. Scroll all the way to the bottom to ensure you don't see any parsing errors.<HR></BLOCKQUOTE>

            Ultrajones,

            Thanks, I have done both and I see no errors.

            michael

            Comment


              #21
              I decided to try again with UltraView. I excluded all my devices with house code "&" and renamed the ninja Pan & Tilt device type to remove the "&". The ultra_view2_xml.vbs produces a clean display with IE.

              The ultra_view2_config.htm is not able to load its internally generated string (strXML). I wrote this string to a file and looked at it with IE and it did not like it, but I do not see anything wrong in the area it is complaining about. It is attached for anyone more familiar with this technology.
              Attached Files

              Comment


                #22
                Double-clicked the XSL file and see no errors.

                Hmm... Maybe I am as dumb as I look!

                &lt;xsl:for-each select="DEVICE"&gt;
                &lt;xsl:sort select="NAME" order="ascending" /&gt;
                &lt;xsl:if test="TYPE = 'Garage Door'"&gt;
                &lt;tr&gt;
                &lt;td class="tableroweven" width="70%" valign="top" align="left"&gt;
                &lt;xsl:value-of select="NAME" /&gt;
                &lt;/td&gt;
                &lt;td class="tablerowodd" width="30%" valign="top" align="left"&gt;
                &lt;xsl:apply-templates select="ICON" /&gt;
                &lt;xsl:apply-templates select="STRING" /&gt;
                &lt;/td&gt;
                &lt;/tr&gt;
                &lt;/xsl:if&gt;

                I am trying to get the status of my Garage Door DS10a. Within HomeSeer, the "Location" is "House", and the "Name" is "Garage Door". The "Type" is "C/RF Supervised Door..."

                Am I programming this incorrectly?

                "The Dunce"

                Comment


                  #23
                  <BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>Originally posted by Michael McSharry:
                  I decided to try again with UltraView. I excluded all my devices with house code "&" and renamed the ninja Pan & Tilt device type to remove the "&". The ultra_view2_xml.vbs produces a clean display with IE.

                  The ultra_view2_config.htm is not able to load its internally generated string (strXML). I wrote this string to a file and looked at it with IE and it did not like it, but I do not see anything wrong in the area it is complaining about. It is attached for anyone more familiar with this technology.<HR></BLOCKQUOTE>

                  Wow, you have a lot of crud in there
                  I still see the "&" house code (e.g. &99).

                  This looks like a great XML sample that contains a few illegal XML characters. I'll check it out to see if the script can be updated to change them as necessary.

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

                  Comment


                    #24
                    <BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>Originally posted by jeport:
                    Double-clicked the XSL file and see no errors.

                    Hmm... Maybe I am as dumb as I look!
                    <HR></BLOCKQUOTE>
                    We'll see

                    <BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>
                    I am trying to get the status of my Garage Door DS10a. Within HomeSeer, the "Location" is "House", and the "Name" is "Garage Door". The "Type" is "C/RF Supervised Door..."

                    Am I programming this incorrectly?

                    "The Dunce"<HR></BLOCKQUOTE>
                    Your close... change TYPE = 'Garage Door' to TYPE = 'C/RF Supervised Door...' Your testing the TYPE node, but specifying a HomeSeer device name.

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

                    Comment


                      #25
                      <BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>Originally posted by Tom Kern:
                      Here's how I customize the UltraView framework written by Ultra Jones...
                      <HR></BLOCKQUOTE>
                      Thanks for doing this... I really don't have a much time as I use to.

                      I was toying with combining all the individual XSLT files into one. Do you think that would make it any easier?

                      Any ideas on how to make one that "works out of the box" (e.g. default sections.)

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

                      Comment


                        #26
                        Sure, I was happy to write something up. I really like having a consolidated page and what you wrote works great! It would take a lot of work to get something that works "out of the box" that you can easily configure. I think most everyone would like a consolidated page to view information about their system and IMO it should be something included with HomeSeer--perhaps in later versions. Until then, everyone's device data will be different and may require some tweaking to get it working. I can't see a good way to provide default sections that would make things any easier. It just takes some patience to figure out where you mispelled something or have a character that is causing the xml to choke.

                        Did you end up with a working combined XSLT? I'm not sure I would like that better, but would love to see it.

                        Anyway, thanks again Ultra and thanks for popping in to answer questions.

                        -Tom

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

                        Visit Kernhome
                        Kern Theater Gallery

                        (User: guest / Pass: guest)

                        Comment


                          #27
                          - &lt;DEVICE ID="deva83720" CODE="^48" STATUS="17" VALUE="48" TIME="9" CTL="3"&gt;
                          - &lt;ICON X="-100" Y="-100" Z="0" FLOOR="1"&gt;
                          - &lt;![CDATA[ 48%.gif
                          ]]&gt;
                          &lt;/ICON&gt;
                          &lt;NAME&gt;Forecast Humidity&lt;/NAME&gt;
                          + The XML page cannot be displayed
                          Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.


                          --------------------------------------------------------------------------------

                          An invalid character was found in text content. Error processing resource 'http://localhost:8081/ultra_view2_xml.vbs'. Lin...

                          &lt;STRING&gt;&lt;![CDATA[14

                          why? the device from homeseer xml structure.
                          ps.
                          maybe if i dont use all virtual devices, only a1 to z16?

                          '640 Kb should be enough for anyone.' - Bill Gates

                          Comment


                            #28
                            Is the forecast humidity device comming from mcsTemperature as part of the MSNBC download or from somewhere else? I think it is complaining becasue of "48%.gif" where the % is included as part of the filename for the image.

                            Comment


                              #29
                              yess
                              i think disable this device in ultraview page, but, next device is composite error rate , and evap 1 day, evap 3 day etc. And i like looking this devices

                              '640 Kb should be enough for anyone.' - Bill Gates

                              Comment


                                #30
                                OK, ran ultra_view2_xml.vbs and it choked on a degree symbol in a field status from the weather script.

                                Where's the best place in ultra status to catch and change these to 'degrees' or ' ' ? I would like to catch it universally in ultrastatus rather than in each status code as it will happen again somewhere else for sure. I would like to have a place where I convert all offending characters.

                                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

                                Working...
                                X