Announcement

Collapse
No announcement yet.

Device value has been in the range for at least

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

    Device value has been in the range for at least

    Hello,

    I have a problem setting-up a simple OFF timer event for a device.
    The device values are:
    0 = OFF
    1 to 254 = DIM
    255 = ON

    I want to create a simple event such as
    IF device value has been in the range [1,255] for at least 4 minutes, then turn off device.

    I upgraded to the latest HomeSeer stable version (3.0.0.297)

    However, when I select the event condition "device value has been in the range for at least", there is only one value for the range. I tried to enter 1-255 or [1,255] etc... for the value but HomeSeer doesn't understand.

    Any idea ?
    Attached Files
    --
    stipus

    #2
    In HS2 it was 1...254
    Peter

    http://ohh.pcgsm.nl

    Comment


      #3
      Thanks for the info. I just checked and it doesn't seem to work with HS3
      --
      stipus

      Comment


        #4
        FYI, the EasyTrigger plugin has a trigger called "This device's value has been in range [X,Y] for exactly..." that can help with this problem.

        Comment


          #5
          You can also use bigger than 0.

          Verstuurd vanaf mijn SM-G935F met Tapatalk
          Peter

          http://ohh.pcgsm.nl

          Comment


            #6
            It could be a solution, but I couldn't find a trigger condition such as:
            "has been > value for at least..."

            I want to create a simple "OFF Timer" for a bulb... and I really don't understand why I can't create such a basic home-automation task easily.

            It looks like it's a HomeSeer bug as the HomeSeer label for the condition is "device value has been in the range..." and then there is no way to enter a range.

            --> I did open an official Bugzilla ticket for this problem.
            --
            stipus

            Comment


              #7
              How about

              IF this device had its value set and is not 0

              THEN remove delayed device actions for <device>
              THEN set device <device> to OFF
              after a delay of 4 minutes 0 seconds

              This event runs at the time the light is turned on, or changed. It schedules a temporary event for 4 minutes in the future. If the light is changed before that time (made brighter for example), the temp event is deleted and another one scheduled. So the light stays on 4 minutes since last change.

              Comment

              Working...
              X