Skip to content

Instantly share code, notes, and snippets.

View bin101's full-sized avatar

Jens van Almsick bin101

View GitHub Profile
@bin101
bin101 / cover_sun_blueprint.yaml
Last active June 26, 2024 06:55 — forked from daniel-sc/cover_sun_blueprint.yaml
Homeassistant blueprint to close/open covers depending on sun position and weather
# see https://community.home-assistant.io/t/close-open-curtain-cover-blinds-based-on-sun-and-weather/584240
blueprint:
name: cover sun
description: Close cover when sun is shining and open when stops. This considers weather (sunny, partly cloudy), sun position (elevation, azimuth) and temperature.
domain: automation
input:
cover_entity:
name: cover
selector:
@bin101
bin101 / paperless_update.sh
Last active April 29, 2023 11:14
Paperless-ngx update script
#!/bin/bash
function header_info {
clear
cat <<"EOF"
____ __
/ __ \____ _____ ___ _____/ /__ __________ ____ ____ __ __
/ /_/ / __ `/ __ \/ _ \/ ___/ / _ \/ ___/ ___/___/ __ \/ __ `/ |/_/
/ ____/ /_/ / /_/ / __/ / / / __(__ |__ )___/ / / / /_/ /> <
/_/ \__,_/ .___/\___/_/ /_/\___/____/____/ /_/ /_/\__, /_/|_|