Skip to content

Instantly share code, notes, and snippets.

View in-famous-raccoon's full-sized avatar

Basti in-famous-raccoon

  • Germany
View GitHub Profile
@NikGro
NikGro / opendtu_zero_export.yaml
Created January 11, 2024 21:34
Open DTU Zero Export Home Assistant Blueprint
blueprint:
name: Open DTU - Zero Export
description: "\n ## Open-DTU Zero Export\n\n\n ### !WARNING!\n\n I barely have any idea of what im actually doing here. Please monitor your system's behavior closely when using this automation! Solar-Systems or any other energy/power-related systems can be dangerous and even life-threatening. I hold no responsibility for any incidents that may be caused by this autmation. Please inspect the code carefully before use. I have tested this code only in a simulated environment with simulated input-delay and cannot guarantee for it to work as expected in a live environment.\n\n\n ### Description \n\n This automation enables you to achieve zero export with your Open DTU inverter. \n\n It uses a simplified version of hysterisis. This means, that it will try to keep your inverter's export in between two values which can be customized below. The automation tries to achieve this by attempting to set the inverter's output-limit in the middle of these values and reacting once th
@meeas
meeas / DebianSid_on_LUKS-BTRFS_with_systemd-boot.md
Last active May 10, 2024 01:52
For installing Debian Sid with LUKS2 encrypted BTRFS filesystem with Systemd-boot and rEFInd bootloaders plus an option for dualboot to Windows

For directly installing Debian Sid not supported by the Debian installer, namely:

  • Single LUKS2 encrypted partition which contains the full installation
  • Single BTRFS filesystem (integrated home partition)
  • Encrypted swapfile in BTRFS subvolume (supports laptop suspend but not hibernate)
  • Uses systemd-boot bootloader (instead of Grub2, also optional rEFInd instructions)
  • Minimal Gnome install (plus instructions for any other DE you wish)
  • Proper user groups for common security tools like sudo-less Wireshark, etc...
  • Optional removal of crypto keys from RAM during laptop suspend
  • Optional configurations for laptops (including fingerprint readers)
@govido
govido / window_controlled_heater.yaml
Last active November 26, 2022 15:34 — forked from gresie/window_controlled_heater.yaml
Homeassistant blueprint to switch heater on or off depending on window or door sensor
blueprint:
name: window controlled heater
description: turn off heater when opening window and turn on with delay
domain: automation
source_url: https://gist.github.com/govido/4aaa213e6209d3b76ec0e65d576e3701
#forked 2nd time from https://gist.github.com/gresie/476f1169ddd4a1bbbb12662f5b20e383
#forked from https://gist.github.com/dirkk1980/8ba849b480844b32e9ca484e6de5d552
#inspired by https://github.com/home-assistant/core/blob/dev/homeassistant/components/automation/blueprints/motion_light.yaml
input:
heating_target:
@sbyx
sbyx / low-battery-level-detection-notification-for-all-battery-sensors.yaml
Last active May 14, 2024 17:12
Home Assistant Blueprint: Low battery level detection & notification for all battery sensors
blueprint:
name: Low battery level detection & notification for all battery sensors
description: Regularly test all sensors with 'battery' device-class for crossing
a certain battery level threshold and if so execute an action.
domain: automation
input:
threshold:
name: Battery warning level threshold
description: Battery sensors below threshold are assumed to be low-battery (as
well as binary battery sensors with value 'on').