Skip to content

Instantly share code, notes, and snippets.

@Impact123
Impact123 / Check Space.md
Last active May 31, 2026 10:12
Check Space

How to check HAOS space usage

The goal of this Article is to teach you how to find out what takes how much space on your HAOS system.
At the end of this article you should have an interactive way to explore your storage similar to this.
Animation

To check the recorder database size/stats I recommend the DBStats app/container.

Table of contents

@kdorff
kdorff / distance-sensor-0.yaml
Last active April 14, 2026 20:26
Break beam sensor using VL53L0X for Home Assistant using ESPHome
##
## A standard "break beam sensor" uses a laser or LED with a device on both
## sides of an opening and is triggered when something breaks the beam
## (such as a customer walking through the beam). Some garage doors use them.
## Stores often use them at the entrace to ring a chime when a customer enters
## or leaves.
##
## This is my attempt at using a VL53L0X i2c Time of Flight sensor
## as a break beam sensor in Home Assistant using ESPHome.
##
@heri16
heri16 / README.md
Last active March 23, 2022 04:02
Download / Record Youtube Live stream
# This is a blocklist to block samsung smart tv's sending meta data at home.
# Please help to collect domains!
# It could be that the TV does not receive any more updates or other services no longer work. Please report such an incident.
abtauthprd.samsungcloudsolution.com
acr0.samsungcloudsolution.com
ad.samsungadhub.com
ads.samsungads.com
amauthprd.samsungcloudsolution.com
api-hub.samsungyosemite.com
@xirixiz
xirixiz / pihole-macvlan-synology-docker.txt
Last active November 12, 2025 11:59
Add a PiHole instance on a macvlan enabled Docker network (Synology eth0 example)
#!/bin/bash
# NAS IP: 192.168.1.10 in this example
# DHCP scope reservation for macvlan: 192.168.1.210/28 (Details below)
## Network: 192.168.1.210/28
## HostMin: 192.168.1.211
## HostMax: 192.168.1.224
## Hosts/Net: 14
# Create a Synology macvlan0 bridge network attached to the physical eth0, and add the ip range scope (sudo)
@JBelinchon
JBelinchon / device_tracker.py
Last active February 1, 2020 17:36
Home Assistant custom_component device tracker
"""
Tracks devices by sending a ICMP echo request (ping) and query arp table.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/device_tracker.ping/
"""
import logging
import subprocess
import sys
import re
@AveYo
AveYo / .. MediaCreationTool.bat ..md
Last active May 22, 2026 01:06
Universal MediaCreationTool wrapper for all MCT Windows 10 versions - MOVED TO github.com/AveYo/MediaCreationTool.bat
@echo off
if not "%1"=="am_admin" (powershell start -verb runas '%0' am_admin & exit /b)
@rem *** Disable Some Service ***
sc stop DiagTrack
sc stop diagnosticshub.standardcollector.service
sc stop dmwappushservice
sc stop WMPNetworkSvc
sc stop WSearch
# SetPFDiscoveryMailbox.ps1
#
# Syntax:
#
# $mailboxes = Get-Mailbox | .\SetPFDiscoveryMailbox.ps1
#
# You can use the usual parameters to filter the mailbox result, such
# as only returning mailboxes for a certain server:
#
# $mailboxes = GetMailbox -Server EXCH1 | .\SetPFDiscoveryMailbox.ps1
@trent2
trent2 / unob_spiegelplus.user.js
Last active March 28, 2026 18:55
Unobfuscate SPIEGEL plus articles with greasemonkey
// ==UserScript==
// @name unobfuscate spiegel plus
// @namespace obfuscate
// @include http://www.spiegel.de/*
// @version 1
// @grant none
// ==/UserScript==
if(document.getElementsByClassName('obfuscated-content')[0] != undefined) {
document.getElementsByClassName('obfuscated-content')[0].setAttribute("class", "");
var elems = document.getElementsByClassName('obfuscated'), t, or, c, i, cc;