Skip to content

Instantly share code, notes, and snippets.

View wilfredsmit's full-sized avatar

doubleUS wilfredsmit

  • The Netherlands
View GitHub Profile
@wilfredsmit
wilfredsmit / smart_laadstation_met_timer.yaml
Last active October 1, 2025 14:21
Blueprint - Smart laadstation met timer
blueprint:
name: Smart USB Laadstation met Timer
description: >
Automatisch in- en uitschakelen van een USB laadstation op basis van
vermogensverbruik en optionele starttijd. Ideaal voor apparaten die
automatisch moeten uitschakelen wanneer het opladen voltooid is.
Volledig onafhankelijk per automatisering - maak meerdere instanties aan!
domain: automation
source_url: https://gist.github.com/wilfredsmit/smart_usb_charger.yaml
author: Wilfred in samenwerking met Claude
@wilfredsmit
wilfredsmit / fix_intel_e1000e_error.md
Last active October 3, 2025 08:59
Intel e1000e fix - Proxmox

Fix Intel e1000e error

Please note - you may want to validate whether the options used affect your setup.

Create a new service file.

nano /etc/systemd/system/disable-offloading.service
@wilfredsmit
wilfredsmit / vc06.yaml
Last active October 2, 2023 07:00
ESP32 Cam
---
# Device: ESP32-S
# Type: ESP32 Cam AI-Thinker
# Wi-Fi MAC: xx:xx:xx:xx:xx:xx
#
substitutions:
device_name: vc06
device_id: vc06_cam
device_friendly_name: VC06
device_address: vc06.local
@wilfredsmit
wilfredsmit / kpndecoder.lircd.conf
Created January 5, 2021 09:29 — forked from proycon/kpndecoder.lircd.conf
LIRC IR codes (lircd.conf) for Motorola VIP 1853, Arcadyan HMB2260, Arris VIP 2952, and family (used as mediabox/decoder by KPN)
# IrScrutinizer parametric export
#
# Creating tool: IrScrutinizer version 1.1.1
# Creating user: Erik
# CreateDate: Tue Oct 07 22:37:43 CEST 2014
#
#
# Manufacturer: Motorola
# Model: VIP1853
# Export from IrScrutinizer
@wilfredsmit
wilfredsmit / Proxmox snippets
Last active December 24, 2019 15:53 — forked from whiskerz007/gist:53c6aa5d624154bacbbc54880e1e3b2a
How to setup a community version of Proxmox VE 5.2+
# Disable Commercial Repo
sed -i "s/^deb/\#deb/" /etc/apt/sources.list.d/pve-enterprise.list
# Add PVE Community Repo
echo "deb http://download.proxmox.com/debian/pve stretch pve-no-subscription" > /etc/apt/sources.list.d/pve-no-enterprise.list
# Remove nag
cp /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js{,.bak}
sed -i "s/if (data.status !== 'Active')/if (false)/" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js