I run horwood.cloud

Pixelfed

Could you help fund my server 👉 Fund me

  • 9 Posts
  • 474 Comments
Joined 2 years ago
cake
Cake day: July 27th, 2023

help-circle
  • You need some automations to run if any of the exterior sensors change state, if they do save snapshots of exterior cameras and send you an alert. Once you get the alert you can then call the police if you think you need to, or in most cases just see that its the postie.

    I have an automation run when both me and my wife are away that will turn off all lights and turn on 2 automations, the 2 automations are if motion on the drive send me a photo and if the exterior door sensors change state send an alert











  • Not sure how well that will fly, does it pass a config test?

    Also here is a working server block that I use and works fine everywhere

    server {
        listen server IP:80;
        listen server IP:443 ssl; ## listen for ipv4; this line is default and implied
        http2 on;
        server_name jellyfin.example.com;
        root /srv/www/holding;
        index index.php index.html index.htm;
        #SSL setting
        ssl_certificate /etc/letsencrypt/live/wildcard_cert/fullchain.pem;
        ssl_certificate_key /etc/letsencrypt/live/wildcard_cert/privkey.pem;
        add_header Strict-Transport-Security "max-age=15768000; includeSubdomains; preload";
    
        # Note that Diaspora has a client side check set at 4M
        client_max_body_size 512M;
        client_body_buffer_size 256K;
    
        access_log /var/log/nginx/jellyfin-access.log main;
    
        location = / {
            return 302 https://$host/web/;
        }
    
        location / {
          proxy_pass http://jellyfin/;
          proxy_http_version 1.1;
          proxy_set_header Upgrade $http_upgrade;
          proxy_set_header Connection "upgrade";
          proxy_set_header Host $http_host;
          proxy_set_header X-Real-IP $remote_addr;
          proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
          proxy_set_header X-Forwarded-Proto $scheme;
          proxy_set_header X-Forwarded-Protocol $scheme;
          proxy_set_header X-Forwarded-Host $http_host;
          proxy_redirect http:// https://;
          proxy_buffering off;
        }
    
        # location block for /web - This is purely for aesthetics so /web/#!/ works instead of having to go to /web/index.html/#!/
        location = /web/ {
            # Proxy main Jellyfin traffic
            proxy_pass http://jellyfin/web/index.html;
            proxy_http_version 1.1;
            proxy_set_header Upgrade $http_upgrade;
            proxy_set_header Connection "upgrade";
            proxy_set_header Host $host;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_set_header X-Forwarded-Proto $scheme;
            proxy_set_header X-Forwarded-Protocol $scheme;
            proxy_set_header X-Forwarded-Host $http_host;
        }
    
        location /socket {
            # Proxy Jellyfin Websockets traffic
            proxy_pass http://jellyfin/;
            proxy_http_version 1.1;
            proxy_set_header Upgrade $http_upgrade;
            proxy_set_header Connection "upgrade";
            proxy_set_header Host $host;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_set_header X-Forwarded-Proto $scheme;
            proxy_set_header X-Forwarded-Protocol $scheme;
            proxy_set_header X-Forwarded-Host $http_host;
        }
    }