Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Strivelli

macrumors newbie
Original poster
Apr 18, 2009
22
0
Hello everyone,

I'm just starting to do some basic playing around with some microcrontrollers and decided to build an electric door lock with a stepper motor driving a deadbolt.

Here's my setup:

I have an Arduino microcontroller connected (via USB) to a stationary iMac on my desk. I wanted my driver of this setup to be a listener for iMessages from a specific Apple ID with some type of command such as :unlock or :lock or :autolock etc.

So, I need to run a listener for iMessages (growl comes to mind) that can take data from each incoming iMessage on the machine and process it for certain information.

If I can get the data out, I can use a python script to process the data and send the necessary command out to the Arduino over USB.

Any suggestions? There may be an easy AppleScript, I'm just not too familiar with the language and whatnot.

Strivelli
 
Nice idea!

Great idea! Would be great to automate some stuff in the home while on holiday and just to send a FREE iMessage to my MAC to interact with it.

Looking forward to seeing some responses as I am now also keen to see how it could be done - I also don't know applescript yet... :(
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.