Kodi Community Forum
Notify - iPhone Notification App for XBMC (send push notifications to XBMC) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116)
+--- Thread: Notify - iPhone Notification App for XBMC (send push notifications to XBMC) (/showthread.php?tid=64545)



- rickardkk - 2010-10-20

johoja Wrote:Hey Guys,

I've been thinking of adding a new feature to NP; not sure how many of you use Prowl or, receive push notifications on your phone. But I was thinking of a way to leverage apps that already push notifications to your phone. For example: if you receive a push notification that is something along the lines of commandprefixConfusedms:johoja:what's up buddy, it'll send a SMS to johoja, or if you send a commandprefix:ring your phone will start to ring (regardless of silent mode or not)

commandprefix would be user definable, and would be what I would look for in a Push Notification (you could send a prowl msg to yourself send a facebook message to you, or tweet yourself or something along those lines just to get that push notification working ( which works over 3g/wifi which is good )) (This could also be extended to emails i.e) i would probably look at the subject of the email address but emails aren't very reliable I think sometimes not everyone has push for emails so could be a delay etc.))

What do you guys think? Worth doing ? Anyone interested ? Haven't added something interesting in NP for a while.

Any suggestions? If i see some interest for this ill start adding it. I have some bug fixes that I've already done, and support for notifo.com that is in the beta repo, but not in main, want to roll some more features into a 1.6 release.

Great idea! Especially in conjunction with EventGhost. Should take the whole home automation project to another level.


- johoja - 2010-10-21

rickardkk Wrote:Great idea! Especially in conjunction with EventGhost. Should take the whole home automation project to another level.

Any suggestions on what type of commands to support on the iphone? Sms, and ring are the two of would want anything else?


- stoli - 2010-10-21

johoja Wrote:Any suggestions on what type of commands to support on the iphone? Sms, and ring are the two of would want anything else?

Vibrate/Silent - not sure how exactly it could be tied in (script?) but when a movie/show starts it could turn off the ringer.

All of the other NotifyPro features have been about sending notifications from the phone to other apps, what about adjusting actual notifications on the phone itself? This goes back to a conversation we had when you first released this, but what about phone settings tied to GPS locations and/or time of day?

While this is out of the realm of what you have been doing, I think it certainly fits with the whole "notify" idea of the app.

Just my 2 cents. :-)


- kyle0k - 2010-10-22

Just wanted to let you know that this is the first and only app I have ever actually bought for the iphone, and not just downlaoded. Helps so much while I work at home!

There are a couple little things that bug me though. I haev no idea if its something you can fix or if its just part of growl. When you click to reply on the sms. Everytime it opens up a seperate IE tab and thats really annoying. Is it possible to make it at the very least stick to one browser/tab and not just whatever one is in focus. And even better, have somekind of threading, because at this point I actually dont even know when the message was sent or not and whther I can close the tab yet or not. Thanks!

Also, maybe you can recommend a different interface then growl, that could fix this. I see you have many on there but dont know about any of them. I have windows 7.


event ghost - iorifly - 2010-10-23

I need help, do not know if I should post here, but as this with notifypro RELATED TO'm posting here:

When I paste this command in my browser the image just fine and a warning appears

http://10.1.0.101:8080/xbmcCmds/xbmcHttp?command=ExecBuiltIn (Notification (test this by calling your iphone, 9000, c: \ avo.png))

Now when I use this command in eventghost like this:

if (parts [2] == "CallIncoming") or (parts [2] == "CallAccept"):
baseUrl = "http://" host "/ xbmcCmds / xbmcHttp? command ="
print parts [3]

# Cmd = "ExecBuiltIn (Notification (ATTENTION, This calling your iphone, 8000, c: \ avo.png))"
cmd = "ExecBuiltIn (Notification (parts [3]," This calling your iphone, 9000, c: \ avo.png)) "



url = baseUrl cmd
not the right ... Why? nothing appears

about log file


20:23:30 T:3372 M:716046336 INFO: Scriptresult: Success
20:23:30 T:3372 M:715993088 INFO: Python script stopped
20:23:30 T:3372 M:715993088 DEBUG: Thread 3372 terminating
20:23:30 T:5444 M:716021760 DEBUG: python thread 14 destructed
20:23:31 T:5444 M:715993088 DEBUG: SDLKeyboard: scancode: 91, sym: 311, unicode: 0, modifier: 0
20:23:31 T:5444 M:715972608 DEBUG: HttpApi Start command: FileExists paras: FileExists; special://temp/Avo.png
20:23:31 T:5444 M:716136448 DEBUG: SDLKeyboard: scancode: 91, sym: 311, unicode: 0, modifier: 10
20:23:32 T:5444 M:712892416 DEBUG: Previous line repeats 29 times.
20:23:32 T:5444 M:712892416 DEBUG: CWinEventsWin32::WndProcWindow is active


I found the error - iorifly - 2010-10-23

I found the error


