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-28 20:43
jackmeehan Wrote:I have the XBMC iphone app to control media etc. One of it's features is Wake on Lan. It doesn't, however, start XBMC automatically when woken. Is there any way to make XBMC run on a Wake on Lan boot only, ie not to run on every normal boot.
Pherhaps.....I think an Event will probably be generated in EventGhost for waking up or soemthing similar..and you could assign that event to start up xbmc...only problem is that it won't know...if it was that app waking up your pc ...orr....just you waking up your pc.
If its an XBMC dedciated setup then yah..theres no problem in doing that.
- jackmeehan - 2010-01-28 20:51
I had a look, the system.resume event is generated in eventghost both when woken up manually, and when woken up over lan. There's no way to differenciate between the two.
But there must be some way to do it...
Anyone else have any ideas?
- johoja - 2010-01-29 08:46
rickardkk Wrote:That's all possible with the EventGhost approach...
So I've added EventGhost support...BUT...I don't send the entire Notification...I only send the event...seems to work though.
If I send the SMS text, body, or Phone number that's calling...it will be treated as a unique event..
Is that what you want?
This way you get granular control over how EACH call gets handled...but...if you have a 100 contacts might be annoying.
Another option is ..that I could send both
Unless you can do like a Match on an event name in EventGhost...like a regex or something...can you?
- johoja - 2010-01-29 09:04
jackmeehan Wrote:I had a look, the system.resume event is generated in eventghost both when woken up manually, and when woken up over lan. There's no way to differenciate between the two.
Well...what you could do is...generate your own event using the EventGhost Webserver....something like..Event.XbmcOn....then you could make a iPhone homescreen button for it...(bookmark or whatever its called).
You would still need to do a WOL...but then once thats done you could hit the XbmcOn icon on your homescreen...
Not the pretiest solution...but I guess it would work...I have a remote so that wakes the PC up and generates a unique event anyway somehting like Remote.Start ...which maps to a xbmc.exe call..
Hope that's helpful.
I'll be releasing 1.3 soonish...Anyone whose bought NotifyPro wanna validate that my license checking is working and not flagging people who bought it as not bought? PM me..
- Cloaky - 2010-01-29 15:11
johoja Wrote:I'll be releasing 1.3 soonish...Anyone whose bought NotifyPro wanna validate that my license checking is working and not flagging people who bought it as not bought? PM me..I can help you with that if u still need someone.
- rickardkk - 2010-01-29 17:32
I would be nice if text, body and phone number could be sent.
In EventGhost the user can parse the event. (That's what I do with the status from the XBMC EventServer and HTTP API)
Or if you could put it in the payload (if that's possible using the webserver)
Will there be events on pickup and hangup (call start and end)?
- johoja - 2010-01-29 17:47
How do you parse events in EG. Can you point me to some docs ... ?
And an example of an Event with a payload.
- rickardkk - 2010-01-29 17:52
johoja Wrote:How do you parse events in EG. Can you point me to some docs ... ?
I do it with python scripting, but there may be a plugin to do it.
Actually I'm no expert on EG by any means. Started using it just a month ago.
I think you could place an asterix when using events like you do:
Event.CallIncoming.180022245 will trigger Event.CallIncoming.*
I don't know if a payload can be placed with the webserver.
But maybe you could look at the code for the Network broadcaster/listener plugin
Or you could place a # or something (in your app) to split the strings passed via the webserver. And the user could split it up with eg.event.string.split('#') in a python script.
- johoja - 2010-01-29 19:42
rickardkk Wrote:I do it with python scripting, but there may be a ....
I've pmed u. I want to stick to the HTTP method
1) I've already done it.
2) broadcast msges are limited to that subnetwork. Won't be able to do it over 3G
- jackmeehan - 2010-01-29 21:13
If you want a quick end user's opinion - What would be great is to be able to have media paused or lowered, depending on the type of media, on call income in a way that requires minimal setup and is easy to do for a person with little or no experience with EG or anything of the sort.