The Twine forums are now archived. If you need help, please visit

Twine and XBMC Media Center

I decided to see if I could get TWINE to send me a notification through XBMC when the door on my beer fridge opens. If I'm watching a movie I will get a pop-up notification stating that someone is in the fridge. This was done mostly for fun and to see if I could send commands to XBMC from the twine.

This is just one of the examples of what commands you could send to XBMC.

The code I used is below. You will need to have your XBMC system setup to be reachable from the Internet. I used GET to send the commands.

http://username:password@IP address:Port/jsonrpc?request={"id":1,"jsonrpc":"2.0","method":"GUI.ShowNotification","params":{"title":"Motion%20Detected","message":"Beer%20Fridge"}}

You'll want to edit the below with your system specific settings and what you want the message to say.
IP address

Sign In or Register to comment.