Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Push Notification
#5
I loaded your plugin and was able to access the set-up page but only after a couple of tweaks.

Initially python would not load "from pushover import Client". I'm not sure what the problem is since I could load it from the Python command line.
I changed the import to "import pushover" and changed each "Client" reference to "pushover.Client" then it worked.

Also in the "urls.extend" function on line 16 of pushover.py I had to change both references from "pushoverNotif" to "pushover" to get the setup page to load.

It looks like you are off to a great start and I think this will be a very useful plugin.

I will add the "station_completed" blinker event to the main SIP branch on GitHub. Let me know if there any other events that would be useful.
Perhaps the config for your plugin could offer a list of events that a user could select to be notified about. Maybe a list of active stations with check boxes for the available events.

When you get things a little farther along I will purchase the android PushOver app for testing.

It might be good if you get a free GitHub account and post the files there. It would be easier to update.
If you are willing to share the plugin with the SIP community I will be happy to add it to the SIP plugin repository when you are ready.

Dan
Reply


Messages In This Thread
Push Notification - by chrisbaer10 - 2017 Apr 19, 02:08 AM
RE: Push Notification - by dan - 2017 Apr 19, 02:42 PM
RE: Push Notification - by chrisbaer10 - 2017 Apr 19, 11:35 PM
RE: Push Notification - by dan - 2017 Apr 20, 12:30 AM
RE: Push Notification - by dan - 2017 Apr 23, 10:00 PM
RE: Push Notification - by msev - 2017 Jun 27, 11:24 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)