Skip to content

Instantly share code, notes, and snippets.

View felschr's full-sized avatar
🌈

Felix Schröter felschr

🌈
View GitHub Profile
@felschr
felschr / zha-ikea-two-button-remote-rodret-for-lights-e2201.yaml
Last active January 29, 2024 22:24
ZHA - IKEA two button remote (Rodret) for lights (E2201)
blueprint:
name: ZHA - IKEA two button remote for lights
description: Control lights with an IKEA two button remote (Rodret) via ZHA.
domain: automation
source_url: https://gist.github.com/felschr/3e9f4dcae265a2b600d52b187d6a35cf
author: felschr
input:
remote:
name: Remote
description: IKEA remote to use
@felschr
felschr / tailscale-lock-sign-mullvad-exit-nodes.nu
Last active April 1, 2024 19:15
Tailnet Lock: Sign Mullvad exit nodes
#! /usr/bin/env nu
let $status = tailscale lock status --json | from json
let $nodes = $status | get FilteredPeers
let $nodes_mullvad = $nodes | where Name =~ ".mullvad.ts.net"
let count_total = $nodes | length
let count_mullvad = $nodes_mullvad | length
@felschr
felschr / presence_light.yaml
Last active December 31, 2023 13:44
Home Assistant Blueprint - Presence-activated Light
blueprint:
name: Presence-activated Light
description: Turn on a light when presence is detected.
domain: automation
source_url: https://gist.github.com/felschr/d9864e8f8a892ac9157942810abc8c21
author: felschr
input:
presence_entity:
name: Presence Sensor
selector:
@felschr
felschr / notify_and_save_camera_snapshot_with_archive_on_motion.yaml
Last active December 31, 2023 16:36
Home Assistant Blueprint - Notify & save a camera snapshot with archive when motion is detected
blueprint:
name: Notify & save a camera snapshot when motion is detected
description: Notify & save a camera snapshot with archive when motion is detected
domain: automation
source_url: https://gist.github.com/felschr/6194c361e4cab383c685490beec09e1e
author: felschr
input:
motion_sensor:
name: Motion sensor
description: The sensor wich triggers the snapshot creation
@felschr
felschr / keybase.md
Last active September 19, 2017 20:44

Keybase proof

I hereby claim:

  • I am FelschR on github.
  • I am felschr (https://keybase.io/felschr) on keybase.
  • I have a public key whose fingerprint is F954 52E9 4F85 BBBD 69CA 529C F9C2 7684 FF42 B47B

To claim this, I am signing this object: