Skip to content

Instantly share code, notes, and snippets.

@websenat
websenat / cover_sun_blueprint.yaml
Last active May 3, 2024 10:36 — 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: Schließen Sie die Rollladen, wenn die Sonne scheint, und öffnen Sie sie, wenn sie nicht mehr scheint. Dabei werden Wetter (sonnig, teilweise bewölkt), Sonnenstand (Elevation, Azimut) und Temperatur berücksichtigt.
domain: automation
input:
cover_entity:
name: cover
selector:
@websenat
websenat / always_on_switch.yaml
Created March 7, 2024 08:56 — forked from beauwest/always_on_switch.yaml
Home Assistant: Always On Switch
blueprint:
name: Always On Switch
description: Keep the selected switch on, even when it is turned off. This should be used for switches you never want to be turned off.
domain: automation
input:
target_switch:
name: Target Switch
description: The switch that will always be kept on.
selector:
entity:
@websenat
websenat / sensor-light.yaml
Created November 2, 2023 05:32 — forked from Blackshome/sensor-light.yaml
Home Assistant Sensor Light that can be used in Blueprints
blueprint:
name: Sensor Light
description: >
# Sensor Light
**Version: 5.0**
The most common automation used for a sensor light.
@websenat
websenat / update_notifications.yaml
Created November 2, 2023 05:31 — forked from mdegat01/update_notifications.yaml
Update Notifications Automation Blueprint
blueprint:
name: Update notifications
description: Send notifications for new updates and install or skip on action
homeassistant:
min_version: '2022.4.0'
domain: automation
input:
update_entities:
name: Update entities
description: >-
@websenat
websenat / low-battery-level-detection-notification-for-all-battery-sensors.yaml 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').
blueprint:
name: Timed Motion-activated Light
description: Turn on a light when motion is detected within a certain time contraint.
domain: automation
input:
motion_entity:
name: Motion Sensor
selector:
entity:
domain: binary_sensor
blueprint:
name: Timed Motion-activated Light
description: Turn on a light when motion is detected within a certain time contraint.
domain: automation
input:
motion_entity:
name: Motion Sensor
selector:
entity:
domain: binary_sensor
@websenat
websenat / build_nginx.sh
Last active August 29, 2015 14:27 — forked from Linkaan/build_nginx.sh
Fetch, build, and install the latest nginx with the latest OpenSSL for RaspberryPi
#!/usr/bin/env bash
# URLs to the source directories
export SOURCE_OPENSSL=ftp://ftp.openssl.org/source/
export SOURCE_PCRE=ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
export SOURCE_NGINX=http://nginx.org/download/
# ensure that we have the required software to compile our own nginx
apt-get -y install curl wget build-essential

Keybase proof

I hereby claim:

  • I am websenat on github.
  • I am websenat (https://keybase.io/websenat) on keybase.
  • I have a public key whose fingerprint is 00E6 49C3 7A8E 932C 0496 6D5E 2795 D5EF B7C5 1FD6

To claim this, I am signing this object: