News for hackers. Stuff that matters.
Re:Raspberry Pi 5 by firemelt on Thursday September 28, 2023 @01:49AM (#37685735)
anyone could tell me how did you use raspberry pi?
Re:Raspberry Pi 5 by codetrotter on Thursday September 28, 2023 @01:59AM (#37685803)
Yes! I’ve used RPi SBCs for various purposes over time:

- One early RPi I bought when RPi was very new to the market. I played around with it for a while and then I put it in a drawer.

- Months later I pulled it out of the drawer and started hosting my website on it for a while. I have since moved on from using RPi at home for hosting any of my sites. Might do again at some point in time.

- I use an SBC as one of the pieces of electronics that I use for controlling over 9000 LED pixels on a sculpture for which I created the light setup and programming. The LED strips we bought are from China and were supposed to be IP65 but even so we now have a bunch of the pixels showing only red, which is bad. No fault of the SBC. Also the SBC in this installation is not an RPi. But relevant nonetheless.

- I hooked up an image sensor with a lens to an RPi and put it in a surveillance camera housing, and added PoE to it. Currently not in use but would like to deploy somewhere in the future if given the chance to do so.

- I have an RPi that I have connected a 5TB drive to in an enclosure I bought from AliExpress. This RPi I both ssh into from my phone to download things for the future, and I also run a squid proxy on it via which one of my laptops connect.

Re:Raspberry Pi 5 by a1o on Thursday September 28, 2023 @05:59AM (#37687432)
If you pair the raspberry pi with cache in cloudfare I think you can host on it - I haven't tried it myself, but have been thinking about it.
Re:Raspberry Pi 5 by codetrotter on Thursday September 28, 2023 @03:29PM (#37694539)
> If you pair the raspberry pi with cache in cloudfare I think you can host on it

Yup. That’s actually what I did :)

And then the reason I stopped hosting my site on my RPi was because I felt like, well if I depend on Cloudflare anyways, I might as well just use a VPS, or GitHub pages, or Cloudflare Pages :p

But there is something appealing in hosting things from home still. And doubly so when doing it without relying on Cloudflare etc

What I will do however, is that next time I set up some internet reachable hosting of content at home I will maintain one version of it that is directly served from the machine at home itself, and then I will keep an up to date copy of it on one of my externally hosted servers.

Re:Raspberry Pi 5 by fragmede on Thursday September 28, 2023 @02:34AM (#37686084)
Courtesy of https://xeiaso.net/blog/gokrazy (https://news.ycombinator.com/item?id=37583234 ); a "go" link shortener, memegen, and pastebin.

I also wired up my garage remote to it, so I can hit a web page to open up my garage.

Re:Raspberry Pi 5 by benwilson-512 on Thursday September 28, 2023 @01:59AM (#37685812)
The processing unit in my espresso machine died and was back ordered for 4 months, so raspberry pi to the rescue!

Is that much processing power necessary? Not even a little, but hey now it hosts its own web UI (local network only).

Firmware (Elixir, nerves): https://github.com/benwilson512/coffee_time/blob/a49814e5d8a...

Re:Raspberry Pi 5 by TaylorAlexander on Thursday September 28, 2023 @02:09AM (#37685889)
The Raspberry Pi CM4 is the main system processor for our open source solar powered farming robot called Acorn. I designed a custom motherboard for it in Kicad. We also use the Raspberry Pi RP2040 processor on our custom dual brushless motor controllers (also designed in Kicad).

https://community.twistedfields.com/t/january-2023-update-ne...

Re:Raspberry Pi 5 by obscurette on Thursday September 28, 2023 @02:15AM (#37685934)
- Two LibreELEC (https://libreelec.tv/) mediaplayers in house (yes, one is not enough in my big family).

- One for hosting low usage applications at home network (Unifi controller and some more).

- Octoprint (https://octoprint.org) connected to the 3d-printer.

- One on my desk for hardware hacking – mostly as just a PC with GPIO.

- Some wireless Raspberry Pi Zeros as security cameras.

Re:Raspberry Pi 5 by askvictor on Thursday September 28, 2023 @02:29AM (#37686037)
Home server/media centre, serving :

* Squeezebox music system

* Plex video library

* Homeassistant home automation

* Retropie gaming

* PiHole ad blocker (I have a second older pi running just this for redundancy)

* Running a couple of minor web services and scripts on cron jobs.

Re:Raspberry Pi 5 by justusthane on Thursday September 28, 2023 @02:16AM (#37685942)
RPi 4:

  - VPN server (Wireguard)
  - Network ad blocking (Pihole)
  - DNS resolver (unbound)
  - DynamicDNS client
  All running in Docker containers.
RPi 3:

  - Home Assistant for home automation.
I also have a Pi Zero that I intend to use to drive an e-ink screen for a wall-mounted display, but I haven't set that up yet.

Previously I've also used the RPi 3 running AirPlay and hooked up to external speakers as a poor man's Sonos.

Re:Raspberry Pi 5 by mytailorisrich on Thursday September 28, 2023 @02:24AM (#37685994)
It conttrols sensors in my desk drawers and notifies me when I have space to buy more Raspberry Pis.
Re:Raspberry Pi 5 by heresie-dabord on Thursday September 28, 2023 @07:20AM (#37688016)
This _does_ describe a specific class of ANTESACH (Absurd Nerd Tinkerer Enjoys Sensors And Cheap Hardware).

Thank you for the laugh.

Re:Raspberry Pi 5 by fulafel on Thursday September 28, 2023 @02:04AM (#37685840)
Lots of them are also going into commercial products, eg https://www.raspberrypi.com/news/production-and-supply-chain... from a time of tight supply said "We spend a lot of time on backlog management. We have to balance volume demand from commercial and industrial customers with the demand we see from individuals. Right now we feel the right thing to do is to prioritise commercial and industrial customers – the people who need Raspberry Pis to run their businesses – we’re acutely aware that people’s livelihoods are at stake."
Re:Raspberry Pi 5 by Renaud on Thursday September 28, 2023 @02:16AM (#37685938)
An older one as a PiHole for my home.

A Rpi3 as an octoprint server for my 3D oeubter, including canera feed.

A friend uses his as a HomeAssistant server to monitor and manage his home lights, temperature and garden watering needs.

And I have one as a nifty remote KVM (TinyPilot) that we also use for work. Connect it to the Internet and a PC and you can control that machine remotely.

Also use it as a Windows RDP thinclient.

And to tinker on electronic projects.

Re:Raspberry Pi 5 by pmontra on Thursday September 28, 2023 @02:11AM (#37685902)
The only one I'm using now is a Pi 3 (B?) with a DVB TV hat. I'm using it to stream broadcast TV to my tablet or phone. I can watch TV anywhere in my house. I very rarely turn on my TV now.

I have another PI in a drawer as backup. I replaced all of them with Odroid since it became nearly impossible to buy Pis. I wonder if they'll start to make them available again to normal people but I don't know if I'm trusting the company anyway.

Re:Raspberry Pi 5 by kristopolous on Thursday September 28, 2023 @02:19AM (#37685956)
It's my Wi-Fi hotspots, gateway, and network servers. I've got more powerful machines but it can route packets, serve http requests, manage dhcp, simple things like that without problem.

I use a USB 3.0 Ethernet cable for the second port. It can keep up just fine.

Re:Raspberry Pi 5 by bagels on Thursday September 28, 2023 @01:57AM (#37685793)
As a controller for my lawn sprinklers that adjusts watering time based on historical rainfall data. Better than adjusting it every few months manually.

Custom cron job that uses:

https://opensprinkler.com/product/opensprinkler-pi/

Re:Raspberry Pi 5 by betamist on Thursday September 28, 2023 @02:13AM (#37685916)
Home assistant instance with zigbee usb dongle, Volumio receiver connected to my speakers, screen for calendar, plant monitor, and for a while as a Kodi station.
Re:Raspberry Pi 5 by Jaxan on Thursday September 28, 2023 @02:16AM (#37685936)
I run Nextcloud on it, to backup and sync documents at home. I just bought a 128GB sd card instead of using external storage via usb.
Re:Raspberry Pi 5 by ivolimmen on Thursday September 28, 2023 @02:38AM (#37686117)
The lifetime of an external USB drive is better than the SD card. My PINE64 after a few years stopped working due to the SD card giving up. It was a pain to recover my database from it but I did manage... that is why I am interested in this PI because of the PCI interface...
Re:Raspberry Pi 5 by dm270 on Thursday September 28, 2023 @02:01AM (#37685827)
Home Assistant for home automation. Homematic for HVAC integration. Syncthing for backing up my phone's data.

And last but not least just a Linux machine to ssh into to play around with.

Re:Raspberry Pi 5 by nixarn on Thursday September 28, 2023 @01:59AM (#37685810)
Mine's reading temperature, humidity and pressure from sensors and uploading it to a VPS. My second one that is, my first one hasn't done more than collect dust.
Re:Raspberry Pi 5 by cptskippy on Thursday September 28, 2023 @02:06AM (#37685854)
You can do that with the lowly ESP8266.

https://imgur.com/a/UhL4OuD

Re:Raspberry Pi 5 by fulafel on Thursday September 28, 2023 @02:16AM (#37685939)
Cool stuff.

Connectivity can tilt towards RPi, you can do vpn, ipv6, mobile data (if you use a usb stick), ethernet etc.

Re:Raspberry Pi 5 by cptskippy on Friday September 29, 2023 @01:26PM (#37707454)
Absolutely, ESPs are just microcontrollers. A Pi is a fully functional System-On-Chip. That being said the VPN is the only usecase you mention where you couldn't use a flavor of ESP.

Funny thing is that modern 3G/4G/5G modems are full System-On-Chip computers themselves supporting virtualization. The Qualcomm Snapdragon MSM8916 is a popular SoC used for LTE dongles that runs the modem Baseband Real-time OS and Debian/Android OS on the same CPU.

Re:Raspberry Pi 5 by lproven on Thursday September 28, 2023 @07:35AM (#37688131)
> my first one hasn't done more than collect dust.

If you mean a Raspberry Pi 1, try RISC OS.

Very un-Unix-like, predates Linux by nearly a decade. Single-core and goes very fast on a Pi 1.

https://www.riscosdev.com/direct/

Re:Raspberry Pi 5 by euoia on Thursday September 28, 2023 @01:57AM (#37685795)
I use it as part of a till / ePOS system to run a small node / express http server that drives a receipt printer and cash drawer.
Re:Raspberry Pi 5 by morjom on Thursday September 28, 2023 @01:57AM (#37685791)
I used my 3B+ as a Vaultwarden server and PiHole.
Re:Raspberry Pi 5 by ShadowBanThis01 on Thursday September 28, 2023 @01:56AM (#37685789)
I use one to control my 3-D printer, with OctoPi. It also delivers a webcam feed, so I can monitor progress. Huge time-saver!
Re:Raspberry Pi 5 by sdenton4 on Thursday September 28, 2023 @03:09AM (#37686336)
I made one into a time-lapse camera and shot a five month time lapse video. Learned a good bit of computational photography in the process.

https://youtu.be/cyh0QJT0rAQ?si=Tcf-CjcD8BFZgSDq

Re:Raspberry Pi 5 by avidiax on Thursday September 28, 2023 @03:44AM (#37686557)
* Fileserver (SMB)

* Download agent (i.e. torrent, JDownloader, ARIA)

* Tailscale exit node

* Endlessh tarpit

* Sadly more reliable than my Mac Mini when running server workloads (lots of open SMB files crash MacOS)

And all of this at quite a low power dissipation, which is the primary expense in running a home server.

I don't do these things, but could:

* PiHole

* Kodi or Plex STB

* Add a hat and have an indoor air quality monitor or similar

Re:Raspberry Pi 5 by magicalhippo on Thursday September 28, 2023 @04:11AM (#37686747)
Two for PiHole (primary and backup DNS)

One for Stratum 0 NTP server (using GSP module with PPS)

One for Home Assistant

One for monitoring the solar power at my cabin, using a 4G USB device to send data home.

The Home Assistant runs on a 4B, the others are using 3B's and a clone (NanoPi Zero).

Got some Pi 4's that I use for various Linux experimentation and such. Sometimes I find it easier to get a Pi 4 up and running than a VM, and other times I need the GPIOs.

Re:Raspberry Pi 5 by renegat0x0 on Thursday September 28, 2023 @04:16AM (#37686787)
My setup

- nextcloud

- django test environment

- pihole

- simple NAS

Re:Raspberry Pi 5 by 72deluxe on Thursday September 28, 2023 @04:34AM (#37686922)
My Pi4 (8GB ram) runs:

1. Mox mail server at home (PTR record set up with ISP) - https://github.com/mjl-/mox.

2. Web server (no external hosting hurray); TLS set up via LetsEncrypt.

3. Navidrome for streaming my music collection to my phone/computers. I ripped my thousands of CDs to MP3. I use subtracks on my phone for listening to it, and sonixd on my computers (Mac/PC). https://github.com/navidrome/navidrome

4. mpd for driving some speakers via a USB audio interface so I can use some speakers plugged into the Pi for listening to music in the same room as the Pi (practicing guitar). I control this via the Supersonic app on my phone.

5. Wireguard VPN so I can connect home.

6. PiHole for my network at home. Combined with Wireguard, it means my phone is permanently connected to my home network and gets ad-blocking and stops apps dialing home. I use DroidHole on my phone to see what's going on.

7. xrdp server running, so a usable desktop is always available.

8. miniDLNA running connected to a NAS box so that I can watch all my DVDs easily on my TV downstairs (I spent weeks ripping them).

9. Tuya IoT API for turning some smart plugs in the house on/off via cronjob; I do this instead of using the timer in their app because it means my phone can be off the network/abroad and these plugs/lights still turn on/off.

10. linx-server (https://github.com/andreimarcu/linx-server) for sharing files so that I don't have to use Google Drive and share with people that way.

11. Peer Calls (https://github.com/peer-calls/peer-calls) so I can video conference in decent quality without having to use Google Meet / Teams etc. I also host a STUN and TURN server on the Pi so that Peer Calls works behind NAT.

It fetches time over NTP on a cron job. It also blocks various ASNs and IPs by country on a cron job to stop annoying remote pests and cloud providers. It also runs Monitorix so I can see system load, and goaccess on a cron job so that I can see who's hitting my website without having to resort to analytics nonsense.

It boots from USB3 (it has a NVMe in an IcyBox caddy).

Incredibly useful device.

Re:Raspberry Pi 5 by riddley on Thursday September 28, 2023 @02:07PM (#37693345)
Out of curiosity, why run NTP from cron vs ntpd or chrony?
Re:Raspberry Pi 5 by ThatPlayer on Thursday September 28, 2023 @05:19AM (#37687173)
I've got one setup at work as a display for some networked security cameras. Displays 4 concurrent 720p streams on a TV for the office 24/7. Cheaper than Ubiquiti's solution [0] as we didn't need more than the 4 streams.

At home I've got one for Home Assistant, one as a TV box because Netflix's sharing blocking check is only on smart TV apps. I've also got multiple as 3D printer controllers (klipper/octoprint).

[0] https://store.ui.com/us/en/pro/category/all-cameras-nvrs/pro...

Re:Raspberry Pi 5 by poulpy123 on Thursday September 28, 2023 @06:41AM (#37687719)
I used for some years a raspberry pi 2b as a media player with kodi. Then a bit as octoprint server to control a 3D printer.

I will explore a way to use a RP4 or now RP5 for a local NAS that would be extensible and that could run more services and yool that my current QNAP TS-28A but I'm not very confident I will follow

Re:Raspberry Pi 5 by Fnoord on Thursday September 28, 2023 @07:33AM (#37688118)
I use

* 1 CM4 for a PiKVM on my desktop (my main home server uses a proprietary iLO).

* 1 CM4 as router running OpenWrt, to replace my ER-Lite.

* 3 CM4s in a Turing Pi 2, one Jetson Orin for ML. This is my homelab. The CM4 are running Dietpi.

* 2 RPi4 as remote VPN (Wireguard) endpoints to do tech support for my mother-in-law and mother. Also serves as Jellyfin server containing old movies, and jumphost for NAS backup.

* 2 RPi0 2 W with Enviro+. One indoor, one outdoor (with different, custom 3D printed casings). Runs Raspbian, will switch these to Dietpi.

* 1 RPi3 for with my portable HackRF (with custom 3D printed case). Batteries included!

* 1 RPi0 W for Pwnagotchi. Not really used anymore but too cute to break.

* 1 RPi0 W for Pimoroni grow to track water management in plants (with 3D printed case). Need to get that project moving, it is for my mother.

* 1 RPi3, 1 CM4 unused as backup for if something breaks.

* 1 RPi2, 1 RPi0 W unused for nothing.

The 1 RPi3, 1 CM4, 1 RPi2, 1 RPi0 W I should sell as they're right now 'Raspberry Piles'. Won't use them. Once I get a 3D printer I might need Octoprint, I suppose I could use one of these machines for that.

Re:Raspberry Pi 5 by brunoqc on Friday September 29, 2023 @01:54AM (#37699771)
> 1 CM4 as router running OpenWrt, to replace my ER-Lite.

CM is the computer module, right? what kind of "board" do you use the CM4 with to use it as a router?

Re:Raspberry Pi 5 by Fnoord on Friday September 29, 2023 @05:36PM (#37710373)
I went with Dfrobot [1] because they also sell a case (and it is all in stock). Had the CM4 already. I wouldn't have minded another one if I could've 3D printed the case but I didn't find such. Btw, I did have to go from 3 to 2 ports.

Right now it is hooked up on my switch. I intend to put it between my desktop and my switch and run some iperf3. Because I'll get fiber soon, and I'd like to be able to saturate that.

[1] https://www.dfrobot.com/product-2705.html

Re:Raspberry Pi 5 by brunoqc on Sunday October 01, 2023 @11:28AM (#37726816)
Thanks!!
Re:Raspberry Pi 5 by zoomTo125 on Thursday September 28, 2023 @07:47AM (#37688221)
mostly as a jump host
Re:Raspberry Pi 5 by rsaxvc on Thursday September 28, 2023 @07:58AM (#37688327)
Pi2 with RTLSDR to monitor local flights in the area.

Pi4 for SSH server and general arm64 playground.

Pair of Pi4 running Ardupilot and OpenHD, one on my quadcopter, one driving the base station monitor and antenna tracker.

Re:Raspberry Pi 5 by spacechild1 on Thursday September 28, 2023 @02:30PM (#37693672)
various multi-media art installations
Re:Raspberry Pi 5 by x0x0 on Thursday September 28, 2023 @06:56PM (#37697040)
I have a nice amp (Loxjie A30), but the bluetooth connection is both fidgety and subject to all the usual bluetooth incompetence (year 20 of the alpha test.)

I have a raspberry pi running a spotify connect implementation outputting audio to the amp via usb. It sits there and silently (or, well, not so silently) works; it's great!

There's some mucking with alsa to get it set up, but under 90 minutes.