• 6 Posts
  • 198 Comments
Joined 2 years ago
cake
Cake day: April 27th, 2024

help-circle
  • We host most stuff at home, and then additionally some services at Hetzner on an (auctioned) root server. Bloody nice to get really good hardware for cheap, plus unlimited data with either 1 or 10Gbit synchronous network speed, a dedicated IPv4,…

    Stuff like my mail server lives there because it HAS to be available, and doing it at home, and doing it well, is next to impossible.

    I’m planning a nix hydra + cache server, which will probably also live on the Hetzner server, simply because it’ll have pretty intense jobs to run a lot of the time and I’m not a fan of having the noise of spun-up fans at home.

    Both solutions have their place, is what I’m saying / agreeing.


    • every VM with state backs up its state to the NAS once a day
    • client devices rsync most of their home folder to the NAS once an hour
    • at 3:15 in the morning, a Borg backup job starts pushing the days changes to a Hetzner storage box

    Through borg, I have the Option to go back to any point in time with the backups. I will probably never need this, hence why it happens in this step, not on the rsync job to the NAS.

    Things like movies and tv shows are not backed up, they are replaceable. All in all, about 2tb of documents, pictures, and VM state is backed up to Hetzner, out of the 16tb on the NAS.

    Pick and choose your battles.















  • Thanks, had not heard of this before! From skimming the link, it seems that the integration with HASS mostly focuses on providing wyoming endpoints (STT, TTS, wakeword), right? (Un)fortunately, that’s the part that’s already working really well 😄

    However, the idea of just writing a stand-alone application with Ollama-compatible endpoints, but not actually putting an LLM behind it is genius, I had not thought about that. That could really simplify stuff if I decide to write a custom intent handler. So, yeah, thanks for the link!!


  • Thanks for your input! The problem with the LLM approach for me is mostly that I have so many entities, HASS exposing them all (or even the subset of those I really, really want) is already big enough to slow everything to a crawl, and to get bad results from all models I’ve tried. I’ll give the model you mentioned another shot though.

    However, I really don’t want to use an LLM for this. It seems brittle and like overkill at the same time. As you said, intent classification is a wee bit older than LLMs.

    Unfortunately, the sentence template matching approach alone isn’t sufficient, because quite frequently, the STT is imperfect. With HomeAssistant, currently the intent “turn off all lights” is, for example, not understood if STT produces “turn off all light”. And sure, you can extend the template for that. But what about

    • turn of all lights
    • turn off wall lights
    • turnip off all lights
    • off all lights
    • off all fights

    A human would go “huh? oh, sure, I’ll turn off all lights”. An LLM might as well. But a fuzzy matching / closest Levensthein distance approach should be more than sufficient for this, too.

    Basically, I generally like the sentence template approach used by HASS, but it just needs that little bit of additional robustness against imperfections.


  • Thanks for sharing your experience! I have actually mostly been testing with a good desk mic, and expect recognition to get worse with room mics… The hardware I bought are seeed ReSpeaker mic arrays, I am somewhat hopeful about them.

    Adding a lot of alternative sentences does indeed help, at least to a certain degree. However, my issue is less with “it should recognize various different commands for the same action”, and more “if I mumble, misspeak, or add a swear word on my third attempt, it should still just pick the most likely intent”, and that’s what’s currently missing from the ecosystem, as far as I can tell.

    Though I must conceit, copying your strategy might be a viable stop-gap solution to get rid of Alexa. I’ll have to pay around with it a bit more.

    That all said, if you find a better intent matcher or another solution, please do report back as I am very interested in an easier solution that does not require me to think of all possible sentence ahead of time.

    Roger.





  • Grew up on it. My dad set up a Ubuntu 4.10 PC for my brother and I when we were 3/5 (no internet, obv), and it stuck.

    Used Windows for a brief time in highschool to be able to play online with friends.

    Went right back to Linux when going to university. Will never change back, both for ideological reasons and because Linux is just better.

    Next step: NixOS on a phone