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)



- jackmeehan - 2011-02-05 17:57

dareal68 Wrote:It is 4.2.1 compatible
Cool, thanks.


- johoja - 2011-02-05 18:16

michaeldecharon Wrote:First of all, a great app!

It works perfect and i'm using it every day...

I'm using Notify with eventghost, homeseer and XBMC.

What i want, is to use specific eventghost commands to trigger homeseer.

For example when my iphone rings HTTP.Michael::Ring::CallDialed::Michael de Charon de Saint Germain:: i want to mute my amp go to XBMC and show the number thats calling me, or better: let homeseer pronounce the name of the person who's calling me.

Therefore i want to use wildcards (*) like HTTP.*::Ring::CallDialed::*::

It seams only HTTP.* works, but then my amp always mutes and goes to xbmc, when i call someone...

I only want to trigger an event when some calls me.

So how can i use wildcards (*) for:
HTTP.Michael::Ring::CallDialed::Michael de Charon de Saint Germain::
HTTP.Michael::Ring::CallAccept::Michael de Charon de Saint Germain::
HTTP.Michael::Ring::CallEnd::Michael de Charon de Saint Germain::
without scripting in python.

Any help is welcome!

Looks like it only works with for "." deliminated items, according to the eg forums.

I think you would need to python script this. It could be a pretty simple one. Like this one: http://pastebin.com/adj5n1n2

It will trigger a new event based on the NP event and then you can assign it to do different things...havent tested it though.


- michaeldecharon - 2011-02-05 19:33

johoja Wrote:Looks like it only works with for "." deliminated items, according to the eg forums.

I think you would need to python script this. It could be a pretty simple one. Like this one: http://pastebin.com/adj5n1n2

It will trigger a new event based on the NP event and then you can assign it to do different things...havent tested it though.

Thanks for your example!

I've bee trying to change one of your scripts to handle Homeseer.

Can you tell me how to execute the following line in Python:

D:\HTPC applicaties\HomeSeer HSPRO\HSC\hsc.exe -x Q8 off


- jackmeehan - 2011-02-06 22:43

johojo: Any plans for ATV2 support? Tongue


- stoli - 2011-02-06 23:02

once the web server is enabled in aTV2, it should work just fine.


- davilla - 2011-02-06 23:06

stoli Wrote:once the web server is enabled in aTV2, it should work just fine.

apt-get update; apt-get install org.xbmc.xbmc-atv2


- jackmeehan - 2011-02-06 23:07

stoli Wrote:once the web server is enabled in aTV2, it should work just fine.
Would there be a way of using a python script to control how events are handled?

You'll have to excuse my ignorance if that's a silly question


- michaeldecharon - 2011-02-07 22:44

michaeldecharon Wrote:Thanks for your example!

I've bee trying to change one of your scripts to handle Homeseer.

Can you tell me how to execute the following line in Python:

D:\HTPC applicaties\HomeSeer HSPRO\HSC\hsc.exe -x Q8 off

Anyone?


- johoja - 2011-02-07 22:46

michaeldecharon Wrote:Anyone?

Not sure but I think os.system("D:\\HTPC applicaties\\HomeSeer HSPRO\\HSC\\hsc.exe -x Q8 off")


- johoja - 2011-02-07 22:46

jackmeehan Wrote:Would there be a way of using a python script to control how events are handled?

You'll have to excuse my ignorance if that's a silly question

Not sure what you mean by that?

What are you trying to do ?