this post was submitted on 12 Oct 2023
49 points (96.2% liked)

Selfhosted

40407 readers
239 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

I have an old Pi hanging around doing nothing. When I originally got it it had the latest Pi OS with desktop loaded and ran like garbage, not surprisingly. So I messed with it headless for a bit, then found RISCOS as an option in Pi imager utility and that is just a neat OS. Fun to play around with for sure. But now I'm wondering what else I could use the old thing for. I see folks run Pihole on it, but I've already got 2 instances of Adguard Home running.

Could this handle Syncthing? Or would the data transfer be so bad it's not worth it? Wouldn't mind having an off-site backup device at my parents house if it would work.

Anyone else got one in their homelab?

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 18 points 1 year ago

It might be too outdated to do major services, but it's still fine for its original use - interfacing with electronic components.

You could build a weather station, monitor temperature and humidity in your attic and crawlspace, automatically water plants, etc. You don't need much electronics knowledge for that sort of thing.

[–] [email protected] 13 points 1 year ago (2 children)

I had a really important role of my Pi 1 B+ for a long time; it was a network storage for my PlayStation 2 to play ISOs from the network with Free McBoot and Open PS2 Loader.

grabbed a big HDD, and old CD drive case and put everything inside. The Pi could be powered from the PS2s USB, hooked up a short network cable and it was ready to go.

Tho I still have that PS2, it's not in use anymore, so neither the Pi.

[–] [email protected] 1 points 1 year ago

nice, it wasn't where you could do that with the PlayStation 2

[–] [email protected] 1 points 1 year ago (1 children)

That's great. I wonder if the same could be done on the original Xbox. I believe it had the ability to play over network connection from ISOs on a PC if modded. I have one kicking around that I have yet to put a bigger HDD in.

[–] [email protected] 1 points 1 year ago

the PS2 needed only just a Windows Network share (SMB). I guess the XBOX too should have an option for that, so I don't see any problem with it

[–] logos 11 points 1 year ago (1 children)

Mine is my DNS. Pi-hole with unbound.

[–] [email protected] 1 points 1 year ago (1 children)

Hmmm unbound does work with AGH too.... Might have to look at trying this

[–] [email protected] 2 points 1 year ago (1 children)

Using it for Pihole + Unbound also, but running on DietPI OS. I recommend trying DietPI, since it is is basically Pi OS on a diet, which is very important on such an old device. It has a lot of software preconfigured to make them lighter, using less resources etc. You should really try it.

[–] [email protected] 1 points 1 year ago

I will check it out. I thought it was the same thing as the desktop-less options in the Pi Imager.

[–] [email protected] 8 points 1 year ago (1 children)

This would be perfect for a BBS.

[–] [email protected] 1 points 1 year ago

Interesting. I guess this is one of those technologies I knew about but didn't have a name for it! I will look into this .

[–] [email protected] 7 points 1 year ago

Mine is still going strong and runs my irrigation system with the gpio interfacing with a relay board.

[–] [email protected] 6 points 1 year ago (2 children)

The original Pi B had a single core 700mhz ARMv6 processor and 512mb of memory. It's fine for embedded projects using GPIO or a mini LCD screen, but that's about it. You'd be lucky to even decode 720p video on it as a streaming box.

It might work neat as a monitoring device to keep tabs on the rest of your homelab machines and display a status output or something.

[–] agitated_judge 15 points 1 year ago

No, the original Pi B can play 1080p video just fine. The video is not decoded by the CPU. H264 and older codecs play just fine. It cannot handle h265 videos as it doesn't have a hardware decoder for those. Kodi works just fine in fact. The interface is a little bit slow, but actual video playback is fine.

[–] [email protected] 1 points 1 year ago

I did overclock it a bit. I think it's at 900mhz now, reliably. Probably not enough in the grand scheme of things. But hey, it's something!

[–] [email protected] 5 points 1 year ago (4 children)

I was wishing I had one just recently. I'm not smart enough to get my ancient APC UPS to interface to Debian with the USB cable, so I need a device I can ping that's plugged into the mains (ie not through the UPC) so I can run a script that shuts the server down when the Pi stops responding to the pings.

So that's all it'd need to do - respond to pings when it's powered on. I've ordered a B+ for exactly this job.

[–] [email protected] 5 points 1 year ago (1 children)
[–] [email protected] 3 points 1 year ago

No. That looks very promising. Thanks, I'll check it out!

[–] [email protected] 3 points 1 year ago (1 children)

Probably cheaper to just use an ESP8266 or the like

[–] [email protected] 4 points 1 year ago (1 children)

ESP8266

Thanks - I sort of had that Idea and looked at the ESP32 with an Ethernet port, but it was looking complex to flash because of no UART etc. Looks like the ESP8266 would need an add on for Ethernet? Plus I might still be out of my depth figuring out how to flash it?

I also considered an Ethernet hat for the Uno since I have a couple of them floating around somewhere, but in the end the B+ was cheaper. Those little boards would probably be better for power consumption as well though

load more comments (1 replies)
[–] [email protected] 3 points 1 year ago

That's a clever idea. My UPS does already have the smart pants features like that, but I love the simplicity of that as a concept.

