Today, I used basadaeir, which basically spots bluetooth devices using various sensors in CASL, to update twitter. It is a simple php script that checks if my phone has been spotted. If it is, then it updates twitter with the location. To ensure that it doesn't update the same location over and over, it first checks for the latest tweet, and compares it with the location message to be sent. If they are the same, it doesn't update (else, if does.)
The plan is to run the php script continuously after every few minutes to check for location of the bluetooth device. I will also be defining more rules to better manipulate the location information. For example, if the phone is located in the 4th floor coffee area at around 1 o clock, the twitter update could be "lunch on the 4th floor." If the same location data is obtained at some other time, the update can be "having coffee on the 4th floor." The idea behind this is that most elders have a static daily routine that they follow. Hence, the location and the corresponding time can be matched to their activity.
Wednesday, July 23, 2008
Subscribe to:
Post Comments (Atom)
1 comment:
Sounds great, can't wait to see the demo :-) you should offer it as a service to Matt, Knox, and the general basadaeir user-base :-)
Post a Comment