Kwissle

My real-time quiz battle game Kwissle.com

Crosstips.org

My fun Crossword solver project. Crosstips.org & Krysstips.se

Kung Fu

Fujian White Crane Kung Fu

Photos

Photoalbum, both old and new.

Twitter

Follow me on Twitter

Contact me

My contact details and how to contact me.

 

KungFuPeople.com
Do you train Kung Fu?
Or know someone who does?
Then check out KungFuPeople.com


Mobile version of this page Mobile version of this page


 
Zope

Combining MOBi and EconoAccount


7th of February 2005

EconoAccount EconoAccount is an open source tool I wrote to keep track of my expenditures. It started as a Excel spreadsheet where I wrote down how much I spent on what and then grew into something much better.

MOBi MOBi is a mobile web service my company developed for the owners of MOBi (read more here). MOBi is to mobile phones and SMS as domain names are to www. On MOBi, I have registered the keyword peterbe (unsurprisingly) and set up the sub-word "ea *".

Now with a bit of tweaking I can write down all my expenses with my mobile phone when I don't have a computer with Internet available. Read on to find out how.

On one of my servers I have set up an EconoAccount instance and installed this Python Script which gets notified by MOBi about the incoming message. The script makes sure the sender is recognized and that the keyword and subword is right. Then it starts to process the spendcodes together with the amounts. An SMS into 83211 might look like this:

 Peterbe ea groc 9.95, 
 snacks 2, lun 3.75, t 15

This should figure out that "groc" means "Groceries" and "lun" means "Lunch". If there are any ambiguities an email is sent reminding me to sort it out manually. For example "t 15" can mean "Transportation £15" or "Tech and hardware £15".

If I ever forget which spendcodes I have set up I send a reverse billed (25p) message like this to 83211:

 Peterbe ea

Everything is case insensitive and some whitespace can be ignored to make sure that composing these texts is quick.

On MOBi, the keyword peterbe is the more expensive "Advanced" one which enables you to use wildcards in sub-words and it can push matches to a URL which is where I enter the URL of the EconoAccount instance. I decided to not have a returning message about on this sub-word to save some money.

Discussion: I'm sure there are more professional alternatives to make the same thing happen but this was simple, cheap and fun. Sending these SMSes cost money of course since there's no reverse billed text back it only costs me 10p in total.



Comment

Peter - 25th February 2005  [«« Reply to this]
Yo, but after spending 1 mil on a boat, I feel keeping track of smaller costs is no idea. Possible a special Stringfellows account though...
 
Name:
Email:
hide my email address.

Your email address will be encoded to prevent email-extraction spiders from reading it so you won't get spammed if you decide to show your email address.