iMessage Plugin not working via python

Posted on
Sat Sep 26, 2020 4:06 am
zoff offline
Posts: 47
Joined: Jan 21, 2013

iMessage Plugin not working via python

iMessage Plugin is working via Indigo action but not via python script.

I've been using the following code for months and its been working great, thank you Glenn, but it stopped working today.

Code: Select all
imsgPlugin = indigo.server.getPlugin('com.GlennNZ.indigoplugin.iMessage')
question = "irrigation is not running "
imsgPlugin.executeAction('sendMessage',   props={'message':question,'buddyId':'joef@mac.com'})
return;

No error message, it just doesn't do anything.

Posted on
Sat Sep 26, 2020 5:08 am
zoff offline
Posts: 47
Joined: Jan 21, 2013

Re: iMessage Plugin not working via python

zoff wrote:
iMessage Plugin is working via Indigo action but not via python script.

I've been using the following code for months and its been working great, thank you Glenn, but it stopped working today.

Code: Select all
imsgPlugin = indigo.server.getPlugin('com.GlennNZ.indigoplugin.iMessage')
question = "irrigation is not running "
imsgPlugin.executeAction('sendMessage',   props={'message':question,'buddyId':'joef@mac.com'})
return;

No error message, it just doesn't do anything.



The problem was solved by changing the buddyId from mac.com to iCloud.com.
My script was using mac.com and Indigo is using iCloud.com.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 4 guests

cron