Skip to content

Instantly share code, notes, and snippets.

View Freekers's full-sized avatar
👋

Freekers Freekers

👋
View GitHub Profile
@mirkop
mirkop / README-00-Install.md
Last active June 5, 2025 20:08
Home Assistant LD2410 Templates

Home Assistant LD2410 Templates

There are five card templates available to aid in configuring the LD2410 mmWave gates and zones.

  • Gate Energy Live Bar Chart
  • Distances Live Bar Chart
  • Occupancy History
  • Gate move/threshold Configuration
  • Zone Configuration

UPS Shutdown Scripts

This documents everything I needed to get my Proxmox instance to listen to my UPS Server and initiate a shutdown script that would shutdown my UDM Pro. This is needed as the UDM Pro does not have the ability to listen to a NUT server on it's own (what the hell ubiquiti).

I'm using a Synology NAS as a NUT server, but you can point your NUT client to any supported UPS. It's set to alert any clients subscribed to it when the UPS connected to it is in low battery. This all applies regardless of what machine you have a NUT server on, it does not have to be Synology.

Additionally these install steps were on my Proxmox machine, but these steps will probably work on any Debian GNU/Linux OS with little to no modification. YMMV

High level summary of the steps:

  • Install the NUT client on Proxmox

Configuring Proxmox VE node as client for remote NUT server running on Synology NAS


  • Use Shell on Proxmox Node to install NUT
apt-get install nut
@bouroo
bouroo / softether.sh
Last active July 8, 2025 08:51
Install softether vpn server on ubuntu 16.04+
#!/usr/bin/env bash
# SoftEther VPN Server Installer Script
# Register vultr.com with free credit https://www.vultr.com/?ref=9771340-9J
# Create VPS
# Tested on Ubuntu 24.04, Debian 12.0
# Instructions:
# 1. Save this file as softether-installer.sh
# 2. chmod +x softether-installer.sh
# 3. Run: ./softether-installer.sh or bash softether-installer.sh
# 4. Initialize VPN server config: /usr/local/vpnserver/vpncmd