Have a significant other that isn’t the best at picking up the phone? [Aaron] was having a hard time reaching his wife, so he hacked up a solution. The Moshi Moshi detects calls from [Aaron], and plays music to get her attention.
A remote server running Asterisk picks up the call and uses a Ruby script to log the call. Every ten seconds, an Arduino Due with an Ethernet shield polls a Sinatra web server to see if a call has arrived. If a new call has come in, a music loop is played. Getting the Due to loop audio was a bit of a challenge, but the end result sounds good.
Quite a bit of tech is brought together to make the Moshi Moshi, and all the code is provided in the write up. This could be helpful to anyone looking to combine hardware with the Asterisk PBX. After the break, [Aaron] shows us how the system works.
Unrelated:
Mobile layout text is too big. Only getting 4 5 words per line.
So, he still doesn’t get to talk to her?
Might as well just setup a webcam and skype to auto answer.
Umm, can’t she just plug the phone into a dock and change the ring tone to whatever special music she notices? Seems a long way to go just to play music when the phone rings, aren’t those the same thing?
It would be cheaper to just fire the poolboy
ZING!
In other news, I think I’m getting to old to play with electronics. I work in electronics and honestly, by the time I get home, I don’t even want to flip a light switch because its got electronics flowing through it, This is after 30 some years of a fruitful electronics hobby. Now, when everyone else electronics projects start sounding like transcripts of some messed up japanese anime “moshi moshi causes Asterisk to cause a Ruby Script to log the call while arduninioonio with a shield polls a server and when the server sees that it is him that is calling it plays a song? I get the jest of it, it sounds way overly complex from my own KISS ways…
how about GET A LOUDER RINGER? Or use a ringtone that is loud and unique to him.
Some of you kids make me wonder if we would have gotten to the moon today instead of the 1960s.
got electrons flowing through it even…
I dislike the trend of giving stupid projects Japanese sounding names.. It wouldn’t be so bad if the imagination of people that did it stretched past calling stuff chibi something or other. To be fair to this guy moshi moshi is a phrase used when answering the phone and his wife is apparently Japanese so it’s not as bad as calling it chibi denwa onigiri pantsu DX 2.0.
Sumimasen, Nihongo de nan to imasu ka?
If you want your 「日本語上手ですね〜〜」you can’t write in Romaji. Sorry it’s the rules I’m afraid.
The neat thing about making a project is naming it. If you don’t like a name for your own project, then don’t name it that.
What else do you do when you have all these tools, but no problems to use them all for?
That’s a passive-aggressive alternative to talking to your wife about how much it bothers you when she can’t be reached.
I foresee a long line of passive aggressive hacks coming from this guy until one day he snaps and builds a robot to replace her.
I don’t get it. Why not just set a custom ringtone? It could even be his voice yelling “Pick up the phone, it’s me, Aaron!” If it’s not loud enough, why not run a script on the phone that connects to a larger speaker via bluetooth? Concocting a way to do something that is a thousand times more difficult than it was before is not hacking. It’s just electronic masturbation.
Next up on Hackaday, [Random Doofus] replaces the inside half of his front door knob with a kinect so it only opens when he correctly dances the Macarena in the foyer.
^—-this!
Why not just give yourself a different ringtone?
Phones, cell or otherwise, have had this functionality for nearly a decade.
I did not get the part where the cell-phone can talk to the Arduino. And I did not either get the part where it’s easier for his wife to hear the Arduino than the cell-phone, besides when she has it on vibrate only, which there might be a reason for.
But I’m surprises how something that sounds fairly complex, looks so simple when you look at the authors page.
the untrimmed whitespace at the end of both source files has my OCD senses tingling.
Why is he doing it the hard way? if he has an asterisk server, simply write the script to play the song out the soundcard. 15 seconds of scripting and if you use a wireless speaker, you are all done.
That’s just oh so sad on many many many many levels.
Get one of those invisible fence dog collars, then make the “reminder shock” trigger on the inbound cell call for his number. Make the wife wear the collar 24/7 until she can rub enough brain cells together to figure out how to answer a freaking phone.
No clue why the OP is babying a grown women.
Clearly the issue here is that she leaves her cell phone on mute, making her unreachable. Clearly the solution is a simple app which unmutes the phone when a specific person calls…
Clearly the problem is that she leaves her phone on mute, rendering her unreachable. Clearly the solution is a simple app that unmutes the phone when a specific number calls…
Is this a common problem with people? My phone just sits snugly in my pocket where I can hear and feel it when it rings. Why would you leave your phone on a counter in another room with mute on in the first place? Sure seems like a complex system that has no real world use, maybe if you’d add some kind of indicator lights for deaf people? I don’t know….
I don’t get all the polling? Why can’t the asterisk script hit the arguing direct?
seems like a lot of work to go through to get a DUE loop. Why, back in my day…
This is way too complicated. I simply turn on SSH on my home computer running OSX, leave the speakers at full blast, log in remotely and type:
say “Honey, can you please pick up the damn phone?”
PreventionThe best approach to treating pimples is to prevent them from happening in the first place. Wash your face daily with a mild facial soap, and avoid touching your face in order to prevent the oils and dirt on your fingers from becoming trapped in the pores. Clean the frames of glasses and sunglasses to remove any excess oil. Only use oil-free makeup, and keep your hair off your face and shampoo often. It should not be used as a substitute for professional medical advice, diagnosis or treatment. LIVESTRONG is a registered trademark of the LIVESTRONG Foundation. Moreover, we do not select every advertiser or advertisement that appears on the web site-many of the advertisements are served by third party advertising companies.