I don’t want to hear about your Plex, your NPM, your notes application or science forbid, your budgeting application. I want to hear the most exotic thing you setup to selfhost, that probably only you and a hand full of people around the world actually use or even need. A problem that you solved in a way, that makes people go WTF. Go!

I’ll start: I live in the mountains, and there is snow, lots of snow. I often tell people “We had 3m of snow last year”, but is that really true? So, I thought to myself: Can you measure snowfall? It seems you can, so I setup a USH-9 ultra sound measuring device, connected it via IC2 to my Home Assistant and now I can tell people with confidence, that we had a total of 3.45m of snowfall last season, with max snow height of 60cm on January 5th.

Future project: I have chickens. They lay eggs. I have cameras. I want to know which hen lays how many eggs. Solution? AI image recognition of the hens (who is who) and if they have laid an egg. Any inputs welcome.

  • @[email protected]B
    link
    fedilink
    English
    27 months ago

    I too have a chicken cam, but no image recognition at this point. However, I have used it to discover that an opossum was breaking in and eating the eggs.

    Other than that, the most unique things I have cobbled together are probably these:
    - I work from home, so I created an automation using Home Assistant to tie into the Webex API to determine if I’m on a call or busy and, if so, turn on my Do Not Disturb light so that people don’t just barge into my office.
    - A script my son can run from my OliveTin dashboard to update our Minecraft server (docker container).
    - Another script I can run from my OliveTin dashboard to log into my firewall and disable/enable my son’s internet.
    -- Both of these scripts notify me when they’ve been run via ntfy.

    • @[email protected]B
      link
      fedilink
      English
      17 months ago

      I’m new to hosting my own stuff and automation. Olive tin sounds incredibly useful. I will definitely be looking into that, thank you for that.

      • @[email protected]OPB
        link
        fedilink
        English
        17 months ago

        That’s what we are all here for: The fun stuff, the unusual stuff, not the 100st post about “how to run Jellyfin”.

    • @[email protected]OPB
      link
      fedilink
      English
      17 months ago

      I love custom HA work flows that are specific to ones needs. Great job! Show’s the beauty of HA that most people miss when all they do is the standard stuff, but you can basically do anything you can imagine. I have door sensors and instead of only relying on a baby monitor, when my toddlers open their door after 2200, the lights turn on in the hallways (so they see something) and a light in our bedroom turns on as well as a notification on the phone. Because sometimes toddlers are sneaky and you hear nothing on the baby monitor. Set this up after I heard one of them cry two floors down (he went through the entire dark house alone down two flights of stairs).

    • @[email protected]B
      link
      fedilink
      English
      17 months ago

      I also used a cheap wifi motion sensor to tie into Home Assistant which triggers another automation for a smart bulb in my office to let me know when the dog wants in from the garage.

      A former colleague of mine had an even more advanced version of this. Since his dog is chipped, and the chip is RFID, he hooked up an RFID reader to an Arduino, and built a dog door with a motor that automatically opens when his, and only his, dog is there, and sends him a notification.

  • @[email protected]B
    link
    fedilink
    English
    27 months ago

    I self hosted searxng, but the problem is after I was done I realised that defeats most of the privacy benefits of searxng: If I’m the only one using it, then I might as well just be using the search engines themselves directly.

    So now I also have firefox running in a docker container, searching random junk on searxng every couple of minutes.

  • @[email protected]B
    link
    fedilink
    English
    27 months ago

    I have two! The first is exotic purpose, the second is just tightly integrated so much that it might be only useful to me.

    Smashcam

    I live on a busy corner, in an otherwise slow and sleepy town right outside the city line. I live between a lot of town services on one side (fire house, library, athletic fields, town hall) and the elementary school on the other side. Pedestrian traffic is very high, the amount of children crossing is very high, bicycles abounds, and the cross street between them is decently high traffic.

    So I see a decent amount of car accidents on my corner. 30mph limits on both streets so usually not catastrophic, you might be driving away instead of towed. But the repairs will be substantial on most of these. To provide an objective reality-as-a-service, I set up a camera high up in the eaves of my roof pointed right at the intersection. I’ve sent the police enough clips that they know where to archive my emails for evidence by routine. I’ve started training a model to detect car crash noises (and honks) to cut and save the clips automatically. It’s not reliable enough yet, but this could become a reasonable pipeline:

    Car crash audio detected ->
    Notification "Possible crash, do you want to review the footage and send to the po-po?" ->
    manual human review to make sure we're not sending false positives ->
    hit send ->
    email with clip constructed and sent
    

    Photos

    This is not exotic in terms of its purpose. Lots or people have self-hosted photo sites (heres a whole chart of them all!)

    But none of them integrated with my foss RAW editor darktable.

    So I built my own photo site alternative that parses the darktable edit files and DB.

    So now on the web, I can see the ☆ ratings I gave the photos in my editor. The tags and labels, etc. I parse the RAW files to show the focus boxes that the cameras write in the metadata when they took the picture, the facial recognition bounding boxes, etc.

    And it shows the edit history stack and all the edits from my RAW editor. And of course, it has the left-right swiper to show before/after the photo edits. I can export any size, and it calls out to darktable with command-line control to export with the given edit stack to make the JPG of whatever size I’m requesting.

    So yes, alternatives exist. Mine is simply very specialized to a particular editor program. I don’t believe I made the repo public, so as far as I know, I (and my family) are the only ones using it. It’s probably more featureful than things I have released.

  • @[email protected]B
    link
    fedilink
    English
    27 months ago

    When I lived off grid, I wrote an energy production measurement application. With both hydroelectric and solar going through a 1990s inverter, it was something. Nowadays these are off the shelf for suburban yuppies, but for my DYI-everything homestead, only DIY would do. Measurement was via shunts. I put it online over satellite internet and could watch my production and static consumption from work.

      • @[email protected]B
        link
        fedilink
        English
        17 months ago

        From what I’ve gathered from youtube you’ll usually need to create a height difference of some sort by damning up a bit of a stream, then have the overflow go through a pipe that’s a sheer drop down onto an impeller attached to an electric motor (bonus points if it’s recycled from something like a washing machine).

        Then from that motor it’s on to battery chargers etc…

  • @[email protected]B
    link
    fedilink
    English
    27 months ago

    I suppose my most well known one is a recreation of the BBC’s Ceefax service (https://www.nathanmediaservices.co.uk/ceefax/) - I wrote a program which scrapes the BBC and various other sources for data and turns it into old-style teletext pages. All hosted from my rack in the attic. Not very exotic but still.

  • @[email protected]B
    link
    fedilink
    English
    27 months ago

    Our car has wifi so you can connect to it and start the heat/ac. It doesn’t have 5g/4g just no data wifi so you have to be within ~20 feet to warm it up. The app sucks also, along with connecting to its wifi.

    Alexa “Warm Up The Car” -> Home Assistant -> trigger an android phone to run a touch script on the phone to run the stupid app and warm up the car -> then report back it did it correctly.

    It still fucking works after 5 years and I refuse to even touch the damn thing, as it’s way way too handy when it’s cold out.

  • @[email protected]B
    link
    fedilink
    English
    17 months ago

    Mine is a bit exotic I guess. I use Terraform to manage my home lab. I tried all of the docker update solutions out there and they’d always make my Terraform out of sync. So I built my own solution that interacts with an orchestrator, a backend and a front-end.

    I use Terraform to create flows for each service. Then the flows interact with the backend to manage the actual updates. The frontend is there to let me see the latest change log of each project before I update.

    For my next project I want to set up an oil tank monitor for our heating. Then I can use Prometheus and Grafana to monitor usage. From there I can start making predictions and so on

    • @[email protected]B
      link
      fedilink
      English
      17 months ago

      Sounds very cool, and I’m going to be a huge ass and say that could have easily been done with k3s and either flux or argo image watcher.

      +1 for terraform at home tho, I do the same and people look at me like I’ve curb stomped their child

      • @[email protected]B
        link
        fedilink
        English
        17 months ago

        Right now it’s private only and basically a V1 home version. I’m planning to rewrite it to make it public.

        Long term I want to write terraform resources directly to my backend and take out the orchestrator.

  • @[email protected]B
    link
    fedilink
    English
    17 months ago

    I don’t know how exotic hosting a SIEM and EDR (Elastic Security) solution for self hosting ist but I do that. Complete with custom alerts and all. Additionally I use Wazuh for vulnerability management and integrity monitoring on my assets. Also I run a SOAR-like script that enriches my alerts with other SIEM and external Threat Intel data.

    • @[email protected]B
      link
      fedilink
      English
      17 months ago

      Is Elastic Security free? I have Graylog but the security functionality is not included in the free edition.
      Also, if you don’t mind, what triggers did you implement?

      • @[email protected]B
        link
        fedilink
        English
        17 months ago

        It’s completely free even the EDR and Threat Intel functionality. It blows my mind too. The only things that are not free are things like machine learning detection, ransomware and cloud (k8) protection and other enterprise stuff like SSO. Besides the prebuilt elastic rules (https://github.com/elastic/detection-rules) I implemented about 50 of custom rules for stuff like too many failed logins, unusual traffic flow (you can also send flows from your FW to Elastic), user account creation, network reconnaissance, unusual geo-ip location etc.

        The stack is based on the „pfELK“ docker compose file (meaning it integrates automatically with Pfsense/OPNsense logs) that I further modified to automatically include the fleet server and threat intel agent and stuff: https://github.com/maof97/pfelk-docker

        • @[email protected]B
          link
          fedilink
          English
          17 months ago

          Elastic Security

          This is great, I’ve been running Security ONION for a while but looking to change it up. Right now all I can find is Elastic Security’s cloud trial, can you point me to where to grab it?

  • @[email protected]B
    link
    fedilink
    English
    17 months ago

    I wrote my own SMS gateway API with authentication tokens, quotas, rate-limits. This is because I wanted to send SMS without relying on an external API, so I got a 2€/month SIM card and plugged a USB modem (Huawei E169) into my RPi to use with Gammu. I’m using Gotify to log sent and received SMS, and send an SMS whenever my home internet is down or the IP address changes for example. It’s plugged into my systems monitoring for critical alerts, and while I offered API keys to my friends, none of them wanted any so I’m the sole user.

    • @[email protected]
      link
      fedilink
      English
      37 months ago

      I know it only as a german expression for something extremely common or regular. Apparently it was a type of machine gun used in WW1 and WW2 that was the default weapon and / or of lower quality.