Announcement

Collapse
No announcement yet.

Web page builder for Homeseer 3 & Homeseer 4

Collapse
This topic is closed.
X
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #61
    Sure, you can have a button and device on the same line. I do this in some of my pages, see small screenshot below.

    I am using this in my INI file for the Thermostat section. I am using the BPVar2,3,4,5 in the buildpage.vp for formating the timers into days, hours, minutes, and seconds.

    Column1Heading4="Thermostats"
    Column1Heading4SpacerTop=3
    Column1Heading4SpacerBottom=1
    Column1Section4Spacer=1
    Column1Section4VerticalSpacer=1
    Column1Section4LeftAlign=
    Column1Section4MiddleAlign=
    Column1Section4RightAlign=
    Column1Section4WidthLeft=20
    Column1Section4WidthMiddle=
    Column1Section4-1Left=Downstairs
    Column1Section4-1Middle=<u>Current Runtime:</u> [BPVar,2] <u>Filter Runtime</u> [BPVar,3] [button,Filter Reset,EventRefresh1,10,functionrowbutton]
    Column1Section4-1Height=
    Column1Section4-2Left=Upstairs
    Column1Section4-2Middle=<u>Current Runtime:</u> [BPVar,4] <u>Filter Runtime</u> [BPVar,5] [button,Filter Reset,EventRefresh2,10,functionrowbutton]
    Column1Section4-2Height=
    Attached Files
    Billy

    Comment


      #62
      Billy, thks got the tip. Now the issue I see is that I have 2 button, one ""on" and one "off" , but they are to close of each other. Is there a way to seperate them, give distance in between?

      Other issue I have is to run a event to turn on and off a device. I have both events made. How do I add that actions to the buttons created. I read the instructions but I am not getting it. Maybe I need to retire, I ve been on it for 4 hrs.
      Hector
      ____________________________________
      Win.2003 OS, HS3
      BLDSC,BLstat,BLRadar,BLRamdom,BLOccupied
      BLups,BLrain8,HSTouch,Ultrajones Weatherbug,
      MyTrigger,ACRF2,W800,Zwave
      AP800,Honeywell Stat

      Comment


        #63
        Originally posted by Rotech View Post
        Billy, thks got the tip. Now the issue I see is that I have 2 button, one ""on" and one "off" , but they are to close of each other. Is there a way to seperate them, give distance in between?

        Other issue I have is to run a event to turn on and off a device. I have both events made. How do I add that actions to the buttons created. I read the instructions but I am not getting it. Maybe I need to retire, I ve been on it for 4 hrs.
        Hector,

        At the bottom of your Ini file there is a section with the heading [buttons]

        Under this heading you will see:

        Event1=
        Event2=
        Event3=
        etc

        Under Event1, enter the exact name of the event you want to run with the On button.
        Under Event2, enter the exact name of the event you want to run with the Off button.

        It could look like:

        [buttons]
        Event1=lighton
        Event2=lightoff

        lighton and lightoff would be substituted with your event names.

        That's the events programmed!

        For the buttons use:

        [button,On,Event1] [button,Off,Event2]

        This tell the page to display a button with the text 'On' and run Event1 (which is defined under the [buttons] heading) when pressed.
        It then tells the page to leave a space before the second button.
        The second button is the same as the first, except the text displayed is 'Off' and runs Event2 when pressed.
        Jon

        Comment


          #64
          Thank you John, that makes sense. Is it possible of resizing a button?
          Hector
          ____________________________________
          Win.2003 OS, HS3
          BLDSC,BLstat,BLRadar,BLRamdom,BLOccupied
          BLups,BLrain8,HSTouch,Ultrajones Weatherbug,
          MyTrigger,ACRF2,W800,Zwave
          AP800,Honeywell Stat

          Comment


            #65
            yes, you can set this by the font size used which is an extra parameter:

            [button,On,Event1,16] [button,Off,Event2,16]

            Change the 16 to whatever size you want.
            Jon

            Comment


              #66
              This is just experimental take, there a lot of cleanning to do before the final product. Here you see that the buttons are blue, where as the Button test screen,it shows a ligth gray color (I am using rtuButton Ligth) dont know why this occurs.

              my Next problem is the distance of the button shown in the arrow. I would like more space between them. the "off" and "on" show next to the icon which is part of the string. I tried deleting the off and on in the status grafic page, but if I do the device will stop working for some reason. any ideas how can I correct theses issue?
              Attached Files
              Hector
              ____________________________________
              Win.2003 OS, HS3
              BLDSC,BLstat,BLRadar,BLRamdom,BLOccupied
              BLups,BLrain8,HSTouch,Ultrajones Weatherbug,
              MyTrigger,ACRF2,W800,Zwave
              AP800,Honeywell Stat

              Comment


                #67
                The button actually turn on and off the ligth. But the device icon does not change state. Like if it doesn't see the change.
                Hector
                ____________________________________
                Win.2003 OS, HS3
                BLDSC,BLstat,BLRadar,BLRamdom,BLOccupied
                BLups,BLrain8,HSTouch,Ultrajones Weatherbug,
                MyTrigger,ACRF2,W800,Zwave
                AP800,Honeywell Stat

                Comment


                  #68
                  Hector you will probably need to use the EventRefresh if you want the page to refresh after clciking a button.

                  Try putting this between your buttons to simulate two spaces "&nbsp;&nbsp;", see example below.

                  [button,On,Event1]&nbsp;&nbsp;[button,Off,Event2]
                  Billy

                  Comment


                    #69
                    Hector, let me know if this works. Good luck

                    Thanks
                    Billy

                    Comment


                      #70
                      Originally posted by bdraper View Post
                      Hector you will probably need to use the EventRefresh if you want the page to refresh after clciking a button.

                      Try putting this between your buttons to simulate two spaces "&nbsp;&nbsp;", see example below.

                      [button,On,Event1]&nbsp;&nbsp;[button,Off,Event2]
                      dbraper, that did it!!!! but the update after the button doesnt look like working, here is what I have.

                      [button,ON,Event1,,rtubutton ligth,40]&nbsp;&nbsp;[button,OFF,Event2,,rtubutton ligth,40]

                      thk you for your help
                      Hector
                      ____________________________________
                      Win.2003 OS, HS3
                      BLDSC,BLstat,BLRadar,BLRamdom,BLOccupied
                      BLups,BLrain8,HSTouch,Ultrajones Weatherbug,
                      MyTrigger,ACRF2,W800,Zwave
                      AP800,Honeywell Stat

                      Comment


                        #71
                        Check out the documentation for the web builder and see the section for EventRefresh. I believe that is what you need to refresh the page after pressing the button.
                        Billy

                        Comment


                          #72
                          Thanks Billy for assisting here.

                          Hector,

                          As Billy stated, the buttons as you have them configured NOT to refresh the web page.

                          What you need to do is to configure buttons to run the event and then refresh the page. This should then reflect the status change.

                          To do this, go to your [buttons] section again.

                          Rather than defining your events under:

                          Event1=XXXXXXX
                          Event2=XXXXXXX

                          you now need to move these events under:

                          EventRefresh1=XXXXXXX
                          EventRefresh2=XXXXXXX

                          Back to the buttons definition, change what you have to:

                          [button,ON,EventRefresh1,20]&nbsp;&nbsp;[button,OFF,EventRefresh2,20]

                          This should also sort out your button style issue.

                          If the buttons are too big, change the 20 to a smaller value.
                          Jon

                          Comment


                            #73
                            Originally posted by jon00 View Post
                            Thanks Billy for assisting here.
                            No problem, glad to help.

                            Thanks
                            Billy

                            Comment


                              #74
                              Originally posted by jon00 View Post
                              Thanks Billy for assisting here.

                              Hector,

                              As Billy stated, the buttons as you have them configured NOT to refresh the web page.

                              What you need to do is to configure buttons to run the event and then refresh the page. This should then reflect the status change.

                              To do this, go to your [buttons] section again.

                              Rather than defining your events under:

                              Event1=XXXXXXX
                              Event2=XXXXXXX

                              you now need to move these events under:

                              EventRefresh1=XXXXXXX
                              EventRefresh2=XXXXXXX

                              Back to the buttons definition, change what you have to:

                              [button,ON,EventRefresh1,20]&nbsp;&nbsp;[button,OFF,EventRefresh2,20]

                              This should also sort out your button style issue.

                              If the buttons are too big, change the 20 to a smaller value.
                              Got it Jon....!!! Is there a way to eliminate the text next to the icon? See pic above with circle.
                              Last edited by Rotech; August 5, 2014, 12:05 PM.
                              Hector
                              ____________________________________
                              Win.2003 OS, HS3
                              BLDSC,BLstat,BLRadar,BLRamdom,BLOccupied
                              BLups,BLrain8,HSTouch,Ultrajones Weatherbug,
                              MyTrigger,ACRF2,W800,Zwave
                              AP800,Honeywell Stat

                              Comment


                                #75
                                late to the game, but has anyone proved that this does / does not work with a HS Zee?

                                --Dan
                                Tasker, to a person who does Homeautomation...is like walking up to a Crack Treatment facility with a truck full of 3lb bags of crack. Then for each person that walks in and out smack them in the face with an open bag.

                                Comment

                                Working...
                                X