this post was submitted on 21 Nov 2024
33 points (97.1% liked)

Selfhosted

40382 readers
575 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've got a Lenovo M720q running as my main server in my home and it's more than powerful enough for anything I could be doing right now. However, I also have a Le Potato lying around that I'd like to do something with. Any suggestions?

top 22 comments
sorted by: hot top controversial new old
[–] [email protected] 26 points 5 days ago* (last edited 5 days ago) (1 children)
  1. DNS resolver, like pi-hole, unbound with adguard, diversion, etc.
  2. RMS server: a lot of Remote Desktop software has the option to install a listener on a low power device elsewhere on the network that can use wake-on-lan to access computers within the network without keeping everything on 24-7.
  3. Log aggregator: would be useful for anyone who troubleshoots stuff regularly, but historical info of any kind can come in handy.
    Simplest form might be a scribe server. Network gear often has an option to send logs to a particular URL, so if you added the scribe server IP/port to the field you’d have historical network logs.
  4. Additional loggers: could also be run on-device, such as a wifi connectivity checker, smart home or energy monitoring state data, decibel meter with USB microphone
  5. RADIUS server for managing enterprise WPA keys
  6. Mobile home: due to the size and power draw, when paired with a hotspot and battery the potato could be useful as a mobile service repeater, a VPN client that deploys your home services on the go (e.g. in a vehicle, hotel room, family/friends’ houses, etc) to arbitrary client devices. If you use the same SSID/PW and encryption type, personal devices would use it automatically during travel.
  7. Home theater box like kodi or jellyfin client

At the level of individual apps, the list explodes. Many progressive web apps can be hosted essentially for free on the potato, so you could shunt your always-on services to this machine to allow low power states on a beefier machine. For example:

  1. Network management or security software like Fing
  2. Low throughput NAS or incremental backup management server like rdiff, TimeMachine, etc
  3. inventory management like partkeeper, storaji, etc
  4. Smart home bridges like homeassistant or homebridge
  5. Bookmark aggregator or landing page like heimdall, raindrop, pinalist, etc
  6. Retro game emulators or ROM libraries like retropie
  7. Photo libraries like photoprism
  8. Book libraries like calibre-web

Edit: list subitem formatting messed up
Edit: add common micro services, mobile deployment
Edit: add home theater suggestion
Edit: add always-on and PWA examples

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

Add to the list running a Kodi home theater box.

[–] [email protected] 2 points 5 days ago (1 children)
[–] [email protected] 3 points 5 days ago* (last edited 5 days ago) (1 children)

Since we’re open sourcing your comment (🇨🇳 our comment, comrade), may I suggest you split the list? A lot of the services are things that can run on an SBC but OP already has extra computing power on a mini PC, so are likely better hosted there. A subset of them offer clear benefits being hosted in a small appliance.

Edit: to be clear, I’m thinking OP wouldn’t consider items 7-13 a strong enough case to spin a separate machine.

[–] [email protected] 2 points 5 days ago

Good point, comrade. App services split to separate list.

[–] lka1988 7 points 5 days ago

I run Pi-hole and PiVPN on my Pi 0W.

[–] [email protected] 6 points 5 days ago

Sensors. Especially sensors in your living space where fans or other noise from the proper server would be distracting, or in a tight space - inside your HVAC, for example - where a proper server wouldn't fit.

Media front-end. Most of those SBCs are more than enough to run a kodi or jellyfin frontend, fanless for minimum distraction.

Robot. Low power requirement so it could be mobile; but there are lots of stationary possibilities. GPIO libraries are great for running servos and there's tons of libraries to facilitate.

[–] [email protected] 6 points 5 days ago

Home Assistant for family members

[–] [email protected] 5 points 5 days ago

Media server client, pihole, emulation, programming or home automation project. You could even prop it up as a standalone web server and make some kinda creative thing.

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

Lower power draw is about it. But there are now x86 SBCs that can also run on as little as 6W so there's no reason to compromise and use ARM's non-standard fragmented BS.

[–] [email protected] 6 points 5 days ago (1 children)

Which x86 SBC is that? I'm interested!

[–] [email protected] 7 points 5 days ago* (last edited 5 days ago) (1 children)

The LattePanda Mu is configurable and can operate on as little as 6W up to 35W depending on your use case. The much more affordable Radxa X4 can operate on as little as 18W up to 25W if you need to power peripherals via USB.

Both use an Intel Processor N100 SoC which is surprisingly powerful and efficient given that the Processor N series is the new branding for what used to be called Celeron.

The prices are also competitive. The X4 for example sells for exactly the same price as the Raspberry Pi 5 with the same amount of memory at every memory capacity tier while having a CPU that's twice as powerful and compatible with way more software and OSes and a GPU that is absurdly more powerful and fully publicly documented such that there are open source drivers for every OS under the sun.

As an OS developer both professionally and outside of work I have to say I really despise non-x86 platforms and ARM in particular for how fragmented they are and their vendors' utter disregard for any form of standardization at the platform, firmware, or peripheral levels. That's why I'm really thankful that devices like these exist and are affordable.

[–] [email protected] 2 points 5 days ago* (last edited 5 days ago) (1 children)

I have an N100 mini PC running all of my self hosted stuff and it is amazing.

[–] [email protected] 2 points 5 days ago

I've been using a cheap N200 laptop as a testbed for novel OS kernel development and it's absolutely perfect.

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

Donate it.

Using it just draws more power.

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

To the average tune of about 15-65 cents per month if running 24/7

[–] [email protected] 1 points 3 days ago

Oh wow, that's way more efficient than I expected for old hardware.

[–] [email protected] 4 points 5 days ago

Single board computers have GPIO and interfaces like SPI and I2C. They also tend to have lower power consumption and can run from 5 volts. If you want to interface with low level hardware or run from batteries, the SBC will usually be the better choice.

[–] [email protected] 2 points 5 days ago

As mentioned many times I'm sure, I use my rpi's as a pi-hole/VPN. It's nice having them as dedicated devices for low power things, if my main server ever fudges up, my VPN still works and internal DNS is still resolved. If I'm not home and get complaints from the family that jellyfin isn't working, I can either fix it remotely or wake up my dev server for them to use in the meantime.

I also have an rpi 1 as a "dedicated ssh machine" that I can ssh into in case all of my other machines have gone goofy. If for any reason my two main devices aren't accessible, that one will be because if there's power to the house it will turn on. It does literally nothing else, so there's very little chance a power outage will corrupt anything. It does require that the pivpn device is working if I'm not home, but I prefer to leave that to it's own ...devices.

[–] [email protected] 3 points 5 days ago

I have an Rpi4 4gb model and run Uptime-Kuma who's sole purpose is to monitor my server and alert me if it should go down. I also have it acting as a Tailscale exit node.

[–] [email protected] 1 points 5 days ago* (last edited 5 days ago)

If you're interested in home automation, I think that there's a reasonable argument for running it on separate hardware. Not much by way of hardware requirements, but you don't want to take it down, especially if it's doing things like lighting control.

Same sort of idea for some data-logging systems, like weather stations or ADS-B receivers.

Other than that, though, I'd probably avoid running an extra system just because I have hardware. More power usage, heat, and maintenance.

EDIT: Maybe hook it up to a power management device, if you don't have that set up, so that you can power-cycle your other hardware remotely.

[–] [email protected] 0 points 5 days ago

Run Vodafone's Dreamlab on it and donate CPU cycles to research.