Live data from Hacker News

Ask HN: What do you do with your Raspberry Pi?

news.ycombinator.com

871–880 of 1001 posts

Re: Ask HN: What do you do with your Raspberry Pi?

#871

I have a (basically non-existent) side business selling LED strips and RPi lighting controllers for surfboards! If you've seem some viral videos with guys surfing around at night, they were probably using my gear :-) Briefly put, I use the Glediator and Jinx! control software on an RPi, which communicates with an Arduino, which drives the LEDs. I put them in a permanently sealed box, water proof it as much as I possi…

Is it this? https://www.youtube.com/watch?v=yqgLaMc9IVA

No, but very similar! I made mine as a product you could attach to any board, as opposed to the strips being embedded and shaped into the board like the one in this video (which normally cost thousands to buy...) A few of my friends rode them at a contest in France though [1]

Alas, at the moment it's just a kick-starter pipe dream I'll never have the time to put into production.

[1]https://www.adventuresportsnetwork.com/sport/surf/night-surf...

Re: Ask HN: What do you do with your Raspberry Pi?

#872

- 1x Raspberry Pi (older, not sure exact model) - exposed to the internet and acts as a bastion host for ssh'ing into other devices on my home network - 1x Raspberry Pi Zero W - monitors several Wemo Insight Switches around the house and turns them on if they are in an off state (if the power goes out, the Wemo switches do not turn back on so I have to do it manually) - 6x Raspberry Pi 3 Model B - running in a k8s cl…

I work for Codefresh, a CI/CD solution that has ARM support. Maybe it can help you? https://codefresh.io/docs/docs/incubation/arm-support/

Nice, I'll have to look into this further!

Re: Ask HN: What do you do with your Raspberry Pi?

#873
post #723

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…

> 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 at…

Reminds me of https://www.xkcd.com/530 .

Re: Ask HN: What do you do with your Raspberry Pi?

#874

As a braille user, I was always fond of "laptops" without a built-in display, simply to save ssace, weight and power. I found a braille display which features a small compartment with micro-USB inside. Used a Pi Zero (these days 0w) to transform that braille display into a full-features Linux laptop. I documented the first version here: https://blind.guru/brlpi.html

This has got to be one of the coolest uses of pi ever. Amazing !

Re: Ask HN: What do you do with your Raspberry Pi?

#876

Earlier quoted context omitted.

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.

If you're running a web server, why not just put up a page with a "ring" button and bookmark that on your phone?

Just make sure it isn't a GET, per a discussion the other week...

Re: Ask HN: What do you do with your Raspberry Pi?

#877
post #784

Earlier quoted context omitted.

blinks ouch, perhaps it's just my colour-blindness, but just fyi I can't read your site at all unless I highlight the text. Awesome public service with the Pi bus times though, love it!

I sincerely apologize, I just relaunched my site and did not take that into consideration. I’ll definitely revisit this. Thank you!

I just changed the site to use a plain background color. Thanks again.

Re: Ask HN: What do you do with your Raspberry Pi?

#878

A security camera NVR. (Help wanted! I'm developing it here: https://github.com/scottlamb/moonfire-nvr I'm proud of the design but it's still far from a polished system that does everything a reasonable person would expect. Lots of opportunities to extend it if you're looking for a fun Rust + Javascript project.) A Raspberry Pi 2 will run a working setup; the new Raspberry Pi 4 should be a lot more pleasant in terms…

I've wanted some security cam software to run on a Pi for ages because the stuff shipped on my IP cameras is awful. Do you have any plans to offer a callback system, e.g. so when some customisable event happens (change detection, perhaps between certain hours of the day/night) it could then callback to a custom script for further processing?

My plan is to extend the HTTP API [1] with an event stream [2] that can be accessed via https-with-a-session-cookie or http-over-Unix-domain-socket. It could be used by browser-based Javascript, mobile clients, and automated event subscribers. One could write a subscriber that launches a subprocess or runs scripts in-process. I think there are a few advantages over doing this directly from the main process:

* it keeps the main process logic minimal. This API is needed anyway to make a good web interface.

* it's the easiest way to have nothing else run as the same Unix user as the main process. My design is similar to a DBMS in that that you should only ever be accessing Moonfire NVR's data through its interfaces (except for development or emergency maintenance purposes). Having a dedicated user helps enforce that.

* your script can run on a separate machine if desired

Also a couple disadvantages:

* two services to set up (main process + subscriber) instead of one.

* there's the possibility that an event happens while the main process is running but your subscriber is disconnected, so the event gets committed to the database but you never see it. The easiest thing to do is to accept skipping these (as would happen anyway if the main process is down). Or the main process could buffer events for a while. Or the watcher could have logic to "catch up" (which unfortunately means not only more complex logic but also keeping state somehow).

If you'd prefer another approach or want it sooner than I'm likely to implement it, please contribute! I have my priorities & design ideas, but if you chip in, you get a say in both. And I go pretty slowly on my own anyway, so if you're able, it's worth chipping in even if you agree with me about everything.

[1] https://github.com/scottlamb/moonfire-nvr/blob/master/design... [2] https://github.com/scottlamb/moonfire-nvr/issues/40

Re: Ask HN: What do you do with your Raspberry Pi?

#879
post #187

- Hosting personal website from my DMZ at home. - SDR and packet radio (Direwolf) projects - Kodi - rpi zeroW with usb serial for connecting back to my house from work/travel. I had more projects, but I've been able to replace them all with ESP8266's. Rpi is overkill to do simple things like toggle a gpio pin or take temperature readings. Use it if you have it, but it's nice freeing up extra rpi's with a $2 ESP.

I am planning to build Voip server using raspberry pi. Any idea how to start with this?

Take a look at RasPBX (http://www.raspberry-asterisk.org).

Re: Ask HN: What do you do with your Raspberry Pi?

#880

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 m…

Wow! That's a heck of a rabbit hole I fell into there. Lots of cool stuff there.
Post reply on HN