20:31:00 T:5224 M:667037696 INFO: Scriptresult: Success
20:31:00 T:5224 M:667000832 INFO: Python script stopped
20:31:00 T:5224 M:667000832 DEBUG: Thread 5224 terminating
20:31:00 T:5444 M:667029504 DEBUG: python thread 17 destructed
20:31:08 T:5444 M:666058752 DEBUG: HttpApi Start command: ExecBuiltIn paras: ExecBuiltIn; Notification(Incoming Call - Avo,, 13000, special://temp/Avo.png)
20:31:08 T:5444 M:665772032 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
20:31:08 T:5444 M:665128960 DEBUG: Win32DllLoader::Load(special://xbmcbin/system/ImageLib.dll)
20:31:08 T:5444 M:665149440 DEBUG: msg: PICTURE::LoadImage: Unable to open image: special://temp/Avo.png Error: (2)
20:31:08 T:5444 M:665149440 ERROR: Texture manager unable to load file: special://temp/Avo.png
20:31:10 T:5444 M:664551424 INFO: Python, unloading python24.dll because no scripts are running anymore
20:31:10 T:5444 M:664551424 DEBUG: XBPython::UnloadExtensionLibs, clearing python extension libraries
20:31:10 T:5444 M:664551424 DEBUG: Win32DllLoader::Unload DLLs\_socket.pyd
20:31:10 T:5444 M:664551424 DEBUG: FreeLibrary(python24.dll) -> 09557708
20:31:10 T:5444 M:664612864 DEBUG: Win32DllLoader::Unload DLLs\_ssl.pyd
20:31:10 T:5444 M:664612864 DEBUG: FreeLibrary(python24.dll) -> 09557708
20:31:10 T:5444 M:665149440 DEBUG: Win32DllLoader::Unload python24.dll
20:31:11 T:5444 M:666300416 DEBUG: SDLKeyboard: scancode: 91, sym: 311, unicode: 0, modifier: 0
20:31:11 T:5444 M:663048192 DEBUG: CWinEventsWin32::WndProcWindow is active
20:31:13 T:5444 M:662503424 DEBUG: HttpApi Start command: getcurrentlyplaying paras: getcurrentlyplaying
20:31:13 T:5444 M:662491136 DEBUG: CApplication::OnKey: 234 pressed, action is Play

I need help to solve


- johoja - 2010-10-23

stoli Wrote:Vibrate/Silent - not sure how exactly it could be tied in (script?) but when a movie/show starts it could turn off the ringer.

All of the other NotifyPro features have been about sending notifications from the phone to other apps, what about adjusting actual notifications on the phone itself? This goes back to a conversation we had when you first released this, but what about phone settings tied to GPS locations and/or time of day?

While this is out of the realm of what you have been doing, I think it certainly fits with the whole "notify" idea of the app.

Just my 2 cents. :-)

Yeah, I know what your saying I'm an android guy now ( don't even own an iPhone anymore). So I use tasker/locale all the time. But an app like that would require a lot of gui work Sad unfortunately I'm not very good at that, plus would take a lot of my time. hehe


- johoja - 2010-10-23

iorifly Wrote:I found the error


I need help to solve


Does special://temp/Avo.png exist ? it should be somewhere in the XBMC folders not sure exactly where depends on your platform windows/unix/mac.

If it does exist, is the picture valid, can you open it in a pic viewer, if you can then, as mentioned a few pages ago, XBMC's picture loader is super sensitive to pics, for some reason the pics that I upload sometimes don't work. Something with the way the phone might store them not sure.


- johoja - 2010-10-23

kyle0k Wrote:Just wanted to let you know that this is the first and only app I have ever actually bought for the iphone, and not just downlaoded. Helps so much while I work at home!

There are a couple little things that bug me though. I haev no idea if its something you can fix or if its just part of growl. When you click to reply on the sms. Everytime it opens up a seperate IE tab and thats really annoying. Is it possible to make it at the very least stick to one browser/tab and not just whatever one is in focus. And even better, have somekind of threading, because at this point I actually dont even know when the message was sent or not and whther I can close the tab yet or not. Thanks!

Also, maybe you can recommend a different interface then growl, that could fix this. I see you have many on there but dont know about any of them. I have windows 7.


Glad you like it Smile Unfortunately, the IE tab thing, I can't control, :S

I might be able to figure give some feedback on if the sms was sent or not will look into it.


- iorifly - 2010-10-23

Does special://temp/Avo.png exist ? it should be somewhere in the XBMC folders not sure exactly where depends on your platform windows/unix/mac.

If it does exist, is the picture valid, can you open it in a pic viewer, if you can then, as mentioned a few pages ago, XBMC's picture loader is super sensitive to pics, for some reason the pics that I upload sometimes don't work. Something with the way the phone might store them not sure.

-----------------
I did not find this folder! but as the images from my phone are going into this folder?

use the windows 7.


- stoli - 2010-10-23

johoja Wrote:Yeah, I know what your saying I'm an android guy now ( don't even own an iPhone anymore). So I use tasker/locale all the time. But an app like that would require a lot of gui work Sad unfortunately I'm not very good at that, plus would take a lot of my time. hehe

It was worth a shot! :-) I'[m really surprised no one has done a locale for iphone yet....


- johoja - 2010-10-25

There appears to have been some changes made to notify.io after they updated their backend for more stability. I'm looking to why it's not working.

Update: Fixed in 1.59 there was a change in the API. Sorry guys.


- kyle0k - 2010-10-25

ok, so there has been a huge glitch thats really been bothering me last 2 days. Everytime I recieve a phonecall the phone just resprings to safemode! At first I didnt know exactly what was going on, and now I figured out thats when it happens, and its from the notify pro. And I dont even have it so that it alerts me of calls! I will send you my syslog and crash log through PM. So please get back to me!


- johoja - 2010-10-25

kyle0k Wrote:ok, so there has been a huge glitch thats really been bothering me last 2 days. Everytime I recieve a phonecall the phone just resprings to safemode! At first I didnt know exactly what was going on, and now I figured out thats when it happens, and its from the notify pro. And I dont even have it so that it alerts me of calls! I will send you my syslog and crash log through PM. So please get back to me!

syslog, fw version, device model.


- kyle0k - 2010-10-25

johoja Wrote:syslog, fw version, device model.

Just sent it to you Smile