I have a unused RPi4 (the 8Gig one) running DietPi. I did use it as a playground but ever since I am renting a Hetzner machine for (playground) stuff that I want web accessible, I don’t have particular use for the Pi.

I am currently running (outdated) Home Assistant on it but there isn’t much I can connect it with (yet, getting the flashable/compatible ikea smart lightning zigbee? bridge thingy is on my bucket list). Obviously I do have a pihole there.

Shoot me any other ideas I could run there. Some kind of monitoring of my rented infra would be cool (I already have uptime kuma on the dedi hetzner box). One idea I had was if there are some OSS security scanning “daemons” I could use on to monitor my other infra.

Thanks a lot!

  • atzanteol@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    5
    ·
    10 months ago

    Most people seem to just want to use RPIs as a very slow Linux server for some reason…

    Use it to play around with hardware integration with the GPIO pins. Get a sensor HAT and start recording temperatures, write some code that turns on/off an LED, build a robot controller, etc. There are lots of kits and documentation on the various things you can do!

    • mlaga97@lemmy.mlaga97.space
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 months ago

      SBCs like the RPi are kind of awkwardly in-between a microcontroller like an Arduino or ESP32 that you can actually trust with handling GPIO and data logging, and a real Linux system that can actually do meaningful computational work.

      Pretty much the only task I’ve found them reliably appropriate for is running OctoPrint, really really light computer vision tasks for robotics, or hooking up an RTL-SDR to use as a police/HAM scanner. Outside of those, it’s so much easier to use either a cheaper and more reliable MCU or a much more powerful old laptop or desktop.

      • atzanteol@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        ·
        10 months ago

        That’s one of the nice things about them.

        You can write code that has access to more resources. I had a RPI once that showed code build status on an led strip (red failed, green passed). It was a Java program that connected to AWS SQS for build event notifications. A micro controller would be much harder to do that on.

  • Samsy@lemmy.ml
    link
    fedilink
    English
    arrow-up
    5
    ·
    10 months ago
    • Wireguard + wireguard-ui
    • Linkwarden
    • Filebrowser
    • Dockge
    • Trilium
    • Paperless-ngx
    • OCIS
    • AdGuard Home
    • Jellyfin
    • Rocket-Chat
    • Vaultwarden
    • Mailcow

    That’s my actual mess.

    • huquad@lemmy.ml
      link
      fedilink
      English
      arrow-up
      2
      ·
      10 months ago

      I wish you hadn’t posted this \s. Now I have so much more to play with on my server. Great software here!

    • Scipitie@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      0
      ·
      10 months ago

      Thanks for sharing! The only thing I’m surprised to see in your list is paperless - how long does OCR take on a pi?

      • Samsy@lemmy.ml
        link
        fedilink
        English
        arrow-up
        3
        ·
        10 months ago

        Idk, exactly I put near 500 pdfs in it, and after 3 days it was complete

      • Turun@feddit.de
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        10 months ago

        About a minute, 1:30 maybe (edit: per page on a pi4). I use an app to upload jpegs though, I don’t have a normal scanner at the moment. The higher quality scan and smaller file size may make some steps of the process quicker (no need for alignment and color correction for example) if you use a normal, proper scanner.

        It doesn’t matter though. When I get home and see I got a letter I scan it and by the time I drank something, put away my clothes and stuff i had with me, the pi is done and I can edit the metadata in the web ui.

        • Scipitie@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          1
          ·
          10 months ago

          Thank you! That’s really interesting, the performance with a pi 3 was way worse - even more than the pure spec difference would’ve lead me to believe.

          The OCR devs have made a really awesome job!

          • Turun@feddit.de
            link
            fedilink
            English
            arrow-up
            2
            ·
            10 months ago

            I have a pi4, 4GB. And running off of an SSD (connected via SATA to usb adapter). Sorry, forgot to specify.

            Even slower would still be worth it IMO, digital document management is just so much better than keeping multiple folders of paper organized. Also I can access all my paperwork from anywhere, because the pi and my phone are both in my wireguard VPN network.

            • Samsy@lemmy.ml
              link
              fedilink
              English
              arrow-up
              1
              ·
              edit-2
              10 months ago

              Yes, had some cool moment a few days ago, boss asked me face to face if I did this special training 5 years ago.

              I took my phone out, open paperless, did a full text search and tada, there it is. The cert for this one.

  • TheBuenasTardes@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    10 months ago

    Someone posted the code for circadian whole home lighting, running on a pi not too long ago. Might be kinda cool to try out.

  • Decronym@lemmy.decronym.xyzB
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    10 months ago

    Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:

    Fewer Letters More Letters
    AP WiFi Access Point
    CGNAT Carrier-Grade NAT
    DNS Domain Name Service/System
    HA Home Assistant automation software
    ~ High Availability
    IP Internet Protocol
    LXC Linux Containers
    NAT Network Address Translation
    PiHole Network-wide ad-blocker (DNS sinkhole)
    PoE Power over Ethernet
    RPi Raspberry Pi brand of SBC
    SATA Serial AT Attachment interface for mass storage
    SBC Single-Board Computer
    SSD Solid State Drive mass storage
    VPN Virtual Private Network
    VPS Virtual Private Server (opposed to shared hosting)
    Zigbee Wireless mesh network for low-power devices

    [Thread #439 for this sub, first seen 19th Jan 2024, 13:45] [FAQ] [Full list] [Contact] [Source code]

    • taaz@biglemmowski.winOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 months ago

      I might have a look actually, though if any of these require publicly accessible IP then that won’t be possible because of CGNAT :(

    • walden@sub.wetshaving.social
      link
      fedilink
      English
      arrow-up
      0
      ·
      10 months ago

      Vaultwarden is super, but I’d be hesitant to run it on a Raspberry Pi unless I had good backups in place. I’ve always run stuff off MicroSD cards with Pi’s, but I’m sure there’s a way to use real drives which would make me feel better.

      • Samsy@lemmy.ml
        link
        fedilink
        English
        arrow-up
        0
        ·
        10 months ago

        You don’t need permanent backups of it. Vaultwarden is more like a secure “syncthing”. I crashed a system with vaultwarden had to rebuild everything but after connecting it to my devices I got the passwords from them back again and nothing was lost.

        • walden@sub.wetshaving.social
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          10 months ago

          Yeah that’s true, your devices will still have a cached copy. Still… losing the host would be a pain. It looks like (from the browser extension at least) I can export the vault, so maybe it’s not as bad as it seems.

      • Darkassassin07@lemmy.ca
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        10 months ago

        Ah; then host the OpenVPN server from hetzner, the pi as a client, then configure the server to route traffic out through the pi client into your LAN. Your own little vpn tunnel, instead of using something like cloudflare tunnels.

        Wan client > Hetzner > pi client > lan service

  • ninjan@lemmy.mildgrim.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 months ago

    You can setup a tunnel from your Hetzner VPS to your home with say Netbird and then run stuff that would be a bit to expensive to run on rented hardware. Like say Nextcloud, Matrix or game servers, on your RPi while still having them web accessible thanks to the tunnel.

    • taaz@biglemmowski.winOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      10 months ago

      I rent dedicated machine so the HW I have is the limit - I pay the same rate every month, no matter the usage, so with the bit outdated but still performant Ryzen 5 3600 and 64GB of RAM I was very happy to throw minecraft/zomboid/vallheim servers at it and few more services, aye aye;)

      Though the possibility of tunneling services out from the RPi is something I am aware of, but except for stuff that would benefit from video HW accel there isn’t much that would be better to run on the RPi instead of on the server directly.

      • ninjan@lemmy.mildgrim.com
        link
        fedilink
        English
        arrow-up
        1
        ·
        10 months ago

        Cool, but I’m guessing that ain’t especially cheap right? I pay $60 a year for 4 cores and 8 GB RAM (400 gb storage). Which I consider a pretty OK price. $5 a month.