Announcement

Collapse
No announcement yet.

Jon00 Homeseer 2 web page (Quick view) builder discussion

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

    Jon
    touchscreen will not work on my PDA....but great on the Nokia N810
    I like the style of quick view using one column mode for my pda
    only missing part is some buttons for controlling.
    This can be the basic html button's
    Hope you can build this in..or have some tips how i can do that

    thanks
    chak

    Comment


      Chak,

      How about embedding another basic HS html web page in to your design? That way I do not need to alter the code but will still show buttons to trigger your events etc.
      Jon

      Comment


        that will work...I'm not so good in coding.
        Hoop that someone already has build something and will upload some examples.

        button that will trigger something like this
        hs.TriggerEvent ("Lights on")

        Comment


          There are loads of examples on this board, however if you do not get very far, I'll take a look over the weekend.
          Jon

          Comment


            Webpage builder

            Hello,
            I want to show the last run time of a device in webpage builder
            Is there a why to do that.!!
            For example if there is movement in the living room I want to see when the last movement was

            http://esschenk.dyndns.org/BUILDPAGE.ASPX?VAL=QV
            login GAST
            Passw GAST

            Thanks
            ed

            Comment


              Yes, it can be done but you will need to configure a variable to do this.

              Take a look at this post:

              http://forums.homeseer.com/showpost....&postcount=128
              Jon

              Comment


                Originally posted by Chak View Post
                that will work...I'm not so good in coding.
                Hoop that someone already has build something and will upload some examples.

                button that will trigger something like this
                hs.TriggerEvent ("Lights on")
                Chak,

                I have attached a simple html page (button1.html) for you to embed. Place this in your HTML folder.

                Open this up in a text editor. Change the text 'your event name here' to the event you wish to run when the button is pressed.

                Change the 'button text here' to the text you wish to show on the button.

                You can alter the size of the button by altering the font-size setting.

                Finally, the background colour can be changed by altering the background-color setting.

                If you want more buttons, just make copies of this file with different names i.e. button2.html etc.

                To embed, just add the following to the ini file (example column1, section1)

                Column1Section1-1Right=embed/button1.html,150,25,0,0
                Attached Files
                Jon

                Comment


                  Hello John,

                  I made some variables
                  i want to display in the right section the device and the last change time
                  i saw the posting about this but if i set this up he displays only the device
                  What i am doing wrong!!!
                  this are my lines

                  Column1Section2-1Left=Koetslampjes Mariska
                  Column1Section2-1Right=Deviceb15 sinds BPVar53

                  'Variable 53 - Koetslampen mariska

                  strVar=hs.DeviceLastChange("B15")
                  hs.SaveVar ("BPVar53",strVar)

                  Thanks ed

                  Comment


                    Well I have to say that all looks OK.

                    Are there any errors in the log for buildpage.vb ?

                    What happens if you just enter the variable i.e.

                    Column1Section2-1Left=Koetslampjes Mariska
                    Column1Section2-1Right=BPVar53
                    Jon

                    Comment


                      Hello John,

                      Thats works fine
                      Koetslampjes Mariska 10-06-08 22:07:35

                      ed

                      Comment


                        It's such a long time since I wrote this that I forgot what I had done. You cannot display devices and text on the same line which is causing the problem.

                        You may be able to get around the issue by doing the following:

                        'Variable 53 - Koetslampen mariska

                        strVar=hs.Devicestring("B15") & " sinds " & hs.DeviceLastChange("B15")
                        hs.SaveVar ("BPVar53",strVar)

                        Column1Section2-1Left=Koetslampjes Mariska
                        Column1Section2-1Right=BPVar53
                        Jon

                        Comment


                          That’s what I want, thanks john
                          Aim not so good with the scripts from home seer
                          I started 4 months ago so in the coming months I will learn more about this

                          I make my Quick page now

                          Thanks for the quick reply

                          Comment


                            Comment


                              GetLastRemoteIP, HSMemoryUsed & Date are all included in the package using the variables:

                              GetLastRemoteIP = BPVar4
                              HSMemoryUsed = BPVar16
                              Date = BPVar9

                              If you open up buildpage.vb in a text editor you will see all the variables available.
                              Jon

                              Comment


                                Hello John,

                                Maybe a was asking the wrong question
                                I was looking for the how do you call them
                                Commandos
                                Variables
                                The list off commandos from home seer it self
                                As an example
                                Lastdevicechange
                                Date
                                Lanip
                                That type off commandos you use in webpage builder
                                And what aim seeing in home seer itself

                                Thanks Ed

                                Comment

                                Working...
                                X