Native Prowl Support for Indigo

User avatar
jheddings
Posts: 149
Joined: Sun Dec 01, 2013 10:26 pm
Location: Denver, CO

Native Prowl Support for Indigo

Post by jheddings »

I wrote a quick plugin that adds native Prowl support for notifications to Indigo. Using this plugin, you don't need to have Growl installed on your system: it utilizes the Prowl API directly.

Prowl is a simple app that allows you to send arbitrary notifications to your iOS devices. By installing it for Indigo, you'll be able to send push notifications as actions. It does require a one-time purchase of $4 (at the time of this writing) to get the app. After installing the app on your device, notifications are first processed by Prowl and then able to redirect to Indigo (note that I haven't implemented this feature yet). You can also try out sending push notifications from the Prowl website to get a sense for how the system works.

You will need to have a Prowl API key for your application. These are free to generate on the Prowl site. I would recommend creating a specific key for this application. After installing the plugin, you will be prompted to enter a valid API key to enable Prowl support.

I did look into Pushover support, which also looks very nice. Prowl was really quick to get up and running, so I'm giving it a shot.

You can download the plugin here. Current version is 0.2.3.

The source for the plugin is hosted on GitHub. Feel free to check it out. I've also created a release page if you'd like to see the official release.

After installing, you will be able to select "Prowl Notify" from the notifications menu in your actions. Let me know if you have any questions / issues! I'm still experimenting with this, so it's unclear how far I'll take it...
Last edited by jheddings on Sun Jan 24, 2016 4:05 pm, edited 1 time in total.
ckeyes888
Posts: 2431
Joined: Thu Nov 26, 2009 2:41 pm
Location: Kalispell, MT

Re: Native Prowl Support for Indigo

Post by ckeyes888 »

Many thanks for this plugin! Works incredibly well.

Carl
autolog
Posts: 3996
Joined: Tue Sep 10, 2013 3:07 am
Location: West Sussex, UK [GMT aka UTC]
Contact:

Re: Native Prowl Support for Indigo

Post by autolog »

How is it different from Flying Diver's plugin which I have been using for a while now?

See Prowl plugin available for beta test

Just wondered if it was a duplicate? :)
User avatar
jheddings
Posts: 149
Joined: Sun Dec 01, 2013 10:26 pm
Location: Denver, CO

Re: Native Prowl Support for Indigo

Post by jheddings »

Sure enough! It does look like the same feature... I searched the forums for a while and all I could find were discussions on the Grow to Prowl method. I'll take a closer look at that and see how it works.
User avatar
jheddings
Posts: 149
Joined: Sun Dec 01, 2013 10:26 pm
Location: Denver, CO

Re: Native Prowl Support for Indigo

Post by jheddings »

Updated Version: 0.3.0

Download

Release Information

Changes:
- Added ability to check for updates
- Improved error handling
- Improved logging
Last edited by jheddings on Sun Jan 24, 2016 4:04 pm, edited 1 time in total.
User avatar
jheddings
Posts: 149
Joined: Sun Dec 01, 2013 10:26 pm
Location: Denver, CO

Re: Native Prowl Support for Indigo

Post by jheddings »

Updated Version: 0.3.2

Download

Release Information

Changes:
- Improved error checking
- Updated UI dialogs
- Enhanced update checking
User avatar
jheddings
Posts: 149
Joined: Sun Dec 01, 2013 10:26 pm
Location: Denver, CO

Re: Native Prowl Support for Indigo

Post by jheddings »

Updated Version; 0.3.4

Download

Release Information

Changes
* Switched API connections to use HTTPS
* Several updates to the updater (including splitting it into a separate project)
* General refactoring and logging improvements
Last edited by jheddings on Wed Jan 27, 2016 3:04 pm, edited 1 time in total.
MaartenT
Posts: 20
Joined: Mon Jan 12, 2015 2:37 pm

Re: Native Prowl Support for Indigo

Post by MaartenT »

Nice!.. thank you!. Works fine!
User avatar
matt (support)
Site Admin
Posts: 21437
Joined: Mon Jan 27, 2003 1:17 pm
Location: Texas
Contact:

Re: Native Prowl Support for Indigo

