iMessage Indigo Plugin [New Plugin]

Posted on
Tue Nov 06, 2018 4:09 pm
siclark offline
Posts: 632
Joined: Jun 13, 2017
Location: UK

Re: iMessage Indigo Plugin [New Plugin]

GlennNZ wrote:

Edit: siclark - think we answered at same time!
Will also update the error reporting with this to more useful instructions



Haha. Yes, glad I wasn't the only one!

I'm reading this and thinking of ideas as really want to start setting this up so but far too tired to start.

Posted on
Tue Nov 06, 2018 4:35 pm
jltnol offline
Posts: 326
Joined: Oct 15, 2013

Re: iMessage Indigo Plugin [New Plugin]

Just call me an idiot. I was so excited to give this plugin a spin, I didn't do what is cleared stated to do..

Sorry

Posted on
Wed Nov 07, 2018 1:11 am
GlennNZ offline
Posts: 479
Joined: Dec 07, 2014

Re: iMessage Indigo Plugin [New Plugin]

Indigo iMessage Plugin
Release 0.1.3


Image

Changes 0.1.3:

    Add debugexceptions option - to also show exception message if errors
    Some log changing
    Add menu item - Log Status - to show plugin status in case of error

0.1.2
    Add PluginStore Update Checking
    Enable UpdateChecking
    Add Catch for Full Disk Access issues with error message directing to RTM :o

In Pluginstore:
http://www.indigodomo.com/pluginstore/195/

Posted on
Wed Nov 07, 2018 1:50 am
siclark offline
Posts: 632
Joined: Jun 13, 2017
Location: UK

Re: iMessage Indigo Plugin [New Plugin]

GlennNZ wrote:

0.1.2
    Add PluginStore Update Checking
    Enable UpdateChecking
    Add Catch for Full Disk Access issues with error message directing to RTM :o

In Pluginstore:
http://www.indigodomo.com/pluginstore/195/


The manual still just says enable full disk mode though, not how to do it for the helper apps that don't show in Applications folder. For a Mac newbie that wasn't obvious to me.

Posted on
Wed Nov 07, 2018 2:25 am
GlennNZ offline
Posts: 479
Joined: Dec 07, 2014

iMessage Indigo Plugin [New Plugin]

siclark wrote:

The manual still just says enable full disk mode though, not how to do it for the helper apps that don't show in Applications folder. For a Mac newbie that wasn't obvious to me.


Thanks!
First post on this thread was all updated - as easier to do remotely,unlike github read me.
But will try to update that when can



Sent from my iPhone using Tapatalk

Posted on
Wed Nov 07, 2018 11:43 am
siclark offline
Posts: 632
Joined: Jun 13, 2017
Location: UK

Re: iMessage Indigo Plugin [New Plugin]

Ah. I looked at instructions on the plugin page

Posted on
Wed Dec 05, 2018 10:04 pm
dnomode offline
Posts: 349
Joined: Apr 12, 2008
Location: North Georgia

Re: iMessage Indigo Plugin [New Plugin]

First of all, Great plugin. Thanks

I'm still testing this. When using a short command like the word "test" the plug seems to work good, unless I repeat the command. However now I change the command to "open garage right" and Im getting the following error. Looks like the plugin thinks Im repeating the command. What am I missing?

Edmond

