SMSNotify - keeps your iPhone vibrating when there's an unread SMS

Tags: installer, iphone, omgadog, script, sms, smsnotify
I hate it when someone SMSes me, and I miss the vibration, and I go for hours without checking my phone. Thus I created SMSNotify, a script that vibrates your iPhone every 15 seconds when you have an unread SMS.

The script is quite simple - it just queries the SMS database for unread SMSes, and if there are any, it calls the 'vibrator' utility that vibrates the phone for a short time.

It's written in shell script so if you want it to do other things it's easy to modify.

Now it's not perfect - when your phone is asleep it won't be every 15 seconds but will wait until the phone silently wakes up (to check your e-mail generally) before it can vibrate again. I'm working on that.

Download it at http://devices.natetrue.com/iphone/smsnotify.zip or just wait for it to appear in Installer.app - my good friend Shaun Erickson is packaging it up. Note that if you manually install it you need to start it by running "launchctl load /System/Library/LaunchDaemons/net.ations.cre.smsnotify.plist" but if you use Installer that will be done automatically.

Happy texting.

Return to Nate True's blog

Comments:

Posted by amine 1 year ago ( 02-Jan-2008 17:50:25 )

hey man thank u aloot but i have a request.. can u do this but for missed call notifications and maybe add to it a sound file either from our choice (we choose the tone) or a beep every 5 to 10 seconds.... thank u

Posted by guided 1 year ago ( 10-Jan-2008 05:53:16 )

Thanks! Any idea how to wake the phone up from it's sleep? Amazed no one's figured it out yet :(

Posted by natesaripoff 1 year ago ( 12-Jan-2008 00:37:20 )

WHERE THE HELL IS MY ORDER, NATE? WHY WONT YOU ANSWER MY EMAILS?


Posted by ivanraide 1 year ago ( 29-Jan-2008 19:09:07 )

Hey Nate ... SMSNotify is great, but doesn't seem to be working in firmware 1.1.3 anymore? Or at least query
n=`$sql /var/root/Library/SMS/sms.db 'select count(*) from message where flags=0'`;
always returns 0 even when there are sms, (I'm guessing the query has changed or the sql scheme has)...

Also the program for checking missed calls 'scw_missedcalls', always returns >0 so nothing is currently working :-(

FIGURED OUT: Add these symbolic links

ln -s /private/var/mobile/Library/SMS /private/var/root/Library
ln -s /private/var/mobile/Library/CallHistory /private/var/root/Library



This comment was edited at 2008-02-03 21:32:26


Posted by sallybeats 1 year ago ( 20-Feb-2008 16:41:09 )

hey nate!! my dad has just unlocked my iphone for the 3rd time!! (pain in the ass) but now he downgraded it to 1.0.2 unocked!! so i have to free my iphone again on ibrickr!! will u recomend freeing it!! because the last time it locked my ifone!! thnxs!! ohh it done the same to my wee bros itouch!! thnx!! neil mathews!!

Posted by torrentprime 1 year ago ( 01-Mar-2008 21:31:12 )

JUst discovered this app. HUGELY needed, great to see it. I hope you get it working on 1.1.4 and any future versions.

Log in or register to post comments.
You are not logged in.
Log inRegister now!