Table of Contents

ChangeLog

11 March 2013

  • Revised code.

Introduction

This script was tested and works on OpenSim version 0.7.4!

We stumbled onto something called Prowl, which apparently is a pusher for iOS devices. Behind the scenes though, given their API, any HTTP client capable of doing GET or POST is able to both store messages on the Prowl servers, as well as retrieve them (fetchmail, pretty much).

The Prowl name is not incidental, it is in fact an extension to what Macintosh users may know as Growl (another nice rebrand of syslog, meant for end-user applications this time). The latter is used on a computer to send messages across the network. Given multiple machines, it is convenient to have all the notifications centralized on your main working machine. Growls does just that an syslog used to do that back when the giants roamed the earth for massive data centres.

The system probably works like the following:

  1. A computer or a client capable of HTTP, pushes a "message" which can be anything to the Prowl servers.
  2. A mobile device (may be a computer as well, why not) after connecting to the Internet, runs a thread in the background that fetches the messages from the Prowl servers. If there is a new message there, it usually pops it up as a notification.

The video below is a demonstration using the scripts you will find further on of sending a message from a Second Life primitive to an iPad. For completeness, we use Veency to access the iPad via VNC in order to shoot the clip.

Video

The soundtrack is called Corruption by John Molloy (Magnetic Scrolls).

Comments

Limitations

Security

Set-up

To use this system in its basic form, you will need to:

  1. Sign-up on Prowl with a username and a password.
  2. Log-in with the username and password you signed-up with and navigate to Prowl's API Key generator and generate a new API key.
  3. If you are on an iDevice, you will need to purchase the Prowl: Growl Client from the AppStore.
  4. Log-in to Prowl from your iDevice.
  5. Create a new primitive in Second Life and dump the following scripts inside a primitive:
  6. Edit the prowl script below and change API_KEY to the key that you generated at Prowl's API Key generator.

Testing

  1. To test, you can touch the primitive you created and an llTextBox dialog will pop-up (Imprudence users beware, it is still not implemented) which will ask for a message.
  2. Type your message and if you followed the previous successfully, you should see that message appear on screen.

Index