Announcement

Collapse
No announcement yet.

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

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

    HS3 now has new status icons. And they are huge!

    HSPro 3.0.0.458, Z-NET with Z-wave plugin 3.0.1.190, RFXCOM + 2x RFXtrx433E, HSTouch, Squeezebox plugin, iTach IP/WF2IR & GC-100-6 with UltraGCIR, BLDenon, NetcamStudio, Jon00s Webpage builder, Harmony Hub plugin, SCSIP (with FreePBX), Arduino plugin, IFTTT, Pushalot plugin, Device History plugin.
    Running on Windows 10 (64) virtualized
    on ESXi (Fujitsu Primergy TX150 S8).
    WinSeer (for Win10) - TextSeer - FitbitSeer - HSPI_MoskusSample

    Are you Norwegian (or Scandinavian) and getting started with HomeSeer? Read the "HomeSeer School"!

    Comment


      It's amazing how small changes can break so may things

      Easy fix. Add the following to the end of the respective device tag:

      PHP Code:
      {replace"<img","<img width=""32"""
      i.e.

      PHP Code:
      Column2Section3-1Middle=[device,123] {replace"<img","<img width=""32"""
      This will insert a with parameter within the image tag.
      Jon

      Comment


        Wow! Perfect!
        HSPro 3.0.0.458, Z-NET with Z-wave plugin 3.0.1.190, RFXCOM + 2x RFXtrx433E, HSTouch, Squeezebox plugin, iTach IP/WF2IR & GC-100-6 with UltraGCIR, BLDenon, NetcamStudio, Jon00s Webpage builder, Harmony Hub plugin, SCSIP (with FreePBX), Arduino plugin, IFTTT, Pushalot plugin, Device History plugin.
        Running on Windows 10 (64) virtualized
        on ESXi (Fujitsu Primergy TX150 S8).
        WinSeer (for Win10) - TextSeer - FitbitSeer - HSPI_MoskusSample

        Are you Norwegian (or Scandinavian) and getting started with HomeSeer? Read the "HomeSeer School"!

        Comment


          Hey Jon00,

          The work around doesn't seem to be working for me. Any ideas?
          Attached Files

          Comment


            Are you running the latest version as the replace tag formatting was changed last year?
            Jon

            Comment


              Updated and now working.

              thanks Jon00!

              Comment


                Would I be right in saying that the replace function only works on devices?

                For example, I am trying to do this..


                Column1SubHeadingRight1=Control {replace, "align="""">", "align=""Right"">"}

                To right align one of the sub headings, but nothing I've tried is working?

                Thanks!

                Comment


                  The replace function will only work with text and tags within the entry.

                  So in your example, you are trying to use the replace function on the word 'Control'
                  Jon

                  Comment


                    Ahhhh right, OK that makes sense. I thought it was able to replace any text in the HTML for that line.. I was just trying to right justify the sub heading as nothing else I've tried works

                    Thanks Jon00

                    Comment


                      Try something like:

                      PHP Code:
                      Column1SubHeadingRight1=<div style='width:auto; text-align:right;'>Control</div
                      Jon

                      Comment


                        Wonderful, thanks Jon00, that's worked like a charm!

                        Comment


                          I've finally got around to making the small change required to reduce the size of the contemporary icons back to 32 pixels.

                          V1.0.4 is now available which will enable you to remove the replace tags.
                          Jon

                          Comment


                            I still want more ...

                            Hi Jon,

                            Ok, I can make nice buttons that trigger HS scripts, updating screen or not.
                            But when it comes to some functions I would like this to be confirmed.
                            In another automation life, before I started to use Jon00 quickview builder, I used yo have buttons with an onclick option.
                            i.e : onClick="return confirm('Are you sure you want to block all calls and send their user to hell ?')
                            Could this be done using the quickview builder ?
                            Visit zee e-maison : http://www.e-maison.com

                            Comment


                              Device value Divide possible?

                              UPDATE: I'm using the HS3 web page builder, not the one for HS2. Sorry, wrong thread ;-)

                              Team,

                              Some devices have a device
                              VALUE: 1640
                              STRING: "16.40W (current) 900.00W (total) 190.00W (daily)"

                              Can't use the string as it contains a LOT of other info that's not relevant.

                              Q: Is it possible to divide the device value?
                              ____[devicevalue,14] {divide,10}
                              ____result: "16.40"
                              or
                              Q: Is it possible to strip the last 2 digits?
                              ____[devicevalue,14] {stripright,2}
                              ____result: 16
                              or
                              Q: Is it possible to strip all characters after a first string occurrence?
                              ____[devicestring,14] {stripafter,"W "}
                              ____result: "16.40"
                              Last edited by DJF3; October 25, 2015, 04:26 PM.

                              Comment


                                Originally posted by Pierre View Post
                                Hi Jon,

                                Ok, I can make nice buttons that trigger HS scripts, updating screen or not.
                                But when it comes to some functions I would like this to be confirmed.
                                In another automation life, before I started to use Jon00 quickview builder, I used yo have buttons with an onclick option.
                                i.e : onClick="return confirm('Are you sure you want to block all calls and send their user to hell ?')
                                Could this be done using the quickview builder ?
                                Not easily unfortunately.

                                Originally posted by DJF3 View Post
                                Team,

                                Some devices have a device
                                VALUE: 1640
                                STRING: "16.40W (current) 900.00W (total) 190.00W (daily)"

                                Can't use the string as it contains a LOT of other info that's not relevant.

                                Q: Is it possible to divide the device value?
                                ____[devicevalue,14] {divide,10}
                                ____result: "16.40"
                                or
                                Q: Is it possible to strip the last 2 digits?
                                ____[devicevalue,14] {stripright,2}
                                ____result: 16
                                or
                                Q: Is it possible to strip all characters after a first string occurrence?
                                ____[devicestring,14] {stripafter,"W "}
                                ____result: "16.40"
                                At the moment there is only the replace command. A divider could be added however I'm surprised a plugin has done this. HS3 supports double Integer for values and multiplication is not necessary. What plugin is providing this value?
                                Jon

                                Comment

                                Working...
                                X