Announcement

Collapse
No announcement yet.

Support for overlapping or adjacent events?

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

  • Support for overlapping or adjacent events?

    I have just started using this plug-in after purchasing it 6 months ago. I would like to use it for opening and closing door locks based on calendar entries in multiple Google Calendars. I have created a handler with a 15 min offset before and after end time so that the event that trigger the door (unlock and lock) will make sure the locks are opened our closed at the right time. This works as intended. The problem is when there are overlapping or adjacent events. The handler will trigger the before and after commands making the locks open or close when they should not. Is there any other way of using the plug-in that I'm not aware of that will fix this problem, or does it require a new version that will check if there are overlapping or adjacent events, and if true make sure that the commands are working according to this.

  • #2
    Each handler is separate and are not related to other handlers. Do you have 2 different handlers setup to do the same thing?
    Maybe I am not understanding the issue
    Cheers,
    Bob
    Web site | Help Desk | Feature Requests | Message Board

    Comment


    • #3
      I have one handler configured to trigger on several trigger phrases. The events that are used to trigger the event are from different calendars. The problem is with the end trigger. If there are adjacent events and there is configured offset values, the after commands in the handler will overlap making the door lock close when in fact it should be open. I have set a 15 min before and after offset value. Since these events are handled individually by the plug-in, the first event will trigger as intended. The second and adjacent events after will trigger also, but the end time on the first event will trigger the end command when in fact another event is active.

      Comment


      • #4
        Can you post a screenshot of the handler
        Cheers,
        Bob
        Web site | Help Desk | Feature Requests | Message Board

        Comment


        • #5
          here you go
          Attached Files

          Comment


          • #6
            OK have you tried this using 3 different handlers to see if the same issue happens.
            I think I would have to keep track of which trigger phrase triggered the handler but I want to be sure that 3 separate handlers work as expected
            Cheers,
            Bob
            Web site | Help Desk | Feature Requests | Message Board

            Comment


            • #7
              I think there is something wrong with my BLGData. It no longer trigger on events. See the attached screenshot and detailed log. There was an event in the TEST calendar at 1545 hrs and I have created a Handler that shall trigger 1 min before and after the event
              Attached Files

              Comment


              • #8
                I see your trigger phrase is blank. Is that expected?
                Cheers,
                Bob
                Web site | Help Desk | Feature Requests | Message Board

                Comment


                • #9
                  Yes, well I tried with both trigger phrase and without. If the trigger phrase is blank will the handler trigger on all events?

                  Comment


                  • #10
                    If the trigger phrase is blank then in the event description you need to use something like HSH[Test]
                    I think that is the right format - it is in the help web page
                    Cheers,
                    Bob
                    Web site | Help Desk | Feature Requests | Message Board

                    Comment


                    • #11
                      I'm sorry but I cannot get the plugin to trigger at all. I have tried with and without a trigger phrase. Executing command at start time and with and without offset values. I have even deleted the plug-in and removed/added a user and reset authentication. Still it's not working. Frustrated I am now There are no error messages in the HS logfile indicating a problem with the BLGData plug-in. Attached the handler I'm trying to do the testing with.
                      Attached Files

                      Comment


                      • #12
                        Attached a detailed log. I created an event in the Calendar "TESTINGS" with the event name "TEST1" at 1500 hrs. Did not trigger the handler as it should have
                        Attached Files

                        Comment


                        • #13
                          Did you check TESTINGS in the handler?
                          Cheers,
                          Bob
                          Web site | Help Desk | Feature Requests | Message Board

                          Comment


                          • #14
                            Ok it works when checking a (the) calendar "TESTINGS". Can you please explain how to create a handler where there are no trigger phrase in order for the handler to trigger on all events?

                            Comment


                            • #15
                              In the event name of description you can use this format to have it trigger a handler

                              HSH[TEST1]

                              There is currently no way to have a handler trigger for every single event in your calendar
                              I am not sure why anyone would want to do this - let me know what you are thinking
                              Cheers,
                              Bob
                              Web site | Help Desk | Feature Requests | Message Board

                              Comment

                              Working...
                              X