Watch for spicy pillows.. they'll light your stuff on fire.
Selfhosted
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:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
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.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
Come on baby....
Light. My. Fire.
One problem
Batteries.
I've used old devices as many things: security cameras, a form of intercom, digital picture frames, etc. The real problem is that the batteries eventually go bad, and become dangerous.
For the few devices that have realistically replaceable batteries, that's no big deal, but how many of those are left now?
No thanks to the potential fire, I'll pass. The few devices I have left that I can swap batteries out are becoming harder to find new batteries for as well, so that's an issue beyond their anemic hardware (I'm talking really old tablets at this point)
One can extend battery life with Home Assistant and any phone that can run the HA companion app.
I have a Samsung S9+ stuck on my fridge as a home assistant remote with a script controlling a 5V/1A charger + power switch. It will turn on when the S9+ battery is at 20% and off when at 80%. Charges slow but that is on purpose. HA monitors it's battery health as well and will notify me when the state changes.
Yo, you just reaffirmed my idea that I thought was too wild! I have to replace this old phone of mine soon cause the battery’s dying, but I guess this thing will have to stay up for a bit, or much, longer.
I saw a tutorial on how to bypass the battery entirely. It was oneplus 6 phone and I definitely want to do it 😀... found it: https://blog.kedio.co/post/how-to-run-a-oneplus-6t-without-battery/
some devices will bypass the battery when permanently plugged in. I have an old phone i use as a syncthing node and i log the battery current on it. It never actually gets used by the phone, it only suffers from some very slight internal discharge.
would it still work if you remove the battery? that'd be safer
Some phones do still work without, but i think most dont.
Bro you can just install Postmarket OS or Mobian on the thing. Even put plasma mobile. Maybe have a USB-C display connected? I don't know if that would work.
i shouldve said people should do that if possible for them but theyre not supported on all devices most capabilities didnt have support for my a32 sadly
Ah. That's too bad :(
it really is yea, even if most didnt work if at least networking and cpu/gpu support works i wouldve gone for it
Except not on most phones, just a small subset of old phones.
It is possible to install True Linux™ on many phones, it’s just the phone-specific bits that often don’t work too well. Ideal for this scenario though.
Of course you're still right, but with that in mind the list is much longer than you think.
I was going to comment that I really miss that extra step. A local server on Android sounds like a major PITA, not to speak of the possibility of continued data mining.
It is possible to install True Linux™ on many phones, it's just the phone-specific bits that often don't work too well. Ideal for this scenario though.
I tried it, and it worked well for several months, and then the phone died. They're not made to run and be on for that amount of time.
Aren't phones literally designed to run and be on all the time nowadays? Huh?
Like, yeah, you're using old hardware to run stuff and you presumably stopped using that phone for some reason, so it makes sense not to run vital services off your old phone, but for simple stuff like this it seems neat.
Yeah that is a strange take to say the least. I have an older pixel that has long been used as a satellite mic running grapheneOS. It stays plugged in and optimized at 80% charge and sips juice without cellular services. It still functions as an all day replacement when my primary device in the shop even.
Thanks for writing this! I've been trying to use my old samsung as a server. Have you trying using it to host a fediverse server? Do you think thats possible?
thats something i dont really know anything about lol i tried doing a cursory search and its a bit confusing to know if thats possible or not
Thanks anyway. I will keep trying, I hope somebody else tries it and it works.
yeah you could, depending on if it can run a mainline Linux vm or is supported by postmarketos
you'd just need to port forward to your phone from the router and set up DDNS (if you don't have a public static ip). same thing as any other server.
I'd highly recommend making the phone headless and controlling it though SSH from another device. it's way more ergonomic.
How would you serve from the phone into the internet? The only option I see is via WiFi to a router and hope your ISP gave you a static IP.
Get free dns, get auto dns for dynamic ip on software thingy,???, profit
I wish I could install postmarketOS on my Lumia 520 😢 I do have it on my old oneplus though 🥳
one of the best things about a phone based server is that it consumes basically no power at all
yea thats the only reason why i think getting a cheap old computer really isnt worth it, youll be charged more in power by way more and way faster compared to a phone that just sips power or a pi etc
My entire setup uses less than 100W at idle. That includes:
- Pi 4b (1 USB HDD)
- HP ProDesk 600 G5 Mini
- Custom ITX N150 NAS (4 HDD)
- Wireless router
- Switch
- Modem
my entire phone server setup consumes less than 1W at idle :3
and the "builtin UPS" lasts for a few hours
Needs root. Many manufacturers have locked their bootloaders. Even pixel when you buy it through the carrier. I don’t buy shit carriers anymore, but when they give out a completely free phone, I’m taking that shit. lol
I have a pixel 1 & 3 that I use for Meshtastic but need more ideas and a Microsoft Lumia 950 XL, still a good powerful phone.