Announcement

Collapse
No announcement yet.

hs.TimerReset()

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

    hs.TimerReset()

    I'm trying to reset and stop a timer. Using the syntax
    PHP Code:
    hs.TimerReset("myTimer"
    sets the timer back to 0 but doesn't stop it. Is there way (other than calling an event to stop the timer) to stop the timer?

    Thanks
    Don

    #2
    I'm afraid not Don, it's been an issue for a few years at least now - https://forums.homeseer.com/bugzilla...ug.cgi?id=2430

    Comment


      #3
      Just a new to HS3 but that gave me a royal PIA at first. Now, I just issue a stop command followed by a reset in the same event.

      I will say that after using timers for many things I find that having them independent has it's advantages so I would NOT want to see it changed.
      HomeSeer Version: HS3 Standard Edition 3.0.0.548
      Linux version: Linux auto 4.15.0-72-generic #81-Ubuntu SMP Tue Nov 26 12:20:02 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
      Number of Devices: 484 | Number of Events: 776

      Enabled Plug-Ins: 3.0.0.13: AirplaySpeak | 2.0.61.0: BLBackup
      3.0.0.70: EasyTrigger | 1.3.7006.42100: LiftMaster MyQ
      4.2.3.0: mcsMQTT | 3.0.0.53: PHLocation2 | 0.0.0.47: Pushover 3P
      3.0.0.16: RaspberryIO | 3.0.1.262: Z-Wave

      Z-Net version: 1.0.23 for Inclusion Nodes
      SmartStick+: 6.04 (ZDK 6.81.3) on Server

      Comment


        #4
        One option I have done in my scripts to get around this issue is create an event to control the timer the way I want and then just invoke the command in my scripts to run that event.

        Not clean, but effective.

        Comment


          #5
          Yeah, that is what I ended up doing. Not dynamic, but works.
          Don

          Comment

          Working...
          X