iMessage Plugin - - Big additions Wit.ai Processing

Posted on
Fri Dec 07, 2018 11:12 pm
GlennNZ offline
Posts: 523
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: iMessage Plugin - Beta 0.2.5 - Big additions

Seems from PM - the Wit.Ai App isn't being generated.

Ok - from PM good that generate App is working.
So if in doubt, delete App and start again.

Ok:
I think we have tracked down one bug which is the access code used for wit.ai communication.
If any issues after wit.ai app creation - let the process finish
But just restart Plugin - should only use the new app access code


Glenn

Posted on
Sun Dec 09, 2018 2:19 am
GlennNZ offline
Posts: 523
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: iMessage Plugin - Beta 0.2.5 - Big additions

New Version 0.3.0

Hopefully squishing all those access token validation issues..

https://github.com/Ghawken/iMessagePlug ... /tag/0.3.0

Posted on
Sun Dec 09, 2018 9:34 pm
dnomode offline
Posts: 354
Joined: Apr 12, 2008
Location: North Georgia

Re: iMessage Plugin - Beta 0.2.5 - Big additions

Hello Glenn,

So far wit.ai is working good with devices and now I'm trying it out with triggers. I've created a trigger for an iMsg command received "who is home" (without the quotes). If the plugin receives a text who is home it works great and it tells me who is home. However it doesn't work if I text something like "Hello Indigo, would you please tell me who is home?" or "Yo dude, who is home"

I thought maybe I needed to add the below to the first line of the note field, however it still doesn't work.
Code: Select all
witai|who is home|is any one home


What am I missing?

Edmond

Posted on
Sun Dec 09, 2018 9:48 pm
GlennNZ offline
Posts: 523
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: iMessage Plugin - Beta 0.2.5 - Big additions

dnomode wrote:
Hello Glenn,
So far wit.ai is working good with devices and now I'm trying it out with triggers. I've created a trigger for an iMsg command received "who is home" (without the quotes). If the plugin receives a text who is home it works great and it tells me who is home. However it doesn't work if I text something like "Hello Indigo, would you please tell me who is home?" or "Yo dude, who is home"
I thought maybe I needed to add the below to the first line of the note field, however it still doesn't work.
Code: Select all
witai|who is home|is any one home

What am I missing?
Edmond


Hi
Don't think you are missing anything.
Wit.Ai doesn't know what is going on with any of your devices - but it should know the devices you have set. So it can control them, but not as yet tell you about them.
Is the Kitchen Light on?
With 'Kitchen Light' being a device or device synomyn .
This does nothing - as yet - but should be able to room to improve.

2/ Regarding, non wit.ai triggers
They need to be complete: Not just whether text is contained.
"Who is home?"
So could set up separate triggers for "Yo dude, who is home" etc etc. to run the same action group.

G

Posted on
Sun Dec 09, 2018 9:53 pm
dnomode offline
Posts: 354
Joined: Apr 12, 2008
Location: North Georgia

Re: iMessage Plugin - Beta 0.2.5 - Big additions

Got it.

Thanks
Edmond

Posted on
Sun Dec 09, 2018 11:34 pm
GlennNZ offline
Posts: 523
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: iMessage Plugin - Beta 0.2.5 - Big additions

Thanks for the input

Version 0.3.1

Changelog:

Add message triggering for text within message

Image

eg.
See New Checkbox:
'Contains text trigger'

If this checkbox enabled for particularly trigger - plugin will check for present of trigger message within whole message received.

'who is home' will be triggered anytime - that text is within sentence sent
from 'who is home' to 'Indigo please inform me who is home'


Glenn

Posted on
Mon Dec 10, 2018 12:23 pm
dnomode offline
Posts: 354
Joined: Apr 12, 2008
Location: North Georgia

Re: iMessage Plugin - Beta 0.2.5 - Big additions

'Contains text trigger'


This is awesome. Works great.

Thanks

Edmond

Posted on
Fri Dec 14, 2018 4:22 pm
GlennNZ offline
Posts: 523
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: iMessage Plugin - Beta 0.2.5 - Big additions

New Version/Release

0.4.0

Changes:


Updates to Plugin Config to show current status of requests/Updates/Delete/Generate
Correctly shows new App Access_token/App_ID
Some bug fixes to deal with app creation errors
Rename Wit.Ai App to username+Indigo-iMessage (to allow multiple wit.ai apps for multiple Indigo installs, with one wit.ai access code only) (side-effect - makes development easier!)
As Plugin accesses app via Access_code only and not name, new name will only happen with deletion/creation of current app. 0.4.0 - Bug fix for this.
Log Current Status in Menu - updates - useful for bug checking
Beta: Device_Status intent - can ask
"What is the status of {device_name}?"
Automatically Updates wit.ai App when new version Plugin Installed

https://github.com/Ghawken/iMessagePlugin/releases

Who is online

Users browsing this forum: No registered users and 0 guests