Skip to content

Instantly share code, notes, and snippets.

View VIA-Jesper's full-sized avatar

J VIA-Jesper

  • Cyberspace
View GitHub Profile
@VIA-Jesper
VIA-Jesper / proxmox_usb_backup.bash
Created October 5, 2025 10:51
Proxmox usb backup bash script
#!/bin/bash
# Proxmox USB Backup Automation Script
set -e
MOUNT_BASE="/mnt"
STORAGE_NAME="usbbackup"
# Helper: Print Section Header
@VIA-Jesper
VIA-Jesper / hue_dimmer_switchV3.yaml
Last active February 28, 2025 21:27
Home assistant - Phillips hue dimmer 2025-02-28
blueprint:
name: ZHA - Philips Hue Dimmer Switch - V3.1
description: |
Control lights with a Philips Hue Dimmer Switch.
Based on: https://gist.github.com/agners/6871de29e68b00aa2eed2c503196ac16
The top "on" button behaviour is adjustable. By default it behaves like this:
- Press it while the light is off, and the light will turn on to the last set brightness.
- Press it again while the light is on, the light will turn to the fixed brightness setting.