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
    18
    arrow-down
    2
    ·
    1 year 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!

    • anamethatisnt@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      I’ve been wanting to use multiple raspberry pi zero w with sensory hats to feed data to a central home monitoring system. Would be a fun project.

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

        It is! Especially if you want to write the code yourself. It’s an interesting design problem if you start to consider cases where the PI may be offline (mobile on a battery in my case). Do you lose that data? Store and forward? In memory or to a local data store? It’s a fun rainy-weekend project.

        Word of caution - HATs can be a rather inaccurate in their temperature monitoring. The Pi gets warm. I had done my work using a PTC thermistor that was distanced from the Pi itself. I’ve got a friend using a HAT and it’s been very off (up to 10C above ambient!). A Pi Zero may not give off as much heat as, say a Pi4 though. YMMV.

    • mlaga97@lemmy.mlaga97.space
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year 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
        4
        ·
        1 year 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.

    • taaz@biglemmowski.winOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      1 year ago

      Unluckily last time I wanted to do sensor stuff the ~20 euro air quality multi-sensor (co2, pm1-10, humidity, voc?) board got lost in transit and I didn’t bother since :(
      The original plan was use it with my esp32 dev board (wroom32, so wifi) to have a portable sensor, this RPi was supposed to be the collection server (mqtt, influx, grafana).

      I should revisit this idea soon, thanks for reminding me!