Post by matt (support) »

Great plugin – thanks for sharing it with everyone!
Image
Dewster35
Posts: 1030
Joined: Tue Jul 06, 2010 6:29 pm
Location: Petoskey, MI

Re: Native Prowl Support for Indigo

Post by Dewster35 »

Very cool! Thanks for the contribution!

I am currently using google voice text messages for my notification system. The nice thing about this is I can generate a lot less messages to my wife because specific devices are setup for each recipient.

Any possibility that this could be setup in that way as well?
User avatar
jheddings
Posts: 149
Joined: Sun Dec 01, 2013 10:26 pm
Location: Denver, CO

Re: Native Prowl Support for Indigo

Post by jheddings »

Prowl doesn't have the notion of devices, so you'd have to set up separate accounts and register them each with an API key. It isn't really how Prowl is designed to work, so it would be a bit of a hack, honestly.

You might want to check out Pushover, which does have individual device support. Many other features are similar to Prowl. Someone has even built a plugin for it.
Dewster35
Posts: 1030
Joined: Tue Jul 06, 2010 6:29 pm
Location: Petoskey, MI

Re: Native Prowl Support for Indigo

Post by Dewster35 »

Thanks Man. Your plugin worked well and if I was single I would be all set!

The pushover route was a good choice. Thank you for the tip!
auto_man
Posts: 30
Joined: Sun Oct 04, 2015 6:27 pm
Location: Salem County, NJ

Re: Native Prowl Support for Indigo

Post by auto_man »

I've tried installing the Prowl plugin, but the errors shown below from the Event Log keeps repeating. I tried to delete the plugin in related files (not sure if I'm getting them all), and then reinstall, but nothing seems to help. Also noteworthy is that in Indigo, in the Plugin menu, the Prowl selection only shows Enable, Disable, and About. The Configuration selection does not show there.

Any recommendations or suggestions on how I can get this going? I'm running Indigo 6.1.7 on a Mac Mini that's running Yosemite 10.10.5

I actually have the Prowl plugin running on a similar configuration at another home, but can't get it working at this home.




Apr 11, 2016, 5:13:45 PM
Installing and enabling plugin "Prowl" v0.3.4
Loading plugin "Prowl 0.3.4"
Starting plugin "Prowl 0.3.4" (pid 455)
Prowl Error Error in plugin execution InitializeMain:

Traceback (most recent call last):
File "<string>", line 1, in <module>
File "plugin.py", line 15, in __init__
File "plugin.py", line 24, in getPluginPath
<type 'exceptions.TypeError'>: 'bool' object is not callable

Stopping plugin "Prowl 0.3.4" (pid 455)
Stopped plugin "Prowl 0.3.4"
Error plugin "Prowl 0.3.4" (pid 455) failed to start -- restarting in 5 seconds
Reloading plugin "Prowl 0.3.4"
Starting plugin "Prowl 0.3.4" (pid 456)
Prowl Error Error in plugin execution InitializeMain:

Traceback (most recent call last):
File "<string>", line 1, in <module>
File "plugin.py", line 15, in __init__
File "plugin.py", line 24, in getPluginPath
<type 'exceptions.TypeError'>: 'bool' object is not callable

Stopping plugin "Prowl 0.3.4" (pid 456)
Stopped plugin "Prowl 0.3.4"
Error plugin "Prowl 0.3.4" (pid 456) failed to start -- restarting in 20 seconds
Disabling plugin "Prowl 0.3.4"
User avatar
jheddings
Posts: 149
Joined: Sun Dec 01, 2013 10:26 pm
Location: Denver, CO

Re: Native Prowl Support for Indigo

Post by jheddings »

Yeah, something changed in the base class for Plugin. I uploaded a new release this weekend that should fix the problem for you. Would you mind giving it a shot and see if it takes care of the issue?


Sent from my iPhone using Tapatalk
auto_man
Posts: 30
Joined: Sun Oct 04, 2015 6:27 pm
Location: Salem County, NJ

Re: Native Prowl Support for Indigo

Post by auto_man »

Sorry, but I'm not seeing how I can download the new version in a form that I can launch the install. Can you provide some more direction?
Locked

Return to “Prowl Notify”