Live data from Hacker News

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

news.ycombinator.com

581–590 of 1001 posts

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

#581

Earlier quoted context omitted.

> Despite many people's preconceptions about the goodness of the internet, I must admit that they do a wonderful job caring for my plant! Maybe I should create a subreddit where people can control a bot that has access to my bank accounts so they can manage my finances, invest some, etc. ;-)

Didn't someone do this with Twitch Plays Stocks? Essentially gave them some capital and let the chat decide what trades to make. They nuked the portfolio within 24 hours.

On average (and very much more than just average) there is a negative correlation between trading frequency and portfolio performance (you are not an HFT firm, don't compare yourself to one).

Set up a system like that wrong, and it doesn't matter how smart the crowd is, you're going to lose all your money. It would be interesting to play with the parameters of the game and see how results changed. (how often trades are made, max portfolio % per trade, voting mechanics, etc.)

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

#582

I have several * Pie-hole and runs Nagios to collect information about things going on inside the network. * One running a PiDP-11 (pdp 11/70 emulator) as well as providing MOP service to boot my DEC terminal multiplexor (it provides the boot image when the mux comes up) * One is a stratum-1 time server using an Adafruit GPS module with PPS output. This because I got tired of both the reflection attacks and trying to…

What time series DB do you use?

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

#583
post #495

I've done digital signage, controlled servos, used them as cameras, the works. Right now I have: - A 5-node Pi 2 cluster running k3s.io ( https://github.com/rcarmo/raspi-cluster ), and a separate Pi 2 I use as a Docker build box and local Docker registry. - A Pi 3B+ as a "lab" desktop computer with an USB oscilloscope and FTDI cables to flash ESP8266 and Arduinos - A Lakka.tv arcade/MAME box for the kids with a PS3 c…

What SW do you use for digital signage?

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

#584

I run a plex media server on my 3b+. The server is on the wall below my router (attached via ethernet), a 2TB HDD sits next to the server. I put movies & TV for my kids on the server, then they can watch on one of two TVs in the house via Roku. It's good for getting them off trashy Netflix movies & making classics (or what I consider classics at least) available to them. I chose this configuration rather than running…

What Plex install guide did you use? Few months ago I tried to install Plex to a pi already running Pihole but couldn't get it to work.

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

#585
post #247

Networked sound card that can also play by itself via ssh/screen/mpv when the main workstation is down. That was the easiest way to avoid ground loops in my home audio setup.

What software are you using for the virtual sound device, and does said software work with Windows?

Pulseaudio with network plugins. It does not.

Maybe some ancient version does:

https://www.freedesktop.org/wiki/Software/PulseAudio/Ports/W...

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

#586
post #271
post #166

Earlier quoted context omitted.

I am also interested in your CO2 sensor. What kind of CO2 sensor?

This is the sensor that I'm using: https://www.co2meter.com/collections/desktop/products/co2min...

Any reason you picked that sensor over others?

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

#587
post #117
post #101

- LED Light alarm - Living room music player & "radio" streamer -- I need to set this up as an A2DP audio receiver too - octoprint server - Stratum 1 NTP server (GPS referenced) If I didn't also have a "big" linux system running 24/7, it would be doing things like DHCP, DNS, MQTT server, etc.

I'm interested in learning more about your LED light alarm set up—I had a similar idea a while back but am less familiar with the world of Raspberry Pi.

Thanks for asking! I haven't documented it anywhere, and the source code isn't suitable for consumption by others. But, I can tell you about the basics.

I bought a "12V" LED strip intended for automotive use, and created a simple circuit with a +12V DC supply and an NPN transistor. By hooking the NPN transistor to a PWM output on the Pi's I/O (via a resistor), I can control the LEDs from nearly full darkness to their maximum brightness. Here's a tutorial that covers the same ground: https://dordnung.de/raspberrypi-ledstrip/

There's also a switch for "disable alarm no matter what" and "turn light on/off right now". (I also use it as a nighttime reading lamp, with the added bonus that it starts ramping down the brightness after about 25 minutes and turns off after 30: a good reminder to go the f--- to bed)

This all hooks to some not very interesting software to listen to the buttons, carry out an alarm schedule, ramp the LED intensity up and down, and so forth. In my case, it's written all in Python in a sort of timer-and-event-driven style.

Since this pi has wifi, one part of a traditional alarm clock is missing: it sets the time from NTP and applies the standard DST rules to obey summer time; there are no controls to set the time, and even after a midnight power outage it'll generally alarm at the right time in the morning, as long as power came on at least a few minutes before the appointed minute.

I've had a number of variations on homebrew light alarm over the years, AVRs and arduinos, TRIACs switching standard incandescent lamps, RGB LEDs simulating the sunrise color sequence, etc. It's the sort of project you can always do again and explore more of the problem space and find what works best for you.

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

#588
post #112

Using several Raspberry Pis to monitor CO2 levels in my house. Each Raspberry Pi has a CO2 sensor - wrote a little Python script to retrieve data from sensor and upload it to a server Which is also a Raspberry Pi.

I think CO is more dangerous than CO2! Why not CO?

CH4 is also dangerous. It's a different problem. CH4 blows up your house and is very rare. CO kills you and is very rare. CO2 buildup causes mild issues (like headaches, sleepiness) but is very common.

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

#590
post #562

Outside of off the cuff experiments, most of my Pis are provisioned as MotionEyeOS[0] security cams. Each client can be linked into a central "server" so you can view them all at once, and lots of nice config options for storing or sending image and video either continuously or based on motion. I have the streaming set up so I can peek in from anywhere using VLC on my phone. [0] https://github.com/ccrisan/motioneyeos…

Do you need one pi board per camera?

There’s only one camera ribbon connector on a Pi board, not sure if you could also plug in a USB cam or not.
Post reply on HN