Posts Tagged ‘Ushahidi’

Tropo + Ushahidi = Awesome

Friday, December 9th, 2011

Ushahidi is a platform for crowdsourcing information. Members of the public submit reports that are geo-located and then put on a map. The platform is used in disaster relief, election monitoring and just about any other situation where people need to learn things from one another quickly and concisely. Out of the box, Ushahidi allows people to submit reports via the web, mobile applications, Twitter, Facebook with support for a few SMS APIs as well.

We have created an easy-to-use application that lets people use Tropo to input data into Ushahidi via SMS. We’ve put the code up on Github and you’re welcome to submit pull requests if you find bugs or add features.

To use the code, you don’t have to install anything on Ushahidi. Here are the steps:

  1. In Ushahidi, create a user with “Admin” privileges.
  2. check out the code from Github
  3. edit the configuration lines at the top with your Ushahidi credentials and URL
  4. create a new Scripting API Application on Tropo.com.
  5. Once your Tropo app is created, you can add an SMS-enabled number (US and Canada currently) and optionally configure it to talk on any IM networks or Twitter.

Now, when you send a message to any of your configured numbers the application will attempt to geo-locate the message based on its contents. The app then submits a report via the Ushahidi API in an unverified state. Admins of the site can then verify the reports and publish them to the web.

In our example here, we simulated a flood in Milwaukee. The instance pulls in feeds from local media and disaster response community, accepts reports via the web and accepts reports from a Tropo app I created. We sent a message to the number configured in the app with the following content:

 

Columbia St. Mary’s Hospital Milwaukee WI is flooded. Power is out.

This was submitted to Ushahidi in an unverified state. The reviewer then added text to flush out the report based on other incoming data and then published the report:

Columbia hospital has been without power for the past 16 hours. Two of the three emergency diesel generators are operating normally. Generator number 2 is scheduled to be functional within the next 6 hours. Fuel supplies are at nominal levels with an estimated 48 hours remaining. Inundation levels are currently low but may begin rising at high tide.

This sort of crowdsourced data, gathered at the source, is valuable for many reasons. It gets the word to responders and the public more quickly so that people can act appropriately (e.g. by not going to that hospital, go to another one.) First responders become aware of the weight of a problem when more people report the same thing or when the first report comes in of a very big event.

Watervoices.ca, developed this past weekend at RHoK, will be going live with this application soon and we hope to see others using it to help the world soon. Over time, we will be adding support for Voice, PhoneGap within Ushahidi and many other features.

Tropo + OpenBTS + Burning man = Awesome

Tuesday, August 23rd, 2011

One of the cool things about Tropo is that it’s not trapped in the cloud.  Sometimes your cloud provider can go down.  But fortunately as an open source project of Voxeo Labs, pretty much anyone can spin up their own private Tropo cloud.   You can also run a hybrid cloud that leverages the best of both worlds.  Yeah, Tropo is good like that.

We set out to prove that it could be done, so we decided to pick the most unlikely place we could think of to set up a private Tropo cloud: on the Playa at Burning Man (of course).    Is it possible to set up an open-source telephone network in the middle of the desert?   We’re going to find out next week.

Tropo OpenBTS Burning Man

We called up our friend David Burgess at Range Networks about the OpenBTS network he’s been setting up at Burning Man every year for the past 4 years. Along with David, we mapped out the technical details of how to connect Tropo to OpenBTS.   We put together a team to work on integration and build a couple of Tropo apps to test on the Playa.  Over the weekend I got this message:

[8/20/11 5:53:45 PM] Tim Panton: First call from openBTS via vsat  out through tropo to the PSTN _WOOP_

So it looks like we *may* have some connectivity, but what can you DO with it?

Well, first and foremost we have an open source voiceboard app written by Chris Matthieu of Teleku and Nodester fame.  The Voice Board application is an asynchronous voice messaging platform. It allows callers to join in on live conference calls or leave messages for their friends.  Burners can connect to other Burners using the Voice Board app.

The other app was developed by Adam Kalsey (founder of IMIfied).  It’s an SMS Gateway which is providing OpenBTS its first SMS gateway to the outside world.  We didn’t want Burners to get bombarded with text messages from the outside world, so the gateway is set up to only receive messages AFTER someone has sent one FROM a phone connected through the OpenBTS network first.

Jason Goecke (co founder of Adhearsion) delivered the Voxeo PRISM server to Range Networks.  Lincoln Anthony & Tim Gridley (Voxeo Network Operations), Wei Chen & John Dyer (Voxeo Labs), Aaron Huslage (Founder of Tethr) and Tim Panton (PhoneFromHere) all have lent time and expertise to make this project go as well.

Our “man on the ground” this year is Voxeo Labs Chief Architect, Jose De Castro, who volunteered to go to the playa at Burning Man and help set things up.  In addition to the OpenBTS team, Jose will be joined onsite by Willow Brugh of Geeks without Bounds (who has assured me she will be at least “half naked most of the time“).

A parallel team working an app on the same OpenBTS network is being coordinated by the Technology and Infrastructure in Emerging Regions group at UC Berkley.  More information about their project can be found here:  TIER at Burning Man.   Additionally, Aaron Huslage is also working in parallel with Ushahidi‘s open source crisis mapping software to ultimately build a very flexible and portable “crisis communications in a box” system.

The camp where we’ll be testing from is called Papa Legba.  If you are heading to the Playa this year and would like like to participate in this groundbreaking test, I strongly urge you to check out the Papa Legba 2011 FAQ. Details about the kind of services and what kind of GSM phone equipment you need to connect to the OpenBTS network can be found there.