• 0 Posts
  • 61 Comments
Joined 3 years ago
cake
Cake day: June 11th, 2023

help-circle





  • I just set two of these up. I’m not a HA guy so my HA server only has these assistants, my Sonos system, and Music Assistant set up.

    I’m still fussing through setting up tasks, but it’s slowly turning into Alexa Jarvis.

    I have it set up to play, pause/stop music from music assistant with a really hacky yaml script.

    It can tell me the weather forecast.

    That’s all local processing with Whispr(stt) and Piper (tts).

    For those who want the “tell me the tallest mountain in the world” type of support, the answer is cloud llms. I tried ollama on my PC, but it’s just too slow. I have an opencode go subscription and that works pretty well with deepseek-v4-flash. You can also use a standard open ai api key with one of the nano or micro models.

    It works, not quite as good as Alexa, but it’s not bad.















  • What are you using for a reverse proxy? There’s some nginx websocket settings I had to do before things worked properly. I use cloudflare, but just for the DNS/cdn stuff, not their zero trust things.

    server {
      server_name my.domain.com;
      client_max_body_size 2048M;
    
      location / {
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header Host $host;
        proxy_set_header X-Forwarded-Host $host;
        proxy_pass http://10.10.10.30:13378/;  # My Wireguard Tunnel up to the VPS
        # proxy_cache_bypass  $http_upgrade; # This was added by Certbot
        # WebSocket support
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection $connection_upgrade;
      }
    
        listen 443 ssl; # managed by Certbot
        ssl_certificate /etc/letsencrypt/live/my.domain.com/fullchain.pem; # managed by Certbot
        ssl_certificate_key /etc/letsencrypt/live/my.domain.com/privkey.pem; # managed by Certbot
        include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
        ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
    
    }
    server {
        if ($host = my.domain.com) {
            return 301 https://$host$request_uri;
        } # managed by Certbot
    
      listen 80;
      listen [::]:80;
    
      server_name my.domain.com;
        return 404; # managed by Certbot
    }