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

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for XBMC (/forumdisplay.php?fid=116)
+--- Thread: Notify - iPhone Notification App for XBMC (send push notifications to XBMC) (/showthread.php?tid=64545)



- johoja - 2010-01-02 11:16

I've added push, and mail notifications but need some people to test it out. If your interested PM me, and I'll send u a copy.

Thanks!


- sPOiDar - 2010-01-03 01:02

A feature I meant to suggest - for email notifications, you could include the location service data, so it would work as a poor-man's phone locater Smile


- johoja - 2010-01-03 02:22

sPOiDar Wrote:A feature I meant to suggest - for email notifications, you could include the location service data, so it would work as a poor-man's phone locater Smile

Sounds like an interesting idea, how exactly would you want it to work? I.e) What would show up on xbmc.


- sPOiDar - 2010-01-03 02:42

johoja Wrote:Sounds like an interesting idea, how exactly would you want it to work? I.e) What would show up on xbmc.
Ahh, I may have misunderstood your email notifications - I thought you were delivering missed call notifications via email, but I see you're delivering incoming email notifications to XBMC. In that case, it doesn't make so much sense.


- johoja - 2010-01-03 03:15

sPOiDar Wrote:Ahh, I may have misunderstood your email notifications - I thought you were delivering missed call notifications via email, but I see you're delivering incoming email notifications to XBMC. In that case, it doesn't make so much sense.

Well it might be possible to say send yourself an email and depending on the email it can do something different ... i.e ) you email yourself or txt yourself something , with a command Notify-Cmd-Show-Location...and i could make it show the location or somethign similar like that ...not sure if people want it ...probably lower on my list right now.


- Pr.Sinister - 2010-01-03 06:33

drivesoslow Wrote:Also multiple hosts would be awesome

i second that... It would be nice to have it display on the Living Room XBMC
and bedroom XBMC without having to modify the IP all the time and respring.

-Pr.


- Pr.Sinister - 2010-01-03 06:47

hotlobster Wrote:Imagine , you are with your official gf and then you receive a sms from a hot babe your not supposed to speak with, printed in the middle of your screen... I'm pretty sure I'm not the only one who'd like to avoid those kind of situations Smile

I was just thinking about that! Sometimes i get SMS's from women who aren't
my girlfriend and they are quite steamy or say something like "last night was
great" when i was supposed to play Pro Evolution Soccer 2010 with the boys.

Not sure how we would handle this but here are 2 suggestions :

1) Have a "Safe Mode" toggle where all SMS's just come in as "New SMS From (xxx) xxx-xxxx"
without the actual message or name

2) Hook in to the Contacts somehow and be able to tag or add selected contacts
to an unsafe list. When those contacts SMS, have the notification be just
"New SMS from (xxx) xxx-xxxx"

Not sure if #2 is possible but #1 seams feasable...

-Pr.


- Pr.Sinister - 2010-01-03 07:04

drivesoslow Wrote:Sending to multiple hosts

Actually, if it could have a toggle to send to multiple hosts or send to just one
of the listed ones, that's would be awesome. That way if my GF is watching something
in the bedroom and i am in the living room, i can receive uncensored messages
for my eyes only Smile

-Pr.


- johoja - 2010-01-03 08:20

Pr.Sinister Wrote:Actually, if it could have a toggle to send to multiple hosts or send to just one
of the listed ones, that's would be awesome. That way if my GF is watching something
in the bedroom and i am in the living room, i can receive uncensored messages
for my eyes only Smile

-Pr.

I'll work on that next, I'll see what I can do.


- sPOiDar - 2010-01-03 15:16

johoja Wrote:I'll work on that next, I'll see what I can do.

Thinking about this, as far as the UI goes, ideally you'd just start with an empty list view, and an 'Add' button, which when pressed allows entering of a hostname:port (or ip:port), username, password, and the list of toggles for data to be monitored. This means that individual hosts could receive different types of messages. You'd obviously also need an edit button, so that you can modify and remove hosts from the list.

As a wishlist item, I was also thinking you could add an option to send notifications via email - there are a number of scenarios where this would be very useful, and you could re-use the majority of your code. Expanding on the previous UI concept, you would select a host type (XBMC/Mail) on the first screen of the 'Add' dialog, then display either the previous set of options (hostname:port, etc) if the 'XBMC' host type is selected, or display a select box allowing the user to choose a configured email account to send from, then a destination address to send the notifications, and the list of toggles for data sources when the 'Mail' type is selected. The hosts in the main list view could be displayed with an icon denoting the type of host.

This is actually where I thought you were going with the 'email notifications'. There are so many ways this would be useful, and even more so if it included my previous suggestion of sending the location data in the email, so you know where your phone was when the call/sms/push was received.

I realize this will probably require some refactoring of your code, but if it's done right, you could then easily add more host types down the line, to make this an extremely powerful notification application.

One final suggestion - have you thought about using PreferenceLoader instead of an application icon? Since there is no actual application UI here, it really should just be configured via the Settings app (and one less icon is good for everyone ;) ).