I’m self hosting on an old laptop, and I’m a convert for life. Self-hosting is amazing. Looking for other people’s weirdest examples of what they’re doing as inspiration.

My example, I recently set up a grammar script, where I have a couple 8b LLMs and an html landing page. I upload a doc and it corrects grammar and highlights changes it made, or just proofreads and I make changes manually. I can upload a novel before bed, and have suggestions based on specific writing styles in the morning. All local, perfectly suited for my own work.

  • smiletolerantly@awful.systems
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 days ago

    I have a lot of custom stuff, esp. regarding HomeAssistant integrations. But my favorite “stupid/not stupid if it works” solution is the following:

    I have an LG TV and attached Nvidia Shield. The Shield is the only input we ever use on the TV, and since its remote also can turn the TV on/off and control volume, its all we need. Which is pretty neat, only one remote.

    Except for image settings (i.e. proper bright picture during the day, different less bright image mode during the night). I don’t want to keep the extra remote on the couch just for that, but unfortunately, these settings are not exposed via HDMI CEC.

    They are, however, exposed via a web API on LG TVs. So my utterly stupid solution is this:

    • install quick actions app on the shield
    • reconfigure Netflix button on the shield remote to open quick actions popup
    • add two quick actions, night and day, that curl simple HTTP endpoints on a VM I set up
    • on the VM, a simple flask server listens, and then sends the (too complex for the quick actions app) API request to the TV.

    (I feel the need to add: the TV is in an isolated subnet and has never once communicated with the internet, and it will damn well die an internet virgin.)

    Anyways, this has been working flawlessly for 2+ years! I also have toggles in HA for the same endpoints, but honestly, never use them. It’s so nice to just be able to toggle the image via remote.

    • overcast5348@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      9 hours ago

      Holy shit! I’m going to need this, so +1 if you’re taking requests to put this on GitHub. I’ve been complaining to my partner for a while that our TV’s remote has a million fucking buttons that we never need, but doesn’t have brightness up/down buttons that we need every day.

    • WhyJiffie@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 day ago

      did you think about automating even the switching of the brightness? HA could do this based on the day-night cycle, dawn, etc. or it could also work with a room brightness detector

      • smiletolerantly@awful.systems
        link
        fedilink
        English
        arrow-up
        0
        ·
        16 hours ago

        Hah, great question. I did. And then I realized, this only works if the TV is on the moment the switch happens.

        Which in the evening is actually pretty commonly the case… But never in the morning.

        • WhyJiffie@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          0
          ·
          13 hours ago

          oh right, because the TV is not available on the network when it’s sleeping.

          then you could save the desired brightness into some variable, and when the TV gets turned on apply the settings. I believe HA should be able to make an event when that happens. if there’s a large delay, you could make a timer that forcibly refreshes the TV state every few seconds

          • smiletolerantly@awful.systems
            link
            fedilink
            English
            arrow-up
            0
            ·
            11 hours ago

            Hmm, you mean when HA sees the TV come back? Interesting, that might work.

            I’s rather not do the force refresh option, because sometimes you do want different profiles. Very dark show, sometimes I want the bright setting at night. Very overcast day, sometimes the dark setting is better during the day.

    • giant_smeeg@feddit.uk
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 days ago

      Respect the hustle. This sounds useful for me, as I lower the brightness for the kids so I dont burn in their content.

      I just aint setting that up! Nice work.