www.homeseer.com    
 

Go Back   HomeSeer Message Board > 3rd Party Plug-Ins/Scripts > Plug-ins by Author > Click Here for List of Author Forums > Blade Plug-Ins > BLGData (3P)

BLGData (3P) Discussions related to the BLGData plugin by Blade.

Reply
 
Thread Tools Display Modes
  #1  
Old March 10th, 2018, 09:32 PM
ToonWolf ToonWolf is offline
Seer
 
Join Date: Mar 2018
Location: Norway
Posts: 19
Multiple Trigger Phrase in one Handler?

Is it possible to use multiple Trigger phrases in one Handler? For example I would like to use the same Handler for events with the word "work" and "school" I could enter the words separated by comma? Or is this only possible by using scripting?
Reply With Quote
  #2  
Old March 11th, 2018, 12:48 PM
Blade's Avatar
Blade Blade is offline
OverSeer
 
Join Date: Aug 2003
Location: Ontario Canada
Posts: 7,417
Right now this will not work
You can add a feature request on my site
__________________
Cheers,
Bob
Web site | Help Desk | Feature Requests | Message Board
Reply With Quote
  #3  
Old March 11th, 2018, 01:05 PM
ToonWolf ToonWolf is offline
Seer
 
Join Date: Mar 2018
Location: Norway
Posts: 19
Quote:
Originally Posted by Blade View Post
Right now this will not work
You can add a feature request on my site
Thx 4 your reply. I'm currently testing Blgdata (demo) so will have to purchase a license first.
Reply With Quote
  #4  
Old March 11th, 2018, 01:29 PM
Blade's Avatar
Blade Blade is offline
OverSeer
 
Join Date: Aug 2003
Location: Ontario Canada
Posts: 7,417
I have added the change to 3.0.10
See the beta section for the new version

You can separate multiple trigger phrases in a handler by using a pipe (|) character
Reply With Quote
  #5  
Old March 11th, 2018, 07:02 PM
ToonWolf ToonWolf is offline
Seer
 
Join Date: Mar 2018
Location: Norway
Posts: 19
Quote:
Originally Posted by Blade View Post
I have added the change to 3.0.10
Amazing @Blade ... I will test this tmrow & rvrt outcome.
Reply With Quote
  #6  
Old March 12th, 2018, 06:11 PM
ToonWolf ToonWolf is offline
Seer
 
Join Date: Mar 2018
Location: Norway
Posts: 19
The new feature with separating multiple phrase triggers works as advertised, however the "Offset before" setting does not work together with this. The handler is triggered on Event start instead of x amount of minutes before. Also (I know this is probably asking too much), it would be really nice to make it possible to filter on which calendars to search from. Maybe make a new field and separate the calendar Id's to search in separated by the pipe sign?
Reply With Quote
  #7  
Old March 13th, 2018, 05:27 AM
Blade's Avatar
Blade Blade is offline
OverSeer
 
Join Date: Aug 2003
Location: Ontario Canada
Posts: 7,417
I will take a look at the offset before.

Can you be more specific exactly where you would want to see a filter for the calendars
Maybe a screenshot
Reply With Quote
  #8  
Old March 13th, 2018, 10:12 AM
S-F's Avatar
S-F S-F is offline
OverSeer
 
Join Date: Jun 2012
Location: Accident MD 21520
Posts: 3,068
Filtering by calendar would be great. For example, I used to have a handler for "Work" which would do some stuff when I had work that day. Well, now that my daughter has a job and she puts her work schedule in a shared calendar I get woken up at 4:30 in the morning on Saturday when she works on Saturday evening.
__________________
Quote:
Originally Posted by rprade View Post
There is no rhyme or reason to the anarchy a defective Z-Wave device can cause
Reply With Quote
  #9  
Old March 13th, 2018, 10:13 AM
ToonWolf ToonWolf is offline
Seer
 
Join Date: Mar 2018
Location: Norway
Posts: 19
Quote:
Originally Posted by Blade View Post
I will take a look at the offset before.
Great

Quote:
Originally Posted by Blade View Post
Can you be more specific exactly where you would want to see a filter for the calendars Maybe a screenshot
Here you go Blade. I have added info on how and where I would like to see this feature in the attached screenshot
Attached Images
 
Reply With Quote
  #10  
Old March 13th, 2018, 12:30 PM
Blade's Avatar
Blade Blade is offline
OverSeer
 
Join Date: Aug 2003
Location: Ontario Canada
Posts: 7,417
OK I see what you want now

Can I get you to put in a feature request on my web site for this so I can track it
Just put in a reference to this thread in the feature request
Reply With Quote
  #11  
Old March 13th, 2018, 05:26 PM
ToonWolf ToonWolf is offline
Seer
 
Join Date: Mar 2018
Location: Norway
Posts: 19
Done - added request # 607
Reply With Quote
  #12  
Old March 13th, 2018, 06:05 PM
Blade's Avatar
Blade Blade is offline
OverSeer
 
Join Date: Aug 2003
Location: Ontario Canada
Posts: 7,417
Can you capture a debug log in the plugin of the before offset issue
Attach the BLGData-Detailed.log zipped
Also attach your hspi_BLGData.ini file zipped
Reply With Quote
  #13  
