8 ms·
I have an old Raspberry Pi 1 that runs headless raspbian with a set of cheap speakers plugged into it and an old usb wifi adaptor. It has only one purpose: to p
by DrAwdeOccarim 7y ago
I have an old Raspberry Pi 1 that runs headless raspbian with a set of cheap speakers plugged into it and an old usb wifi adaptor. It has only one purpose: to play a wav file of a telephone ringing for one minute. My spouse does not ever have the ringer on her cell phone. So when I am out and I need her to look at her phone, I VPN in to my home network, ssh into the pi using Terminus on my iphone, and 'aplay' the wav file.
The real reason we ever wanted to get a landline was because of this issue, so instead of wasting money I just used spare parts to make an alert system I can activate remotely. I can also use the 'say' command for text-to-speech, but that's not really effective. The old school phone ringer wav is perfect.
- daedalus_j 7y agoThis is brilliant. I have the same problem, and an extra gen1 pi hanging around, and I'm quite excited about this solution. Thanks for posting. :-)
- chrsstrm 7y agoYou could automate this even more with a Twilio number, ngrok running on the Pi and a small webserver to trigger the audio playback. Then instead of having to ssh in you can just send a text.
- HoppyHaus 7y agoOr if you wanted to get even cheaper, depending on the carrier, you could text a personal E-Mail server.
- pfundstein 7y agoIs ngrok the new dnat?
- chrsstrm 7y agoExpose your server endpoint to the public web however you like. There are lots of options and many have been discussed here recently. I just happen to be a fan of ngrok and use it daily for all sorts of cases, including on some of my Pi’s.
- CameronBanga 7y agoDoes it work well over extended periods of time like that? I’ve just thought of using it temporarily for testing.
- chrsstrm 7y agoI have a tunnel that’s been running for over a month now with no issues. Basic free tunnels do have an expiration (24 hours IIRC) but the paid accounts will let you keep a tunnel open as long as you want.
- benwaffle 7y agohttp://serveo.net/ http://serveo.net/
- kalleboo 7y agoIf you're running a web server, why not just put up a page with a "ring" button and bookmark that on your phone?
- syntheticnature 7y agoJust make sure it isn't a GET, per a discussion the other week...
- drcross 7y agoI would have presumed you can have custom notification levels for specific phones calls baked into modern phones OSs.
- vnchr 7y agoiOS has a bypass list for “Do Not Disturb” mode, but sound is disabled via a hardware switch next to the volume buttons. As a workaround, I’ll use the “Find my iPhone” chime which is the one way to bypass the hardware switch if I need to get my wife’s attention while the phone is set to silent.
- JustSomeNobody 7y agoEmergency bypass in iOS should also bypass the hardware silent switch.
- moonbas3 7y agoThat's what he said.
- Double_a_92 7y agoThen it wouldn't be a hardware switch anymore, just a sensor. Meaning software could mess something up and "embarrass" you in public, completely voiding the point of the mute switch.
- sambe 7y agoIt seems likely that the side switch is anyway connected to software - on iPad its purpose is configurable and I think it was for a short period on iPhone. I always assumed the point of the switch was for quick and convenient access, not for certainty. Besides, the hardware button also fails embarrassingly when full of lint.
- JustSomeNobody 7y agoBut this is exactly how it works. On my 8, I have emergency bypass turned on for my wife. When the hardware switch is turned to the "silent" position, I still get a ring when she calls and a tone when she texts. Everyone else I hear nothing.
- idonotknowwhy 7y agoSimilar issue, but I worked around it by setting up one of those find-your-phone apps and whitelisted my number. Now I can just text her the secret code and it makes her phone ring loudly even when it's on silent.
- hunter2_ 7y agoThis would be really bad if she happened to be at a performance, restaurant, active shooter situation, etc. Better off forcing a ring in the home than where you can't foresee the consequences.
- JustSomeNobody 7y agoIf they have an iPhone, you can go into contacts and turn on emergency bypass just for you and that way their phone will ring when you call but not anyone else.
- lucb1e 7y agoOr, if you have an aPhone, you can ssh directly into it (ssh server apps don't require root), or make it do an additional action (such as turning off silent mode, or playing something) when you call (I'm sure automation apps can do this without root), or a million other creative ideas as root user.
- m0nty 7y ago> I VPN in to my home network, ssh into the pi using Terminus on my iphone, and 'aplay' the wav file Once, when I was working away from home, someone unplugged the phone at home so I couldn't phone in. After becoming very frustrated, I SSH'd into my home server, and from there into the Mac Mini we used as a media station. Then: - checked they were watching something using `ps`. - killed that process so I had their attention. - `say 'this is dad, I'm inside the computer.'` - `say 'I want to phone you but you have unplugged the phone.'` - `say 'plug it back in'` Worked :)
- c22 7y agoWhen I was younger I worked at a retail store and I remember being thrilled to discover I could telnet into a cash register and echo text directly to the attached receipt printer.[0] I became a small time hero at one point when I used this power to alert our sister store that their phones weren't accepting calls during the middle of the holiday season. [0] Also interesting is the time I discovered that sending a special escape code to the printer caused the cash drawer to open, but that's a tale for another thread.
- INTPenis 7y agoHaha this reminded me of the time I lost my phone. I suspected it was left at work so I ssh'd into my Mac at work, started recording audio, dialed up my phone and voilá. It was there and I had peace of mind until tomorrow.
- 7y ago
- stevenhubertron 7y agoI do something similar but using the Twilio API I send texts to the Pi that do various things including making a ringing sound.
- saltcod 7y agoOMG Please tell me more about this! This is precisely what I need!