iBeacon2Web – for the web developers who want to use iBeacons

iBeacon2Web is a simple beacon region and ranging application. It translates the detected information from a iBeacon and provides it to a given URL as a query string. This allows a large number of potential DIY applications to be built on top of iBeacon technology.

To use this app, simply add a beacon with the relevant information and provide the web service URL to call. A sample of the URL that will be transmitted will be shown. Be sure to test the URL before you add the beacon as you will not be able to change it once its added!

If you wish to only detect for a beacon but NOT send the information to any URL, just enter https://do.not.send.url as the connecting URL instead.

Take note that for the URL to be succesfully connected, it needs to return a valid JSON file.

We encourage all URLs to be in HTTPS for security reasons.

The information passed to the query string includes
– beacon UUID
– identifier
– major number
– minor number
– proximity (Immediate, Near, Far, Entered, Exited)
– deviceUUID (generated upon install for web service to filter if its a valid device)

*Note that this app does not work well on an iPhone4S as the settings interface will not scroll on the smaller screen. The beacon capability on the phone is also not as good as those made after the iPhone 4S

A sample region query string looks like this
deviceUUID=A34408A9-6660-4F47-9BF5-19D3D870222C&identifier=living.room&proximity=[Entered|Exited]

A sample ranging query string looks like this
deviceUUID=A34408A9-6660-4F47-9BF5-19D3D870222C&proximity=[Immediate|Near|Far]&uuid=CA97BBE1-E862-1801-A170-001C4DB8BC13&minor=1&identifier=living.room&major=1

Sample use cases of this app is as follows
1) Roving App, Static Beacon: for the web developer to have an app detect a beacon and send a call to a URL to display or take custom actions
2) Roving Beacon, Static App: for a old device to be placed in a static location and for a beacon to enter, exit a region. The app then contacts a web server to report on the beacon’s approximate location region

Leave a comment