[–] [email protected] 2 points 1 year ago (1 children)

Does it have the weird rj50 (yes 50) endpoint ?

[–] [email protected] 1 points 1 year ago (1 children)
[–] [email protected] 2 points 1 year ago (2 children)

i have made a stl of that if you need the cable, it is janky but it works

load more comments (2 replies)
[–] [email protected] 5 points 1 year ago

ADS-B receiver that uploads to ADSBExchange, Flightaware, and FlightRadar24. Start tracking the skys

[–] [email protected] 5 points 1 year ago

I use mine as kitchen radio with https://moodeaudio.org/

[–] [email protected] 4 points 1 year ago

I was thinking about hooking one up to a GPS module to run a local NTP server

https://blog.networkprofile.org/gps-backed-local-ntp-server/

[–] [email protected] 4 points 1 year ago

I was using it for Pi-hole all the way up until I got a 4b and then put Pi-hole in a docker. Solid dude, will be hanging on my wall like those disassembled iPhones

[–] [email protected] 4 points 1 year ago (2 children)

I don't see why it wouldn't handle SyncThing, as long as you're not syncing a lot of clients.

You could also get a cheap screen and use it for a news/weather/social feed.

[–] [email protected] 1 points 1 year ago (1 children)

I think the Pi 4 was the first Pi with gigabit ethernet. All the Pi's before that were limited to 100Mbit. For that reason, syncthing is probably a bad idea since it will be very slow in terms of syncing speed

[–] [email protected] 4 points 1 year ago

Eh, maybe. Depends on how much they're backup up and how often. They said the backups are off-site, so unless BOTH locations have a very fast connection, I'd bet that 100Mbit networking wouldn't be the huge bottleneck that you're thinking.

load more comments (1 replies)
[–] [email protected] 3 points 1 year ago (1 children)

Make a Pi-hole for friends/family, unless you want to build discrete hardware projects that don’t need a fast CPU. My 17-year-old niece is doing breadboard projects on this gen of Pi.

[–] [email protected] 2 points 1 year ago (1 children)

That's an idea. Might have to do it for my parents. Using their internet is darn near impossible without ad blocking :)

[–] [email protected] 2 points 1 year ago (1 children)

It’s a mitzvah indeed!

Have also heard of adult children installing Pi-holes in their parents’ houses to stop them from visiting Qanon hotbeds.

[–] [email protected] 2 points 1 year ago (1 children)

That's great. Thankfully my parents have steered well clear of that mess. But would help to not click on the more "convincing" ads.

[–] [email protected] 1 points 1 year ago

We can’t be far from the first wave of uniquely targeted scam ads with faked photos/audio/video of the user’s friends, family, boss, etc.

My mother-in-law sent thousands of dollars for years to a fake UN official.

[–] [email protected] 2 points 1 year ago

i use an old pi1b to run rtl433 with some even older dvb-t stick to grab weather data from my neighbors (who can afford a brand new bresser weather station with wind speeds and everything etc..) and send that to mosquitto for use with home assistant. but can track even more...i figured out car tire air pressure sensors and other stuff give me a good insight on wether the neighbors are home or not.

[–] [email protected] 2 points 1 year ago

I had a pi 1b running my hvac/humidifier/HRV unit at home for years. Only removed it when we moved out.

[–] [email protected] 2 points 1 year ago (1 children)

I know you have an adguard, but have you thought about ditching those and using pinhole+unbound?

[–] [email protected] 1 points 1 year ago

I used Pihole for years, but have found AGH an overall better UI from a management perspective. And a quick searchs shows that unbound can work with AGH as well so I may give that a try.

[–] [email protected] 2 points 1 year ago (1 children)

I have the exact same model sending me birthday reminders daily. Scraped all my facebook friends’ birthdays years ago and made a very basic telegram bot. Saved me more than one embarrassing moments, including today, as I completely forgot about my brother’s birthday.

[–] [email protected] 2 points 1 year ago

That's a fun idea.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (3 children)

Related to OP's question: is it possible to have the 1B boot from something other than an SD card?

I ran it as a PiHole for awhile, until it chewed through two SD cards. I'd like to use it for the GPIO functionality but I don't want have it randomly crap out again.

[–] [email protected] 4 points 1 year ago

Yes you have the kernel in the SD card and the root on usb

[–] [email protected] 2 points 1 year ago

You may want to try sd cards designed for security cameras. They are meant to be recorded to 24/7 and have higher write endurance.

[–] [email protected] 1 points 1 year ago

I don't believe so - the docs mention several ways to boot a pi but most only work for newer models.

An option might be to boot an SD card read-only and run everything over NFS. It's trivial to do that sort of thing with some UNIX clones (OpenBSD, for instance), but I don't know about a modern Linux.

[–] [email protected] 1 points 1 year ago (1 children)

Since its GPU has composite out, why not a cool arcane cabinate?

[–] [email protected] 1 points 1 year ago

Funny thing, I bought this one used off eBay to interface with my CRT TV for retro games (NES/SNES) because it had analog out. I didn't realize at the time that most, if not all pi models can do it too. It's just combined with the 3.5mm headphone jack. It's an AV port! Oh well, got this one for a song so I'm not too mad about it.

load more comments
view more: next ›