Announcement

Collapse
No announcement yet.

Hs101

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

    Hs101

    Hi,

    Is there a way to refresh the status page by setting atime or by everytime HS adds something to the log (not necessarily an event change) but more like if someone turns on a switch I see the popup advise on the change but need to refresh the status page to see the new status of the device.

    regards,

    #2
    I think there is a "refresh" timer in one of the web page setup screens but I can't remember which one.

    It saves having to click the "refresh" icon button to see the device status.

    Take a look in the web page setup screens for it.

    Neil
    Neil
    Newmarket Ontario

    Comment


      #3
      Got it. It is under the setup->webserver

      regards,

      Comment


        #4
        It should be updating automtically and does so very often with the latest HS release version.
        -Rupp
        sigpic

        Comment


          #5
          Creating Devices and Icons....

          Need help creatign new devices.....like virtual devices that do not have an off/on buttons etc.

          Also, how do I add little icons next to a device. For e.g. add a little fan next to a fan.

          regards,

          Comment


            #6
            pick STATUS for your device and you will not get the on/off options.



            I use something like this within a recurring script:
            HTML Code:
            sub main()
            dim pic,s,str
            pic ="<IMG src='HShouse.gif'>"
            s =hs.SystemUptime
            str = pic & "  Current Uptime:  " &s 
            hs.SetDeviceString "z1",str
            hs.SetDeviceLastChange "z1",now
            End sub

            This is a oneliner: that you place in the event and trigger it via STATUS CHANGE - it will allow you to have a moving fan icon if the fan is on, and a stopped one if your fan is off.

            HTML Code:
            &hs.SetDeviceString "F1", hs.StringItem(";<img src='ledgreen.gif' align=absmiddle> On;<img src='ledred.gif' align=absmiddle> Off;<img src='ledgreen.gif' align=absmiddle>Dim;;;;;;;;;;;;;Unknown",hs.DeviceStatus("F1"),";")

            Comment

            Working...
            X