Announcement

Collapse
No announcement yet.

A simple event - what am I doing wrong?

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

    A simple event - what am I doing wrong?

    I put together a simple event that I intend to trigger manually or call from another event.

    It states (copy and pasted here):

    IF
    This event is MANUALLY triggered
    AND IF
    Kitchen 1st Floor Counter Light has a value equal to Off

    THEN
    Set Device:
    Kitchen 1st Floor Counter Light to Dim 15%


    Yet when I manually run this event, no matter what state the light is in (on, off or dimmed), it gets set to 15%.

    What am I doing wrong?

    #2
    Originally posted by TC1 View Post
    I put together a simple event that I intend to trigger manually or call from another event.

    It states (copy and pasted here):
    I don't understand the above.

    Originally posted by TC1 View Post
    IF
    This event is MANUALLY triggered
    AND IF
    Kitchen 1st Floor Counter Light has a value equal to Off

    THEN
    Set Device:
    Kitchen 1st Floor Counter Light to Dim 15%


    Yet when I manually run this event, no matter what state the light is in (on, off or dimmed), it gets set to 15%.

    What am I doing wrong?
    It appears to do exactly what you ask.

    It might be easier to tell us what you are trying to accomplish...





    OTOH, If you are trying the below, you can't do it quite this way...

    IF these conditions exist
    AND
    the event is manually triggered
    OR
    a condition exists

    THEN do something.

    HomeSeer Version: HS3 Pro Edition 3.0.0.500
    Operating System: Microsoft Windows 10 Pro - Work Station

    Enabled Plug-Ins:
    2.1.0.119: AmbientWeather | 3.0.21.0: BLLock | 2.0.24.0: BLUPS | 1.3.6.0: Device History | 3.0.0.56: EasyTrigger | 3.1.0.7: MeiHarmonyHub | 3.0.6681.34300: UltraCID3 | 3.0.6644.26753: UltraLog3 | 3.0.6554.33094: UltraMon3 | 3.0.0.91: weatherXML | 3.0.1.245: Z-Wave | 3.0.51: HS Touch Designer | 3.0.0.40 Z-Seer+

    Comment


      #3
      If you click on the running man button to run the event then all conditions will be ignored. So it doesn't matter if your light is off or not.

      Comment


        #4
        It should be pretty explicit what I'm trying to do from the Event statements copied from the event screen?

        The use case: if the light is off, and I manually trigger this event, then set the light to 15% dim.

        Comment


          #5
          Originally posted by mulu View Post
          If you click on the running man button to run the event then all conditions will be ignored. So it doesn't matter if your light is off or not.
          Really?

          What if I trigger the event from HS mobile, is that the same thing?

          Comment


            #6
            If you run your event from another event then you can make it honor the conditions if in that other even you check "Check conditions on target event". See screenshot below. However, the running man ignores the conditions. It's like doing it without "Check conditions on target event" checked.

            Click image for larger version

Name:	HonorConditions.png
Views:	113
Size:	17.2 KB
ID:	1407061

            Comment


              #7
              You might try creating a virtual device to be the trigger - like "Kitchen Lights Dim" as an example


              If Kitchen Lights Dim has its value set to on
              AND IF
              Kitchen 1st Floor Counter Light has a value equal to Off

              THEN
              Set Device:
              Kitchen 1st Floor Counter Light to Dim 15%

              Delayed device action of Kitchen Lights Dim to off after 5 seconds to reset the virtual switch monitor.

              If the kitchen lights are on, the event will not trigger.


              Anytime you want the kitchen lights to dim, just click the Device Kitchen Lights Dim to on and the lights will dim to 15%
              I have several events that I use virtual devices to trigger.

              Comment


                #8
                I'm confused here because no one's advice advice jives wit the official documentation... nowhere does it say event conditions will not be honored if triggered manually or called from another event.

                https://helpdesk.homeseer.com/articl...ally-triggered

                Comment


                  #9
                  Originally posted by mulu View Post
                  If you run your event from another event then you can make it honor the conditions if in that other even you check "Check conditions on target event". See screenshot below. However, the running man ignores the conditions. It's like doing it without "Check conditions on target event" checked.

                  Click image for larger version

Name:	HonorConditions.png
Views:	113
Size:	17.2 KB
ID:	1407061
                  I think this may be the answer, I'll experiment. Thanks.

                  Comment


                    #10
                    That did it mulu , thanks!

                    Comment


                      #11
                      For the record, I don't work for HomeSeer and was offering an idea that does work because I trigger multiple events that way.
                      Been using HS for a while, there's more than one way to do things.

                      Happy to offer assistance even if it's not in the manual.

                      Comment


                        #12
                        Originally posted by Dan-O View Post
                        For the record, I don't work for HomeSeer and was offering an idea that does work because I trigger multiple events that way.
                        Been using HS for a while, there's more than one way to do things.

                        Happy to offer assistance even if it's not in the manual.
                        Hey Dan-O, very much appreciate the attempt!

                        I actually thought about something similar to what you suggested in trying to solve this, in that, creating a "flag" that gets set by the event calling the target event, utilizing a timer with a short life (to eliminate the event conditions from becoming true again.)

                        But the more I thought of it I was trying to convince myself I shouldn't need a convoluted solution like that... the HS Event engine should be able to handle my simple situation...
                        I was wrong.

                        Thanks again for the suggestion!

                        Comment


                          #13
                          Originally posted by TC1 View Post
                          I'm confused here because no one's advice advice jives wit the official documentation... nowhere does it say event conditions will not be honored if triggered manually or called from another event.

                          https://helpdesk.homeseer.com/articl...ally-triggered
                          The documentation you cited needs to be updated! I leaned this a while ago...
                          https://forums.homeseer.com/forum/.../hs3-event-clinic/103191-manual-triggered-event-by-condition

                          Originally posted by Uncle Michael View Post
                          As usual - it depends on how the triggering occurs.
                          • If you trigger an event with the run event (>) button on the event page, the conditions are ignored.
                          • If you run the event from another event the conditions are ignored...UNLESS
                          • If you run the event from another event and select the advanced option to run only if conditions are true, then the event conditions will be honored.

                          Comment


                            #14
                            Thanks to everyone's insights, what I ultimately learned is that if one wants to test an event without waiting for the naturally occurring event trigger (time of day for example), then one needs to create a virtual device for the temporary event trigger. The "Run Now" button is kind of pointless if it ignores the Event logical conditions, why HST implemented it that way seems pointless?

                            Comment


                              #15
                              Originally posted by TC1 View Post
                              Thanks to everyone's insights, what I ultimately learned is that if one wants to test an event without waiting for the naturally occurring event trigger (time of day for example), then one needs to create a virtual device for the temporary event trigger. The "Run Now" button is kind of pointless if it ignores the Event logical conditions, why HST implemented it that way seems pointless?
                              I find it simpler to just create a calling event to run the event you want to test rather than a virtual device, but there’s more than one way to skin a cat.

                              It has been a constant source of bafflement and a constantly recurring trip up for every new user for years now. HST must have had their reasons but have never suitably justified them to my knowledge. They have also resisted many calls to change the behaviour.

                              steve

                              Comment

                              Working...
                              X