Announcement

Collapse
No announcement yet.

Jon00 Homeseer 2 web page (Quick view) builder Version 2

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

    #31
    Jon, the new version straightened out all my little troubles, thank you!

    Of course you knew there was a question comming up.

    I tried the page without showing the links at the top and I liked that a lot better. It made it so much more view-able on a PPC. I did really miss the HS title bar though.

    Is there a way to show the HS title bar only, without the buttons for plugins and such?
    Marty
    ------
    XPpro SP3 /w HS Standard 2.5.0.80, HSTouch Server - 1.0.0.70, HSTouch Client 1.0.0.73 HSTouch Android - 1.0.0.2, HSTouch iPhone - 1.0.0.2
    Playing with HS3 a bit but it's just play at this point.

    Comment


      #32
      You cannot do that with the current version but if I need to update it I will add this feature if you wish.

      Why not just have another ini file for your PPC not showing the header (you can define a single control button if you want to exit)?
      Jon

      Comment


        #33
        That's what I am doing. I have a separate ini that I only use for the PPC and getting rid of the buttons makes it a lot nicer to view. Since I won't be configuring anything on the PPC just viewing status i don't need any of the buttons but I did miss the HS Title Bar, I miss the cute little sun moon dates and time. It's not a biggie, just something I missed looking at the plain quickview. I have all the info I need showing, now just working on it's looks a little bit.
        Marty
        ------
        XPpro SP3 /w HS Standard 2.5.0.80, HSTouch Server - 1.0.0.70, HSTouch Client 1.0.0.73 HSTouch Android - 1.0.0.2, HSTouch iPhone - 1.0.0.2
        Playing with HS3 a bit but it's just play at this point.

        Comment


          #34
          You could always roll your own logo bar as a header assuming you are only using one column for your PPC:

          In your buildpage.vb, add the following immediately before the line:

          '******* User defined here *****

          PHP Code:
          'Variable 50 - LogoBar

          Try
              strVar = "<table border='
          0' cellpadding='0' cellspacing='0' width='100%'><tr>"
              strVar += "<td class='
          logobar' colspan='1' >&nbsp;<span><span><img src='/images/HomeSeer/clock.gif' align='absmiddle' border='0'>&nbsp;" & Now() & "</span>"
              strVar += "</span><span>&nbsp;<img src='
          /images/HomeSeer/sunrise.gif' align='absmiddle' border='0'> <b>Sunrise:</b> " & hs.sunrise() & "</span>"
              strVar += "<span>&nbsp;<img src='
          /images/HomeSeer/sunset.gif' align='absmiddle' border='0'> <b>Sunset:</b> " & hs.sunset() & "</span>"
              strVar += "</td</tr></table>"
              hs.SaveVar ("BPVar50",strVar)
          Catch ex As Exception
              If Logging=1 then hs.writelog("Jon00_Buildpage","Error at BPVar50 (" & ex.Message & ")")
          End Try 
          Now just call up the BPVar50 in a heading i.e.

          Column1Heading1=BPVar50

          Because of colour matching within the existing header, you may need to play with the class='logobar' and change it to class='tableheader' but you should get your requirements even if it does not look exactly the same style as the logo bar.
          Last edited by jon00; July 20, 2008, 09:37 AM.
          Jon

          Comment


            #35
            Thanks Jon, I'll play with that a bit.
            Marty
            ------
            XPpro SP3 /w HS Standard 2.5.0.80, HSTouch Server - 1.0.0.70, HSTouch Client 1.0.0.73 HSTouch Android - 1.0.0.2, HSTouch iPhone - 1.0.0.2
            Playing with HS3 a bit but it's just play at this point.

            Comment


              #36
              That worked great, thank you. It's not exact but like you say it's close enough and I can only see so much on that tiny little screen anyway.
              Marty
              ------
              XPpro SP3 /w HS Standard 2.5.0.80, HSTouch Server - 1.0.0.70, HSTouch Client 1.0.0.73 HSTouch Android - 1.0.0.2, HSTouch iPhone - 1.0.0.2
              Playing with HS3 a bit but it's just play at this point.

              Comment


                #37
                I've just found another bug...I really should have put this out to beta!

                If you set the Heading to "Null" (to hide it), it breaks! I'll have to put out a new version Gives an opportunity to add feature requests

                I've been playing with my iTouch and generated the following test page for it with this package. The status icons/text makes an ideal area to finger scroll down the page!
                Attached Files
                Jon

                Comment


                  #38
                  V2.03 released.

                  Fingers crossed on this one!

                  This is a summary of changes since 2.02:

                  Corrected bug where adding "Null" to a Heading would break the page rather than hide the heading.
                  Added hs.devicetime variable to report the time in minutes since a device last changed.
                  Added HeadData as a new ini setting
                  Added BodyData as a new ini setting
                  Added CSSName as a new ini setting
                  Added RemoveLogoBar as a new ini setting and redefined RemoveLinks as a setting.
                  Added iTouch.CSS and iTouch.ini as an example page for the iTouch
                  Provided a method to define a button style per button on a page.

                  Hopefully I've captured everything!
                  Jon

                  Comment


                    #39
                    Jon,

                    Just updated to 2.03 and now getting an error

                    Error Initializing script run: File 'D:\Program Files\HomeSeer 2\scripts\Logwebpages.vb' not found.

                    Brian

                    Comment


                      #40
                      Oops...

                      Download it again!
                      Jon

                      Comment


                        #41
                        think i missed the upgrade to ver 2.03 but anyway...

                        I have a few questions as im not sure..

                        well now that I just left this post to go look at a few things...

                        reading the doc (go figure) I figured out how to center the text in the heading columns and re arange stuff as I like...

                        but I still have 1 question...

                        how does one just adjust the width of each column in just 1 section?

                        see how my text wraps around? dont want it too....

                        im gonna download 2.03 and install it and read the doc again...

                        ~Jeff
                        Attached Files
                        HW - i5 4570T @2.9ghz runs @11w | 8gb ram | 128gb ssd OS - Win10 x64

                        HS - HS3 Pro Edition 3.0.0.435

                        Plugins - BLRF 2.0.94.0 | Concord 4 3.1.13.10 | HSBuddy 3.9.605.5 | HSTouch Server 3.0.0.68 | RFXCOM 30.0.0.36 | X10 3.0.0.36 | Z-Wave 3.0.1.190

                        Hardware - EdgePort/4 DB9 Serial | RFXCOM 433MHz USB Transceiver | Superbus 2000 for Concord 4 | TI103 X-10 Interface | WGL Designs W800 RF | Z-Net Z-Wave Interface

                        Comment


                          #42
                          seems that stretching the first middle column by adding stuff.. made the others wider..

                          the problem I was having was that devices: was too long and wouldnt show.. but if i put Dev: it was fine...

                          Once I added Ver:
                          the line got wider and Devices now fit.....

                          here is another sneak peak..
                          once i get all of them done I will post up as you requested for people to share...
                          Attached Files
                          HW - i5 4570T @2.9ghz runs @11w | 8gb ram | 128gb ssd OS - Win10 x64

                          HS - HS3 Pro Edition 3.0.0.435

                          Plugins - BLRF 2.0.94.0 | Concord 4 3.1.13.10 | HSBuddy 3.9.605.5 | HSTouch Server 3.0.0.68 | RFXCOM 30.0.0.36 | X10 3.0.0.36 | Z-Wave 3.0.1.190

                          Hardware - EdgePort/4 DB9 Serial | RFXCOM 433MHz USB Transceiver | Superbus 2000 for Concord 4 | TI103 X-10 Interface | WGL Designs W800 RF | Z-Net Z-Wave Interface

                          Comment


                            #43
                            The width of the left sub-column is defined using:

                            ColumnXSectionXWidthLeft=xxx in pixels

                            The width of the next is defined using:

                            ColumnXSectionXWidthRight=xxx in pixels

                            If you look at the sample qv.ini file it shows all the possible ini file settings. Also read the docs - or as I aways say to TrOjAn RTFM...everything is explained
                            Jon

                            Comment


                              #44
                              Aren't the first two columns width determined by these two setting in the ini file, for each section?

                              Column1Section1WidthLeft=
                              Column1Section1WidthRight=

                              I think the rightextra column just gets whats leftover.
                              Marty
                              ------
                              XPpro SP3 /w HS Standard 2.5.0.80, HSTouch Server - 1.0.0.70, HSTouch Client 1.0.0.73 HSTouch Android - 1.0.0.2, HSTouch iPhone - 1.0.0.2
                              Playing with HS3 a bit but it's just play at this point.

                              Comment


                                #45
                                I'll be damned, Jon beat me to it, i was even right. It's gonna be a good day.
                                Marty
                                ------
                                XPpro SP3 /w HS Standard 2.5.0.80, HSTouch Server - 1.0.0.70, HSTouch Client 1.0.0.73 HSTouch Android - 1.0.0.2, HSTouch iPhone - 1.0.0.2
                                Playing with HS3 a bit but it's just play at this point.

                                Comment

                                Working...
                                X