Old March 13th, 2018, 07:41 PM
Blade's Avatar
Blade Blade is offline
OverSeer
 
Join Date: Aug 2003
Location: Ontario Canada
Posts: 7,417
Try out the handlers in 3.0.11 in the beta section
I have not completely tested but I thought I would put it out there for you to try out
Let me know
Reply With Quote
  #14  
Old March 14th, 2018, 09:25 AM
ToonWolf ToonWolf is offline
Seer
 
Join Date: Mar 2018
Location: Norway
Posts: 19
I have captured a debug log in the plugin of the before offset issue and attached the BLGData-Detailed.log and hspi_BLGData.ini file. Password for opening the zip file has been sent to you in a PM

I tested version 3.0.11 and there is no difference. The handler is triggered only on Event START time and not 5 minutes before or after as configured in the handler. Also I tested the new filter function and it only works if you specify the calendar. In other words: the handler will not trigger if you do not specify the calendar in this version of BLGData
Attached Files
File Type: zip BLGData_debug.zip (1.49 MB, 2 views)
Reply With Quote
  #15  
Old March 14th, 2018, 11:20 AM
Blade's Avatar
Blade Blade is offline
OverSeer
 
Join Date: Aug 2003
Location: Ontario Canada
Posts: 7,417
OK I will take a look and let you know
Reply With Quote
  #16  
Old March 14th, 2018, 06:22 PM
Blade's Avatar
Blade Blade is offline
OverSeer
 
Join Date: Aug 2003
Location: Ontario Canada
Posts: 7,417
Try 3.0.12 in the beta section
Reply With Quote
  #17  
Old March 15th, 2018, 01:44 AM
ToonWolf ToonWolf is offline
Seer
 
Join Date: Mar 2018
Location: Norway
Posts: 19
Sorry Blade, no change in this version. The problem persist. Could there be a date/time format problem causing this?

I have created an event called "Test1"
Start Date/Time 15.03.2018 06.40.00
End Date/Time 15.03.2018 06.41.00

The handler will trigger on start time and not on X amount of minutes before as set in the handler config. The "After command" does not work at all.
Reply With Quote
  #18  
Old March 15th, 2018, 05:38 AM
Blade's Avatar
Blade Blade is offline
OverSeer
 
Join Date: Aug 2003
Location: Ontario Canada
Posts: 7,417
It is possible - I did notice that your date format was completely different

Can you capture a small debug log of your test event not triggering before
Let me know the exact time it was supposed to trigger
Reply With Quote
  #19  
Old March 15th, 2018, 10:01 AM
ToonWolf ToonWolf is offline
Seer
 
Join Date: Mar 2018
Location: Norway
Posts: 19
The handler has been configured to look in one specific calender for an event with name "Test1". Offset values are set to 5 minutes before and after. Before/After Commands are to write "BLGData Event start" and "BLGData Event end"

I created an event with Event name "Test1" in the exact same calendar with Start Date/Time 15.03.2018 12.40.00 and End Date/Time 15.03.2018 12.41.00

The handler was supposed to trigger at 12:35 with an end action at 12:46
(5 minutes before and after). Instead the handler only triggered on Start Date/Time 12:40 and there is no "after" action either.

If you look in the attached logfile line 90766 you can see that the logfile was updated with the "before command" 15.03.2018 12.40.09 : v3.0.12.0 - HomeseerCommandProcessor.Process_Homeseer_Command(): myHomeseerCommandData.ToString -->
HomeseerCommandData:
--------------------
command: WriteLog
data: Info~BLGData Event start
isHandler: False
isAfter: False

There is nothing logged for "Info~BLGData Event end" in the logfile (expected to see this at 12.46). The attached logfile has only events from today at 12.34-12.46. The password for the zip-file is the same as before.
Attached Images
 
Attached Files
File Type: zip BLGData-Detailed_1234-1247_20180315.zip (769.0 KB, 1 views)

Last edited by ToonWolf; March 15th, 2018 at 10:03 AM. Reason: forgot to upload attachements
Reply With Quote
  #20  
Old March 15th, 2018, 12:17 PM
S-F's Avatar
S-F S-F is offline
OverSeer
 
Join Date: Jun 2012
Location: Accident MD 21520
Posts: 3,068
I just have to say that this new feature of being able to select a calendar in a handler is awesome.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Handler triggered for a calendar event that has no handler in it. stevenseh@gmail.com BLGData (3P) 0 February 28th, 2018 12:28 PM
Handlers trigger OK, but call commands of another handler stevenseh@gmail.com BLGData (3P) 0 February 25th, 2018 04:35 PM
Using Echo as Mic for event trigger "phrase was recognized" larrywal32 HomeSeer Amazon Echo Connected Home API 10 December 8th, 2017 06:38 AM
trigger handler the day before kenrad BLGData (3P) 0 April 5th, 2015 10:51 PM
Search Forum for phrase vs multiple key words? ccclapp HS3 / HS3PRO Discussion 5 March 27th, 2014 04:32 PM


All times are GMT -4. The time now is 03:28 PM.


Copyright HomeSeer Technologies, LLC