This is my solar powered setup. A somewhat old Pixel 6a that fell from a foot and a half (really!?), a 10w Solar setup that was around 20$ on amazon. And an old compost container I have too many of. Ill be giving it a proper 3d printed case when I get a chance (and a host of other changes) but for now this works! Its worth about 40$ in total (the phone is now worth about 21$ on the open market).

Qm4kpb3x0dQ7Qib.jpg

hRMBBvZMfVgbgIs.jpg

Website: https://solar.chrisco.me/

Website was made with a collection of scripts, apache2 (nginx for some reason did not install, errors), and termux. Ill open source the whole setup in a bit. Theres not much to it to be honest.

Hopefully keeping the battery at 80% will help the lifetime of the battery. I may bump it up at some point if it keeps dieing because lack of sunlight. But we shall see.

More info in the link. I couldn’t get Piefed to repost from a GotoSocial link.

  • PlanterTree@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    2 days ago

    I have bad experience with self-hosting termux server on a Samsung-Android device. The background process would be terminated after one week of hands off runtime. I tried to rectify this in the power-saving settings to no avail. Still this is really cool:

    Your server works for me, it displays:

    Battery: 63% DISCHARGING

    Temp: 12°C

  • MalReynolds@piefed.social
    link
    fedilink
    English
    arrow-up
    14
    ·
    7 days ago

    I’ll assume it’s cool, but currently hugged to death for me. Just wanted to point out batteries are replaceable even if glued, fixed my GrapheneOS Pixel7 after it killed itself (spicy pillow) charging in heat in a warmer country. iFixit kit + video worked, then got a Chargie which lets you set a temperature above which it will not charge (33C for me, only charges at night in summer). Probably relevant in your case.

  • verstra@programming.dev
    link
    fedilink
    English
    arrow-up
    11
    ·
    7 days ago

    Meanwhile, I’m using Pixel 3a for my main phone (for quite a few years now) and consider it a relatively up-to-date phone.

  • Cethin@lemmy.zip
    link
    fedilink
    English
    arrow-up
    5
    ·
    6 days ago

    I had the idea to use an old phone as a server recently. Phones are pretty energy efficient, so it seems like it’d be a smart way to recycle one. Does anyone know if this is actually a good practical idea for a lightweight personal server, rather than just a novelty? I haven’t heard of anyone doing it before so I’m assuming there’s a reason it isn’t a good idea, but I don’t know what that’d be.

    • porksnort@slrpnk.net
      link
      fedilink
      English
      arrow-up
      7
      ·
      6 days ago

      I think the best question to ask first is ‘what kind of server?’

      A web server could run a reasonably busy low-tech web2.0 blog site on a phone, I think without breaking a sweat.

      Other types of serving (media, especially) would be resource limited) maybe not.

      And there is an important difference between ’novelty’ and ‘demo’. Even a novelty server can demonstrate new ways to think about tech. Maybe an author could host their book launch on such a setup, serving only a single file and showing that we don’t exactly need to involve Amazon. That’s where my head goes when thinking about these efforts.

  • Railcar8095@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    7 days ago

    Do you have a guide to replicate? I have a half broken pixel 7 that might work for something like this

  • ook@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    3
    ·
    7 days ago

    I cannot keep track which models have issues but isn’t the 6a one of those with battery bloat issues? Might remember wrong. Definitley a cool project! Is the phone not getting super hot in that plastic box?

  • Da Oeuf@slrpnk.net
    link
    fedilink
    English
    arrow-up
    2
    ·
    7 days ago

    I’ve been wanting to do exactly this for a long time. Is there any documentation on how to set it up?

  • hexagonwin@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    7 days ago

    nice! i’d recommend keeping the battery a bit lower tho, and perhaps lower charging currency/voltage.

    i believe it’s also possible to run proper linux on this phone btw

    • i_love_FFT@jlai.lu
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 days ago

      Which Linux distro would work on a phone? I have an old zenfone 8 lying around.

      • hexagonwin@lemmy.sdf.org
        link
        fedilink
        English
        arrow-up
        2
        ·
        6 days ago

        postmarketOS, mobian, etc… these are ‘real’ linux distros that work without the android parts. as your device doesn’t have a (near-)mainline kernel port i believe you can boot postmarketOS with the stock downstream kernel, though many peripherals won’t function.

        halium based distros like ubports and droidian use a part of the android userspace to make those peripherals work, which can be better if mainline is not possible.

  • MoogleMaestro@lemmy.zip
    link
    fedilink
    English
    arrow-up
    1
    ·
    7 days ago

    This is really awesome.

    What OS did you flash on that Pixel6 to get it working? Or are you using a linux vm on an android phone?