Code: Select all
Dec 5, 2018 at 10:55:06 PM
   iMessage Plugin Debug           sql_fetchmessages: Not empty return:[(u'+18957897895', u'Open garage right ', 0)]
   iMessage Plugin Debug           newlist after checking audio file:[(u'+18957897895', u'Open garage right ')]
   iMessage Plugin Debug           Flatten Messages first:
   iMessage Plugin Debug           [u'+18957897895', u'Open garage right ']
   iMessage Plugin Debug           Then convert to Dict:
   iMessage Plugin Debug           Coverted Dict:
   iMessage Plugin Debug           {u'+18957897895': u'Open garage right '}
   iMessage Plugin Debug           parse messages() method called.
   iMessage Plugin Debug           Message Received: Message Info:{u'+18957897895': u'Open garage right '}
   iMessage Plugin Debug           Checking messages:  Received: Buddy :+18957897895 Received Message:Open garage right
   iMessage Plugin Debug           Buddies Current now equals:(u'+18957897895',)
   iMessage Plugin Error           iMessage Received from Buddy(s):  Buddy(s) Handle Below:
   iMessage Plugin Error           +18957897895
   iMessage Plugin Debug           Passed against allowed Buddies: {u'+18957897895': u'Open garage right '}
   iMessage Plugin Debug           Allowed Buddies Equal:+18957897895
   iMessage Plugin Debug           Received Buddy equals:+18957897895
   iMessage Plugin Debug           SELF.lastcommand PRIOR equals:{}
   iMessage Plugin Debug           Updated lastCommandsent:{u'+18957897895': u'Open garage right '}
   iMessage Plugin Debug           self.lastcommand equals:{u'+18957897895': u'Open garage right '}
   iMessage Plugin Debug           triggerCheck run.  triggertype:commandReceived
   iMessage Plugin Debug           Removed extra characters from cmd received:open garage right
   iMessage Plugin Debug           Checking Trigger:  new trigger (281209685), Type: commandReceived,  and event : commandReceived
   iMessage Plugin Debug           Trigger PluginProps: CommandCalled:open garage right
   iMessage Plugin Debug           sql_fetchmessages: Not empty return:[(u'+18957897895', u'Open garage right ', 0)]
   iMessage Plugin Debug           newlist after checking audio file:[(u'+18957897895', u'Open garage right ')]
   iMessage Plugin Debug           Flatten Messages first:
   iMessage Plugin Debug           [u'+18957897895', u'Open garage right ']
   iMessage Plugin Debug           Then convert to Dict:
   iMessage Plugin Debug           Coverted Dict:
   iMessage Plugin Debug           {u'+18957897895': u'Open garage right '}
   iMessage Plugin Debug           parse messages() method called.
   iMessage Plugin Debug           Message Received: Message Info:{u'+18957897895': u'Open garage right '}
   iMessage Plugin Debug           Checking messages:  Received: Buddy :+18957897895 Received Message:Open garage right
   iMessage Plugin Debug           Buddies Current now equals:(u'+18957897895',)
   iMessage Plugin Error           iMessage Received from Buddy(s):  Buddy(s) Handle Below:
   iMessage Plugin Error           +18957897895
   iMessage Plugin Debug           Passed against allowed Buddies: {u'+18957897895': u'Open garage right '}
   iMessage Plugin Debug           Allowed Buddies Equal:+18957897895
   iMessage Plugin Debug           Received Buddy equals:+18957897895
   iMessage Plugin Debug           SELF.lastcommand PRIOR equals:{u'+18957897895': u'Open garage right '}
   iMessage Plugin Debug           Checking last commands sent:+18957897895 : Open garage right
   iMessage Plugin Debug           LastCommandsent Key:+18957897895 Messages Key:+18957897895
   iMessage Plugin Debug           Buddy last command found: Buddy:+18957897895 and last message:Open garage right
   iMessage Plugin Debug           Same Message found.  This repeated message will be ignored. Message ignored: Open garage right
   iMessage Plugin Debug           Same Message found.  New Messages equals:{}
   iMessage Plugin Debug           self.lastcommand equals:{u'+18957897895': u'Open garage right '}
Last edited by dnomode on Thu Dec 06, 2018 7:02 am, edited 1 time in total.

Posted on
Wed Dec 05, 2018 10:27 pm
GlennNZ offline
Posts: 479
Joined: Dec 07, 2014

iMessage Indigo Plugin [New Plugin]

Thanks
Quick reply out and about.

Thanks for the log! All looks as expected though.

Duplicates checks are expected - so that check is expected. The plugin ignores same message twice in row for 90 seconds or so. It has to as a function of how it receives messages.

Doesn’t seem to be any trigger setup to run on
“open garage right ”?
(As per config needs to be all lowercase)
Also NB appears to be space at end of command sent - which may impact whether recognised.

If want to use witai to recognise all your devices you need to enable and set that up in plugin Config. Doesn’t appear to be enabled?


G


Sent from my iPhone using Tapatalk

Posted on
Thu Dec 06, 2018 7:01 am
dnomode offline
Posts: 349
Joined: Apr 12, 2008
Location: North Georgia

Re: iMessage Indigo Plugin [New Plugin]

Awesome, thanks for your help. It was the space at the end of my text.

Ya, I haven't setup witai. I'll play with that later today or tomorrow.

The command worked however its still throwing out an error.
iMessage Plugin Error iMessage Received from Buddy(s): Buddy(s) Handle Below:
iMessage Plugin Error +18957897895

Why?


