Announcement

Collapse
No announcement yet.

Jon00 Image builder

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

    Jon00 Image builder

    Attached Files
    Last edited by jon00; September 21, 2008, 07:32 AM.
    Jon


    #2
    If you were one of the first 3 who downloaded this, please discard and re-download. There was an error that could write wrong information to your Homeseer settings.ini file. This has now been corrected.
    Jon

    Comment


      #3
      Hi Jon,

      I downloaded and tried your script. It is pretty cool ! I like the idea of dynamically generating images to relay info on picture frames...

      However, I noted that the <devicestatusiconpath ##> and <devicestringiconpath ##> don't work if the icons have been replaced by plugins (ie if the icons are not located in the default icon folder "\\Home_automation\homeseer 2\html\Images\HomeSeer"). Only the standard "on", "off", "dim" and "unknown" icons are displayed...

      Can you fix that so the actual icons displayed on the Homeseer status page are retrieved?

      I also have these suggestions for improvements :

      A cool feature to add would be to allow for the use of a user selected background image.

      Come to think of if, I guess images and pictorials are written on top of another as you go through the tasks. It would be neat to also allow the selection of a drawing order (bring to front / send to back type thing) to select how the images covering the same area are superposed. This would allow superposed images to be displayed by selecting which image is topmost...
      Last edited by fran_joel; September 20, 2008, 09:04 AM.

      Comment


        #4
        It is rather neat IMO!

        Could you give me an example of a path to a plugin icon giving problems i.e. give me the properties of the image.

        Is the plugin Ultrastatus BTW?

        Thanks
        Jon

        Comment


          #5
          Originally posted by fran_joel View Post
          A cool feature to add would be to allow for the use of a user selected background image.

          That's an easy one. For the first task, just add an image of your choice with no transparency!
          Jon

          Comment


            #6
            Originally posted by jon00 View Post
            It is rather neat IMO!

            Could you give me an example of a path to a plugin icon giving problems i.e. give me the properties of the image.

            Is the plugin Ultrastatus BTW?

            Thanks
            Canadian Weather plugin for example:

            http://192.168.1.101:81/envcanadaicons/30.gif

            or

            \\Home_automation\homeseer 2\html\envcanadaicons

            Comment


              #7
              Originally posted by jon00 View Post
              That's an easy one. For the first task, just add an image of your choice with no transparency!
              Duh... sure! forget I even asked...

              Comment


                #8
                Originally posted by fran_joel View Post
                Canadian Weather plugin for example:

                http://192.168.1.101:81/envcanadaicons/30.gif
                Could you check the value of the devicestring for this device i.e. run this as an immediate script with the correct housecode and post the result from the log?

                &hs.writelog "test",hs.devicestring("w1")
                Jon

                Comment


                  #9
                  Originally posted by jon00 View Post
                  Could you check the value of the devicestring for this device i.e. run this as an immediate script with the correct housecode and post the result from the log?

                  &hs.writelog "test",hs.devicestring("w1")
                  When I do this, I get the icon in the log file ! I never knew the log file entries could display icons from the web page !

                  20/09/2008 10:29:31 AM test URL="http://%5C%5Cwww.weatheroffice.gc.ca/city/pages/on-118_metric_e.html"]IMG]http://board.homeseer.com/../envcanadaicons/30.gif[/IMG][/URL] Clear

                  (the icon doesn't display here, but displays perfectly well in my log view web page...)
                  Last edited by fran_joel; September 20, 2008, 10:02 AM.

                  Comment


                    #10
                    Jon

                    Comment


                      #11
                      ok in the text editor, the entry is

                      20/09/2008 10:29:31 AM ~!~test~!~<table cellspacing='0' cellpadding='0'><tr><td class='tablecellcustom' width='54'><a href='http:\\www.weatheroffice.gc.ca/city/pages/on-118_metric_e.html'><img src='../envcanadaicons/30.gif '></a></td><td class='tablecellcustom' width='250'><center>Clear</center></td></tr></table>

                      Comment


                        #12
                        Thanks! I have to parse out the image and did not think people would use a double dot at the front of the image path.

                        I'll look at this tomorrow and just wait and see if there are any other comments.
                        Jon

                        Comment


                          #13
                          @Jon,
                          This is a nice add on to your other plugins.
                          I think I can use this to make floor planes for my wall display and show actual information in the rooms.
                          - Temperature
                          - Alarm sensors
                          - Lights

                          Can this also be used for live camera images so that i can use text overlay for displaying additional information?

                          Comment


                            #14
                            Originally posted by Chak View Post
                            @Jon,
                            This is a nice add on to your other plugins.
                            I think I can use this to make floor planes for my wall display and show actual information in the rooms.
                            - Temperature
                            - Alarm sensors
                            - Lights
                            Wow, that is a great idea - never thought of that. It's a similar concept for Ultraview but with a static image!

                            I've updated the script to V0.92 beta which allows you to define the icon path for a device status per device and will override the Homeseer defaults. Maybe useful if you want to use this for a floor plan with different icons showing.

                            Originally posted by Chak View Post
                            Can this also be used for live camera images so that i can use text overlay for displaying additional information?
                            Not for live streams but you can take a captured image and add overlay anything you want on that.

                            Fran,

                            Try V0.92 beta now and see if it corrects your Canadian Weather icon issue.
                            Jon

                            Comment


                              #15
                              I forgot to mention, the download also includes drawimage.aspx which demonstrates how you can use this to draw images on the fly in a web page such as charts etc.

                              With Chak's idea, you could use this for a floor plan design.

                              The page shows the demo image and every time you refresh the page, the time should update.
                              Jon

                              Comment

                              Working...
                              X