Announcement

Collapse
No announcement yet.

Show a TimeStamp on HS Touch...

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

    Show a TimeStamp on HS Touch...

    Hey all, I have a couple of events that I regularly trigger from HS Touch. I would really like to show the time that the event was triggered. What is the best was to do this?

    Sorry if this has already been covered. I did search but I couldn't find what I was looking for.

    Regards,
    Tony
    HomeSeer Version: HS3 Pro Edition
    Operating System: Microsoft Windows 10 Pro
    Processor Type and Speed: i7 - 3.26 GHz
    Total Physical Memory: 16Gig

    Plugins: BlBackup | EasyTrigger | FitbitSeer | HSTouchServer | Insteon | WeatherXML

    #2
    Guessing here that you want to see that on your HSTouch screen.

    You can put a script on the touchscreen that tells you the last time the event was triggered.

    If the event changes a variable you can do the same with a script that tells you when the variable changed last.
    - Pete

    Auto mator
    Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
    Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
    HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

    HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
    HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

    X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

    Comment


      #3
      I think it came up recently that there is no native way of getting the time a specific event was triggered.

      One way (depending on how many events you have) is to have a virtual device per event and in one of the actions to that event do an immediate script command something like

      &hs.setdevicestring("W98", Now(), True)

      Then in HSTouch you status track this device on your screen.

      Comment


        #4
        Originally posted by Pete View Post
        Guessing here that you want to see that on your HSTouch screen.

        You can put a script on the touchscreen that tells you the last time the event was triggered.

        If the event changes a variable you can do the same with a script that tells you when the variable changed last.
        Yes that is exactly what I want to do.

        Sorry, but I can find no method of putting the time the event was triggered. This is exactly what I want. How do i do this?
        HomeSeer Version: HS3 Pro Edition
        Operating System: Microsoft Windows 10 Pro
        Processor Type and Speed: i7 - 3.26 GHz
        Total Physical Memory: 16Gig

        Plugins: BlBackup | EasyTrigger | FitbitSeer | HSTouchServer | Insteon | WeatherXML

        Comment


          #5
          MrHappy, that will do, thank you!!! Is there any way to just get the time?
          HomeSeer Version: HS3 Pro Edition
          Operating System: Microsoft Windows 10 Pro
          Processor Type and Speed: i7 - 3.26 GHz
          Total Physical Memory: 16Gig

          Plugins: BlBackup | EasyTrigger | FitbitSeer | HSTouchServer | Insteon | WeatherXML

          Comment


            #6
            Replace Now() with Time()

            See here for some of the formatting types you could use http://www.w3schools.com/vbscript/vb...tions.asp#date

            Comment


              #7
              Thank you!!!!
              Have a great day.

              CM
              HomeSeer Version: HS3 Pro Edition
              Operating System: Microsoft Windows 10 Pro
              Processor Type and Speed: i7 - 3.26 GHz
              Total Physical Memory: 16Gig

              Plugins: BlBackup | EasyTrigger | FitbitSeer | HSTouchServer | Insteon | WeatherXML

              Comment


                #8
                Mr.Happy, sorry, am i missing something? I cant find an action to run an immediate script in my events. I tried making a timestamp.txt script in my scripts folder and running that, but it didn't go.

                Thank you for your help.

                CM
                HomeSeer Version: HS3 Pro Edition
                Operating System: Microsoft Windows 10 Pro
                Processor Type and Speed: i7 - 3.26 GHz
                Total Physical Memory: 16Gig

                Plugins: BlBackup | EasyTrigger | FitbitSeer | HSTouchServer | Insteon | WeatherXML

                Comment


                  #9
                  When you add an action click run script, then switch to advanced view and put that bit of code in the box that says "OR Script Statement: ie: &hs.speak "hello"". You do need to create a virtual device first and change that code in the script to your new device.

                  Comment


                    #10
                    Ah, totally missed that button. Thank you!!!!

                    Everything is working perfectly now.

                    Have a great day.
                    HomeSeer Version: HS3 Pro Edition
                    Operating System: Microsoft Windows 10 Pro
                    Processor Type and Speed: i7 - 3.26 GHz
                    Total Physical Memory: 16Gig

                    Plugins: BlBackup | EasyTrigger | FitbitSeer | HSTouchServer | Insteon | WeatherXML

                    Comment

                    Working...
                    X