Code: Select all
Dec 6, 2018 at 7:53:55 AM
   iMessage Plugin Debug           sql_fetchmessages: Not empty return:[(u'+18957897895', u'Open garage right', 0)]
   iMessage Plugin Debug           newlist after checking audio file:[(u'+18957897895', u'Open garage right')]
   iMessage Plugin Debug           Flatten Messages first:
   iMessage Plugin Debug           [u'+18957897895', u'Open garage right']
   iMessage Plugin Debug           Then convert to Dict:
   iMessage Plugin Debug           Coverted Dict:
   iMessage Plugin Debug           {u'+18957897895': u'Open garage right'}
   iMessage Plugin Debug           parse messages() method called.
   iMessage Plugin Debug           Message Received: Message Info:{u'+18957897895': u'Open garage right'}
   iMessage Plugin Debug           Checking messages:  Received: Buddy :+18957897895 Received Message:Open garage right
   iMessage Plugin Debug           Buddies Current now equals:(u'+18957897895',)
   iMessage Plugin Error           iMessage Received from Buddy(s):  Buddy(s) Handle Below:
   iMessage Plugin Error           +18957897895
   iMessage Plugin Debug           Passed against allowed Buddies: {u'+18957897895': u'Open garage right'}
   iMessage Plugin Debug           Allowed Buddies Equal:+18957897895
   iMessage Plugin Debug           Received Buddy equals:+18957897895
   iMessage Plugin Debug           SELF.lastcommand PRIOR equals:{}
   iMessage Plugin Debug           Updated lastCommandsent:{u'+18957897895': u'Open garage right'}
   iMessage Plugin Debug           self.lastcommand equals:{u'+18957897895': u'Open garage right'}
   iMessage Plugin Debug           triggerCheck run.  triggertype:commandReceived
   iMessage Plugin Debug           Removed extra characters from cmd received:open garage right
   iMessage Plugin Debug           Checking Trigger:  iMsg commond recieved: 'open garage right' (281209685), Type: commandReceived,  and event : commandReceived
   iMessage Plugin Debug           Trigger PluginProps: CommandCalled:open garage right
   iMessage Plugin Debug           ===== Executing commandReceived Trigger iMsg commond recieved: 'open garage right' (281209685)
   Trigger                         iMsg commond recieved: 'open garage right'
   iMessage Plugin Debug           Command Sent received so deleting this message, ending.  No trigger check on this message.
   iMessage Plugin Debug           messages equals:{}
   Sent INSTEON                    "Office KPL" on to 100
   iMessage Plugin Debug           sql_fetchmessages: Not empty return:[(u'+18957897895', u'Open garage right', 0)]
   iMessage Plugin Debug           newlist after checking audio file:[(u'+18957897895', u'Open garage right')]
   iMessage Plugin Debug           Flatten Messages first:
   iMessage Plugin Debug           [u'+18957897895', u'Open garage right']
   iMessage Plugin Debug           Then convert to Dict:
   iMessage Plugin Debug           Coverted Dict:
   iMessage Plugin Debug           {u'+18957897895': u'Open garage right'}
   iMessage Plugin Debug           parse messages() method called.
   iMessage Plugin Debug           Message Received: Message Info:{u'+18957897895': u'Open garage right'}
   iMessage Plugin Debug           Checking messages:  Received: Buddy :+18957897895 Received Message:Open garage right
   iMessage Plugin Debug           Buddies Current now equals:(u'+18957897895',)
   iMessage Plugin Error           iMessage Received from Buddy(s):  Buddy(s) Handle Below:
   iMessage Plugin Error           +18957897895
   iMessage Plugin Debug           Passed against allowed Buddies: {u'+18957897895': u'Open garage right'}
   iMessage Plugin Debug           Allowed Buddies Equal:+18957897895
   iMessage Plugin Debug           Received Buddy equals:+18957897895
   iMessage Plugin Debug           SELF.lastcommand PRIOR equals:{u'+18957897895': u'Open garage right'}
   iMessage Plugin Debug           Checking last commands sent:+18957897895 : Open garage right
   iMessage Plugin Debug           LastCommandsent Key:+18957897895 Messages Key:+18957897895
   iMessage Plugin Debug           Buddy last command found: Buddy:+18957897895 and last message:Open garage right
   iMessage Plugin Debug           Same Message found.  This repeated message will be ignored. Message ignored: Open garage right
   iMessage Plugin Debug           Same Message found.  New Messages equals:{}
   iMessage Plugin Debug           self.lastcommand equals:{u'+18957897895': u'Open garage right'}

Posted on
Thu Dec 06, 2018 2:07 pm
GlennNZ offline
Posts: 479
Joined: Dec 07, 2014

Re: iMessage Indigo Plugin [New Plugin]

Hi,

That red message is expected - because you have selected show buddies message received from. It’s not an error - just red so can be found. As per the documentation it is a temp setting in pluginConfig to show/highlight the buddy handle (sometimes they are email or numbers)

Image

Posted on
Thu Dec 06, 2018 2:46 pm
dnomode offline
Posts: 349
Joined: Apr 12, 2008
Location: North Georgia

Re: iMessage Indigo Plugin [New Plugin]

Got it. I saw that, however I saw error and thought it may be an error. Thanks, really loving this plugin.


Sent from my iPhone using Tapatalk

Who is online

Users browsing this forum: No registered users and 1 guest