Lurker News
I have Raspberry Pi and I mainly use it for VPN and piHole. I’m curious if you have one, have you found it useful? What do you do with your Raspberry Pi?

Comments (1,069) 486 threads

Earlier comments
jonaswi11 replies#
I live in an apartment with quite strict fire-protection standards. Due to the fact that I have a cat that absolutly loves to go outside, I needed to find a solution for him to get outside without a catdoor trough my door.

So I installed a fire-protecion-approved door drive that is hooked to a raspberry pi. Another raspberry pi then analyzes a video stream and detects my cat. If my cat is in the frame for n amount of time, a message is sent to the pi conntected to the door drive and the door opens up slightly for him to get in.

Havoc#
That’s amazing
fdjlasdfjl1 reply#
I could actually use exactly that. Do you have a blog outlining how you did it, or the code on github by any chance?
jonaswi5 replies#
No sadly not. I'd love to write about it but my English is just not good enough to write a compelling story. Writing it in German and then having it translated is always a bit of a hassle. But I may consider it. At the moment I have an offer of the door drive manufacturer for doing a "home story" about the solution. If that will happen, it will definitely be released in English.

I will open source everything once I'm happy with the security and the ability to configure it.

blotter_paper1 reply#
For what it's worth, I didn't have any clue that English wasn't your first language until you said it.

Continue this thread — 1 reply

freedomben1 reply#
I've been having pretty good luck with a friend who runs stuff through Google translate, and then I (a native English speaker) fix it up to make it more natural. Might be worth a try. I bet there's plenty of people on HN for example that would do that for you.

Continue this thread — 1 reply

hermitdev#
I wouldn't underestimate your English skills. What you've written here is perfectly serviceable.
theelous3#
> No sadly not. I'd love to write about it but my English is just not good enough to write a compelling story.

Reads like a monty python sketch.

true_tuna#
Your English is amazing. Don’t let it stop you.
knz1 reply#
Sounds like there is a market for fire standard approved cat doors! ;)

I loved reading what you are doing with the Pi though.

jonaswi1 reply#
As you might have guessed, that came to my mind too. Due to the fact that I have worked with a company in the fire damper business, I was contacting them and we were brainstorming about it. The thing is: The market is just non existent. Also fire-protection regulations can be very specific depending on the country you are in. For example, EU ratings are not always recognized here in Switzerland.

Since last week I'm in contact with the manufacturer of the door drive tough because they maybe want to create a product out of it. To be honest I think it would pure marketing and at the moment it is very unlikely to ever hit the market.

darkmighty#
A fun dream I've had (context: I've always been confined to apartments) is some sort of cat/pet utopia in a block, so they wouldn't be stuck inside alone. But that wouldn't be feasible since they have to navigate the fire-proof doors between floors...

Unless your cat door goes to market. May luck be on your side :)
(really, don't underestimate niches, you can probably find plenty of places to sell this sort of product...)

subleq1 reply#
Why do you use two separate pis for it?
yellowapple1 reply#
I'd imagine the processing power required to detect whether or not a video feed contains a cat doesn't jive well with sharing a CPU with something presumably-realtime-sensitive like driving a motor to open a door.
jonaswi15 replies#
You are exactly right. Before I "optimised" the image recognition the whole detection part was running on a Mac Mini. I also like to "separate concerns". The Pi that is handling the door opening runs Alpine with a read-only file system so whenever there is a power outage or whatever it boots into a known good state. The image processing part is behind a big UPS and is running with a writable file system.

Continue this thread — 15 replies

dscpls1 reply#
Wow. I literally just sat down to relax after building a cardboard prototype cat door fitting in my open window in winter. You just made me feel partly inferior, and partly like I'm in good company
mavsman#
I may now get a cat just to set this up.
bborud1 reply#
Do you have a screengrab of your cat?
bborud#
Now here's an experiment: can you trigger your door by printing out an image of your cat? :-)
leetbulb1 reply#
Do you have a link to the "door drive" that you're using? I've had this idea for a long time and really want to build it.
jonaswi#
I don't use this specific drive due to the fact that another company gave me a better deal for some marketing. But if I had to choose again, I would buy a dormakaba ED 100 or ED 250 (depending on the weight of your door). They support multiple opening angles depending on how you activate it.
paines1 reply#
super cool! Sorry for my ignorance, but how does it close again? Do you issue fire alarm and it closes ?
jonaswi#
The door stays open for n amount of time (normally around 1min but I changed it to 30sec). The drive has a laser sensor attached to it (it is required to have installed with automatic doors in Switzerland if you don't want any issue with insurance). As soon as the specified amount of time has passed, the door drive tries to close the door. It only works if the laser sensor detects no obstacles.

Maybe a bit off-topic but: The only thing that differs an "fire-protection approved" door drive from a non approved drive is that the drive is not allowed to have an option to keep the door open. Also in case of power outage (or fire) the door needs to close without power.

Continue this thread — 3 more replies

DrAwdeOccarim8 replies#
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#
This 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. :-)
chrsstrm3 replies#
You 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#
Or if you wanted to get even cheaper, depending on the carrier, you could text a personal E-Mail server.
pfundstein2 replies#
Is ngrok the new dnat?
chrsstrm2 replies#
Expose 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.

Continue this thread — 2 replies

kalleboo1 reply#
If you're running a web server, why not just put up a page with a "ring" button and bookmark that on your phone?
syntheticnature#
Just make sure it isn't a GET, per a discussion the other week...
drcross1 reply#
I would have presumed you can have custom notification levels for specific phones calls baked into modern phones OSs.
vnchr1 reply#
iOS 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.

JustSomeNobody4 replies#
Emergency bypass in iOS should also bypass the hardware silent switch.

Continue this thread — 4 replies

idonotknowwhy12 replies#
Similar 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.

Continue this thread — 12 replies

Continue this thread — 4 more replies

lloydpick9 replies#
2 Pis for dealing with ADS-B (airplane data), one for 1090Mhz, the other for 978Mhz. I could run that on the same one, but seemed easier to just split them up given some of the software is a bit picky with device IDs. The 978Mhz is much quieter than the 1090Mhz, so I also run a private SpyServer (https://github.com/lloydpick/docker-spyserver) for listening to radio transmissions.

1 Raspberry Pi for a running a very stupid sitcom sound thing. Using a camera it tries to recognise who you are, then play a random sound assigned to you out of a little speaker. Think of like the cheering/clapping when a guest or celebrity enters the room in a sitcom tv show, and replace out the clapping with whatever sound you want.

Continue this thread — 9 replies

robreilly1 reply#
I'm Dr. Torq and have a Raspberry Pi in my Steampunk conference badge. Use it during my tech talks. I walk into the room, power down the badge, plug in the HDMI, power up the badge and run my slides with a nano-keyboard/mousepad and LibreOffice. Works great. When I'm walking around a show, the badge displays a little promotional video on it's 3.5" touch-screen. Runs on a big cell phone power pack, in my pocket. See my gadgets and hacker articles at https://thenewstack.io/author/rob-reilly/.

Continue this thread — 1 reply

Load more comments