Announcement

Collapse
No announcement yet.

Web page builder for Homeseer 3 & Homeseer 4

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

    No, the only way would be a separate ini file.
    Jon

    Comment


      Thanks Jon - I have been making good use of your programs - Check your PayPal!

      Comment


        Originally posted by jon00 View Post
        Just to let you know that I have just started work on a new version for HS3.
        It sounds very interesting, but I can't find any info - where to download and how to use it?

        Comment


          Originally posted by Monk View Post
          Thanks Jon - I have been making good use of your programs - Check your PayPal!
          Many thanks indeed for the donation!

          The script loops through the ini file to create the page, therefore you cannot use CSS to alter the layout.
          Jon

          Comment


            Originally posted by alexbk66 View Post
            It sounds very interesting, but I can't find any info - where to download and how to use it?
            All my downloads are hosted on my site. Go to the very first post in this thread and click on my signature banner for access.
            Jon

            Comment


              JSON usage

              I can make the following line control the device off & on by using it in a URL but having an issue making it work when in the .ini file.

              JSON?request=controldevicebyvalue&ref=541&value=0

              The best I can tell is that it needs to be in the .ini file somewhere. I have tried locating it multiple places in the ini with no success.

              JSON2=/JSON?request=controldevicebyvalue&ref=541&value=0

              This creates the button fine but there is no joy.
              Column1Section1-1Right=[button,OFF,JSON2]

              Someone push me in the right direction?

              Comment


                Under the [Buttons] heading, just set:

                JSON2=/JSON?request=controldevicebyvalue&ref=541&value=0

                Make sure there are no duplicate JSON2 entries.
                Jon

                Comment


                  Thanks for the quick reply... Should have looked @ qv.ini

                  Comment


                    GAR! Or in the doc for that matter. Looking everywhere but there....

                    Comment


                      Originally posted by jon00 View Post
                      No, the only way would be a separate ini file.
                      I have noticed that if I simply remove the first instance of "Right" content, that all remaining "right" content in a column is not displayed.

                      example:
                      Column1Section2-1Left=Office
                      Column1Section2-1Middle=[Device,232]
                      Column1Section2-1Right=
                      Column1Section2-1Height=
                      Column1Section2-2Left=Living Room
                      Column1Section2-2Middle=[Device,234]
                      Column1Section2-2Right=[devicelastchange,"Zone026"]
                      Column1Section2-2Height=
                      Column1Section2-3Left=Master Bath
                      Column1Section2-3Middle=[Device,290]
                      Column1Section2-3Right=[devicelastchange,"FF91D923-038-Q33"]
                      Column1Section2-3Height=

                      So it has been easy to create a shortened version of a given ini by removing only the first instance.

                      Question - is this hurting/slowing anything down?

                      I am quite pleased to have made some quick-and-dirty groupings for display on phones!
                      Click image for larger version

Name:	security.PNG
Views:	1
Size:	83.1 KB
ID:	1194827

                      Comment


                        Looks good!

                        Nothing is hurt leaving out a value. I can't say for sure what speed differences there may be but we are only talking about a few milliseconds.
                        Jon

                        Comment


                          Moved HS to W7 from W10. I thought everything was fine until I began testing one of the pages I built. It seems the buttons quit functioning. Everything else seems OK - Note that maybe it wasn't a result of the move so I started a blank INI with a simple off/on that used to work. Can't make this work. Can anyone see the obvious that I am missing?

                          [Info]
                          Version=1.0.4
                          [Settings]

                          PageTitle="Music"
                          PageCenter=0
                          ColumnNumber=1
                          PageRefresh=0
                          PageRefreshTime=0
                          RemoveLogoBar=1
                          RemoveLinks=0
                          UseFooter=0

                          Column1Heading1="Music"
                          Column1Heading1SpacerTop=0
                          Column1Heading1SpacerBottom=3

                          Column1Section1-1Left=Zone 1 Angie's Office
                          Column1Section1-1Middle=[device,621]
                          Column1Section1-1Right=[button,On,JSONRefresh1][button,Off,JSONRefresh2]
                          Column1Section1-1Height=

                          [Buttons]
                          JSONRefresh1=/JSON?request=controldevicebyvalue&ref=621&value=1
                          JSONRefresh2=/JSON?request=controldevicebyvalue&ref=621&value=0

                          Comment


                            Have you enabled JSON in the Homeseer settings?
                            Jon

                            Comment


                              Yes - I can manually enter the JSON commands in the web browser and it works.

                              Comment


                                Note that buttons in the example qv.ini work for URL's - still working with this

                                Comment

                                Working...
                                X